/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MemAlloc.h | 25 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_malloc(size_t Sz) { in safe_malloc() function 32 return safe_malloc(1); in safe_malloc() 46 return safe_malloc(1); in safe_calloc() 59 return safe_malloc(1); in safe_realloc()
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Support/ |
D | MemAlloc.h | 25 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_malloc(size_t Sz) { in safe_malloc() function 32 return safe_malloc(1); in safe_malloc() 46 return safe_malloc(1); in safe_calloc() 59 return safe_malloc(1); in safe_realloc()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Support/ |
D | SmallVector.cpp | 115 void *NewEltsReplace = llvm::safe_malloc(NewCapacity * TSize); in replaceAllocation() 130 void *NewElts = llvm::safe_malloc(NewCapacity * TSize); in mallocForGrow() 143 NewElts = llvm::safe_malloc(NewCapacity * TSize); in grow_pod()
|
D | SmallPtrSet.cpp | 34 CurArray = (const void**)safe_malloc(sizeof(void*) * CurArraySize); in shrink_and_clear() 100 const void **NewBuckets = (const void**) safe_malloc(sizeof(void*) * NewSize); in Grow() 130 CurArray = (const void**)safe_malloc(sizeof(void*) * that.CurArraySize); in SmallPtrSetImplBase() 159 CurArray = (const void**)safe_malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom()
|
D | RWMutex.cpp | 45 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | SmallPtrSet.cpp | 34 CurArray = (const void**)safe_malloc(sizeof(void*) * CurArraySize); in shrink_and_clear() 100 const void **NewBuckets = (const void**) safe_malloc(sizeof(void*) * NewSize); in Grow() 130 CurArray = (const void**)safe_malloc(sizeof(void*) * that.CurArraySize); in SmallPtrSetImplBase() 159 CurArray = (const void**)safe_malloc(sizeof(void*) * RHS.CurArraySize); in CopyFrom()
|
D | SmallVector.cpp | 54 NewElts = safe_malloc(NewCapacity * TSize); in grow_pod()
|
D | RWMutex.cpp | 45 static_cast<pthread_rwlock_t*>(safe_malloc(sizeof(pthread_rwlock_t))); in RWMutexImpl()
|
/external/ltp/lib/ |
D | tst_netlink.c | 72 ctx = safe_malloc(file, lineno, NULL, in tst_netlink_create_context() 98 ctx->buffer = safe_malloc(file, lineno, NULL, ctx->bufsize); in tst_netlink_create_context() 223 ret = safe_malloc(file, lineno, NULL, retsize); in tst_netlink_recv()
|
/external/dnsmasq/src/ |
D | network.c | 268 l = safe_malloc(sizeof(struct listener)); in create_ipv6_listener() 328 l = safe_malloc(sizeof(struct listener)); in create_wildcard_listeners() 357 struct listener* new = safe_malloc(sizeof(struct listener)); in create_bound_listener() 523 struct listener* new = safe_malloc(sizeof(struct listener)); in create_bound_listeners() 832 if_tmp = safe_malloc(sizeof(struct iname)); in set_interfaces()
|
D | lease.c | 33 daemon->dhcp_buff = safe_malloc(256); in lease_init() 34 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
|
D | netlink.c | 69 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
|
D | dnsmasq.c | 158 daemon->packet = safe_malloc(daemon->packet_buff_sz); in main() 244 hdr = safe_malloc(sizeof(*hdr)); in main() 257 data = safe_malloc(sizeof(*data) * capsize); in main()
|
D | log.c | 82 free_entries = safe_malloc(sizeof(struct log_entry)); in log_start()
|
D | cache.c | 51 if (daemon->options & OPT_LOG) addrbuff = safe_malloc(ADDRSTRLEN); in cache_init() 56 crecp = safe_malloc(daemon->cachesize * sizeof(struct crec)); in cache_init() 83 new = safe_malloc(new_size * sizeof(struct crec*)); in rehash()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | LiveIntervalUnion.cpp | 189 safe_malloc(sizeof(LiveIntervalUnion)*NSize)); in init()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
D | LiveIntervalUnion.cpp | 202 safe_malloc(sizeof(LiveIntervalUnion)*NSize)); in init()
|
/external/mtools/ |
D | floppyd_installtest.c | 85 xcookie = (char *) safe_malloc(filelen+4); in authenticate_to_floppyd()
|
D | misc.c | 126 void *safe_malloc(size_t size) in safe_malloc() function
|
D | mtools.h | 104 void *safe_malloc(size_t size);
|
D | minfo.c | 47 infosec = (InfoSector_t *) safe_malloc(WORD(secsiz)); in displayInfosector()
|
D | charsetConv.c | 345 cp = safe_malloc(len); in initialize_to_native()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 63 void* safe_malloc(const char *file, const int lineno,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Object.cpp | 347 char *str = static_cast<char*>(safe_malloc(ret.size())); in LLVMGetRelocationTypeName()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Object/ |
D | Object.cpp | 347 char *str = static_cast<char*>(safe_malloc(ret.size())); in LLVMGetRelocationTypeName()
|