/external/valgrind/main/memcheck/tests/ |
realloc3.c | 5 but by the previous malloc() or whatever. While this is true in one 14 int* x = malloc(5); 15 int* y = malloc(10); 16 int* z = malloc(2);
|
signal2.stderr.exp | 3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
static_malloc.stderr.exp | 2 at 0x........: malloc (vg_replace_malloc.c:...)
|
suppfree.c | 27 char* x = malloc(10);
|
malloc_free_fill.c | 2 /* Test for correct functioning of the --malloc-fill and --free-fill 3 flags. Needs --malloc-fill=0x55 and --free-fill=0x77. */ 23 fprintf(stderr, "test simple malloc/free:\n"); 25 a = malloc(10 * sizeof(int)); assert(a); 26 TEST(a[4], 0x55555555, "malloc-filled"); 34 r = malloc(30 * sizeof(int)); assert(r); 35 TEST(r[25], 0x55555555, "malloc-filled"); 42 TEST( r[35], 0x55555555, "malloc-filled"); 49 r = malloc(30 * sizeof(int)); assert(r); 50 TEST(r[25], 0x55555555, "malloc-filled") [all...] |
/external/valgrind/main/memcheck/tests/x86/ |
fpeflags.c | 14 myInstance = malloc(sizeof(struct instance));
|
pushpopmem.c | 8 unsigned int* y = malloc(sizeof(unsigned int)); 9 unsigned int* z = malloc(sizeof(unsigned int)); 33 unsigned short* y = malloc(sizeof(unsigned short)); 34 unsigned short* z = malloc(sizeof(unsigned short));
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
scalar_exit_group.c | 6 long* px = malloc(sizeof(long));
|
/external/valgrind/main/none/tests/ |
bitfield1.c | 14 Fooble* f = malloc(sizeof(Fooble));
|
/external/chromium/base/allocator/ |
generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 16 ptr = malloc(size); 52 // If flag is 0 (default), calls to malloc will behave normally. 53 // If flag is 1, calls to malloc will behave like calls to new, 71 void* result = malloc(size); 90 // Generally, calls to malloc() have padding. So a request 91 // to malloc N bytes actually malloc's N+x bytes. Later, if 105 #undef malloc macro 122 return malloc(size) [all...] |
/external/chromium_org/base/allocator/ |
generic_allocators.cc | 6 // low-level functions malloc() and free(). This way, including a new 16 ptr = malloc(size); 52 // If flag is 0 (default), calls to malloc will behave normally. 53 // If flag is 1, calls to malloc will behave like calls to new, 71 void* result = malloc(size); 90 // Generally, calls to malloc() have padding. So a request 91 // to malloc N bytes actually malloc's N+x bytes. Later, if 105 #undef malloc macro 149 return malloc(size) [all...] |
/external/chromium_org/third_party/sqlite/src/test/ |
mallocI.test | 12 # This test script checks malloc failures in various obscure operations. 20 # Malloc failures in a view. 29 # Malloc failure while trying to service a pragma on a TEMP database. 35 # Malloc failure while creating a table from a SELECT statement. 43 # This tests that a malloc failure that occurs while passing the schema
|
/external/chromium_org/tools/deep_memory_profiler/tests/ |
dmprof_test.py | 121 "malloc-v8", 122 "malloc-WebKit", 124 "malloc-catch-all" 138 "name": "malloc-v8", 140 "allocator": "malloc" 143 "name": "malloc-WebKit", 145 "allocator": "malloc" 153 "name": "malloc-catch-all", 155 "allocator": "malloc" 175 bucket1 = Bucket([0x1212, 0x013], 'malloc', 0x29492, '_Z' [all...] |
/external/clang/test/Analysis/ |
new.cpp | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-store region -std=c++11 -verify %s 7 extern "C" void *malloc(size_t); 31 int *x = (int *)malloc(sizeof(int)); 55 int *x = (int *)malloc(sizeof(int)); 85 return new PtrWrapper(static_cast<int *>(malloc(4))); // no-warning 90 new (w) PtrWrapper(static_cast<int *>(malloc(4))); // no-warning 95 return new (int *)(static_cast<int *>(malloc(4))); // no-warning 100 new (p) (int *)(static_cast<int *>(malloc(4))); // no-warning 119 // bounded with unix.Malloc 137 // unix.Malloc does not know about operators new/delete [all...] |
NewDelete-intersections.mm | 7 extern "C" void *malloc(size_t); 11 // Check for intersections with unix.Malloc and unix.MallocWithAnnotations 15 //----- malloc()/free() are subjects of unix.Malloc and unix.MallocWithAnnotations 20 int *p1 = (int *)malloc(sizeof(int)); 23 int *p2 = (int *)malloc(sizeof(int)); 27 int *p3 = (int *)malloc(sizeof(int)); // no warn 29 int *p4 = (int *)malloc(sizeof(int)); 35 int *p = (int *)malloc(sizeof(int));
|
/external/llvm/test/Transforms/InstCombine/ |
malloc-free-delete.ll | 6 %malloc_206 = tail call i8* @malloc(i32 mul (i32 ptrtoint (i8* getelementptr (i8* null, i32 1) to i32), i32 10)) 15 declare noalias i8* @malloc(i32) 21 %m = call i8* @malloc(i32 1) 37 %a = call noalias i8* @malloc(i32 10) 54 %A = call i8* @malloc(i32 16000) 63 ; CHECK-NEXT: call i8* @malloc 64 ; CHECK-NEXT: call i8* @malloc 65 ; CHECK-NEXT: call i8* @malloc 66 ; CHECK-NEXT: call i8* @malloc 67 ; CHECK-NEXT: call i8* @malloc [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
fault.c | 14 ** malloc failures (when the xMalloc() or xRealloc() method of the 18 ** Most malloc failures are non-benign. After they occur, SQLite 21 ** fatal. For example, if a malloc fails while resizing a hash table, this 23 ** hash table will continue to function normally. So a malloc failure 71 ** subsequent malloc failures are benign. A call to sqlite3EndBenignMalloc() 72 ** indicates that subsequent malloc failures are non-benign.
|
/external/jpeg/ |
jmemnobs.c | 11 * can be obtained from malloc(). 23 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 24 extern void * malloc JPP((size_t size)); 31 * routines malloc() and free(). 37 return (void *) malloc(sizeofobject); 57 return (void FAR *) malloc(sizeofobject);
|
/external/llvm/test/Transforms/GlobalOpt/ |
2009-11-16-MallocSingleStoreToGlobalVar.ll | 2 ; GlobalOpt was treating a non-optimizable array malloc as a non-array malloc 3 ; and optimizing the global object that the malloc was stored to as a single 20 %4 = call noalias i8* @malloc(i64 %3) nounwind ; <i8*> [#uses=1] 21 ; CHECK: call noalias i8* @malloc 30 declare noalias i8* @malloc(i64) nounwind
|
/external/qemu/distrib/jpeg-6b/ |
jmemnobs.c | 11 * can be obtained from malloc(). 23 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */ 24 extern void * malloc JPP((size_t size)); 31 * routines malloc() and free(). 37 return (void *) malloc(sizeofobject); 57 return (void FAR *) malloc(sizeofobject);
|
/external/valgrind/main/none/tests/amd64/ |
bug137714-amd64.c | 20 UChar* dst = malloc(8); 42 UChar* dst = malloc(16); 67 UChar* regL = malloc(8); 68 UChar* regR = malloc(8); 89 UChar* regL = malloc(16); 90 UChar* regR = malloc(16);
|
/external/valgrind/main/none/tests/x86/ |
bug137714-x86.c | 20 UChar* dst = malloc(8); 42 UChar* dst = malloc(16); 67 UChar* regL = malloc(8); 68 UChar* regR = malloc(8); 89 UChar* regL = malloc(16); 90 UChar* regR = malloc(16);
|
/external/valgrind/main/memcheck/tests/s390x/ |
cu42.c | 47 do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes) 50 do_cu42(malloc(2), 10, pattern2, 4); // no complaint 53 do_cu42(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 56 do_cu42(malloc(2), 10, pattern4, 4); // complaint (4 bytes) 59 do_cu42(malloc(3), 10, pattern4, 4); // complaint (4 bytes) 62 do_cu42(malloc(4), 10, pattern4, 4); // no complaint 71 input = malloc(10); 75 input = malloc(10); 80 input = malloc(10); 85 input = malloc(10) [all...] |
/external/bison/m4/ |
dmalloc.m4 | 9 [AC_MSG_CHECKING([if malloc debugging is wanted]) 16 [Define if using the dmalloc debugging malloc package])
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
re.h | 43 Range *r = malloc(sizeof(Range)); 61 Range *ro = malloc(sizeof(Range)); 125 RegExp *r = malloc(sizeof(RegExp)); 133 RegExp *r = malloc(sizeof(RegExp)); 144 RegExp *r = malloc(sizeof(RegExp)); 154 RegExp *r = malloc(sizeof(RegExp)); 164 RegExp *r = malloc(sizeof(RegExp)); 173 RegExp *r = malloc(sizeof(RegExp));
|