| /external/libppp/src/ |
| chap.c | 144 if ((result = malloc(1 + nlen + MS_CHAP_RESPONSE_LEN)) == NULL) 191 if ((result = malloc(1 + nlen + CHAP81_RESPONSE_LEN)) == NULL) 231 if ((result = malloc(nlen + 17)) != NULL) { 775 if ((ans = malloc(alen + 1)) == NULL) { 792 if ((ans = malloc(len + 1)) == NULL) {
|
| /external/linux-tools-perf/ |
| builtin-script.c | 420 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); 996 char **__argv = malloc(sizeof(const char *) * argc); 999 die("malloc"); 1093 __argv = malloc((argc + 6) * sizeof(const char *)); 1095 die("malloc"); 1116 __argv = malloc((argc + 4) * sizeof(const char *)); 1118 die("malloc"); 1145 __argv = malloc((argc + 2) * sizeof(const char *)); 1147 die("malloc");
|
| /external/qemu/android/camera/ |
| camera-capture-linux.c | 436 malloc(cd->framebuffers[cd->framebuffer_num].size); 471 cd->framebuffers = malloc(sizeof(CameraFrameBuffer)); 478 cd->framebuffers[0].data = malloc(cd->framebuffers[0].size); 603 *sizes = (CameraFrameDim*)malloc(sizes_num * sizeof(CameraFrameDim)); 697 *fmts = (QemuPixelFormat*)malloc(fmt_num * sizeof(QemuPixelFormat)); [all...] |
| /external/srec/portable/src/ |
| pmemory.c | 34 #undef malloc macro 119 #define malloc PortNew macro 560 The malloc() function shall allocate unused space for an object whose size in bytes is specified by size and whose value is unspecified. 562 The order and contiguity of storage allocated by successive calls to malloc() is unspecified. The pointer returned if the allocation succeeds shall be suitably aligned so that it may be assigned to a pointer to any type of object and then used to access such an object in the space allocated (until the space is explicitly freed or reallocated). Each such allocation shall yield a pointer to an object disjoint from any other object. The pointer returned points to the start (lowest byte address) of the allocated space. If the space cannot be allocated, a null pointer shall be returned. If the size of the space requested is 0, the behavior is implementation-defined: the value returned shall be either a null pointer or a unique pointer. 565 Upon successful completion with size not equal to 0, malloc() shall return a pointer to the allocated space. If size is 0, either a null pointer or a unique pointer that can be successfully passed to free() shall be returned. Otherwise, it shall return a null pointer and set errno to indicate the error. 606 gMemoryMap[idx].tag = malloc(sizeof(LCHAR) * (LSTRLEN(tag) + 1)); 614 data = (MemoryData *) malloc(actualSize); 632 stackTrace = malloc(sizeof(LCHAR) * (stackTraceSize + 1)); 724 If ptr is a null pointer, realloc() behaves like malloc() for the specified size. 726 If ptr does not match a pointer returned earlier by calloc(), malloc() or realloc() or if the space has previously been deallocated by a call to free() or realloc(), t (…) [all...] |
| /external/tcpdump/missing/ |
| getaddrinfo.c | 604 aplist = (char **)malloc(sizeof(aplist[0]) * naddrs); 605 apbuf = (char *)malloc(hp->h_length * naddrs); 931 if ((ap = (char *)malloc(hp->h_length)) == NULL) { 980 ai->ai_canonname = (char *)malloc(strlen(str) + 1); 997 ai = (struct addrinfo *)malloc(sizeof(struct addrinfo)
|
| /external/valgrind/main/coregrind/m_initimg/ |
| initimg-linux.c | 125 into something table driven. The copy is VG_(malloc)'d space. 152 HChar* preload_string = VG_(malloc)("initimg-linux.sce.1", 160 preload_tool_path = VG_(malloc)("initimg-linux.sce.2", preload_tool_path_len); 185 ret = VG_(malloc) ("initimg-linux.sce.3", 202 HChar *cp = VG_(malloc)("initimg-linux.sce.4", len); 218 HChar *cp = VG_(malloc) ("initimg-linux.sce.5", len); [all...] |
| /external/webkit/Tools/android/flex-2.5.4a/MISC/MVS/ |
| initscan-mvs.c | 16 void *malloc( unsigned ); 65 char *malloc(); [all...] |
| /external/webp/src/enc/ |
| backward_references.c | 272 HashChain* const hash_chain = (HashChain*)malloc(sizeof(*hash_chain)); 484 CostModel* cost_model = (CostModel*)malloc(sizeof(*cost_model)); 485 HashChain* hash_chain = (HashChain*)malloc(sizeof(*hash_chain)); 636 HashChain* hash_chain = (HashChain*)malloc(sizeof(*hash_chain)); 768 VP8LHistogram* const histo = (VP8LHistogram*)malloc(sizeof(*histo));
|
| /frameworks/base/tools/aidl/ |
| aidl.cpp | 113 import_info* import = (import_info*)malloc(sizeof(import_info)); 150 char* rv = (char*)malloc(len+1); 792 user_data_type* parcl = (user_data_type*)malloc( 807 user_data_type* parcl = (user_data_type*)malloc( 822 interface_type* iface = (interface_type*)malloc( [all...] |
| /hardware/qcom/audio/legacy/alsa_sound/ |
| AudioUsbALSA.cpp | 120 read_buf = (char *)malloc(BUFFSIZE); 178 ratesStr = (char *)malloc(size + 1) ; 179 ratesStrForVal = (char *)malloc(size + 1) ; 843 u_int8_t *proxybuf = ( u_int8_t *) malloc(PROXY_PERIOD_SIZE); 844 u_int8_t *usbbuf = ( u_int8_t *) malloc(USB_PERIOD_SIZE); [all...] |
| /hardware/ti/omap3/omx/system/src/openmax_il/perf/src/ |
| perf_rt.c | 66 perf->cip.pRT = malloc(sizeof(PERF_RT_Private)); 78 me->dRate = malloc(sizeof(PERF_RTdata_rate) * me->maxDRate); 88 me->dSTS = malloc(sizeof(PERF_RTdata_sts)); 112 me->dUptime = malloc(sizeof(PERF_RTdata_uptime)); 184 fOutFile = (char *) malloc (strlen(config->rt_file) + 32); [all...] |
| /external/antlr/antlr-3.4/runtime/C/include/ |
| antlr3defs.h | 329 # include <malloc.h> 332 # include <sys/malloc.h> 458 #define ANTLR3_MALLOC(request) malloc ((size_t)(request))
|
| /external/bison/lib/ |
| hash.c | 23 of malloc. If you change USE_OBSTACK, you have to recompile! */ 39 # define obstack_chunk_alloc malloc 489 generated by malloc and thus have the property that the low-order 590 simply an auxiliary struct that you have malloc'd to aggregate several 605 table = malloc (sizeof *table); 765 new = malloc (sizeof *new); [all...] |
| /external/blktrace/ |
| blkiomon.c | 164 dstat = malloc(sizeof(*dstat)); 345 t = malloc(sizeof(*t)); 546 out->buf = malloc(128 * 1024);
|
| blkparse.c | 423 sip = malloc(sizeof(struct skip_info)); 508 unsigned long *map = malloc(new_max / sizeof(long)); 562 ppm = malloc(sizeof(*ppm)); 748 return malloc(sizeof(*t)); 775 return malloc(sizeof(*bit)); 964 iot = malloc(sizeof(*iot)); 1147 ppi = malloc(sizeof(*ppi)); [all...] |
| /external/chromium/net/http/ |
| http_auth_handler_ntlm_portable.cc | 298 passbuf = static_cast<uint8*>(malloc(len * 2)); 346 *out_buf = malloc(*out_len); 550 *out_buf = malloc(*out_len);
|
| /external/clang/lib/AST/ |
| NestedNameSpecifier.cpp | 407 char *NewBuffer = static_cast<char *>(malloc(NewCapacity)); 456 Buffer = static_cast<char *>(malloc(BufferCapacity)); 495 Buffer = static_cast<char *>(malloc(BufferSize));
|
| /external/e2fsprogs/ext2ed/ |
| init.c | 190 ptr = malloc (sizeof (struct struct_descriptor)); 362 ptr->names [num]=(char *) malloc (strlen (name)+1); 366 ptr->descriptions [num]=(char *) malloc (strlen (description)+1);
|
| /external/e2fsprogs/misc/ |
| dumpe2fs.c | 160 block_bitmap = malloc(block_nbytes); 162 inode_bitmap = malloc(inode_nbytes); 418 buf = malloc(len+1);
|
| /external/fsck_msdos/ |
| fat.c | 86 buffer = malloc(boot->BytesPerSec); 176 *buffer = malloc(boot->FATsecs * boot->BytesPerSec); 562 buffer = malloc(fatsz = boot->FATsecs * boot->BytesPerSec);
|
| /external/icu4c/test/cintltst/ |
| custrtrn.c | 529 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1)); 568 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); 611 u8Target = (char*) malloc (sizeof(uint8_t) * (u8DestLen+1)); 643 uTarget = (UChar*) malloc( sizeof(UChar) * (uDestLen+1)); [all...] |
| utransts.c | 62 rep->text = malloc(sizeof(UChar) * (strlen(cstring)+1)); 96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1));
|
| /external/iproute2/misc/ |
| nstat.c | 141 if ((n = malloc(sizeof(*n))) == NULL) 190 n = malloc(sizeof(*n)); 530 hist_name = malloc(128);
|
| /external/iproute2/tc/ |
| m_ipt.c | 185 merge = malloc(sizeof (struct option) * (num_new + num_old + 1)); 233 new_name = malloc(strlen(name) + 1); 234 lname = malloc(strlen(name) + 1);
|
| /external/libpcap/ |
| grammar.c | 493 /* The parser invokes alloca or malloc; define the necessary symbols. */ 529 # define YYMALLOC malloc 530 # if (! defined (malloc) && ! defined (YYINCLUDED_STDLIB_H) \ 532 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ [all...] |