Searched refs:allocated (Results 1 - 25 of 243) sorted by relevance

12345678910

/external/e2fsprogs/e2fsck/
H A Dmtrace.awk5 $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[
[all...]
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dnew_array_cookie_with_new_from_class.cc15 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/compiler-rt/lib/sanitizer_common/tests/
H A Dstandalone_malloc_test.cc21 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
[all...]
H A Dsanitizer_allocator_test.cc100 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[kNumAlloc 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/
H A Dbag.c34 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/valgrind/memcheck/tests/
H A Dleak-pool.c17 size_t allocated; member in struct:pool
26 assert(p->used + n < p->allocated);
37 p->allocated = 4096;
39 p->buf = malloc(p->allocated);
41 memset(p->buf, 0, p->allocated);
43 (void) VALGRIND_MAKE_MEM_NOACCESS(p->buf, p->allocated);
H A Dclireq_nofill.stderr.exp3 Address 0x........ is 0 bytes inside a recently re-allocated block of size 40 alloc'd
9 Address 0x........ is 0 bytes inside a recently re-allocated block of size 40 alloc'd
H A Dbrk2.stderr.exp5 total heap usage: ... allocs, ... frees, ... bytes allocated
H A Dbug287260.stderr.exp6 total heap usage: 0 allocs, 0 frees, 0 bytes allocated
H A Derringfds.stderr.exp6 total heap usage: ... allocs, ... frees, ... bytes allocated
H A Dleak-autofreepool-2.stderr.exp5 total heap usage: ... allocs, ... frees, ... bytes allocated
H A Dleak-autofreepool-6.stderr.exp5 total heap usage: ... allocs, ... frees, ... bytes allocated
H A Dleak-pool-0.stderr.exp5 total heap usage: ... allocs, ... frees, ... bytes allocated
H A Dleak-pool-1.stderr.exp5 total heap usage: ... allocs, ... frees, ... bytes allocated
/external/jemalloc/include/jemalloc/internal/
H A Dbase.h13 void base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident,
/external/strace/
H A Ddyxlat.c31 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/
H A Dpsarrst.c67 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/google-breakpad/src/testing/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon7564::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/googletest/googletest/samples/
H A Dsample10_unittest.cc63 static int allocated() { return allocated_; } function in class:__anon7703::Water
79 initially_allocated_ = Water::allocated();
84 int difference = Water::allocated() - initially_allocated_;
/external/protobuf/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon18755::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/v8/testing/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon27955::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon30314::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc118 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/
H A Dstats.c6 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 shoul
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/
H A Dsanitizer_symbolizer_libbacktrace.cc45 uptr size, allocated; member in struct:__sanitizer::__anon3830::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)

Completed in 580 milliseconds

12345678910