/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 | 36 u8 *data = calloc(backing_len, 1); 38 critical_error_errno("calloc"); 125 u32 *ind_block_data = calloc(info.block_size, 1); 155 u32 *dind_block_data = calloc(info.block_size, 1); 204 u32 *ind_block_data = calloc(info.block_size, 1); 236 u32 *dind_block_data = calloc(info.block_size, 1); 268 u32 *tind_block_data = calloc(info.block_size, 1); 446 u32 *dind_block_data = calloc(info.block_size, 1); 448 critical_error_errno("calloc"); 452 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 | 28 DECLARE_REAL_AND_INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) 35 void* (*calloc)(uptr n_elements, uptr elem_size); member in struct:MallocDebug 41 WRAP(malloc), WRAP(free), WRAP(calloc), WRAP(realloc), WRAP(memalign) 78 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { 80 // 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. 111 HideValueFromCompiler(calloc(kTooBigAllocSize, 1)))); 148 // The tests bellow check for overflows in new[] and calloc(). 204 // Call calloc(), eventually free the memory and return whether or not 205 // calloc() did succeed. 208 static_cast<char*>(calloc(nmemb, size))); 210 // optimize away the call to calloc() entirely and assume 215 // Test if calloc() can overflow. 224 // 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/linux-tools-perf/ |
builtin-kvm.c | 64 rec_argv = calloc(rec_argc + 1, sizeof(char *)); 82 rec_argv = calloc(rec_argc + 1, sizeof(char *)); 100 rec_argv = calloc(rec_argc + 1, sizeof(char *));
|
/external/openssh/openbsd-compat/ |
bsd-poll.c | 58 if ((readfds = calloc(nmemb, sizeof(fd_mask))) == NULL || 59 (writefds = calloc(nmemb, sizeof(fd_mask))) == NULL || 60 (exceptfds = calloc(nmemb, sizeof(fd_mask))) == NULL) {
|
/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 | 182 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); 184 ALOGE("Calloc for driver hal failed."); 237 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/bison/m4/ |
malloc.m4 | 78 # Test whether malloc, realloc, calloc are POSIX compliant, 82 AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant],
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_custom.h | 21 #ifdef calloc 24 #define XCALLOC calloc
|