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

/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A Dfread.c6 size_t fread(void* restrict destv, size_t size, size_t nmemb, FILE* restrict f) { argument
8 size_t len = size * nmemb, l = len, k;
10 nmemb = 0;
35 return nmemb;
H A Dfwrite.c31 size_t fwrite(const void* restrict src, size_t size, size_t nmemb, FILE* restrict f) { argument
32 size_t k, l = size * nmemb;
34 nmemb = 0;
38 return k == l ? nmemb : k / size;
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dsystem.c103 void *bsearch(const void *key, const void *base, size_t nmemb, argument
106 while (nmemb) {
107 size_t mididx = nmemb / 2;
116 nmemb -= mididx + 1;
118 nmemb = mididx;
/fuchsia/zircon/system/ulib/test-utils/include/test-utils/
H A Dtest-utils.h27 void* tu_calloc(size_t nmemb, size_t size);
/fuchsia/zircon/system/ulib/test-utils/
H A Dtest-utils.c31 void* tu_calloc(size_t nmemb, size_t size) argument
33 void* result = calloc(nmemb, size);
36 unittest_printf_critical("out of memory trying to calloc(%zu, %zu)\n", nmemb, size);

Completed in 93 milliseconds