Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_internal.c21 size_t nmemb, size_t size) { in libxl__alloc_failed() argument
27 M_SIZE, func, (unsigned long)nmemb, (unsigned long)size); in libxl__alloc_failed()
28 fprintf(stderr, M_SIZE, func, (unsigned long)nmemb, in libxl__alloc_failed()
110 void *libxl__calloc(libxl__gc *gc, size_t nmemb, size_t size) in libxl__calloc() argument
112 void *ptr = calloc(nmemb, size); in libxl__calloc()
113 if (!ptr) libxl__alloc_failed(CTX, __func__, nmemb, size); in libxl__calloc()
A Dlibxl_internal.h217 size_t nmemb, size_t size) __attribute__((noreturn));
654 _hidden void *libxl__calloc(libxl__gc *gc_opt, size_t nmemb, size_t size) NN1;
3875 #define ARRAY_SIZE_OK(ptr, nmemb) ((nmemb) < INT_MAX / (sizeof(*(ptr)) * 2)) argument
3896 #define GCNEW_ARRAY(var, nmemb) \ argument
3897 ((var) = libxl__calloc((gc), (nmemb), sizeof(*(var))))
3909 #define GCREALLOC_ARRAY(var, nmemb) \ argument
3910 (assert(nmemb > 0), \
3911 assert(ARRAY_SIZE_OK((var), (nmemb))), \
3912 (var) = libxl__realloc((gc), (var), (nmemb)*sizeof(*(var))))
/xen-4.10.0-shim-comet/xen/tools/kconfig/
A Dutil.c140 void *xcalloc(size_t nmemb, size_t size) in xcalloc() argument
142 void *p = calloc(nmemb, size); in xcalloc()
A Dlkc.h117 void *xcalloc(size_t nmemb, size_t size);

Completed in 17 milliseconds