Home
last modified time | relevance | path

Searched refs:n_elements (Results 1 – 11 of 11) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/wince/
DMemoryManager.cpp116 void *fastCalloc(size_t n_elements, size_t element_size) { return calloc(n_elements, element_size);… in fastCalloc() argument
123 void *fastCalloc(size_t n_elements, size_t element_size) { return MemoryManager::m_calloc(n_element… in fastCalloc() argument
154 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) in tryFastCalloc() argument
157 return fastCalloc(n_elements, element_size); in tryFastCalloc()
DFastMallocWinCE.h34 void* fastCalloc(size_t n_elements, size_t element_size);
41 void* tryFastCalloc(size_t n_elements, size_t element_size);
53 #define calloc(n_elements, element_size) fastCalloc(n_elements, element_size) argument
/external/valgrind/main/coregrind/
Dm_hashtable.c45 UInt n_elements; member
76 table->n_elements = 0; in VG_()
85 return table->n_elements; in VG_()
119 (UWord)table->n_elements ); in resize()
148 table->n_elements++; in VG_()
149 if ( (1 * (ULong)table->n_elements) > (1 * (ULong)table->n_chains) ) { in VG_()
184 table->n_elements--; in VG_()
203 *n_elems = table->n_elements; in VG_()
/external/eigen/unsupported/test/mpreal/
Ddlmalloc.h497 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
509 void** mspace_independent_calloc(mspace msp, size_t n_elements,
516 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
Ddlmalloc.c1202 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1214 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1221 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
4462 size_t n_elements, in ialloc() argument
4490 if (n_elements == 0) in ialloc()
4497 if (n_elements == 0) in ialloc()
4500 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
4506 contents_size = n_elements * element_size; in ialloc()
4511 for (i = 0; i != n_elements; ++i) in ialloc()
4553 if (i != n_elements-1) { in ialloc()
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_benchmarks_test.cc19 static void ManyAccessFunc(T *x, size_t n_elements, size_t n_iter) { in ManyAccessFunc() argument
23 for (size_t i = 0; i <= n_elements - 16; i += 16) { in ManyAccessFunc()
/external/libffi/src/
Ddlmalloc.c1065 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1077 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1084 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3931 size_t n_elements, in ialloc() argument
3958 if (n_elements == 0) in ialloc()
3965 if (n_elements == 0) in ialloc()
3968 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
3974 contents_size = n_elements * element_size; in ialloc()
3979 for (i = 0; i != n_elements; ++i) in ialloc()
4021 if (i != n_elements-1) { in ialloc()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_malloc.c1109 void* mspace_calloc(mspace msp, size_t n_elements, size_t elem_size);
1121 void** mspace_independent_calloc(mspace msp, size_t n_elements,
1128 void** mspace_independent_comalloc(mspace msp, size_t n_elements,
3941 size_t n_elements, in ialloc() argument
3968 if (n_elements == 0) in ialloc()
3975 if (n_elements == 0) in ialloc()
3978 array_size = request2size(n_elements * (sizeof(void*))); in ialloc()
3984 contents_size = n_elements * element_size; in ialloc()
3989 for (i = 0; i != n_elements; ++i) in ialloc()
4031 if (i != n_elements-1) { in ialloc()
[all …]
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc34 void* (*calloc)(uptr n_elements, uptr elem_size);
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.h73 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size);
DFastMalloc.cpp264 TryMallocReturnValue tryFastCalloc(size_t n_elements, size_t element_size) in tryFastCalloc() argument
269 size_t totalBytes = n_elements * element_size; in tryFastCalloc()
270 …if (n_elements > 1 && element_size && (totalBytes / element_size) != n_elements || (std::numeric_l… in tryFastCalloc()
283 return calloc(n_elements, element_size); in tryFastCalloc()
287 void* fastCalloc(size_t n_elements, size_t element_size) in fastCalloc() argument
292 TryMallocReturnValue returnValue = tryFastCalloc(n_elements, element_size); in fastCalloc()
297 void* result = calloc(n_elements, element_size); in fastCalloc()
304 if (!n_elements || !element_size) in fastCalloc()