Searched refs:payload_size (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | catalog.c | 145 char *payload, size_t payload_size) { in finish_item() argument 152 assert(payload_size > 0); in finish_item() 176 combined = memdup(payload, payload_size + 1); in finish_item() 249 size_t payload_size = 0; in catalog_import_file() local 307 if (payload_size == 0) in catalog_import_file() 313 … r = finish_item(h, id, lang ?: deflang, payload, payload_size); in catalog_import_file() 318 payload_size = 0; in catalog_import_file() 345 … if (!GREEDY_REALLOC(payload, payload_size + (empty_line ? 1 : 0) + line_len + 1 + 1)) in catalog_import_file() 349 payload[payload_size++] = '\n'; in catalog_import_file() 350 memcpy(payload + payload_size, line, line_len); in catalog_import_file() [all …]
|
/systemd-251/src/import/ |
D | pull-common.c | 361 checksum_job->payload_size, in verify_one() 367 checksum_job->payload_size, in verify_one() 382 const void *payload, size_t payload_size, in verify_gpg() argument 391 assert(payload || payload_size == 0); in verify_gpg() 476 r = loop_write(gpg_pipe[1], payload, payload_size, false); in verify_gpg() 567 if (!checksum_job->payload || checksum_job->payload_size <= 0) in pull_verify() 593 if (!signature_job->payload || signature_job->payload_size <= 0) in pull_verify() 597 …verify_gpg(verify_job->payload, verify_job->payload_size, signature_job->payload, signature_job->p… in pull_verify() 599 return verify_gpg(verify_job->payload, verify_job->payload_size, NULL, 0); in pull_verify()
|
D | pull-job.c | 92 j->payload_size = 0; in pull_job_restart() 347 if (!GREEDY_REALLOC(j->payload, j->payload_size + sz)) in pull_job_write_uncompressed() 350 memcpy(j->payload + j->payload_size, p, sz); in pull_job_write_uncompressed() 351 j->payload_size += sz; in pull_job_write_uncompressed() 454 r = import_uncompress_detect(&j->compress, j->payload, j->payload_size); in pull_job_detect_compression() 468 stub_size = j->payload_size; in pull_job_detect_compression() 471 j->payload_size = 0; in pull_job_detect_compression() 495 if (!GREEDY_REALLOC(j->payload, j->payload_size + sz)) { in pull_job_write_callback() 500 memcpy(j->payload + j->payload_size, contents, sz); in pull_job_write_callback() 501 j->payload_size += sz; in pull_job_write_callback()
|
D | pull-job.h | 62 size_t payload_size; member
|