/external/chromium_org/tools/deep_memory_profiler/ |
policy.android.renderer.json | 259 "allocator": "malloc" 264 "allocator": "malloc" 269 "allocator": "malloc" 274 "allocator": "malloc" 279 "allocator": "malloc" 284 "allocator": "malloc" 289 "allocator": "malloc" 294 "allocator": "malloc" 299 "allocator": "malloc" 304 "allocator": "malloc" [all...] |
policy.l2.json | 176 "allocator": "malloc" 181 "allocator": "malloc" 186 "allocator": "malloc" 191 "allocator": "malloc" 196 "allocator": "malloc" 201 "allocator": "malloc" 206 "allocator": "malloc" 211 "allocator": "malloc" 216 "allocator": "malloc" 221 "allocator": "malloc" [all...] |
/frameworks/rs/ |
rsGrallocConsumer.cpp | 36 mAlloc = a; 126 mAlloc->mHal.drvState.lod[0].mallocPtr = reinterpret_cast<uint8_t*>(bufferPointer); 127 mAlloc->mHal.drvState.lod[0].stride = mSlots[buf].mGraphicBuffer->getStride() * 128 mAlloc->mHal.state.type->getElementSizeBytes(); 129 mAlloc->mHal.state.nativeBuffer = mAcquiredBuffer.mGraphicBuffer->getNativeBuffer(); 130 mAlloc->mHal.state.timestamp = b.mTimestamp; 132 assert(mAlloc->mHal.drvState.lod[0].dimX == 134 assert(mAlloc->mHal.drvState.lod[0].dimY == 137 //mAlloc->format = mSlots[buf].mGraphicBuffer->getPixelFormat(); 139 //mAlloc->crop = b.mCrop [all...] |
/external/clang/test/Analysis/ |
malloc.mm | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify -fblocks %s 3 #import "Inputs/system-header-simulator-for-malloc.h" 7 unsigned char *data = (unsigned char *)malloc(42); 12 unsigned char *data = (unsigned char *)malloc(42); 17 unsigned char *data = (unsigned char *)malloc(42); 22 unsigned char *data = (unsigned char *)malloc(42); 27 unsigned char *data = (unsigned char *)malloc(42); 32 unichar *data = (unichar*)malloc(42); 38 unsigned char *data = (unsigned char *)malloc(42); 43 unichar *data = (unichar*)malloc(42) [all...] |
coverage.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -analyzer-max-loop 4 -verify %s 5 void *malloc(size_t); 35 char *m = (char*)malloc(12); 41 char *m = (char*)malloc(12); 48 char *m = (char*)malloc(12); 54 char *m = (char*)malloc(12); 61 char *m = (char*)malloc(12); // no-warning 68 char *m = (char*)malloc(12); 80 char *m = (char*)malloc(12);
|
Malloc+NewDelete_intersections.cpp | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -std=c++11 -verify %s 2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,alpha.cplusplus.NewDeleteLeaks -std=c++11 -verify %s 5 void *malloc(size_t); 9 // Check that unix.Malloc + cplusplus.NewDelete does not enable 13 int *p = (int *)malloc(sizeof(int));
|
undef-buffers.c | 3 void *malloc(size_t); 30 char *buf = malloc(2); 38 char *buf = malloc(2);
|
MismatchedDeallocator-checker-test.mm | 7 void *malloc(size_t); 11 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); 14 void __attribute((ownership_takes(malloc, 1))) my_free(void *); 20 //--------------- test malloc family 22 int *p = (int *)malloc(sizeof(int)); 23 delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not 'delete'}} 27 int *p = (int *)malloc(8); 48 int *p = (int *)malloc(sizeof(int)); 49 operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not operator delete}} 53 int *p = (int *)malloc(sizeof(int)) [all...] |
NewDelete+MismatchedDeallocator_intersections.cpp | 6 void *malloc(size_t); 11 // does not enable warnings produced by the unix.Malloc checker. 17 int *p1 = (int *)malloc(sizeof(int)); 20 int *p2 = (int *)malloc(sizeof(int)); 24 int *p3 = (int *)malloc(sizeof(int)); // no warn 26 int *p4 = (int *)malloc(sizeof(int));
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Linux/ |
interception_malloc_test.cc | 12 extern "C" void *malloc(size_t size) { function 13 write(2, "malloc call\n", sizeof("malloc call\n") - 1); 18 char *x = (char*)malloc(10 * sizeof(char)); 21 // CHECK: malloc call
|
/external/valgrind/main/massif/tests/ |
thresholds.c | 7 // Also, it's deliberate that the 'malloc(2000)' and 'my_malloc1(500)' calls 23 malloc(n); 28 malloc(n); 33 malloc(n); 55 malloc(16000);
|
ignoring.c | 13 int* x = malloc(1024); 17 malloc(512); 26 int* y = malloc(256);
|
malloc_usable.c | 2 #include "tests/malloc.h" 11 int* x = malloc(99);
|
realloc.c | 5 int* x = realloc(NULL, 800); // equivalent to malloc(800), and ends up 6 int* y __attribute__((unused)); // calling Valgrind's (and Massif's) malloc
|
/bionic/tests/ |
malloc_test.cpp | 20 #include <malloc.h> 22 TEST(malloc, malloc_std) { 23 // Simple malloc test. 24 void *ptr = malloc(100); 31 TEST(malloc, calloc_std) { 44 TEST(malloc, memalign_multiple) { 58 TEST(malloc, memalign_realloc) { 95 TEST(malloc, malloc_realloc_larger) { 96 // Realloc to a larger size, malloc is used for the original allocation. 97 char *ptr = (char *)malloc(100) [all...] |
/external/valgrind/main/memcheck/tests/s390x/ |
cu21.c | 62 do_cu21(malloc(1), 10, pattern2, 2); // complaint (2 bytes) 65 do_cu21(malloc(2), 10, pattern2, 2); // no complaint 68 do_cu21(malloc(1), 10, pattern3, 2); // 2 complaints (3 = 2+1) 71 do_cu21(malloc(2), 10, pattern3, 2); // complaint (1 byte) 74 do_cu21(malloc(3), 10, pattern3, 2); // no complaint 77 do_cu21(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 80 do_cu21(malloc(2), 10, pattern4, 4); // complaint (4 bytes) 83 do_cu21(malloc(3), 10, pattern4, 4); // complaint (4 bytes) 86 do_cu21(malloc(4), 10, pattern4, 4); // no complaint 91 uint8_t *input = malloc(10) [all...] |
/external/libgsm/src/ |
gsm_create.c | 22 # include <malloc.h> 24 extern char * malloc(); 38 r = (gsm)malloc(sizeof(struct gsm_state));
|
/external/llvm/test/Transforms/GVN/ |
2009-11-12-MemDepMallocBitCast.ll | 1 ; Test to make sure malloc's bitcast does not block detection of a store 6 %1 = tail call i8* @malloc(i64 mul (i64 4, i64 ptrtoint (i64* getelementptr (i64* null, i64 1) to i64))) ; <i8*> [#uses=2] 15 declare noalias i8* @malloc(i64)
|
/external/pixman/demos/ |
convolution-test.c | 14 uint32_t *src = malloc (WIDTH * HEIGHT * 4); 15 uint32_t *mask = malloc (WIDTH * HEIGHT * 4); 16 uint32_t *dest = malloc (WIDTH * HEIGHT * 4);
|
/external/valgrind/main/memcheck/tests/ |
execve1.stderr.exp | 4 Address 0x........ is not stack'd, malloc'd or (recently) free'd 9 Address 0x........ is not stack'd, malloc'd or (recently) free'd 14 Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
buflen_check.stderr.exp | 4 Address 0x........ is not stack'd, malloc'd or (recently) free'd 9 Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
memcmptest.c | 11 s1 = malloc(10); strcpy(s1,"fooble"); 12 s2 = malloc(10); strcpy(s2,"fooble");
|
/external/compiler-rt/lib/asan/lit_tests/TestCases/Darwin/ |
malloc_set_zone_name-mprotect.cc | 9 #include <malloc/malloc.h> 19 // (For the case malloc() returns memory chunks in descending order) 21 mem[i] = (char*)malloc(8 * i); 23 // Try to allocate a page-aligned malloc zone. Otherwise the mprotect() call 43 mem[i + kNumIter] = (char*)malloc(8 * i);
|
/external/clang/test/CodeGenObjC/ |
2009-01-26-WriteBarrier-2.m | 7 void * malloc(size_t size); 14 StructWithBlock_t *swbp = (StructWithBlock_t *)malloc(sizeof(StructWithBlock_t*));
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
scalar_supp.c | 8 int* pi = malloc(sizeof(int)); 11 char** pc = malloc(sizeof(char*));
|