| /system/extras/cpustats/ |
| cpustats.c | 108 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); 110 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); 115 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); 117 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); 127 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); 129 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count);
|
| /bionic/libstdc++/include/ |
| cstdlib | 92 using ::malloc;
|
| /bootable/recovery/applypatch/ |
| imgpatch.c | 133 unsigned char* expanded_source = malloc(expanded_len); 197 temp_data = malloc(32768);
|
| /bootable/recovery/ |
| install.cpp | 112 const char** args = (const char**)malloc(sizeof(char*) * 5); 115 char* temp = (char*)malloc(10);
|
| /dalvik/libdex/ |
| DexClass.cpp | 109 DexClassData* result = (DexClassData*) malloc(sizeof(DexClassData)); 124 DexClassData* result = (DexClassData*) malloc(resultSize);
|
| /development/ndk/platforms/android-5/samples/hello-gl2/jni/ |
| gl_code.cpp | 68 char* buf = (char*) malloc(infoLen); 107 char* buf = (char*) malloc(bufLength);
|
| /device/generic/goldfish/libqemu/ |
| test_guest_2.c | 152 buffer = malloc(bufferSize); 153 buffer2 = malloc(bufferSize);
|
| /device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
| mm_camera_data.c | 60 (mm_camera_q_node_t *)malloc(sizeof(mm_camera_q_node_t)); 205 mm_camera_cmdcb_t* node = (mm_camera_cmdcb_t *)malloc(sizeof(mm_camera_cmdcb_t));
|
| /external/bison/darwin-lib/ |
| stdlib.h | 593 rely on GNU or POSIX semantics for malloc and realloc (for example, 594 by never specifying a zero size), so it does not need malloc or 600 # undef malloc 601 # define malloc rpl_malloc 603 _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); 604 _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); 606 _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); 608 _GL_CXXALIASWARN (malloc); variable 610 # undef malloc macro 611 /* Assume malloc is always declared. * [all...] |
| /external/bison/linux-lib/ |
| stdlib.h | 593 rely on GNU or POSIX semantics for malloc and realloc (for example, 594 by never specifying a zero size), so it does not need malloc or 600 # undef malloc 601 # define malloc rpl_malloc 603 _GL_FUNCDECL_RPL (malloc, void *, (size_t size)); 604 _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); 606 _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); 608 _GL_CXXALIASWARN (malloc); variable 610 # undef malloc macro 611 /* Assume malloc is always declared. * [all...] |
| /external/chromium/base/allocator/ |
| allocator_shim.cc | 11 // of inlining that we get with malloc/free/etc. Disabling makes it 26 // If flag is 0 (default), calls to malloc will behave normally. 27 // If flag is 1, calls to malloc will behave like calls to new, 109 void* malloc(size_t size) __THROW { 156 // Webkit is brittle for allocators that return NULL for malloc(0). The 158 // to call malloc for this case. 160 return malloc(size);
|
| /external/chromium/third_party/libjingle/source/talk/base/ |
| nethelpers.cc | 91 result = static_cast<hostent*>(malloc(total_len)); 130 void* buf = malloc(size);
|
| /external/dropbear/ |
| scpmisc.c | 31 * Versions of malloc and friends that check their results, and never return 55 ptr = malloc(size); 73 new_ptr = malloc(new_size);
|
| /external/e2fsprogs/debugfs/ |
| icheck.c | 73 bw.barray = malloc(sizeof(struct block_info) * argc); 81 block_buf = malloc(current_fs->blocksize * 3);
|
| /external/e2fsprogs/e2fsck/ |
| emptydir.c | 46 edi = malloc(sizeof(struct empty_dir_info_struct)); 184 edi->block_buf = malloc(ctx->fs->blocksize * 3);
|
| region.c | 38 region = malloc(sizeof(struct region_struct)); 106 new_region = malloc(sizeof(struct region_el));
|
| /external/e2fsprogs/intl/ |
| printf-parse.c | 41 /* malloc(), realloc(), free(). */ 74 d->dir = malloc (d_allocated * sizeof (DIRECTIVE)); 100 : malloc (memory_size)); \
|
| /external/e2fsprogs/lib/blkid/ |
| devno.c | 46 ret = malloc(length + 1); 66 dp = malloc(sizeof(struct dir_list));
|
| save.c | 94 tmp = malloc(strlen(filename) + 8); 142 backup = malloc(strlen(filename) + 5);
|
| /external/elfutils/libasm/ |
| asm_align.c | 147 asmscn->content = (struct AsmData *) malloc (sizeof (struct AsmData) 164 newp = (struct AsmData *) malloc (sizeof (struct AsmData) + size);
|
| /external/icu4c/test/cintltst/ |
| ccurrtst.c | 145 sortKey1=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1)); 149 sortKey2=(uint8_t*)malloc(sizeof(uint8_t) * (sortklen+1));
|
| /external/icu4c/test/perf/strsrchperf/ |
| strsrchperf.cpp | 42 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen)); 61 UChar* temp = (UChar*)malloc(sizeof(UChar)*(pttrnLen));
|
| /external/libmtp/ |
| config.h.in | 54 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and 189 #undef malloc
|
| /external/libmtp/src/ |
| ptp-pack.c | 223 retcopy = malloc(plen); 239 *array = malloc (n*sizeof(uint32_t)); 252 *data = malloc ((arraylen+1)*sizeof(uint32_t)); 265 *array = malloc (n*sizeof(uint16_t)); 465 oidata=malloc(PTP_oi_MaxLen); 621 val->a.v = malloc(sizeof(val->a.v[0])*n); \ 761 dpd->FORM.Enum.SupportedValue = malloc(N*sizeof(dpd->FORM.Enum.SupportedValue[0])); 830 opd->FORM.Enum.SupportedValue = malloc(N*sizeof(opd->FORM.Enum.SupportedValue[0])); 870 dpv=malloc(size); 875 dpv=malloc(size) [all...] |
| /external/libpcap/ |
| fad-win32.c | 63 curaddr = (pcap_addr_t*)malloc(sizeof(pcap_addr_t)); 66 "malloc: %s", pcap_strerror(errno)); 75 "malloc: %s", pcap_strerror(errno)); 86 "malloc: %s", pcap_strerror(errno)); 97 "malloc: %s", pcap_strerror(errno)); 108 "malloc: %s", pcap_strerror(errno)); 242 AdaptersName = (char*) malloc(NameLength);
|