/external/valgrind/main/coregrind/ |
m_commandline.c | 52 /* Read the contents of .valgrindrc in 'dir' into malloc'd memory. */ 53 // Note that we deliberately don't free the malloc'd memory. See 73 f_clo = VG_(malloc)("commandline.rdv.1", stat_buf.size+1); 166 tmp_xarray = VG_(newXA)( VG_(malloc), "commandline.sua.1", 172 = VG_(newXA)( VG_(malloc), "commandline.sua.2", 178 = VG_(newXA)( VG_(malloc), "commandline.sua.3", 214 // VG_(malloc)(). We do not free f1_clo and f2_clo as they get
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
vg_replace_malloc.c | 3 /*--- Replacements for malloc() et al, which run on the simulated ---*/ 35 These functions are drop-in replacements for malloc() and friends. 40 that wishes to know about calls to malloc(). The tool must define all 106 through to malloc/free. 168 /*--- Replacing malloc() et al ---*/ 186 /* Below are new versions of malloc, __builtin_new, free, 190 be found by the dynamic linker. But ALL client calls to malloc() 198 /*---------------------- malloc ----------------------*/ 267 // malloc 269 ALLOC_or_NULL(VG_Z_LIBSTDCXX_SONAME, malloc, malloc) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/ |
README | 10 tcmalloc -- a replacement for malloc and new. See below for some 20 -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free 23 own, built-in malloc; that assumption obviously isn't true with 25 the expected risk is highest for users who register their own malloc 140 assuming you're ok using the non-libc malloc library.) 155 TCMALLOC_DEBUG=<level> -- the higher level, the more messages malloc emits 179 other malloc libraries, here are a few web pages that have been 181 various malloc libraries on OpenLDAP. The second compares tcmalloc to 182 win32's malloc. 183 http://www.highlandsun.com/hyc/malloc/ [all...] |
/frameworks/base/tools/aidl/ |
aidl_language_y.y | 84 user_data_type* b = (user_data_type*)malloc(sizeof(user_data_type)); 105 user_data_type* b = (user_data_type*)malloc(sizeof(user_data_type)); 130 interface_type* c = (interface_type*)malloc(sizeof(interface_type)); 140 interface_type* c = (interface_type*)malloc(sizeof(interface_type)); 150 interface_type* c = (interface_type*)malloc(sizeof(interface_type)); 212 method_type *method = (method_type*)malloc(sizeof(method_type)); 230 method_type *method = (method_type*)malloc(sizeof(method_type)); 248 method_type *method = (method_type*)malloc(sizeof(method_type)); 266 method_type *method = (method_type*)malloc(sizeof(method_type)); 308 arg_type* arg = (arg_type*)malloc(sizeof(arg_type)) [all...] |
/external/blktrace/ |
blkrawverify.c | 131 bit = malloc(sizeof(struct blk_io_trace)); \ 148 struct blk_io_trace *bit = malloc(sizeof(struct blk_io_trace)); 198 pdu_buf = malloc(bit->pdu_len); 282 char *ofname = malloc(1024); 283 char *fname = malloc(1024);
|
/external/blktrace/btt/ |
seek.c | 52 oname = malloc(strlen(seek_name) + strlen(str) + 32); 81 sbp = malloc(sizeof(struct seek_bkt)); 170 mp->modes = malloc(sizeof(long long)); 210 struct seeki *sip = malloc(sizeof(struct seeki)); 225 oname = malloc(strlen(sps_name) + strlen(str) + 32);
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
zip_internal.cc | 70 ret = malloc(sizeof(WIN32FILE_IOWIN)); 101 // flush buffers and free |opaque| since we malloc'ed it in FillFdOpenFileFunc. 114 int* ptr_fd = static_cast<int*>(malloc(sizeof(fd))); 129 void* ret = malloc(sizeof(WIN32FILE_IOWIN)); 273 ZipBuffer* buffer = static_cast<ZipBuffer*>(malloc(sizeof(ZipBuffer)));
|
/external/chromium_org/third_party/zlib/google/ |
zip_internal.cc | 70 ret = malloc(sizeof(WIN32FILE_IOWIN)); 101 // flush buffers and free |opaque| since we malloc'ed it in FillFdOpenFileFunc. 114 int* ptr_fd = static_cast<int*>(malloc(sizeof(fd))); 129 void* ret = malloc(sizeof(WIN32FILE_IOWIN)); 273 ZipBuffer* buffer = static_cast<ZipBuffer*>(malloc(sizeof(ZipBuffer)));
|
/external/chromium_org/tools/valgrind/memcheck/ |
suppressions.txt | 53 fun:malloc 97 fun:malloc 125 fun:malloc 135 fun:malloc 177 fun:malloc 213 fun:malloc 398 fun:malloc 560 fun:malloc 611 fun:malloc 621 fun:malloc [all...] |
/external/e2fsprogs/intl/ |
bindtextdom.c | 155 result = (char *) malloc (len); 193 result = (char *) malloc (len); 225 (struct binding *) malloc (offsetof (struct binding, domainname) + len); 252 result = (char *) malloc (len); 283 result = (char *) malloc (len);
|
/external/jpeg/ |
jmemname.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 139 * routines malloc() and free(). 145 return (void *) malloc(sizeofobject); 165 return (void FAR *) malloc(sizeofobject);
|
/external/qemu/distrib/jpeg-6b/ |
jmemname.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 139 * routines malloc() and free(). 145 return (void *) malloc(sizeofobject); 165 return (void FAR *) malloc(sizeofobject);
|
/system/extras/libublock/ |
ublock.c | 352 ub_ctx = malloc(sizeof(struct ublock_ctx)); 359 in_buf = malloc(size); 360 out_buf = malloc(size); 392 ub_ctx->in_buf = malloc(ub_ctx->max_buf); 393 ub_ctx->out_buf = malloc(ub_ctx->max_buf);
|
/system/vold/ |
Devmapper.cpp | 43 char *buffer = (char *) malloc(1024 * 64); 50 char *buffer2 = (char *) malloc(DEVMAPPER_BUFFER_SIZE); 134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); 168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); 265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cmsgtst.c | 63 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); 68 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); 111 str=(UChar*)malloc(sizeof(UChar) * 7); 114 result=(UChar*)malloc(sizeof(UChar) * 1); 158 result=(UChar*)malloc(sizeof(UChar) * resultlength); 206 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); 278 str=(UChar*)malloc(sizeof(UChar) * 15); 283 result=(UChar*)malloc(sizeof(UChar) * 1); 411 result=(UChar*)malloc(sizeof(UChar) * resultlength); 488 str=(UChar*)malloc(sizeof(UChar) * 25) [all...] |
/external/icu4c/test/cintltst/ |
cmsgtst.c | 65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); 70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); 117 str=(UChar*)malloc(sizeof(UChar) * 7); 120 result=(UChar*)malloc(sizeof(UChar) * 1); 164 result=(UChar*)malloc(sizeof(UChar) * resultlength); 212 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); 284 str=(UChar*)malloc(sizeof(UChar) * 15); 289 result=(UChar*)malloc(sizeof(UChar) * 1); 417 result=(UChar*)malloc(sizeof(UChar) * resultlength); 494 str=(UChar*)malloc(sizeof(UChar) * 25) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
tcmalloc.cc | 33 // A malloc that uses a per-thread cache to satisfy small malloc requests. 34 // (The time for malloc/free of a small object drops from 300 ns to 50 ns.) 37 // description of how this malloc works. 85 // * malloc/free of small objects goes from ~300 ns to ~50 ns. 134 // We only need malloc.h for struct mallinfo. 136 // Malloc can be in several places on older versions of OS X. 138 # include <malloc.h> 140 # include <sys/malloc.h> 142 # include <malloc/malloc.h [all...] |
/external/valgrind/main/massif/tests/ |
basic2.post.exp | 39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 66 98.04% (14,400B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 73 98.04% (11,200B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 80 98.04% (8,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 87 98.04% (4,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 94 98.04% (1,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicBlur.cpp | 45 ObjectBaseRef<Allocation> mAlloc; 104 mAlloc.set(static_cast<Allocation *>(data)); 279 if (!cp->mAlloc.get()) { 283 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 284 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 338 if (!cp->mAlloc.get()) { 342 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; 343 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; 434 mAlloc.clear();
|
/hardware/samsung_slsi/exynos5/libkeymaster/ |
keymaster_mobicore.cpp | 117 UniquePtr<uint8_t> keyDataPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_BUFFER_SIZE))); 213 UniquePtr<uint8_t> outPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_BUFFER_SIZE))); 244 UniquePtr<uint8_t> binModPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_MAX_SIZE))); 250 UniquePtr<uint8_t> binExpPtr(reinterpret_cast<uint8_t*>(malloc(sizeof(uint32_t)))); 313 UniquePtr<uint8_t> key(static_cast<uint8_t*>(malloc(len))); 355 UniquePtr<uint8_t> signedDataPtr(reinterpret_cast<uint8_t*>(malloc(RSA_KEY_MAX_SIZE))); 364 void *tmpData = malloc(dataLength); 404 void *tmpSignedData = malloc(signedDataLength); 406 void *tmpSig = malloc(signatureLength);
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 142 p = MALLOC(1, struct open_file); 452 /* Panic on failing malloc */ 484 /* Return a malloc()'d copy of a string */ 489 char *ret = MALLOC(strlen(str)+1, char); 493 /* Return a malloc()'d copy of a block of memory */ 503 /* Release a malloc'd block of memory */ 515 nor do we care, as long as it doesn't mind being aligned by malloc. */ 529 struct buffer *b = MALLOC(1, struct buffer); 530 b->b = MALLOC(MIN_ALLOCATE, char);
|
/external/libpcap/ |
inet.c | 98 if ((newsa = malloc(sa_length)) == NULL) 187 en_name = malloc(en_name_len + 1); 190 "malloc: %s", pcap_strerror(errno)); 214 curdev = malloc(sizeof(pcap_if_t)); 217 "malloc: %s", pcap_strerror(errno)); 228 "malloc: %s", pcap_strerror(errno)); 239 "malloc: %s", pcap_strerror(errno)); 390 curaddr = malloc(sizeof(pcap_addr_t)); 393 "malloc: %s", pcap_strerror(errno)); 402 "malloc: %s", pcap_strerror(errno)) [all...] |
/bionic/libc/bionic/ |
malloc_debug_qemu.cpp | 84 * this is not the pointer that is returned to the malloc's caller. Pointer 90 /* Number of bytes requested by the malloc's caller. */ 93 /* Byte size of the prefix data. Actual pointer returned to the malloc's 123 * actually allocated in previous calls to malloc, calloc, memalign, or realloc. 135 * have to be exact pointer returned to malloc's caller, but can point 361 /* Gets pointer, returned to malloc caller for the given allocation decriptor. 365 * Pointer to the allocated memory returned to the malloc caller. 384 * desc - Descriptor for the memory block, allocated in malloc handler. 565 "<libc_pid=%03u, pid=%03u>: malloc: Access violation test failed:\n" 584 /* Initializes malloc debugging instrumentation for the emulator [all...] |
/external/aac/libSYS/src/mips/ |
genericStds_mips.cpp | 134 printf("Unable to access sram. Fallback to malloc\n"); 138 return malloc(MIPS_SRAM_SIZE); 145 printf("Unable to access sram. Fallback to malloc\n"); 151 ptr = (unsigned long *)malloc(MIPS_SRAM_SIZE); 204 addr = malloc(MIPS_SRAM_SIZE); 220 return malloc(MIPS_SRAM_SIZE);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
malloc_extension.cc | 195 // The current malloc extension object. 214 // When running under valgrind, our custom malloc is replaced with 215 // valgrind's one and malloc extensions will not work. (Note: 217 // malloc that is really being run, before calling Register. This 296 "This malloc implementation does not support sampling.\n" 319 "This malloc implementation does not support "
|