Searched defs:allocated (Results 1 - 25 of 81) sorted by relevance

1234

/external/valgrind/coregrind/m_demangle/
H A Ddyn-string.h32 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/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/freetype/src/cff/
H A Dcf2arrst.h49 /* need to define the struct here (not opaque) so it can be allocated by */
57 size_t allocated; /* items allocated */ member in struct:CF2_ArrStackRec_
59 size_t count; /* number of elements allocated */
60 size_t totalSize; /* total bytes allocated */
/external/pdfium/third_party/freetype/src/cff/
H A Dcf2arrst.h49 /* need to define the struct here (not opaque) so it can be allocated by */
57 size_t allocated; /* items allocated */ member in struct:CF2_ArrStackRec_
59 size_t count; /* number of elements allocated */
60 size_t totalSize; /* total bytes allocated */
/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...]
/external/elfutils/libdw/
H A Ddwarf_getpubnames.c46 size_t allocated = 0; local
57 if (cnt >= allocated)
59 allocated = MAX (10, 2 * allocated);
61 = (struct pubnames_s *) realloc (mem, allocated * entsize);
/external/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc69 static uptr allocated; local
71 void *mem = (void*)&calloc_memory_for_dlsym[allocated];
72 allocated += size_in_words;
73 CHECK(allocated < kCallocPoolSize);
H A Dlsan_allocator.cc29 u8 allocated : 8; // Must be first. member in struct:__lsan::ChunkMetadata
161 if (!m->allocated)
179 bool LsanMetadata::allocated() const { function in class:__lsan::LsanMetadata
180 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated;
208 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) {
/external/expat/tests/
H A Dminicheck.h66 int allocated; member in struct:TCase
/external/google-breakpad/src/testing/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon6865::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/googletest/googletest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon7004::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/jsoncpp/src/lib_json/
H A Djson_batchallocator.h21 * It does not allow the destruction of a single object. All the allocated
39 batches_ = allocateBatch(0); // allocated a dummy page
73 AllocatedType* allocated = currentBatch_->used_; local
75 return allocated;
112 /// Head of a single linked list within the allocated space of freeed object
/external/protobuf/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon16150::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:__anon21899::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/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);
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon24135::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/e2fsprogs/e2fsck/
H A Dregion.c32 struct region_el *allocated; member in struct:region_struct
52 for (r = region->allocated; r; r = next) {
73 * conflicts witih something that's already allocated, return
78 for (r = region->allocated, prev=NULL; r; prev = r, r = r->next) {
116 region->allocated = new_region;
164 for (r = region->allocated; r; r = r->next) {
/external/icu/icu4c/source/common/
H A Duhash.h173 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable
668 /* Use uprv_free() itself as a deleter for any key or value allocated using uprv_malloc. */
/external/jemalloc/src/
H A Dbase.c142 base_stats_get(tsdn_t *tsdn, size_t *allocated, size_t *resident, argument
149 *allocated = base_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/libvorbis/vq/
H A Dvqgen.h35 long allocated; member in struct:vqgen
/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/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cc45 uptr size, allocated; member in struct:__sanitizer::__anon3451::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)
/external/e2fsprogs/intl/
H A Dvasnprintf.c142 size_t allocated; local
170 allocated = *lengthp;
175 allocated = 0;
179 result is either == resultbuf or == NULL or malloc-allocated.
182 /* Ensures that allocated >= needed. Aborts through a jump to
185 if ((needed) > allocated) \
190 allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \
191 if ((needed) > allocated) \
[all...]
/external/jemalloc/include/jemalloc/internal/
H A Dctl.h59 size_t allocated; member in struct:ctl_stats_s

Completed in 741 milliseconds

1234