Searched refs:malloc (Results 351 - 375 of 2881) sorted by relevance
<<11121314151617181920>>
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | debugallocation_test.cc | 79 // OS X the OS converts new/new[] to malloc before it gets to us, so 83 // malloc can be matched only by free 89 // Allocate with malloc. 91 int* x = static_cast<int*>(malloc(sizeof(*x))); 244 free(malloc(1)); 263 void *p = malloc(i); 268 void* a = malloc(1000); 285 a = malloc(kTooBig); 293 a = malloc(kAlsoTooBig);
|
H A D | realloc_unittest.cc | 39 #include <stdlib.h> // for free, malloc, realloc 92 unsigned char* src = (unsigned char*) malloc(src_size); 106 int** p = (int**)malloc(sizeof(*p) * kNumEntries); 109 p[i] = (int*)malloc(8192); // no page size is likely to be bigger
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
H A D | genmodule.c | 68 str = malloc(MAXLINE); 75 inc = malloc(sizeof(include)); 76 inc->filename = malloc(len+1); 124 inc = malloc(sizeof(include)); 125 inc->filename = malloc(strlen(strp)+1); 157 modules[num_modules] = malloc(MAXNAME);
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_mac_test.cc | 18 #include <malloc/malloc.h> 77 // We're intercepting malloc, so kCFAllocatorMalloc is routed to ASan. 143 pointers[i] = malloc(i + 1); 159 // Call malloc in the child process to make sure we won't deadlock. 160 void *ptr = malloc(42); 170 // Incorrect implementation of force_lock and force_unlock in our malloc zone 190 void *mem = malloc(10); 229 void *alloc = Ident(malloc(kMallocSize));
|
/external/valgrind/main/memcheck/tests/ |
H A D | leak-cases-possible.stderr.exp | 6 at 0x........: malloc (vg_replace_malloc.c:...) 12 at 0x........: malloc (vg_replace_malloc.c:...) 18 at 0x........: malloc (vg_replace_malloc.c:...)
|
H A D | sbfragment.c | 5 #include <malloc.h> 18 /* from /usr/include/malloc.h */ 57 big = malloc (bigsize); 67 newbig = malloc(bigsize);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | realloc_unittest.cc | 39 #include <stdlib.h> // for free, malloc, realloc 92 unsigned char* src = (unsigned char*) malloc(src_size); 106 int** p = (int**)malloc(sizeof(*p) * kNumEntries); 109 p[i] = (int*)malloc(8192); // no page size is likely to be bigger
|
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
H A D | vad_core_unittest.cc | 25 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); 39 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT))); 58 VadInstT* self = reinterpret_cast<VadInstT*>(malloc(sizeof(VadInstT)));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
H A D | substr.h | 51 SubStr *r = malloc(sizeof(SubStr)); 67 SubStr *r = malloc(sizeof(SubStr)); 83 SubStr *r = malloc(sizeof(SubStr));
|
H A D | token.h | 24 Token *r = malloc(sizeof(Token));
|
/external/jpeg/ |
H A D | jmemansi.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 32 * routines malloc() and free(). 38 return (void *) malloc(sizeofobject); 58 return (void FAR *) malloc(sizeofobject);
|
/external/qemu/distrib/jpeg-6b/ |
H A D | jmemansi.c | 20 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 21 extern void * malloc JPP((size_t size)); 32 * routines malloc() and free(). 38 return (void *) malloc(sizeofobject); 58 return (void FAR *) malloc(sizeofobject);
|
/external/stlport/stlport/stl/ |
H A D | _stdexcept_base.c | 22 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); 45 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char))); 71 _M_name = __STATIC_CAST(char*, malloc(__size * sizeof(char)));
|
/external/aac/libSYS/src/mips/ |
H A D | genericStds_mips.cpp | 134 printf("Unable to access sram. Fallback to malloc\n"); 138 return malloc(MIPS_SRAM_SIZE); 145 printf("Unable to access sram. Fallback to malloc\n"); 151 ptr = (unsigned long *)malloc(MIPS_SRAM_SIZE); 204 addr = malloc(MIPS_SRAM_SIZE); 220 return malloc(MIPS_SRAM_SIZE);
|
/external/bison/lib/ |
H A D | realloc.c | 32 /* Infer the properties of the system's malloc function. 33 The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ 44 use malloc. */ 68 result = malloc (n);
|
/external/chromium_org/base/allocator/ |
H A D | generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 16 ptr = malloc(size); 60 // If flag is 0 (default), calls to malloc will behave normally. 61 // If flag is 1, calls to malloc will behave like calls to new, 79 void* result = malloc(size); 98 // Generally, calls to malloc() have padding. So a request 99 // to malloc N bytes actually malloc's N+x bytes. Later, if 113 #undef malloc macro 157 return malloc(siz [all...] |
/external/chromium_org/base/memory/ |
H A D | aligned_memory.cc | 10 #include <malloc.h>
|
/external/chromium_org/base/process/ |
H A D | process_info_mac.cc | 25 proc(static_cast<struct kinfo_proc*>(malloc(len)));
|
/external/chromium_org/crypto/ |
H A D | capi_util.cc | 50 return malloc(size);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/ |
H A D | packet.cc | 27 buffer_ = (char*)malloc(len);
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | pthread_attr_init.c | 76 attr_result = (pthread_attr_t) malloc (sizeof (*attr_result));
|
/external/chromium_org/third_party/icu/source/test/letest/ |
H A D | letest.h | 29 #define NEW_ARRAY(type,count) (type *) malloc((count) * sizeof(type))
|
/external/clang/test/Analysis/ |
H A D | new-with-exceptions.cpp | 7 extern "C" void *malloc(size_t);
|
/external/clang/test/Sema/ |
H A D | attr-args.c | 9 inline __attribute__((malloc(a))) void *f5(); // expected-error {{'malloc' attribute takes no arguments}}
|
/external/cmockery/cmockery_0_1_2/ |
H A D | configure.ac | 41 AC_CHECK_FUNCS(malloc) 51 AC_CHECK_HEADERS(malloc.h)
|
Completed in 975 milliseconds
<<11121314151617181920>>