/system/extras/tests/bionic/libstdc++/ |
test_cstdlib.cpp | 91 using ::malloc;
|
/bionic/libc/bionic/ |
malloc_debug_common.c | 31 * routines that are used by malloc leak detection code and other components in 35 * more tricky, malloc leak detection code, implemented in 204 /* Support for malloc debugging. 207 * malloc routines should not be compiled at all. 211 /* Table for dispatching malloc calls, initialized with default dispatchers. */ 217 /* Selector of dispatch table to use for dispatching malloc calls. */ 220 void* malloc(size_t bytes) { function 221 return __libc_malloc_dispatch->malloc(bytes); 236 /* We implement malloc debugging only in libc.so, so code bellow 255 /* Table for dispatching malloc calls, depending on environment. * [all...] |
/bionic/libc/stdio/ |
setvbuf.c | 61 * malloc()ed. We also clear any eof condition, as if this were 92 if ((buf = malloc(size)) == NULL) { 100 buf = malloc(size);
|
/external/blktrace/btt/ |
plat.c | 37 pp = malloc(sizeof(*pp)); 41 oname = malloc(strlen(str) + 32);
|
/external/e2fsprogs/e2fsck/ |
argv_parse.c | 52 buf = malloc(strlen(in_buf)+1); 116 argv = malloc(sizeof(char *));
|
/external/oprofile/libpopt/ |
poptparse.c | 30 dst = malloc(nb); 62 const char ** argv = malloc(sizeof(*argv) * argvAlloced);
|
/external/qemu/android/utils/ |
system.c | 30 block = malloc(size); 91 copy = malloc(len+1);
|
/external/qemu/ |
softmmu-semi.h | 42 p = malloc(len); 54 s = p = malloc(1024);
|
/frameworks/base/opengl/tests/gralloc/ |
gralloc.cpp | 43 void* temp = malloc(size); 44 void* temp2 = malloc(size);
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
perf.c | 86 hPERF = (PERF_OBJHANDLE) malloc(sizeof(PERF_OBJTYPE)); 94 me = (PERF_Private *) malloc(sizeof(PERF_Private));
|
/system/core/libzipfile/ |
test_zipfile.c | 44 buf = malloc(size);
75 scratch = malloc(size);
|
/system/core/toolbox/ |
insmod.c | 5 #include <malloc.h> 31 buffer = malloc(size);
|
/external/bluetooth/glib/gio/xdgmime/ |
xdgmime.c | 144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); 164 file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1); 174 file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); 187 file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1); 199 file_name = malloc (strlen (directory) + strlen ("/mime/aliases") + 1); 204 file_name = malloc (strlen (directory) + strlen ("/mime/subclasses") + 1); 209 file_name = malloc (strlen (directory) + strlen ("/mime/icons") + 1); 214 file_name = malloc (strlen (directory) + strlen ("/mime/generic-icons") + 1); 247 guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/") + 1); 285 dir = malloc (len + 1) [all...] |
/external/chromium/base/third_party/xdg_mime/ |
xdgmime.c | 144 file_name = malloc (strlen (directory) + strlen ("/mime/mime.cache") + 1); 164 file_name = malloc (strlen (directory) + strlen ("/mime/globs2") + 1); 174 file_name = malloc (strlen (directory) + strlen ("/mime/globs") + 1); 187 file_name = malloc (strlen (directory) + strlen ("/mime/magic") + 1); 199 file_name = malloc (strlen (directory) + strlen ("/mime/aliases") + 1); 204 file_name = malloc (strlen (directory) + strlen ("/mime/subclasses") + 1); 209 file_name = malloc (strlen (directory) + strlen ("/mime/icons") + 1); 214 file_name = malloc (strlen (directory) + strlen ("/mime/generic-icons") + 1); 247 guessed_xdg_home = malloc (strlen (home) + strlen ("/.local/share/") + 1); 285 dir = malloc (len + 1) [all...] |
/external/bluetooth/glib/glib/ |
gmem.c | 48 * SANE_MALLOC_PROTOS is defined if the systems malloc() and friends functions 58 /* --- malloc wrappers --- */ 65 return malloc (n_bytes); 72 # define standard_malloc malloc 78 # define standard_try_malloc malloc 84 return malloc (n_bytes); 131 mem = glib_mem_vtable.malloc (n_bytes); 237 gpointer mem = glib_mem_vtable.malloc (l); 251 * malloc implementation. If it returns %TRUE memory allocated with 252 * malloc() can be used interchangeable with memory allocated using g_malloc(). [all...] |
/external/chromium/third_party/icu/source/test/cintltst/ |
cnmdptst.c | 87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 253 upat=(UChar*)malloc(sizeof(UChar) * (strlen(pat[p])+1) ); 270 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 302 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 348 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("*#,##0.00;-*#,##0.00") + 1) ); 359 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 369 pat=(UChar*)malloc(sizeof(UChar) * (lneed+1) ) [all...] |
cmsgtst.c | 65 testCasePatterns[i]=(UChar*)malloc(sizeof(UChar) * strSize); 70 testResultStrings[i] = (UChar*)malloc(sizeof(UChar) * strSize); 113 str=(UChar*)malloc(sizeof(UChar) * 7); 116 result=(UChar*)malloc(sizeof(UChar) * 1); 160 result=(UChar*)malloc(sizeof(UChar) * resultlength); 208 result = (UChar*) malloc(U_SIZEOF_UCHAR*resultLength+2); 272 str=(UChar*)malloc(sizeof(UChar) * 15); 277 result=(UChar*)malloc(sizeof(UChar) * 1); 405 result=(UChar*)malloc(sizeof(UChar) * resultlength); 482 str=(UChar*)malloc(sizeof(UChar) * 25) [all...] |
nfsprep.c | 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 107 b3 = (char*) malloc(b3Len); 237 p = (char*) malloc(pLen); 250 s = (char*) malloc(pLen);
|
/external/icu4c/test/cintltst/ |
cnmdptst.c | 87 unewp=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 101 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 139 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 168 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 253 upat=(UChar*)malloc(sizeof(UChar) * (strlen(pat[p])+1) ); 270 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 302 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 348 pattern=(UChar*)malloc(sizeof(UChar) * (strlen("*#,##0.00;-*#,##0.00") + 1) ); 359 str=(UChar*)malloc(sizeof(UChar) * (lneed+1) ); 369 pat=(UChar*)malloc(sizeof(UChar) * (lneed+1) ) [all...] |
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); 270 str=(UChar*)malloc(sizeof(UChar) * 15); 275 result=(UChar*)malloc(sizeof(UChar) * 1); 403 result=(UChar*)malloc(sizeof(UChar) * resultlength); 480 str=(UChar*)malloc(sizeof(UChar) * 25) [all...] |
nfsprep.c | 79 b1 = (UChar*) malloc(b1Len * U_SIZEOF_UCHAR); 95 b2 = (UChar*) malloc(b2Len * U_SIZEOF_UCHAR); 107 b3 = (char*) malloc(b3Len); 237 p = (char*) malloc(pLen); 250 s = (char*) malloc(pLen);
|
/system/core/libcutils/ |
dir_hash.c | 149 char *name = malloc(strlen(de->d_name) + 1); 150 struct list *node = malloc(sizeof(struct list)); 181 name = malloc(strlen(f->name) + strlen(directory_path) + 2); 207 keep = malloc(len + strlen(name) + 3); 208 res = malloc(sizeof(struct list)); 285 list = malloc(count * sizeof(struct list *)); 303 buf = malloc(len + 1);
|
/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/e2fsprogs/intl/ |
bindtextdom.c | 155 result = (char *) malloc (len); 193 result = (char *) malloc (len); 226 (struct binding *) malloc (offsetof (struct binding, domainname) + len); 253 result = (char *) malloc (len); 284 result = (char *) malloc (len);
|
/external/jpeg/ |
ansi2knr.c | 272 malloc and free should be declared in stdlib.h, 276 # include <malloc.h> 279 extern char *malloc(); 282 extern char *malloc(); 370 buf = malloc(bufsize); 547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
|