Home
last modified time | relevance | path

Searched refs:nmemb (Results 1 – 8 of 8) sorted by relevance

/optee_os/lib/libutils/isoc/include/
H A Dmalloc.h24 void *calloc(size_t nmemb, size_t size);
35 void *__mdbg_alloc(uint32_t flags, void *ptr, size_t alignment, size_t nmemb,
44 #define calloc(nmemb, size) __mdbg_alloc(MAF_ZERO_INIT, NULL, 1, (nmemb), \ argument
96 #define nex_calloc(nmemb, size) __mdbg_alloc(MAF_NEX | MAF_ZERO_INIT, NULL, 1, \ argument
97 (nmemb), (size), __FILE__, \
108 void *nex_calloc(size_t nmemb, size_t size);
133 #define nex_calloc(nmemb, size) calloc(nmemb, size) argument
H A Dstdio.h42 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);
/optee_os/lib/libutils/isoc/
H A Dfwrite.c10 size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) in fwrite() argument
21 return write(fd, ptr, size * nmemb); in fwrite()
H A Dbget_malloc.c563 size_t nmemb, size_t size, const char *fname, in mem_alloc_unlocked() argument
581 ftr_size = mdbg_get_ftr_size(nmemb * size); in mem_alloc_unlocked()
586 ptr = raw_malloc_flags(flags, ptr, hdr_size, ftr_size, alignment, nmemb, in mem_alloc_unlocked()
591 mdbg_update_hdr(hdr, fname, lineno, nmemb * size); in mem_alloc_unlocked()
609 size_t nmemb, size_t size, const char *fname, int lineno) in mem_alloc() argument
616 p = mem_alloc_unlocked(flags, ptr, alignment, nmemb, size, fname, in mem_alloc()
665 void *__mdbg_alloc(uint32_t flags, void *ptr, size_t alignment, size_t nmemb, in __mdbg_alloc() argument
668 return mem_alloc(flags, ptr, alignment, nmemb, size, fname, lineno); in __mdbg_alloc()
724 void *calloc(size_t nmemb, size_t size) in calloc() argument
726 return mem_alloc(MAF_ZERO_INIT, NULL, 1, nmemb, size, __FILE__, in calloc()
[all …]
/optee_os/lib/libutils/ext/
H A Dmempool.c167 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size) in mempool_calloc() argument
172 if (MUL_OVERFLOW(nmemb, size, &sz)) in mempool_calloc()
/optee_os/lib/libutils/ext/include/
H A Dmempool.h68 void *mempool_calloc(struct mempool *pool, size_t nmemb, size_t size);
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dplatform.c47 void *mbedtls_calloc(size_t nmemb, size_t size) in mbedtls_calloc() argument
49 return (*mbedtls_calloc_func)(nmemb, size); in mbedtls_calloc()
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_cfg.h32 LTC_EXPORT void LTC_CALL XQSORT(void *base, size_t nmemb, size_t size, int(*compar)(const void *, c…