/external/e2fsprogs/e2fsck/ |
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/test/asan/TestCases/Posix/ |
new_array_cookie_with_new_from_class.cc | 15 static void *allocated; member in struct:Foo 17 assert(!allocated); 18 return allocated = ::new char[s]; 23 void *Foo::allocated; member in class:Foo 32 fprintf(stderr, "alloc: %p\n", Foo::allocated); 34 reinterpret_cast<uintptr_t>(Foo::allocated) + sizeof(void*)); 35 *reinterpret_cast<uintptr_t*>(Foo::allocated) = 42;
|
/external/v8/src/ppc/ |
codegen-ppc.cc | 23 size_t allocated = 0; 24 byte* buffer = AllocatePage(isolate->heap()->GetRandomMmapAddr(), &allocated); 27 MacroAssembler masm(isolate, buffer, static_cast<int>(allocated), 43 Assembler::FlushICache(buffer, allocated); 44 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute));
|
/external/v8/src/s390/ |
codegen-s390.cc | 23 size_t allocated = 0; 24 byte* buffer = AllocatePage(isolate->heap()->GetRandomMmapAddr(), &allocated); 27 MacroAssembler masm(isolate, buffer, static_cast<int>(allocated), 40 Assembler::FlushICache(buffer, allocated); 41 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute));
|
/external/v8/src/x64/ |
codegen-x64.cc | 18 size_t allocated = 0; local 19 byte* buffer = AllocatePage(isolate->heap()->GetRandomMmapAddr(), &allocated); 22 MacroAssembler masm(isolate, buffer, static_cast<int>(allocated), 34 Assembler::FlushICache(buffer, allocated); 35 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute));
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
TempFileHolderTest.java | 34 File allocated = null; local 38 allocated = holder.file; 40 Assert.assertFalse(allocated.exists());
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 21 vector<pair<char *, size_t> > allocated; local 22 allocated.reserve(kNumIters); 36 allocated.push_back(make_pair(x, size)); 39 if (allocated.empty()) continue; 40 size_t slot = i % allocated.size(); 41 char *p = allocated[slot].first; 43 size_t size = allocated[slot].second; 45 swap(allocated[slot], allocated.back()); 46 allocated.pop_back() [all...] |
sanitizer_allocator_test.cc | 100 std::vector<void *> allocated; local 117 allocated.push_back(x); 132 for (uptr i = 0; i < allocated.size(); i++) { 133 void *x = allocated[i]; 139 allocated.clear(); 179 void *allocated[kNumAllocs]; local 183 allocated[i] = x; 189 void *m = a->GetMetaData(allocated[idx]); 193 cache.Deallocate(a, 1 + i % 50, allocated[i]); 351 char *allocated[kNumAllocs] local 447 std::vector<void*> allocated; local 511 void *allocated[kNumAllocs]; local 674 std::vector<void *> allocated; local 722 char *allocated[kNumAllocs]; local 750 char *allocated[kNumAllocs]; local [all...] |
/external/oj-libjdwp/src/share/back/ |
bag.c | 34 int allocated; /* space reserved */ member in struct:bag 51 theBag->allocated = initialAllocation; 60 oldBag->allocated); 96 int allocated = theBag->allocated; local 102 if (theBag->used >= allocated) { 104 allocated *= 2; 105 new_items = jvmtiAllocate(allocated * itemSize); 112 theBag->allocated = allocated; [all...] |
/external/jemalloc/include/jemalloc/internal/ |
base.h | 13 void base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
|
/art/openjdkjvmti/ |
ti_allocator.cc | 48 std::atomic<jlong> AllocUtil::allocated; member in class:openjdkjvmti::AllocUtil 55 *allocated_ptr = allocated.load(); 78 allocated += malloc_usable_size(ret); 90 allocated -= malloc_usable_size(mem);
|
ti_allocator.h | 56 static std::atomic<jlong> allocated; member in class:openjdkjvmti::AllocUtil
|
/external/boringssl/src/crypto/asn1/ |
a_bool.c | 65 unsigned char *p, *allocated = NULL; local 72 if ((p = allocated = OPENSSL_malloc(r)) == NULL) { 84 * If a new buffer was allocated, just return it back. 87 *pp = allocated != NULL ? allocated : p + 1;
|
/external/strace/ |
dyxlat.c | 31 size_t allocated; member in struct:dyxlat 47 dyxlat->allocated = nmemb; 48 dyxlat->xlat = xgrowarray(NULL, &dyxlat->allocated, sizeof(struct xlat)); 93 if (dyxlat->used >= dyxlat->allocated) 94 dyxlat->xlat = xgrowarray(dyxlat->xlat, &dyxlat->allocated,
|
/external/freetype/src/psaux/ |
psarrst.c | 67 arrstack->allocated = 0; 83 arrstack->allocated = 0; 115 arrstack->allocated = numElements; 145 if ( numElements > arrstack->allocated ) 217 if ( arrstack->count == arrstack->allocated ) 221 arrstack, arrstack->allocated + arrstack->chunk ) )
|
/external/jemalloc_new/include/jemalloc/internal/ |
base_structs.h | 52 size_t allocated; member in struct:base_s
|
/external/google-breakpad/src/testing/gtest/samples/ |
sample10_unittest.cc | 66 static int allocated() { return allocated_; } function in class:__anon22717::Water 82 initially_allocated_ = Water::allocated(); 87 int difference = Water::allocated() - initially_allocated_;
|
/external/googletest/googletest/samples/ |
sample10_unittest.cc | 62 static int allocated() { return allocated_; } function in class:__anon22852::Water 78 initially_allocated_ = Water::allocated(); 83 int difference = Water::allocated() - initially_allocated_;
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
UtilsReceiver.java | 56 long allocated = 0; local 74 while (allocated < bytes) { 90 allocated += Os.stat(f.getAbsolutePath()).st_blocks * 512; 93 Log.d(TAG, "Quota " + quota + ", target " + bytes + ", allocated " + allocated); 96 res.putLong(EXTRA_BYTES, allocated);
|
/external/harfbuzz_ng/src/ |
hb-vector.hh | 46 unsigned int allocated; /* == 0 means allocation failed. */ member in struct:hb_vector_t 54 allocated = ARRAY_LENGTH (static_array); 63 allocated = len = 0; 141 bool in_error () const { return allocated == 0; } 146 if (unlikely (!allocated)) 149 if (likely (size <= allocated)) 154 unsigned int new_allocated = allocated; 168 bool overflows = (new_allocated < allocated) || hb_unsigned_mul_overflows (new_allocated, sizeof (Type)); 175 allocated = 0; 180 allocated = new_allocated [all...] |
/external/grpc-grpc/src/core/lib/gpr/ |
log_posix.cc | 42 char* allocated = nullptr; local 54 message = allocated = (char*)gpr_malloc((size_t)ret + 1); 60 gpr_free(allocated);
|
/external/jemalloc_new/test/unit/ |
stats.c | 4 size_t sz, allocated, active, resident, mapped; local 8 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, 18 assert_zu_le(allocated, active, 19 "allocated should be no larger than active"); 31 size_t allocated; local 43 assert_d_eq(mallctl("stats.arenas.0.large.allocated", 44 (void *)&allocated, &sz, NULL, 0), expected, 56 assert_zu_gt(allocated, 0, 57 "allocated should be greater than zero") 145 size_t sz, allocated; local 190 size_t sz, allocated; local [all...] |
/external/compiler-rt/lib/msan/ |
msan_allocator.cc | 118 void *allocated; local 121 allocated = allocator.Allocate(cache, size, alignment, false); 125 allocated = allocator.Allocate(cache, size, alignment, false); 128 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); 131 __msan_clear_and_unpoison(allocated, size); 133 __msan_poison(allocated, size); 137 __msan_set_origin(allocated, size, o.raw_id()); 140 MSAN_MALLOC_HOOK(allocated, size); 141 return allocated;
|
/external/jemalloc/test/unit/ |
stats.c | 6 size_t sz, allocated, active, resident, mapped; local 14 assert_d_eq(mallctl("stats.allocated", (void *)&allocated, &sz, NULL, 26 assert_zu_le(allocated, active, 27 "allocated should be no larger than active"); 40 size_t allocated; local 52 assert_d_eq(mallctl("stats.arenas.0.huge.allocated", (void *)&allocated, 63 assert_zu_gt(allocated, 0, 64 "allocated should be greater than zero") 146 size_t sz, allocated; local 197 size_t sz, allocated; local 243 size_t sz, allocated; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_libbacktrace.cc | 45 uptr size, allocated; member in struct:__sanitizer::__anon18397::CplusV3DemangleData 52 if (needed > data->allocated) { 53 data->allocated *= 2; 54 if (needed > data->allocated) 55 data->allocated = needed; 56 char *buf = (char *)InternalAlloc(data->allocated); 73 data.allocated = 0; 76 if (data.size + 64 > data.allocated)
|