Searched refs:nmemb (Results 1 - 6 of 6) sorted by relevance

/systemd/src/basic/
H A Dutil.h89 void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
95 * that only if nmemb > 0.
97 static inline void qsort_safe(void *base, size_t nmemb, size_t size, comparison_fn_t compar) { argument
98 if (nmemb <= 1)
102 qsort(base, nmemb, size, compar);
H A Dutil.c476 void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, argument
483 u = nmemb;
/systemd/src/journal-remote/
H A Djournal-upload.h58 size_t nmemb,
H A Djournal-upload.c82 size_t nmemb,
89 size*nmemb, (int)(size*nmemb), buf);
91 if (nmemb && !u->answer) {
92 u->answer = strndup(buf, size*nmemb);
95 size*nmemb);
98 return size * nmemb;
186 size_t nmemb,
298 static size_t fd_input_callback(void *buf, size_t size, size_t nmemb, void *userp) { argument
304 assert(nmemb <
80 output_callback(char *buf, size_t size, size_t nmemb, void *userp) argument
183 start_upload(Uploader *u, size_t (*input_callback)(void *ptr, size_t size, size_t nmemb, void *userdata), void *data) argument
[all...]
H A Djournal-upload-journal.c245 static size_t journal_input_callback(void *buf, size_t size, size_t nmemb, void *userp) { argument
253 assert(nmemb <= SSIZE_MAX / size);
257 while (j && filled < size * nmemb) {
279 w = write_entry((char*)buf + filled, size * nmemb - filled, u);
/systemd/src/import/
H A Dpull-job.c339 static size_t pull_job_write_callback(void *contents, size_t size, size_t nmemb, void *userdata) { argument
341 size_t sz = size * nmemb;
390 static size_t pull_job_header_callback(void *contents, size_t size, size_t nmemb, void *userdata) { argument
392 size_t sz = size * nmemb;

Completed in 1542 milliseconds