Searched defs:calloc (Results 1 - 25 of 33) sorted by relevance

12

/external/bison/lib/
H A Dcalloc.c0 /* calloc() function that is glibc compatible.
21 /* Only the AC_FUNC_CALLOC macro defines 'calloc' already in config.h. */
22 #ifdef calloc
24 # undef calloc macro
25 /* Whereas the gnulib module 'calloc-gnu' defines HAVE_CALLOC_GNU. */
35 /* Call the system's calloc below. */
36 #undef calloc macro
54 /* Defend against buggy calloc implementations that mishandle
65 result = calloc (n, s);
/external/cmockery/cmockery_0_1_2/src/example/
H A Dallocate_module.c25 #define calloc(num, size) _test_calloc(num, size, __FILE__, __LINE__) macro
H A Dcalculator.c54 /* Redirect calloc and free to test_calloc() and test_free() so cmockery can
56 #ifdef calloc
57 #undef calloc macro
58 #endif // calloc
59 #define calloc(num, size) _test_calloc(num, size, __FILE__, __LINE__) macro
187 *intermediate_values = calloc(((number_of_arguments - 1) / 2),
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprwin16.h106 void * (PR_CALLBACK *calloc)(size_t n, size_t size ); member in struct:PRMethodCallbackStr
/external/ipsec-tools/src/racoon/
H A Dgcmalloc.h46 * malloc(), calloc(), realloc(), and free() entry points in the main
62 calloc(size_t number, size_t size) function
114 #define racoon_calloc(cnt, sz) calloc((cnt), (sz))
/external/clang/test/Sema/
H A Dimplicit-builtin-decl.c12 int *calloc(__SIZE_TYPE__, __SIZE_TYPE__); // expected-warning{{incompatible redeclaration of library function 'calloc'}} \
13 // expected-note{{'calloc' is a builtin with type 'void *}}
17 int calloc = 1; local
/external/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc29 DECLARE_REAL_AND_INTERCEPTOR(void*, calloc, uptr nmemb, uptr size)
37 void *(*calloc)(uptr n_elements, uptr elem_size); member in struct:MallocDebug
44 WRAP(malloc), WRAP(free), WRAP(calloc),
83 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) {
85 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym.
H A Dasan_malloc_win.cc62 void *calloc(size_t nmemb, size_t size) { function
69 return calloc(n, size);
74 return calloc(nmemb, size);
92 return calloc(n, elem_size);
/external/libunwind/tests/
H A DLtest-nocalloc.c41 calloc(size_t n, size_t s) function
46 /* In glibc, dlsym() calls calloc. Calling dlsym(RTLD_NEXT, "calloc") here
54 func = dlsym(RTLD_NEXT, "calloc");
116 and check that it doesn't call malloc()/calloc(). */
131 "FAILURE: detected %d error%s (malloc: %d, calloc: %d)\n",
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Doverride_functions.cc61 return calloc(n, size);
92 #undef calloc macro
114 return calloc(n, size);
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Doverride_functions.cc61 return calloc(n, size);
92 #undef calloc macro
114 return calloc(n, size);
/external/skia/bench/
H A DMemoryBench.cpp59 static int* calloc(size_t num) { function
82 fName.printf("memory_%s", useCalloc ? "calloc" : "malloc_bzero");
104 int* zeros = fUseCalloc ? calloc(fNum) : malloc_bzero(fNum);
/external/srec/portable/include/
H A Dpmemory.h65 #define CALLOC(m, n, tag) calloc(m, n)
66 #define CALLOC_CLR(m, n, tag) calloc(m, n)
86 #define calloc #error macro
111 * Portable calloc()
117 * Portable calloc()
182 * Allocate an array of items, similar to calloc.
/external/chromium_org/base/allocator/
H A Dgeneric_allocators.cc74 void* calloc(size_t n, size_t elem_size) { function
94 return calloc(n, elem_size);
109 return calloc(n, size);
115 #undef calloc macro
169 return calloc(n, size);
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/
H A Dvpx_mem.h113 # define calloc vpx_calloc macro
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc88 void *calloc(size_t nmemb, size_t size) { function
/external/libvpx/libvpx/vpx_mem/
H A Dvpx_mem.h110 # define calloc vpx_calloc macro
/external/valgrind/main/coregrind/m_gdbserver/
H A Dserver.h160 #define calloc(n,sz) VG_(arena_calloc) (VG_AR_CORE, "gdbsrv", n, sz) macro
/external/bison/darwin-lib/
H A Dstdlib.h488 # undef calloc
489 # define calloc rpl_calloc
491 _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size));
492 _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size));
494 _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size));
496 _GL_CXXALIASWARN (calloc); variable
498 # undef calloc macro
499 /* Assume calloc is always declared. */
500 _GL_WARN_ON_USE (calloc, "calloc i
[all...]
/external/bison/linux-lib/
H A Dstdlib.h488 # undef calloc
489 # define calloc rpl_calloc
491 _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size));
492 _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size));
494 _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size));
496 _GL_CXXALIASWARN (calloc); variable
498 # undef calloc macro
499 /* Assume calloc is always declared. */
500 _GL_WARN_ON_USE (calloc, "calloc i
[all...]
/external/chromium_org/tools/android/heap_profiler/
H A Dheap_profiler_hooks_android.c59 real_calloc = (calloc_t) dlsym(RTLD_NEXT, "calloc");
159 HEAP_PROFILER_EXPORT void* calloc(size_t nmemb, size_t size) { function
/external/jemalloc/include/jemalloc/
H A Djemalloc_mangle.h15 # define calloc je_calloc macro
H A Djemalloc_mangle_jet.h15 # define calloc jet_calloc macro
H A Djemalloc.h176 # define calloc je_calloc macro
/external/cmockery/cmockery_0_1_2/src/google/
H A Dcmockery.h241 // Redirect malloc, calloc and free to the unit test allocators.
244 #define calloc test_calloc macro

Completed in 774 milliseconds

12