/external/valgrind/main/gdbserver_tests/ |
mcleak.stderr.exp | 6 at 0x........: malloc (vg_replace_malloc.c:...) 24 at 0x........: malloc (vg_replace_malloc.c:...) 29 at 0x........: malloc (vg_replace_malloc.c:...) 34 at 0x........: malloc (vg_replace_malloc.c:...) 39 at 0x........: malloc (vg_replace_malloc.c:...)
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rbug/ |
rbug_core.c | 53 __data = (uint8_t*)MALLOC(__len); 88 __data = (uint8_t*)MALLOC(__len); 125 __data = (uint8_t*)MALLOC(__len); 163 __data = (uint8_t*)MALLOC(__len); 203 __data = (uint8_t*)MALLOC(__len); 236 ret = MALLOC(sizeof(*ret)); 255 ret = MALLOC(sizeof(*ret)); 280 ret = MALLOC(sizeof(*ret)); 307 ret = MALLOC(sizeof(*ret)); 334 ret = MALLOC(sizeof(*ret)) [all...] |
rbug_shader.c | 55 __data = (uint8_t*)MALLOC(__len); 95 __data = (uint8_t*)MALLOC(__len); 138 __data = (uint8_t*)MALLOC(__len); 183 __data = (uint8_t*)MALLOC(__len); 226 __data = (uint8_t*)MALLOC(__len); 273 __data = (uint8_t*)MALLOC(__len); 314 ret = MALLOC(sizeof(*ret)); 341 ret = MALLOC(sizeof(*ret)); 369 ret = MALLOC(sizeof(*ret)); 398 ret = MALLOC(sizeof(*ret)) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
malloc4.test | 12 # This file contains tests to ensure that the library handles malloc() failures 54 # Set the Nth malloc() to fail. 57 # Test malloc failure in the _name(), _name16(), decltype() and 58 # decltype16() APIs. Calls that occur after the malloc() failure should 66 # malloc() failures. 103 # running sqlite3_step(), make sure that malloc() is not about to fail. 113 # Test for malloc() failures within _text() and _text16(). 133 # Test for malloc() failures within _int(), _int64() and _real(). The only 164 # Test that if a malloc() failed the next call to sqlite3_step() returns 165 # SQLITE_ERROR. If malloc() did not fail, it should return SQLITE_DONE [all...] |
malloc.test | 15 # which causes the N-th malloc to fail. This special feature is used 16 # to see what happens in the library if a malloc were to really fail 19 # $Id: malloc.test,v 1.81 2009/06/24 13:13:45 drh Exp $ 29 puts "Skipping malloc tests: not compiled with -DSQLITE_MEMDEBUG..." 68 do_test malloc-1.X { 96 do_test malloc-2.X { 120 do_test malloc-3.X { 146 do_test malloc-4.X { 170 do_test malloc-5.X { 210 # This block is designed to test that some malloc failures that ma [all...] |
malloc8.test | 11 # This file contains additional out-of-memory checks (see malloc.tcl) 32 # is a type conversion that occurs and thus an opportunity for malloc() 90 do_test malloc-99.X {
|
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_core.c | 53 __data = (uint8_t*)MALLOC(__len); 88 __data = (uint8_t*)MALLOC(__len); 125 __data = (uint8_t*)MALLOC(__len); 163 __data = (uint8_t*)MALLOC(__len); 203 __data = (uint8_t*)MALLOC(__len); 236 ret = MALLOC(sizeof(*ret)); 255 ret = MALLOC(sizeof(*ret)); 280 ret = MALLOC(sizeof(*ret)); 307 ret = MALLOC(sizeof(*ret)); 334 ret = MALLOC(sizeof(*ret)) [all...] |
/external/chromium_org/base/process/ |
memory_mac.mm | 11 #include <malloc/malloc.h> 21 #include "third_party/apple_apsl/malloc.h" 38 // Finds the library path for malloc() and thus the libC part of libSystem, 41 const void* addr = reinterpret_cast<void*>(&malloc); 47 DLOG(WARNING) << "Could not find image path for malloc()"; 80 // pointer in memory. Use the known in-memory address of malloc() 82 uintptr_t reference_addr = reinterpret_cast<uintptr_t>(&malloc); 113 // NOTE(shess): This is called when the malloc library noticed that the heap 114 // is fubar. Avoid calls which will re-enter the malloc library [all...] |
memory_unittest.cc | 22 #include <malloc/malloc.h> 27 #include <malloc.h> 108 // The following code tests the system implementation of malloc() thus no need 121 buf = malloc(std::numeric_limits<size_t>::max() - (2 * PAGE_SIZE) - 1); 137 // On 64 bit Macs, the malloc system automatically abort()s on heap corruption 141 // AddressSanitizer replaces malloc() and prints a different error message on 144 "was not malloc\\(\\)-ed"); 157 // AddressSanitizer and ThreadSanitizer define the malloc()/free()/etc. 219 TEST_F(OutOfMemoryDeathTest, Malloc) { [all...] |
memory_linux.cc | 50 // For security reasons, we want malloc failures to be fatal. Too much code 51 // doesn't check for a NULL return value from malloc and unconditionally uses 56 // Thus, we define all the standard malloc functions here and mark them as 57 // visibility 'default'. This means that they replace the malloc functions for 65 // redefine malloc and let AddressSanitizer do it instead. 98 DIE_ON_OOM_1(malloc) 138 // malloc and friends and make them die on out of memory.
|
/external/libsepol/src/ |
node_record.c | 103 tmp_addr = malloc(4); 110 tmp_addr = malloc(16); 202 tmp_addr = malloc(INET_ADDRSTRLEN); 208 tmp_addr = malloc(INET6_ADDRSTRLEN); 293 tmp_key->addr = malloc(node->addr_sz); 294 tmp_key->mask = malloc(node->mask_sz); 393 char *tmp_buf = malloc(node->addr_sz); 438 char *tmp_addr = malloc(addr_sz); 482 char *tmp_buf = malloc(node->mask_sz); 527 char *tmp_mask = malloc(mask_sz) [all...] |
/external/compiler-rt/lib/asan/ |
asan_malloc_linux.cc | 12 // Linux-specific malloc interception. 13 // We simply define functions like malloc, free, realloc, etc. 26 DECLARE_REAL_AND_INTERCEPTOR(void*, malloc, uptr size) 33 void* (*malloc)(uptr bytes); member in struct:MallocDebug 41 WRAP(malloc), WRAP(free), WRAP(calloc), WRAP(realloc), WRAP(memalign) 73 INTERCEPTOR(void*, malloc, uptr size) { 112 // We avoid including malloc.h for portability reasons.
|
/external/valgrind/main/memcheck/tests/ |
mempool2.c | 46 p = (pool *)malloc(sizeof(pool)); 47 p->where = p->mem = (char *)malloc(SUPERBLOCK_SIZE); 65 l = (level_list *)malloc(sizeof(level_list)); 121 // p1 is a malloc-backed pool 134 "\n------ out of range reads in malloc-backed pool ------\n\n"); 144 "\n------ read free in malloc-backed pool ------\n\n"); 154 "\n------ double free in malloc-backed pool ------\n\n");
|
/external/valgrind/main/memcheck/tests/s390x/ |
cu21.stderr.exp | 5 at 0x........: malloc (vg_replace_malloc.c:...) 12 at 0x........: malloc (vg_replace_malloc.c:...) 19 at 0x........: malloc (vg_replace_malloc.c:...) 26 at 0x........: malloc (vg_replace_malloc.c:...) 33 at 0x........: malloc (vg_replace_malloc.c:...) 40 at 0x........: malloc (vg_replace_malloc.c:...) 47 at 0x........: malloc (vg_replace_malloc.c:...)
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
pymem.h | 22 Never mix calls to PyMem_ with calls to the platform malloc/realloc/ 44 Functions supplying platform-independent semantics for malloc/realloc/ 47 may be returned), even if the platform malloc and realloc don't. 56 /* Starting from Python 1.6, the wrappers Py_{Malloc,Realloc,Free} are 68 /* PyMem_MALLOC(0) means malloc(1). Some systems would return NULL 69 for malloc(0), which would be treated as an error. Some platforms 75 : malloc((n) ? (n) : 1))
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
pymem.h | 22 Never mix calls to PyMem_ with calls to the platform malloc/realloc/ 44 Functions supplying platform-independent semantics for malloc/realloc/ 47 may be returned), even if the platform malloc and realloc don't. 56 /* Starting from Python 1.6, the wrappers Py_{Malloc,Realloc,Free} are 68 /* PyMem_MALLOC(0) means malloc(1). Some systems would return NULL 69 for malloc(0), which would be treated as an error. Some platforms 75 : malloc((n) ? (n) : 1))
|
/external/compiler-rt/lib/asan/tests/ |
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));
|
/bionic/libc/bionic/ |
getcwd.cpp | 50 buf = allocated_buf = static_cast<char*>(malloc(allocated_size)); 52 // malloc should set errno, but valgrind's malloc wrapper doesn't.
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_memory.h | 48 #define MALLOC(_size) os_malloc(_size) 56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T)) 73 void *dup = MALLOC(size);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
u_cache_test.c | 88 key = malloc(sizeof(cache_test_key)); 99 key = malloc(sizeof(cache_test_key)); 100 value_in = malloc(sizeof(cache_test_value));
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
strncpy-overflow.cc | 13 char *hello = (char*)malloc(6); 15 char *short_buffer = (char*)malloc(9); 24 // CHECK-Linux: {{ #0 0x.* in .*malloc}}
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 4 #include <malloc.h> 26 bool allocate = (i % 5) <= 2; // 60% malloc, 40% free 28 allocate = i % 2; // then switch to 50% malloc, 50% free
|
/external/e2fsprogs/e2fsck/ |
jfs_user.h | 55 #define kmem_cache_alloc(cache,flags) malloc((cache)->object_length) 59 #define kmalloc(len,flags) malloc(len) 97 new_cache = malloc(sizeof(*new_cache));
|
/external/e2fsprogs/intl/ |
os2compat.c | 60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); 74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); 88 _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1);
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
free.ll | 6 declare noalias i8* @malloc(i64) 36 %m = call i8* @malloc(i64 24) 50 %alloc1 = tail call noalias i8* @malloc(i64 4) nounwind
|