HomeSort by relevance Sort by last modified time
    Searched refs:malloc (Results 1026 - 1050 of 2813) sorted by null

<<41424344454647484950>>

  /external/libpcap/
pcap-snoop.c 210 p = (pcap_t *)malloc(sizeof(*p));
212 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
279 p->dlt_list = (u_int *) malloc(sizeof(u_int) * 2);
367 p->buffer = (u_char *)malloc(p->bufsize);
369 snprintf(ebuf, PCAP_ERRBUF_SIZE, "malloc: %s",
  /external/libpng/contrib/visupng/
PngFile.c 231 if ((pbImageData = (png_byte *) malloc(ulRowBytes * (*piHeight)
240 if ((ppbRowPointers = (png_bytepp) malloc((*piHeight)
353 if ((ppbRowPointers = (png_bytepp) malloc(iHeight * sizeof(png_bytep))) == NULL)
  /external/qemu/distrib/jpeg-6b/
wrjpgcom.c 17 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc() */
18 extern void * malloc ();
61 /* Reduce this value if your malloc() can't allocate blocks up to 64K.
453 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
541 comment_arg = (char *) malloc((size_t) MAX_COM_LENGTH);
  /external/srec/portable/src/
pmemfixed.c 25 #undef malloc macro
66 using the system malloc call. Of course, RTXC_PARTITION should only be defined on when you building
318 /* Use the system malloc for heap allocation. */
320 pHeap = (char*)malloc(initialHeapSize);
549 char* pStartAddress = (char*)malloc(requiredMemSize);
  /external/valgrind/main/VEX/useful/
smchash.c 36 GuestBytes* gb = malloc(sizeof(GuestBytes));
52 gb->bytes = malloc( gb->nbytes + nToAlloc);
266 UInt* hashes = malloc( nHashes * sizeof(UInt) );
  /external/valgrind/main/mpi/
mpiwrap_type_test.c 157 sbuf = malloc(ub);
166 rbuf = malloc(ub);
180 rbuf_walk = malloc(ub);
  /external/webkit/Source/WebCore/manual-tests/NPN_Invoke/
main.c 105 browser = malloc(sizeof(NPNetscapeFuncs));
241 newGlue = (uint32_t *)malloc(sizeof(temp));
258 newGlue = (FunctionPointer *)malloc(2 * sizeof(FunctionPointer));
  /external/zlib/src/examples/
gzjoin.c 56 #include <stdlib.h> /* exit(), malloc(), free() */
103 in = malloc(sizeof(bin));
106 in->buf = malloc(CHUNK);
298 junk = malloc(CHUNK);
  /frameworks/native/opengl/tests/gl2_basic/
gl2_basic.cpp 87 char* buf = (char*) malloc(infoLen);
126 char* buf = (char*) malloc(bufLength);
239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig);
  /frameworks/native/opengl/tests/gl_perf/
fill_common.cpp 44 char* buf = (char*) malloc(infoLen);
94 char* buf = (char*) malloc(bufLength);
240 uint32_t *m = (uint32_t *)malloc(1024*1024*4);
  /system/core/cpio/
mkbootfs.c 170 char** names = malloc(size * sizeof(char*));
243 tmp = (char*) malloc(s.st_size);
285 (struct fs_config_entry*)malloc(allocated * sizeof(struct fs_config_entry));
  /system/core/sh/
options.c 127 /* assert(shellparam.malloc == 0 && shellparam.nparam == 0); */
285 shellparam.malloc = 1;
301 if (param->malloc) {
328 if (shellparam.malloc)
  /system/extras/librank/
librank.c 99 library->name = malloc(strlen(name) + 1);
105 library->mappings = malloc(INIT_MAPPINGS * sizeof(struct mapping_info *));
215 libraries = malloc(INIT_LIBRARIES * sizeof(struct library_info *));
  /bionic/libc/bionic/
dirent.cpp 49 DIR* d = reinterpret_cast<DIR*>(malloc(sizeof(DIR)));
  /bionic/libc/stdio/
ungetc.c 56 if ((p = malloc((size_t)BUFSIZ)) == NULL)
  /bootable/recovery/minadbd/
services.c 129 sti = malloc(sizeof(stinfo));
  /bootable/recovery/updater/
updater.c 83 char* script = malloc(script_entry->uncompLen+1);
  /cts/tests/tests/opengl/libopengltest/
color_one.cpp 58 char* buf = (char*) malloc(bufLength);
  /dalvik/tools/dmtracedump/
CreateTestTrace.c 88 char *dest = (char *) malloc(len + 1);
162 records = (dataRecord *) malloc(sizeof(dataRecord) * numRecords);
163 callStack = (stack *) malloc(sizeof(stack) * numThreads);
201 stk = (dataRecord **) malloc(sizeof(dataRecord *) * maxFrames);
  /dalvik/vm/
Misc.cpp 333 newStr = (char*)malloc(at + 1); /* Add one for the '\0'. */
367 newStr = at = (char*)malloc(length + 1); /* + 1 for the '\0' */
402 char* newStr = (char*)malloc(length);
424 char* descriptor = (char*)malloc(length + 3);
Native.cpp 565 result = (char*)malloc(*pLen +1);
592 u2* utf16 = (u2*) malloc(sizeof(u2) * charLen);
621 char* mangle = (char*) malloc(mangleLen +1);
726 mangleCMSig = (char*) malloc(strlen(mangleCM) + strlen(mangleSig) +3);
  /dalvik/vm/native/
java_lang_reflect_Array.cpp 105 (char*) malloc(strlen(elementClass->descriptor) + numDim + 1);
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
SocketStream.cpp 68 m_buf = (unsigned char *)malloc(allocSize);
  /device/generic/goldfish/opengl/system/OpenglSystemCommon/
QemuPipeStream.cpp 63 m_buf = (unsigned char *)malloc(allocSize);
  /device/lge/mako/camera/QCamera/stack/mm-jpeg-interface/src/
mm_jpeg_interface.c 156 jpeg_obj = (mm_jpeg_obj *)malloc(sizeof(mm_jpeg_obj));

Completed in 1504 milliseconds

<<41424344454647484950>>