/external/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/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); 291 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 309 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 327 struct backed_block *bb = calloc(1, sizeof(struct backed_block)); 346 struct backed_block *bb = calloc(1, sizeof(struct backed_block));
|
/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...] |
/system/core/init/ |
init_parser.cpp | 351 struct import* import = (struct import*) calloc(1, sizeof(struct import)); 625 action* act = (action*) calloc(1, sizeof(*act)); 626 trigger* cur_trigger = (trigger*) calloc(1, sizeof(*cur_trigger)); 633 command* cmd = (command*) calloc(1, sizeof(*cmd)); 690 service* svc = (service*) calloc(1, sizeof(*svc) + sizeof(char*) * argc); 746 svc = (service*) calloc(1, sizeof(*svc) + sizeof(char*) * nargs); 754 trigger* cur_trigger = (trigger*) calloc(1, sizeof(*cur_trigger)); 877 svcenvinfo* ei = (svcenvinfo*) calloc(1, sizeof(*ei)); 898 socketinfo* si = (socketinfo*) calloc(1, sizeof(*si)); 955 action* act = (action*) calloc(1, sizeof(*act)) [all...] |
/system/extras/ext4_utils/ |
ext4_utils.c | 206 aux_info.sb = calloc(info.block_size, 1); 208 aux_info.backup_sb = calloc(aux_info.groups, sizeof(char *)); 211 critical_error_errno("calloc"); 213 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); 215 critical_error_errno("calloc"); 323 aux_info.backup_sb[i] = calloc(info.block_size, 1); 354 u8 *buf = calloc(info.block_size, 1);
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
filetransfermsg.c | 184 data = (char*) calloc(sizeof(rfbFileListDataMsg), sizeof(char)); 219 data = (char*) calloc(length, sizeof(char)); 370 char *pData = (char*) calloc(length, sizeof(char)); 400 char *pData = (char*) calloc(length, sizeof(char)); 434 char *pData = (char*) calloc(length, sizeof(char)); 558 char *pData = (char*) calloc(length, sizeof(char));
|
/external/openssh/openbsd-compat/ |
getrrsetbyname.c | 266 rrset = calloc(1, sizeof(struct rrsetinfo)); 296 rrset->rri_rdatas = calloc(rrset->rri_nrdatas, 305 rrset->rri_sigs = calloc(rrset->rri_nsigs, sizeof(struct rdatainfo)); 391 resp = calloc(1, sizeof(*resp)); 459 curr = calloc(1, sizeof(struct dns_query)); 506 curr = calloc(1, sizeof(struct dns_rr));
|
getrrsetbyname.c.orig | 264 rrset = calloc(1, sizeof(struct rrsetinfo)); 294 rrset->rri_rdatas = calloc(rrset->rri_nrdatas, 303 rrset->rri_sigs = calloc(rrset->rri_nsigs, sizeof(struct rdatainfo)); 389 resp = calloc(1, sizeof(*resp)); 457 curr = calloc(1, sizeof(struct dns_query)); 504 curr = calloc(1, sizeof(struct dns_rr));
|
/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'}}
|
malloc.cpp | 7 void *calloc(size_t nmemb, size_t size);
|
/external/libdrm/tegra/ |
tegra.c | 65 drm = calloc(1, sizeof(*drm)); 121 bo = calloc(1, sizeof(*bo)); 158 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.c | 31 // $MALLOC_FAIL_AT is used to simulate a memory error when calloc or malloc 75 fprintf(stderr, " calloc = %4d\n", num_calloc_calls); 198 ptr = calloc((size_t)nmemb, size);
|
/prebuilts/misc/common/swig/include/2.0.11/ |
cpointer.i | 62 return (TYPE *) calloc(1,sizeof(TYPE)); 121 %{ return (TYPE *) calloc(1,sizeof(TYPE)); %} 129 %{ TYPE *obj = (TYPE *) calloc(1,sizeof(TYPE));
|
/prebuilts/misc/common/swig/include/2.0.11/d/ |
cpointer.i | 61 return (TYPE *) calloc(1,sizeof(TYPE)); 120 %{ return (TYPE *) calloc(1,sizeof(TYPE)); %} 128 %{ TYPE *self = (TYPE *) calloc(1,sizeof(TYPE));
|
/bionic/libc/include/ |
malloc.h | 32 extern void* calloc(size_t item_count, size_t item_size) __mallocfunc __wur __attribute__((alloc_size(1,2)));
|
/device/generic/goldfish/vibrator/ |
vibrator_qemu.c | 57 vibrator_device_t *vibradev = calloc(1, sizeof(vibrator_device_t));
|
/external/compiler-rt/lib/asan/ |
asan_malloc_mac.cc | 124 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) { 178 // Hack: dlsym calls calloc before REAL(calloc) is retrieved from dlsym. 346 asan_zone.calloc = &__asan_mz_calloc;
|
/external/fio/engines/ |
libaio.c | 333 ld = calloc(1, sizeof(*ld)); 353 ld->aio_events = calloc(ld->entries, sizeof(struct io_event)); 354 ld->iocbs = calloc(ld->entries, sizeof(struct iocb *)); 355 ld->io_us = calloc(ld->entries, sizeof(struct io_u *));
|
rbd.c | 86 rbd = calloc(1, sizeof(struct rbd_data)); 90 rbd->aio_events = calloc(td->o.iodepth, sizeof(struct io_u *)); 94 rbd->sort_events = calloc(td->o.iodepth, sizeof(struct io_u *)); 522 fri = calloc(1, sizeof(*fri));
|