/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 …]
|
D | region.c | 32 struct region_el *allocated; member 52 for (r = region->allocated; r; r = next) { in region_free() 78 for (r = region->allocated, prev=NULL; r; prev = r, r = r->next) { in region_allocate() 116 region->allocated = new_region; in region_allocate() 164 for (r = region->allocated; r; r = r->next) { in region_print()
|
/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/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/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/valgrind/memcheck/tests/ |
D | leak-pool.c | 17 size_t allocated; member 26 assert(p->used + n < p->allocated); in allocate_from_pool() 37 p->allocated = 4096; in allocate_pool() 39 p->buf = malloc(p->allocated); in allocate_pool() 41 memset(p->buf, 0, p->allocated); in allocate_pool() 43 (void) VALGRIND_MAKE_MEM_NOACCESS(p->buf, p->allocated); in allocate_pool()
|
D | addressable.stderr.exp | 5 total heap usage: ... allocs, ... frees, ... bytes allocated 34 total heap usage: ... allocs, ... frees, ... bytes allocated 43 total heap usage: ... allocs, ... frees, ... bytes allocated 57 total heap usage: ... allocs, ... frees, ... bytes allocated 76 total heap usage: ... allocs, ... frees, ... bytes allocated 86 total heap usage: ... allocs, ... frees, ... bytes allocated
|
/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/freetype/src/cff/ |
D | cf2arrst.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/pdfium/third_party/freetype/src/cff/ |
D | cf2arrst.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/boringssl/src/ |
D | API-CONVENTIONS.md | 73 ### Heap-allocated types 75 Some types, such as `RSA`, are heap-allocated. All instances will be allocated 77 allocated type on the stack or embedded within another object. 79 Heap-allocated types may have functioned named like `RSA_new` which allocates a 80 fresh blank `RSA`. Other functions may also return newly-allocated instances. 81 For example, `RSA_parse_public_key` is documented to return a newly-allocated 84 Heap-allocated objects must be released by the corresponding free function, 89 A heap-allocated type may be reference-counted. In this case, a function named 96 C++ consumers are recommended to use `bssl::UniquePtr` to manage heap-allocated 104 ### Stack-allocated types [all …]
|
/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/valgrind/coregrind/m_demangle/ |
D | dyn-string.c | 85 ds_struct_ptr->allocated = space; in dyn_string_init() 154 int new_allocated = ds->allocated; in dyn_string_resize() 163 if (new_allocated != ds->allocated) in dyn_string_resize() 165 ds->allocated = new_allocated; in dyn_string_resize() 168 ds->s = (char *) realloc (ds->s, ds->allocated); in dyn_string_resize() 175 ds->s = XRESIZEVEC (char, ds->s, ds->allocated); in dyn_string_resize()
|
/external/v8/tools/clang/blink_gc_plugin/tests/ |
D | stack_allocated.txt | 11 ./stack_allocated.h:30:5: note: [blink-gc] Stack-allocated field 'm_part' declared here: 12 StackObject m_part; // Cannot embed a stack allocated object. 14 ./stack_allocated.h:34:27: warning: [blink-gc] Stack-allocated class 'DerivedHeapObject' derives cl… 17 ./stack_allocated.h:38:28: warning: [blink-gc] Stack-allocated class 'DerivedHeapObject2' derives c…
|
/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 46 size_t allocated = 0; in get_offsets() local 57 if (cnt >= allocated) in get_offsets() 59 allocated = MAX (10, 2 * allocated); in get_offsets() 61 = (struct pubnames_s *) realloc (mem, allocated * entsize); in get_offsets()
|
/external/v8/testing/gtest/samples/ |
D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } in allocated() function in __anon1ff8dcab0111::Water 82 initially_allocated_ = Water::allocated(); in OnTestStart() 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
/external/protobuf/gtest/samples/ |
D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } in allocated() function in __anon66d18ae10111::Water 82 initially_allocated_ = Water::allocated(); in OnTestStart() 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } in allocated() function in __anonc36c6cf90111::Water 82 initially_allocated_ = Water::allocated(); in OnTestStart() 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
/external/google-breakpad/src/testing/gtest/samples/ |
D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } in allocated() function in __anona3babeb80111::Water 82 initially_allocated_ = Water::allocated(); in OnTestStart() 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
/external/googletest/googletest/samples/ |
D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } in allocated() function in __anon0989c2e30111::Water 82 initially_allocated_ = Water::allocated(); in OnTestStart() 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd()
|
/external/webp/src/enc/ |
D | picture_psnr_enc.c | 131 uint8_t* allocated = NULL; in WebPPlaneDistortion() local 146 allocated = in WebPPlaneDistortion() 147 (uint8_t*)WebPSafeMalloc(2ULL * width * height, sizeof(*allocated)); in WebPPlaneDistortion() 148 if (allocated == NULL) return 0; in WebPPlaneDistortion() 149 tmp1 = allocated; in WebPPlaneDistortion() 161 WebPSafeFree(allocated); in WebPPlaneDistortion()
|