/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/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | standalone_malloc_test.cpp | 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 …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ |
D | BnMemory.c | 56 pAssert(top <= bn->allocated); in BnSetTop() 81 for(i = bn->size; i < bn->allocated; i++) in BnClearTop() 95 crypt_uword_t allocated, // IN: in BnInitializeWord() argument 99 bn->allocated = allocated; in BnInitializeWord() 102 while(allocated > 1) in BnInitializeWord() 103 bn->d[--allocated] = 0; in BnInitializeWord() 113 crypt_uword_t allocated in BnInit() argument 118 bn->allocated = allocated; in BnInit() 120 while(allocated != 0) in BnInit() 121 bn->d[--allocated] = 0; in BnInit()
|
/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/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
D | new_array_cookie_with_new_from_class.cpp | 18 static void *allocated; member 20 assert(!allocated); in Allocate() 21 return allocated = ::new char[s]; in Allocate() 26 void *Foo::allocated; member in Foo 35 fprintf(stderr, "alloc: %p\n", Foo::allocated); in main() 37 reinterpret_cast<uintptr_t>(Foo::allocated) + sizeof(void*)); in main() 38 *reinterpret_cast<uintptr_t*>(Foo::allocated) = 42; in main()
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | low_level_alloc_test.cc | 81 AllocMap allocated; in Test() local 108 it = allocated.find(rnd); in Test() 109 if (it != allocated.end()) { in Test() 116 allocated[rnd] = block_desc; in Test() 120 it = allocated.begin(); in Test() 121 if (it != allocated.end()) { in Test() 126 allocated.erase(it); in Test() 132 while ((it = allocated.begin()) != allocated.end()) { in Test() 137 allocated.erase(it); in Test()
|
/external/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 79 AllocMap allocated; in Test() local 106 it = allocated.find(rnd); in Test() 107 if (it != allocated.end()) { in Test() 114 allocated[rnd] = block_desc; in Test() 118 it = allocated.begin(); in Test() 119 if (it != allocated.end()) { in Test() 124 allocated.erase(it); in Test() 130 while ((it = allocated.begin()) != allocated.end()) { in Test() 135 allocated.erase(it); in Test()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 81 AllocMap allocated; in Test() local 108 it = allocated.find(rnd); in Test() 109 if (it != allocated.end()) { in Test() 116 allocated[rnd] = block_desc; in Test() 120 it = allocated.begin(); in Test() 121 if (it != allocated.end()) { in Test() 126 allocated.erase(it); in Test() 132 while ((it = allocated.begin()) != allocated.end()) { in Test() 137 allocated.erase(it); in Test()
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 79 AllocMap allocated; in Test() local 106 it = allocated.find(rnd); in Test() 107 if (it != allocated.end()) { in Test() 114 allocated[rnd] = block_desc; in Test() 118 it = allocated.begin(); in Test() 119 if (it != allocated.end()) { in Test() 124 allocated.erase(it); in Test() 130 while ((it = allocated.begin()) != allocated.end()) { in Test() 135 allocated.erase(it); in Test()
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 81 AllocMap allocated; in Test() local 108 it = allocated.find(rnd); in Test() 109 if (it != allocated.end()) { in Test() 116 allocated[rnd] = block_desc; in Test() 120 it = allocated.begin(); in Test() 121 if (it != allocated.end()) { in Test() 126 allocated.erase(it); in Test() 132 while ((it = allocated.begin()) != allocated.end()) { in Test() 137 allocated.erase(it); in Test()
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | low_level_alloc_test.cc | 85 AllocMap allocated; in Test() local 112 it = allocated.find(rnd); in Test() 113 if (it != allocated.end()) { in Test() 120 allocated[rnd] = block_desc; in Test() 124 it = allocated.begin(); in Test() 125 if (it != allocated.end()) { in Test() 130 allocated.erase(it); in Test() 136 while ((it = allocated.begin()) != allocated.end()) { in Test() 141 allocated.erase(it); in Test()
|
/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/llvm-project/clang/test/Analysis/ |
D | MismatchedDeallocator-checker-test.mm | 24 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '… 30 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not … 35 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '… 40 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '… 45 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no… 50 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre… 55 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not… 60 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f… 65 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}} 71 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre… [all …]
|
/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/llvm-project/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/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/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | vulkan-runtime-wrappers.cpp | 69 T *allocated; member 82 VulkanHostMemoryBuffer memBuffer{ptr->allocated, size}; in bindMemRef() 149 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DFloat() 156 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DFloat() 163 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1] * ptr->sizes[2], in _mlir_ciface_fillResource3DFloat() 171 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DInt() 178 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DInt() 185 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1] * ptr->sizes[2], in _mlir_ciface_fillResource3DInt() 193 std::fill_n(ptr->allocated, ptr->sizes[0], value); in _mlir_ciface_fillResource1DInt8() 200 std::fill_n(ptr->allocated, ptr->sizes[0] * ptr->sizes[1], value); in _mlir_ciface_fillResource2DInt8() [all …]
|
/external/llvm-project/llvm/test/Bitcode/ |
D | allocated.ll | 6 …+}}, size: 32, align: 32, elements: !{{[0-9]+}}, dataLocation: !{{[0-9]+}}, allocated: !{{[0-9]+}}) 7 …}, dataLocation: !DIExpression(DW_OP_push_object_address, DW_OP_deref), allocated: !DIExpression(D… 9 ; ModuleID = 'allocated.f90' 10 source_filename = "/dir/allocated.ll" 18 !3 = !DIFile(filename: "allocated.f90", directory: "/dir") 21 …TAG_array_type, baseType: !7, size: 32, align: 32, elements: !8, dataLocation: !10, allocated: !15) 32 …8, dataLocation: !DIExpression(DW_OP_push_object_address, DW_OP_deref), allocated: !DIExpression(D…
|
/external/llvm-project/llvm/test/tools/llvm-pdbutil/ |
D | explain.test | 37 ZERO-NEXT: Address is in block 0 (allocated). 42 FORTY-NEXT: Address is in block 0 (allocated). 48 SIXTY-NEXT: Address is in block 0 (allocated). 53 FPM1-NEXT: Address is in block 1 (allocated). 56 FPM1-NEXT: Status = 00000011 (Note: 0 = allocated, 1 = free) 59 EXTRANEOUSFPM-NEXT: Address is in block 1 (allocated). 64 FPM2-NEXT: Address is in block 2 (allocated). 67 FPM2-NEXT: Status = 00011100 (Note: 0 = allocated, 1 = free) 73 STREAM-NEXT: Address is in block 7 (allocated). 77 STREAMDIR-NEXT: Address is in block 26 (allocated). [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/ |
D | ConcurrentWeakMap.kt | 86 private inner class Core(private val allocated: Int) { in <lambda>() constant in kotlinx.coroutines.debug.internal.Core 87 private val shift = allocated.countLeadingZeroBits() + 1 in <lambda>() 88 private val threshold = 2 * allocated / 3 // max fill factor at 66% to ensure speedy lookups in <lambda>() 90 private val keys = atomicArrayOfNulls<HashedWeakRef<K>?>(allocated) in <lambda>() 91 private val values = atomicArrayOfNulls<Any?>(allocated) in <lambda>() 106 if (index == 0) index = allocated in <lambda>() 149 if (index == 0) index = allocated in <lambda>() 169 for (index in 0 until allocated) { in <lambda>() 203 if (index == 0) index = allocated in <lambda>() 218 while (++index < allocated) { in <lambda>() [all …]
|
/external/angle/third_party/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 102 absl::FixedArray<int, 10> allocated(15); in TEST() local 103 std::iota(allocated.begin(), allocated.end(), 0); in TEST() 104 absl::FixedArray<int, 10> alloced_copy = allocated; in TEST() 105 EXPECT_THAT(alloced_copy, ElementsAreArray(allocated)); in TEST() 119 absl::FixedArray<std::unique_ptr<int>, 10> allocated(15); in TEST() local 121 allocated[i] = absl::make_unique<int>(i); in TEST() 125 std::move(allocated); in TEST() 127 EXPECT_EQ(allocated.size(), alloced_copy.size()); in TEST() 548 absl::FixedArray<int, 0> allocated = {1, 2, 3}; in TEST() local 549 EXPECT_EQ(allocated.front(), 1); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 102 absl::FixedArray<int, 10> allocated(15); in TEST() local 103 std::iota(allocated.begin(), allocated.end(), 0); in TEST() 104 absl::FixedArray<int, 10> alloced_copy = allocated; in TEST() 105 EXPECT_THAT(alloced_copy, ElementsAreArray(allocated)); in TEST() 119 absl::FixedArray<std::unique_ptr<int>, 10> allocated(15); in TEST() local 121 allocated[i] = absl::make_unique<int>(i); in TEST() 125 std::move(allocated); in TEST() 127 EXPECT_EQ(allocated.size(), alloced_copy.size()); in TEST() 548 absl::FixedArray<int, 0> allocated = {1, 2, 3}; in TEST() local 549 EXPECT_EQ(allocated.front(), 1); in TEST() [all …]
|