/external/chromium_org/third_party/libwebp/utils/ |
utils.h | 32 // size-checking safe malloc/calloc: verify that the requested size is not too 36 // safe malloc() borrows the signature from calloc(), pointing at the dangerous 40 // in order to favor the "calloc(num_foo, sizeof(foo))" pattern.
|
/external/ipsec-tools/src/racoon/ |
rsalist.c | 73 rsa_key = calloc(sizeof(struct rsa_key), 1); 79 rsa_key->src = calloc(sizeof(*rsa_key->src), 1); 84 rsa_key->dst = calloc(sizeof(*rsa_key->dst), 1);
|
/external/llvm/test/Instrumentation/BoundsChecking/ |
simple.ll | 7 declare noalias i8* @calloc(i64, i64) nounwind 32 %1 = tail call i8* @calloc(i64 4, i64 %x) 122 %1 = tail call i8* @calloc(i64 1, i64 %x)
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.c | 121 ifi = (struct ifi_info*)calloc(1, sizeof(struct ifi_info)); 143 ifi->ifi_addr = calloc(1, sizeof(struct sockaddr_in6)); 152 ifi->ifi_netmask = calloc(1, sizeof(struct sockaddr_in6)); 156 sin6=calloc(1, sizeof(struct sockaddr_in6)); 157 addrptr=calloc(1, sizeof(struct in6_addr)); 305 ifi = (struct ifi_info*)calloc(1, sizeof(struct ifi_info)); 335 ifi->ifi_addr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); 359 ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); 381 ifi->ifi_brdaddr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)); 400 ifi->ifi_dstaddr = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in)) [all...] |
/external/skia/bench/ |
MemoryBench.cpp | 59 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/webp/src/utils/ |
utils.h | 32 // size-checking safe malloc/calloc: verify that the requested size is not too 36 // safe malloc() borrows the signature from calloc(), pointing at the dangerous 40 // in order to favor the "calloc(num_foo, sizeof(foo))" pattern.
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
malloc.h | 53 extern void *calloc __MALLOC_P ((size_t __nmemb, size_t __size)) 64 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 67 /* Free a block allocated by `calloc'. */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
malloc.h | 53 extern void *calloc __MALLOC_P ((size_t __nmemb, size_t __size)) 64 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 67 /* Free a block allocated by `calloc'. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
malloc.h | 53 extern void *calloc __MALLOC_P ((size_t __nmemb, size_t __size)) 64 /* Free a block allocated by `malloc', `realloc' or `calloc'. */ 67 /* Free a block allocated by `calloc'. */
|
/system/extras/libpagemap/ |
pm_process.c | 40 proc = calloc(1, sizeof(*proc)); 242 maps = calloc(INITIAL_MAPS, sizeof(pm_map_t*)); 268 maps[maps_count] = map = calloc(1, sizeof(*map));
|
/external/tcpdump/ |
addrtoname.c | 341 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); 343 error("lookup_emem: calloc"); 384 tp->e_bs = (u_char *) calloc(1, nlen + 1); 386 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); 388 error("lookup_bytestring: calloc"); 429 tp->e_nxt = (struct enamemem *)calloc(1, sizeof(*tp)); 431 error("lookup_nsap: calloc"); 457 tp->p_nxt = (struct protoidmem *)calloc(1, sizeof(*tp)); 459 error("lookup_protoid: calloc"); 1140 /* Return a zero'ed hnamemem struct and cuts down on calloc() overhead * [all...] |
/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/extras/ext4_utils/ |
ext4_utils.c | 119 aux_info.sb = calloc(info.block_size, 1); 121 aux_info.backup_sb = calloc(aux_info.groups, sizeof(char *)); 124 critical_error_errno("calloc"); 126 aux_info.bg_desc = calloc(info.block_size, aux_info.bg_desc_blocks); 128 critical_error_errno("calloc"); 227 aux_info.backup_sb[i] = calloc(info.block_size, 1); 258 u8 *buf = calloc(info.block_size, 1);
|
/external/srec/srec/cfront/ |
sp_fft.c | 143 pthis = (srfft*) CALLOC(1, sizeof(srfft), "srfft"); 189 butterflyIndex = (unsigned*) CALLOC(butterflyLength, sizeof(unsigned), "srfft.butterflyIndex"); 278 pcos1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 279 psin1 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 280 pcos2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 281 psin2 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 282 pcos3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 283 psin3 = (trigonomydata*) CALLOC(nt, sizeof(trigonomydata), "srfft.trigonomydata"); 335 tbl = (unsigned*) CALLOC(n, sizeof(unsigned), "srfft.bitreverseTbl"); 828 fft->real = (fftdata*) CALLOC(size + 2, sizeof(fftdata), "srfft.fft_data") [all...] |
/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));
|
/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/elfutils/libelf/ |
elf_newscn.c | 111 newp = (Elf_ScnList *) calloc (sizeof (Elf_ScnList) 139 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr)); 148 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr));
|
/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)
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
HashBase.tcc | 104 /** calloc also set bucket.Item = bucket_type::getEmptyStone() **/ 105 m_Buckets = (bucket_type*)calloc(m_NumOfBuckets, sizeof(bucket_type)); 227 bucket_type* new_table = (bucket_type*)calloc(pNewSize, sizeof(bucket_type));
|
/bionic/libc/private/ |
ThreadLocalBuffer.h | 56 name ## _tls_buffer = reinterpret_cast<type>(calloc(1, byte_count)); \
|
/external/chromium/base/allocator/ |
README | 48 All other allocation related functions (new/delete/calloc/etc) have been
|
/external/chromium/chrome/browser/ |
keychain_mock_mac.cc | 27 calloc(item_capacity_, sizeof(SecKeychainAttributeList))); 29 calloc(item_capacity_, sizeof(KeychainPasswordData))); 33 calloc(keychain_attr_list_[i].count, sizeof(SecKeychainAttribute))); 56 keychain_attr_list_[i].attr[j].data = calloc(1, data_size);
|
/external/chromium/third_party/libevent/ |
devpoll.c | 137 if (!(devpollop = calloc(1, sizeof(struct devpollop)))) 154 devpollop->events = calloc(nfiles, sizeof(struct pollfd)); 162 devpollop->fds = calloc(nfiles, sizeof(struct evdevpoll)); 171 devpollop->changes = calloc(nfiles, sizeof(struct pollfd));
|