/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
malloc.h | 54 extern void *calloc __MALLOC_P ((size_t __nmemb, size_t __size)) 65 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 68 /* Free a block allocated by `calloc'. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
malloc.h | 64 extern void *calloc (size_t __nmemb, size_t __size) 75 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 78 /* Free a block allocated by `calloc'. */
|
/toolchain/binutils/binutils-2.25/libiberty/ |
xmalloc.c | 41 like @code{calloc}, but will behave the same as @code{xmalloc} if memory 88 void *calloc (size_t, size_t); 162 newmem = calloc (nelem, elsize);
|
/external/valgrind/coregrind/m_replacemalloc/ |
vg_replace_malloc.c | 53 avoid such function calls in the first place. See "#define CALLOC" 82 10070 CALLOC 154 and V. This is for calloc argument overflow checking; see comments 198 __builtin_delete, calloc, realloc, memalign, and friends. 661 /*---------------------- calloc ----------------------*/ 683 #define CALLOC(soname, fnname) \ 693 MALLOC_TRACE("calloc(%llu,%llu)", (ULong)nmemb, (ULong)size ); \ 711 CALLOC(VG_Z_LIBC_SONAME, calloc); 712 CALLOC(SO_SYN_MALLOC, calloc) [all...] |
/device/google/dragon/audio/hal/ |
cras_expr.c | 307 expr = calloc(1, sizeof(struct cras_expr_expression)); 316 expr = calloc(1, sizeof(struct cras_expr_expression)); 326 expr = calloc(1, sizeof(struct cras_expr_expression)); 336 expr = calloc(1, sizeof(struct cras_expr_expression)); 345 expr = calloc(1, sizeof(struct cras_expr_expression));
|
/external/libdrm/radeon/ |
bof.c | 55 object = calloc(1, sizeof(bof_t)); 149 blob->value = calloc(1, size); 185 string->value = calloc(1, string->size); 206 int32->value = calloc(1, int32->size); 307 bof->value = calloc(1, bof->size - 12);
|
/external/libdrm/tests/planetest/ |
dev.c | 122 dev = calloc(1, sizeof(*dev)); 149 dev->connectors = calloc(dev->num_connectors, 179 dev->encoders = calloc(dev->num_encoders, sizeof(*dev->encoders)); 193 dev->crtcs = calloc(dev->num_crtcs, sizeof(struct sp_crtc)); 229 dev->planes = calloc(dev->num_planes, sizeof(struct sp_plane));
|
/external/vboot_reference/host/lib21/ |
host_key.c | 124 key = calloc(1, sizeof(*key)); 191 key = calloc(1, sizeof(*key)); 263 buf = calloc(1, pkey.c.total_size); 349 key = calloc(1, buf_size); 490 buf = calloc(1, key.c.total_size);
|
/system/core/libsparse/ |
backed_block.c | 125 struct backed_block_list *b = calloc(sizeof(struct backed_block_list), 1); 295 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 313 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 331 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 350 struct backed_block *bb = calloc(1, sizeof(struct backed_block));
|
/system/sepolicy/tools/sepolicy-analyze/ |
neverallow.c | 107 id = calloc(1, len + 1); 244 id = calloc(1, p - start + 1); 257 node = calloc(1, sizeof *node); 321 id = calloc(1, p - start + 1); 399 avrule = calloc(1, sizeof *avrule);
|
/external/bison/lib/ |
stdlib.in.h | 166 # undef calloc 167 # define calloc rpl_calloc 169 _GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); 170 _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); 172 _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); 174 _GL_CXXALIASWARN (calloc); 176 # undef calloc 177 /* Assume calloc is always declared. */ 178 _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - [all...] |
/external/tinyalsa/ |
mixer.c | 111 mixer = calloc(1, sizeof(*mixer)); 115 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); 116 mixer->elem_info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); 123 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id)); 142 char **enames = calloc(ei->value.enumerated.items, sizeof(char*)); 366 tlv = calloc(1, sizeof(*tlv) + count); 466 tlv = calloc(1, sizeof(*tlv) + count);
|
/hardware/bsp/intel/peripheral/libmraa/src/ |
mraa.c | 128 plat = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); 157 platform_name = calloc(length, sizeof(char)); 220 plat_iio = (mraa_iio_info_t*) calloc(1, sizeof(mraa_iio_info_t)); 232 plat_iio->iio_devices = calloc(num_iio_devices, sizeof(struct _iio)); 600 char* line = calloc(len, sizeof(char)); 635 char* line = calloc(len, sizeof(char));
|
/device/google/contexthub/util/stm32_flash/ |
flash.c | 204 buffer = calloc(tot_len(buf.st_size), 1); 253 buffer = calloc(length, 1); 277 buffer = calloc(tot_len(length), 1);
|
/external/clang/test/Analysis/ |
MismatchedDeallocator-checker-test.mm | 9 void *calloc(size_t nmemb, size_t size); 33 int *p = (int *)calloc(1, sizeof(int)); 34 delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not 'delete'}}
|
/external/libdrm/amdgpu/ |
amdgpu_device.c | 209 dev = calloc(1, sizeof(struct amdgpu_device)); 257 dev->vamgr = calloc(1, sizeof(struct amdgpu_bo_va_mgr)); 272 dev->vamgr_32 = calloc(1, sizeof(struct amdgpu_bo_va_mgr));
|
/external/libdrm/tegra/ |
tegra.c | 65 drm = calloc(1, sizeof(*drm)); 118 bo = calloc(1, sizeof(*bo)); 154 bo = calloc(1, sizeof(*bo));
|
/external/libnl/lib/route/cls/ |
ematch.c | 114 if (!(e = calloc(1, len))) 186 if (!(tree = calloc(1, sizeof(*tree)))) 287 if (!(index = calloc(thdr->nmatches, sizeof(struct rtnl_ematch *))))
|
/external/libunwind/src/mi/ |
Gdyn-remote.c | 73 region = calloc (1, _U_dyn_region_info_size (op_count)); 104 unw_word_t i, *data = calloc (table_len, WSIZE); 247 di = calloc (1, sizeof (*di));
|
/external/libvorbis/vq/ |
distribution.c | 96 long **sort=calloc(bins,sizeof(long *)); 98 countarray=calloc(bins,sizeof(long)); 203 countarray=calloc(bins+1,sizeof(long));
|
/external/llvm/test/CodeGen/ARM/ |
2007-08-15-ReuseBug.ll | 60 %tmp3.i.i.i.i105.i = call i8* @calloc( i32 15, i32 1 ) ; <i8*> [#uses=1] 65 %tmp3.i.i.i.i95.i = call i8* @calloc( i32 15, i32 1 ) ; <i8*> [#uses=1] 106 declare i8* @calloc(i32, i32)
|
/external/llvm/test/Instrumentation/BoundsChecking/ |
simple.ll | 10 declare noalias i8* @calloc(i64, i64) nounwind 35 %1 = tail call i8* @calloc(i64 4, i64 %x) 144 %1 = tail call i8* @calloc(i64 1, i64 %x)
|
/external/webp/src/utils/ |
utils.h | 36 // size-checking safe malloc/calloc: verify that the requested size is not too 40 // safe malloc() borrows the signature from calloc(), pointing at the dangerous 44 // in order to favor the "calloc(num_foo, sizeof(foo))" pattern.
|
/frameworks/base/services/core/jni/ |
com_android_server_am_BatteryStatsService.cpp | 209 list = (power_state_platform_sleep_state_t *)calloc(num_modes, 216 voter_list = (size_t *)calloc(num_modes, sizeof(*voter_list)); 225 list[i].voters = (power_state_voter_t *)calloc(voter_list[i],
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
intel_de3815.c | 41 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); 55 b->pins = (mraa_pininfo_t*) calloc(MRAA_INTEL_DE3815_PINCOUNT,sizeof(mraa_pininfo_t)); 60 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t));
|