/external/srec/portable/include/ |
pmemory.h | 65 #define CALLOC(m, n, tag) calloc(m, n) 66 #define CALLOC_CLR(m, n, tag) calloc(m, n) 70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag)) 86 #define calloc #error macro 111 * Portable calloc() 113 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize , tag, L(__FILE__), __LINE__)) 117 * Portable calloc() 119 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize)) 143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag) [all...] |
/system/extras/ext4_utils/ |
indirect.c | 34 u8 *data = calloc(backing_len, 1); 36 critical_error_errno("calloc"); 123 u32 *ind_block_data = calloc(info.block_size, 1); 153 u32 *dind_block_data = calloc(info.block_size, 1); 202 u32 *ind_block_data = calloc(info.block_size, 1); 234 u32 *dind_block_data = calloc(info.block_size, 1); 266 u32 *tind_block_data = calloc(info.block_size, 1); 444 u32 *dind_block_data = calloc(info.block_size, 1); 446 critical_error_errno("calloc"); 450 u32 *ind_block_data = calloc(info.block_size, info.bg_desc_reserve_blocks) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/sw/ |
i915_sw_buffer.c | 17 buf->ptr = CALLOC(size, 1); 43 buf->ptr = CALLOC(*stride * height, 1);
|
/external/iproute2/tc/ |
m_ematch.h | 25 struct bstr *b = calloc(1, sizeof(*b)); 69 struct ematch *e = calloc(1, sizeof(*e));
|
/external/llvm/test/CodeGen/X86/ |
2006-08-07-CycleInDAG.ll | 18 %tmp.i8 = tail call i8* @calloc( i32 %tmp13.i7, i32 4 ) ; <i8*> [#uses=0] 29 declare i8* @calloc(i32, i32)
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
i915_sw_buffer.c | 17 buf->ptr = CALLOC(size, 1); 43 buf->ptr = CALLOC(*stride * height, 1);
|
/external/valgrind/main/memcheck/tests/ |
partial_load_ok.stderr.exp | 5 at 0x........: calloc (vg_replace_malloc.c:...) 11 at 0x........: calloc (vg_replace_malloc.c:...)
|
partial_load_ok.stderr.exp64 | 5 at 0x........: calloc (vg_replace_malloc.c:...) 11 at 0x........: calloc (vg_replace_malloc.c:...)
|
/external/compiler-rt/lib/asan/ |
asan_malloc_linux.cc | 29 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.
|
/external/chromium_org/base/ |
security_unittest.cc | 34 // as something we don't need (see the comment with calloc below). 78 // The sanitizers' calloc dies on OOM instead of returning NULL. 113 HideValueFromCompiler(calloc(kTooBigAllocSize, 1)))); 150 // The tests bellow check for overflows in new[] and calloc(). 206 // Call calloc(), eventually free the memory and return whether or not 207 // calloc() did succeed. 210 static_cast<char*>(calloc(nmemb, size))); 212 // optimize away the call to calloc() entirely and assume 217 // Test if calloc() can overflow. 226 // It's also ok for calloc to just terminate the process [all...] |
/external/srec/srec/clib/ |
jacobi.c | 64 b = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.b"); 65 d = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.d"); 66 z = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.z"); 67 a = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); 68 v = (double **) CALLOC(dim, sizeof(double *), "clib.jacobi.input_jacobi"); 71 a[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]"); 72 v[i] = (double *) CALLOC(dim, sizeof(double), "clib.jacobi.input_jacobi[]");
|
matrix_i.c | 55 index = (int *) CALLOC(dim, sizeof(int), "clib.index_imatrix"); 56 col = (double *) CALLOC(dim, sizeof(double), "clib.col"); 57 input = (double **) CALLOC(dim, sizeof(double *), "clib.input_imatrix"); 60 input[ii] = (double *) CALLOC(dim, sizeof(double), "clib.input_imatrix[]"); 108 vv = (double *) CALLOC(dim + 5, sizeof(double), "clib.ludcmp.vv");
|
/external/srec/srec/cfront/ |
frontobj.c | 170 channel->prebuff = (fftdata *) CALLOC(freqobj->window_length + 1, 172 channel->prerefbuff = (fftdata *) CALLOC(freqobj->window_length + 1, 178 channel->filterbank = (cepdata *) CALLOC(channel->num_freq, 180 channel->filterbankref = (cepdata *) CALLOC(channel->num_freq, 184 channel->cep = (cepdata *) CALLOC((Q2 + 1) * (channel->mel_dim + 1), 186 channel->rasta = (cepdata *) CALLOC((channel->mel_dim + 1), 188 channel->framdata = (featdata *) CALLOC(3 * (channel->mel_dim + 1), 203 channel->spectral_sub->sub_vector = (cepdata *) CALLOC(NUM_MEL_FREQS, 468 freqobj->ham = (fftdata *) CALLOC(freqobj->window_length + 1, 568 cepobj->mel_offset = (cepdata *) CALLOC(MEL_FREQ_ARRAY_SIZE [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
override_functions.cc | 61 return calloc(n, size); 92 #undef calloc macro 114 return calloc(n, size);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
override_functions.cc | 61 return calloc(n, size); 92 #undef calloc macro 114 return calloc(n, size);
|
/external/expat/tests/ |
minicheck.c | 18 Suite *suite = (Suite *) calloc(1, sizeof(Suite)); 28 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); 78 SRunner *runner = calloc(1, sizeof(SRunner));
|
/external/ipsec-tools/src/racoon/ |
gcmalloc.h | 46 * 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/valgrind/main/none/tests/ppc32/ |
lsw.c | 69 a2 = calloc(100,1); 80 a2 = calloc(100,1); 91 a2 = calloc(100,1);
|
/external/valgrind/main/none/tests/ppc64/ |
lsw.c | 69 a2 = calloc(100,1); 80 a2 = calloc(100,1); 91 a2 = calloc(100,1);
|
/frameworks/rs/driver/ |
rsdCore.cpp | 201 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); 203 ALOGE("Calloc for driver hal failed."); 258 void* buffer = calloc(size, sizeof(char));
|
/external/clang/test/Analysis/ |
malloc-annotations.c | 6 void *calloc(size_t nmemb, size_t size); 239 // This tests that calloc() buffers need to be freed 241 char *buf = calloc(2,2); 245 // These test that calloc() buffers are zeroed by default 247 char *buf = calloc(2,2); 256 char *buf = calloc(2,2);
|
/external/cmockery/cmockery_0_1_2/src/example/ |
calculator.c | 54 /* 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/bison/m4/ |
malloc.m4 | 78 # Test whether malloc, realloc, calloc are POSIX compliant, 82 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
|
/ndk/sources/host-tools/make-3.81/w32/subproc/ |
misc.c | 51 tmp = (char**) calloc(arrcnt + 1, sizeof(char *));
67 ptr = *envblk_out = calloc(size_needed, 1);
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
stdlib.in.h | 121 # undef calloc 122 # define calloc rpl_calloc 123 extern void * calloc (size_t nmemb, size_t size); 126 # undef calloc 127 # define calloc(n,s) \ 128 (GL_LINK_WARNING ("calloc is not POSIX compliant everywhere - " \ 129 "use gnulib module calloc-posix for portability"), \ 130 calloc (n, s))
|