Searched refs:malloc (Results 501 - 525 of 2881) sorted by relevance

<<21222324252627282930>>

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DDefaultAllocator.h86 static Return malloc(size_t size) function in class:WTF::DefaultAllocator
98 return malloc<void*, void>(bytes);
177 return Allocator::template malloc<void*, ClassName>(size); \
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdatadst-tj.c25 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
26 extern void * malloc JPP((size_t size));
96 nextbuffer = (JOCTET *) malloc(nextsize);
142 * The standard library functions malloc/free are used for allocating
180 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_remove_constants.c78 const_used = malloc(c->Program.Constants.Count);
100 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
101 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dutil_array.h47 array->data = malloc(array->size * array->datatype_size);
59 array->data = malloc(array->size * array->datatype_size);
74 void *data = malloc(size);
/external/clang/test/Analysis/
H A Duninit-const.c7 void *malloc(size_t);
127 ptr = (int *)malloc(sizeof(int)); // expected-note {{Value assigned to 'ptr'}}
138 ptr = (int *)malloc(sizeof(int));
/external/compiler-rt/lib/asan/
H A Dasan_malloc_win.cc12 // Windows-specific malloc interception.
51 void *malloc(size_t size) { function
58 return malloc(size);
119 // functions to detect a bit more bugs. Those functions seem to wrap malloc().
139 // set on malloc/free etc (e.g. dllimport), so declare a few things manually:
151 if (GetRealFunctionAddress("malloc", (void**)&crt_malloc)) {
152 // Replace malloc in the CRT dll with a jump to our malloc.
157 ptrdiff_t jmp_offset = (char*)malloc - (char*)crt_malloc - 5;
/external/e2fsprogs/e2fsck/
H A Djfs_user.h55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length)
59 #define kmalloc(len,flags) malloc(len)
109 new_cache = malloc(sizeof(*new_cache));
/external/jpeg/
H A Djmem-android.c22 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
23 extern void * malloc JPP((size_t size));
34 * routines malloc() and free().
40 return (void *) malloc(sizeofobject);
60 return (void FAR *) malloc(sizeofobject);
H A Djmem-ashmem.c26 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
27 extern void * malloc JPP((size_t size));
33 * routines malloc() and free().
39 return (void *) malloc(sizeofobject);
59 return (void FAR *) malloc(sizeofobject);
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_remove_constants.c78 const_used = malloc(c->Program.Constants.Count);
100 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
101 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned));
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dutil_array.h47 array->data = malloc(array->size * array->datatype_size);
59 array->data = malloc(array->size * array->datatype_size);
74 void *data = malloc(size);
/external/pixman/demos/
H A Dalpha-test.c12 uint32_t *alpha = malloc (WIDTH * HEIGHT * 4);
13 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
14 uint32_t *src = malloc (WIDTH * HEIGHT * 4);
/external/pixman/test/
H A Dcombiner-test.c117 argb_t *src_bytes = malloc (WIDTH * sizeof (argb_t));
118 argb_t *mask_bytes = malloc (WIDTH * sizeof (argb_t));
119 argb_t *dest_bytes = malloc (WIDTH * sizeof (argb_t));
/external/qemu/distrib/jpeg-6b/
H A Djmem-android.c22 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
23 extern void * malloc JPP((size_t size));
34 * routines malloc() and free().
40 return (void *) malloc(sizeofobject);
60 return (void FAR *) malloc(sizeofobject);
H A Djmem-ashmem.c25 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
26 extern void * malloc JPP((size_t size));
32 * routines malloc() and free().
38 return (void *) malloc(sizeofobject);
58 return (void FAR *) malloc(sizeofobject);
/external/valgrind/main/memcheck/tests/
H A Dmempool.c43 p = (pool *)malloc(sizeof(pool));
44 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE);
62 l = (level_list *)malloc(sizeof(level_list));
/external/zopfli/src/zopfli/
H A Dcache.c30 lmc->length = (unsigned short*)malloc(sizeof(unsigned short) * blocksize);
31 lmc->dist = (unsigned short*)malloc(sizeof(unsigned short) * blocksize);
33 lmc->sublen = (unsigned char*)malloc(ZOPFLI_CACHE_LENGTH * 3 * blocksize);
/external/valgrind/main/memcheck/tests/darwin/
H A Dscalar.stderr.exp24 Address 0x........ is not stack'd, malloc'd or (recently) free'd
40 Address 0x........ is not stack'd, malloc'd or (recently) free'd
53 Address 0x........ is not stack'd, malloc'd or (recently) free'd
84 Address 0x........ is not stack'd, malloc'd or (recently) free'd
88 Address 0x........ is not stack'd, malloc'd or (recently) free'd
104 Address 0x........ is not stack'd, malloc'd or (recently) free'd
108 Address 0x........ is not stack'd, malloc'd or (recently) free'd
118 Address 0x........ is not stack'd, malloc'd or (recently) free'd
131 Address 0x........ is not stack'd, malloc'd or (recently) free'd
153 Address 0x........ is not stack'd, malloc'
[all...]
/external/bison/lib/
H A Ddirname-lgpl.c60 Return the leading directories part of FILE, allocated with malloc.
78 char *dir = malloc (length + append_dot + 1);
/external/chromium_org/content/child/
H A Dcontent_child_helpers.cc8 #include <malloc.h>
/external/chromium_org/ppapi/native_client/src/untrusted/nacl_ppapi_util/
H A Dstring_buffer.cc16 buffer_ = reinterpret_cast<char *>(malloc(nbytes_));
18 perror("StringBuffer Ctor malloc");
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DMMap.h32 fBuff = (char*)malloc(sizeof(char) * fSize);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
H A DMemoryBuffer.cpp38 uint8_t *newMemory = reinterpret_cast<uint8_t*>(malloc(sizeof(uint8_t) * size));
/external/chromium_org/third_party/libsrtp/srtp/crypto/kernel/
H A Dalloc.c97 ptr = malloc(size);
/external/chromium_org/third_party/mesa/src/src/glx/apple/
H A Dapple_glapi.c59 __applegl_api = malloc(sizeof(struct _glapi_table));

Completed in 2938 milliseconds

<<21222324252627282930>>