/external/e2fsprogs/e2fsck/ |
D | mtrace.awk | 5 $1 == "+" { if (allocated[$2] != "") 6 print "+", $2, "Alloc", NR, "duplicate:", allocated[$2]; 8 allocated[$2] = $3; 10 $1 == "-" { if (allocated[$2] != "") { 11 allocated[$2] = ""; 12 if (allocated[$2] != "") 13 print "DELETE FAILED", $2, allocated[$2]; 17 $1 == "<" { if (allocated[$2] != "") 18 allocated[$2] = ""; 22 $1 == ">" { if (allocated[$2] != "") [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | standalone_malloc_test.cc | 21 vector<pair<char *, size_t> > allocated; in MallocThread() local 22 allocated.reserve(kNumIters); in MallocThread() 36 allocated.push_back(make_pair(x, size)); in MallocThread() 39 if (allocated.empty()) continue; in MallocThread() 40 size_t slot = i % allocated.size(); in MallocThread() 41 char *p = allocated[slot].first; in MallocThread() 43 size_t size = allocated[slot].second; in MallocThread() 45 swap(allocated[slot], allocated.back()); in MallocThread() 46 allocated.pop_back(); in MallocThread() 54 for (size_t i = 0; i < allocated.size(); i++) in MallocThread() [all …]
|
D | sanitizer_allocator_test.cc | 100 std::vector<void *> allocated; in TestSizeClassAllocator() local 117 allocated.push_back(x); in TestSizeClassAllocator() 132 for (uptr i = 0; i < allocated.size(); i++) { in TestSizeClassAllocator() 133 void *x = allocated[i]; in TestSizeClassAllocator() 139 allocated.clear(); in TestSizeClassAllocator() 179 void *allocated[kNumAllocs]; in SizeClassAllocatorMetadataStress() local 183 allocated[i] = x; in SizeClassAllocatorMetadataStress() 189 void *m = a->GetMetaData(allocated[idx]); in SizeClassAllocatorMetadataStress() 193 cache.Deallocate(a, 1 + i % 50, allocated[i]); in SizeClassAllocatorMetadataStress() 351 char *allocated[kNumAllocs]; in TEST() local [all …]
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | new_array_cookie_with_new_from_class.cc | 15 static void *allocated; member 17 assert(!allocated); in Allocate() 18 return allocated = ::new char[s]; in Allocate() 23 void *Foo::allocated; member in Foo 32 fprintf(stderr, "alloc: %p\n", Foo::allocated); in main() 34 reinterpret_cast<uintptr_t>(Foo::allocated) + sizeof(void*)); in main() 35 *reinterpret_cast<uintptr_t*>(Foo::allocated) = 42; in main()
|
/external/oj-libjdwp/src/share/back/ |
D | bag.c | 34 int allocated; /* space reserved */ member 51 theBag->allocated = initialAllocation; in bagCreateBag() 60 oldBag->allocated); in bagDup() 96 int allocated = theBag->allocated; in bagAdd() local 102 if (theBag->used >= allocated) { in bagAdd() 104 allocated *= 2; in bagAdd() 105 new_items = jvmtiAllocate(allocated * itemSize); in bagAdd() 112 theBag->allocated = allocated; in bagAdd()
|
/external/clang/test/Analysis/ |
D | MismatchedDeallocator-checker-test.mm | 23 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '… 29 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not … 34 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '… 39 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '… 44 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no… 49 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre… 54 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not… 59 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f… 64 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}} 70 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre… [all …]
|
/external/clang/test/SemaObjC/ |
D | invalid-objc-decls-1.m | 4 Super s1; // expected-error{{interface type cannot be statically allocated}} 6 extern Super e1; // expected-error{{interface type cannot be statically allocated}} 9 Super s1; // expected-error{{interface type cannot be statically allocated}} 16 Super ivar1; // expected-error{{interface type cannot be statically allocated}} 21 Super objField; // expected-error{{interface type cannot be statically allocated}} 26 Super<P1> ivar1; // expected-error{{interface type cannot be statically allocated}} 32 Super p1; // expected-error{{interface type cannot be statically allocated}} 39 …donly) NSMutableSet annotations; // expected-error{{interface type cannot be statically allocated}}
|
/external/harfbuzz_ng/src/ |
D | hb-vector.hh | 50 allocated = o.allocated; in hb_vector_t() 58 int allocated; /* == -1 means allocation failed. */ member 66 allocated = length = 0; in init() 95 allocated = o.allocated; in operator =() 179 bool in_error () const { return allocated < 0; } in in_error() 184 if (unlikely (allocated < 0)) in alloc() 187 if (likely (size <= (unsigned) allocated)) in alloc() 192 unsigned int new_allocated = allocated; in alloc() 199 (new_allocated < (unsigned) allocated) || in alloc() 206 allocated = -1; in alloc() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-pdbdump/ |
D | explain.test | 35 ZERO-NEXT: Address is in block 0 (allocated). 40 FORTY-NEXT: Address is in block 0 (allocated). 46 SIXTY-NEXT: Address is in block 0 (allocated). 51 FPM1-NEXT: Address is in block 1 (allocated). 54 FPM1-NEXT: Status = 00000011 (Note: 0 = allocated, 1 = free) 57 EXTRANEOUSFPM-NEXT: Address is in block 1 (allocated). 62 FPM2-NEXT: Address is in block 2 (allocated). 65 FPM2-NEXT: Status = 00011100 (Note: 0 = allocated, 1 = free) 71 STREAM-NEXT: Address is in block 7 (allocated). 75 STREAMDIR-NEXT: Address is in block 26 (allocated). [all …]
|
D | explain-dbi-stream.test | 28 CHECK-NEXT: Address is in block 15 (allocated). 36 CHECK-NEXT: Address is in block 15 (allocated). 44 CHECK-NEXT: Address is in block 15 (allocated). 52 CHECK-NEXT: Address is in block 15 (allocated). 60 CHECK-NEXT: Address is in block 15 (allocated). 68 CHECK-NEXT: Address is in block 15 (allocated). 76 CHECK-NEXT: Address is in block 15 (allocated). 84 CHECK-NEXT: Address is in block 15 (allocated). 92 CHECK-NEXT: Address is in block 15 (allocated). 100 CHECK-NEXT: Address is in block 15 (allocated). [all …]
|
/external/jemalloc/test/unit/ |
D | stats.c | 6 size_t sz, allocated, active, resident, mapped; in TEST_BEGIN() local 14 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, in TEST_BEGIN() 26 assert_zu_le(allocated, active, in TEST_BEGIN() 40 size_t allocated; in TEST_BEGIN() local 52 assert_d_eq(mallctl("stats.arenas.0.huge.allocated", (void *)&allocated, in TEST_BEGIN() 63 assert_zu_gt(allocated, 0, in TEST_BEGIN() 146 size_t sz, allocated; in TEST_BEGIN() local 167 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN() 179 assert_zu_gt(allocated, 0, in TEST_BEGIN() 197 size_t sz, allocated; in TEST_BEGIN() local [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_libbacktrace.cc | 45 uptr size, allocated; member 52 if (needed > data->allocated) { in CplusV3DemangleCallback() 53 data->allocated *= 2; in CplusV3DemangleCallback() 54 if (needed > data->allocated) in CplusV3DemangleCallback() 55 data->allocated = needed; in CplusV3DemangleCallback() 56 char *buf = (char *)InternalAlloc(data->allocated); in CplusV3DemangleCallback() 73 data.allocated = 0; in CplusV3Demangle() 76 if (data.size + 64 > data.allocated) in CplusV3Demangle()
|
/external/jemalloc_new/test/unit/ |
D | stats.c | 4 size_t sz, allocated, active, resident, mapped; in TEST_BEGIN() local 8 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, in TEST_BEGIN() 18 assert_zu_le(allocated, active, in TEST_BEGIN() 31 size_t allocated; in TEST_BEGIN() local 44 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN() 56 assert_zu_gt(allocated, 0, in TEST_BEGIN() 145 size_t sz, allocated; in TEST_BEGIN() local 162 (void *)&allocated, &sz, NULL, 0), expected, in TEST_BEGIN() 174 assert_zu_gt(allocated, 0, in TEST_BEGIN() 190 size_t sz, allocated; in TEST_BEGIN() local [all …]
|
/external/freetype/src/psaux/ |
D | psarrst.c | 67 arrstack->allocated = 0; in cf2_arrstack_init() 83 arrstack->allocated = 0; in cf2_arrstack_finalize() 115 arrstack->allocated = numElements; in cf2_arrstack_setNumElements() 145 if ( numElements > arrstack->allocated ) in cf2_arrstack_setCount() 217 if ( arrstack->count == arrstack->allocated ) in cf2_arrstack_push() 221 arrstack, arrstack->allocated + arrstack->chunk ) ) in cf2_arrstack_push()
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 118 void *allocated; in MsanAllocate() local 121 allocated = allocator.Allocate(cache, size, alignment, false); in MsanAllocate() 125 allocated = allocator.Allocate(cache, size, alignment, false); in MsanAllocate() 128 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); in MsanAllocate() 131 __msan_clear_and_unpoison(allocated, size); in MsanAllocate() 133 __msan_poison(allocated, size); in MsanAllocate() 137 __msan_set_origin(allocated, size, o.raw_id()); in MsanAllocate() 140 MSAN_MALLOC_HOOK(allocated, size); in MsanAllocate() 141 return allocated; in MsanAllocate()
|
/external/strace/ |
D | dyxlat.c | 31 size_t allocated; member 47 dyxlat->allocated = nmemb; in dyxlat_alloc() 48 dyxlat->xlat = xgrowarray(NULL, &dyxlat->allocated, sizeof(struct xlat)); in dyxlat_alloc() 93 if (dyxlat->used >= dyxlat->allocated) in dyxlat_add_pair() 94 dyxlat->xlat = xgrowarray(dyxlat->xlat, &dyxlat->allocated, in dyxlat_add_pair()
|
/external/boringssl/src/crypto/asn1/ |
D | a_bool.c | 65 unsigned char *p, *allocated = NULL; in i2d_ASN1_BOOLEAN() local 72 if ((p = allocated = OPENSSL_malloc(r)) == NULL) { in i2d_ASN1_BOOLEAN() 87 *pp = allocated != NULL ? allocated : p + 1; in i2d_ASN1_BOOLEAN()
|
/external/perfetto/protos/perfetto/metrics/android/ |
D | heap_profile_callsites.proto | 29 // Count of objects allocated 31 // Count of bytes allocated 34 // Count of allocated objects that were not freed 36 // Count of allocated bytes that were not freed 63 // Bytes allocated via malloc but not freed. 65 // Bytes allocated via malloc irrespective of whether they were freed.
|
/external/bcc/tools/ |
D | tclobjnew_example.txt | 5 which object type has been allocated frequently, and how many bytes of that 6 type have been allocated. This helps diagnose common allocation paths, which 28 the type being allocated, but we can report the object sizes at least. Also, 29 print only the top 10 rows by number of bytes allocated: 65 number of most frequently allocated types to print 67 number of largest types by allocated bytes to print
|
D | rubyobjnew_example.txt | 5 which object type has been allocated frequently, and how many bytes of that 6 type have been allocated. This helps diagnose common allocation paths, which 28 the type being allocated, but we can report the object sizes at least. Also, 29 print only the top 10 rows by number of bytes allocated: 65 number of most frequently allocated types to print 67 number of largest types by allocated bytes to print
|
D | cobjnew_example.txt | 5 which object type has been allocated frequently, and how many bytes of that 6 type have been allocated. This helps diagnose common allocation paths, which 28 the type being allocated, but we can report the object sizes at least. Also, 29 print only the top 10 rows by number of bytes allocated: 65 number of most frequently allocated types to print 67 number of largest types by allocated bytes to print
|
D | javaobjnew_example.txt | 5 which object type has been allocated frequently, and how many bytes of that 6 type have been allocated. This helps diagnose common allocation paths, which 28 the type being allocated, but we can report the object sizes at least. Also, 29 print only the top 10 rows by number of bytes allocated: 65 number of most frequently allocated types to print 67 number of largest types by allocated bytes to print
|
/external/bcc/tools/lib/ |
D | uobjnew_example.txt | 5 which object type has been allocated frequently, and how many bytes of that 6 type have been allocated. This helps diagnose common allocation paths, which 28 the type being allocated, but we can report the object sizes at least. Also, 29 print only the top 10 rows by number of bytes allocated: 65 number of most frequently allocated types to print 67 number of largest types by allocated bytes to print
|
/external/e2fsprogs/intl/ |
D | vasnprintf.c | 142 size_t allocated; in VASNPRINTF() local 170 allocated = *lengthp; in VASNPRINTF() 175 allocated = 0; in VASNPRINTF() 185 if ((needed) > allocated) \ in VASNPRINTF() 190 allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ in VASNPRINTF() 191 if ((needed) > allocated) \ in VASNPRINTF() 192 allocated = (needed); \ in VASNPRINTF() 193 memory_size = xtimes (allocated, sizeof (CHAR_T)); \ in VASNPRINTF() 593 maxlen = allocated - length; in VASNPRINTF() 789 xsum (xtimes (allocated, 2), 12); in VASNPRINTF() [all …]
|
/external/angle/extensions/ |
D | ANGLE_memory_size.txt | 43 allocated for an OpenGL resource. This information can be useful for 80 + allocated for level of the texture bound to target. 86 number of bytes allocated for the renderbuffer bound to target. 94 MEMORY_SIZE_ANGLE Z+ GetBufferParameter64v - Estimated bytes allocated 6 100 MEMORY_SIZE_ANGLE Z+ GetTexParameter - Estimated bytes allocated 6.1.3 107 MEMORY_SIZE_ANGLE Z+ GetRenderbufferParameteriv - Estimated bytes allocated 9.2.6 121 the allocated memory if exact numbers are not known. The lower bound is
|