Searched refs:numElements (Results 1 – 10 of 10) sorted by relevance
/haiku/src/libs/gnu/ |
H A D | qsort.c | 69 sort_r_simple(char* base, size_t numElements, size_t sizeOfElement, in sort_r_simple() argument 72 char* end = base + (numElements * sizeOfElement); in sort_r_simple() 74 if (numElements < 10) { in sort_r_simple() 97 char* last = base + sizeOfElement * (numElements - 1); in sort_r_simple() 105 pivList[1] = base + sizeOfElement * (numElements / 2); in sort_r_simple() 205 qsort_r(void* base, size_t numElements, size_t sizeOfElement, in qsort_r() argument 208 sort_r_simple((char*)base, numElements, sizeOfElement, in qsort_r()
|
/haiku/headers/posix/ |
H A D | stdlib.h | 48 extern void *calloc(size_t numElements, size_t size); 147 extern void *bsearch(const void *key, const void *base, size_t numElements, 149 extern int heapsort(void *base, size_t numElements, size_t sizeOfElement, 151 extern int mergesort(void *base, size_t numElements, size_t sizeOfElement, 153 extern void qsort(void *base, size_t numElements, size_t sizeOfElement, 155 extern int radixsort(u_char const **base, int numElements, 157 extern int sradixsort(u_char const **base, int numElements,
|
H A D | malloc.h | 19 extern void *calloc(size_t numElements, size_t size);
|
/haiku/src/system/libroot/posix/malloc/debug/ |
H A D | malloc_debug_api.cpp | 277 calloc(size_t numElements, size_t size) in calloc() argument 280 return sCurrentHeap->calloc(numElements, size); in calloc() 282 void* address = malloc(numElements * size); in calloc() 284 memset(address, 0, numElements * size); in calloc()
|
H A D | malloc_debug_api.h | 22 void* (*calloc)(size_t numElements, size_t size);
|
/haiku/headers/compatibility/gnu/ |
H A D | stdlib.h | 26 extern void qsort_r(void* base, size_t numElements, size_t sizeOfElement,
|
/haiku/src/system/runtime_loader/ |
H A D | heap.cpp | 416 calloc(size_t numElements, size_t size) in calloc() argument 418 void* address = malloc(numElements * size); in calloc() 420 memset(address, 0, numElements * size); in calloc()
|
/haiku/src/system/boot/loader/ |
H A D | heap.cpp | 569 calloc(size_t numElements, size_t size) in calloc() argument 571 void* address = malloc(numElements * size); in calloc() 573 memset(address, 0, numElements * size); in calloc()
|
/haiku/src/preferences/screen/ |
H A D | ScreenMode.cpp | 382 const size_t numElements = B_COUNT_OF(kPNPIDs); in GetManufacturerFromID() local 384 const pnp_id* lastElement = kPNPIDs + numElements; in GetManufacturerFromID()
|
/haiku/src/system/kernel/ |
H A D | heap.cpp | 2490 calloc(size_t numElements, size_t size) in calloc() argument 2492 if (size != 0 && numElements > (((size_t)(-1)) / size)) in calloc() 2495 void *address = malloc(numElements * size); in calloc() 2497 memset(address, 0, numElements * size); in calloc()
|