/external/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cc | 49 static uptr allocated; local 51 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; 52 allocated += size_in_words; 53 CHECK(allocated < kCallocPoolSize);
|
H A D | asan_malloc_mac.cc | 181 static size_t allocated; local 183 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; 184 allocated += size_in_words; 185 CHECK(allocated < kCallocPoolSize);
|
/external/valgrind/coregrind/m_demangle/ |
H A D | dyn-string.h | 32 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | new_array_cookie_with_new_from_class.cc | 16 static void *allocated; member in struct:Foo 18 assert(!allocated); 19 return allocated = ::new char[s]; 24 void *Foo::allocated; member in class:Foo 33 fprintf(stderr, "alloc: %p\n", Foo::allocated); 35 reinterpret_cast<uintptr_t>(Foo::allocated) + sizeof(void*)); 36 *reinterpret_cast<uintptr_t*>(Foo::allocated) = 42;
|
/external/freetype/src/cff/ |
H A D | cf2arrst.h | 49 /* 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 D | cf2arrst.h | 49 /* 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 D | 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 [all...] |
/external/elfutils/src/libdw/ |
H A D | dwarf_getpubnames.c | 46 size_t allocated = 0; local 57 if (cnt >= allocated) 59 allocated = MAX (10, 2 * allocated); 61 = (struct pubnames_s *) realloc (mem, allocated * entsize);
|
/external/ltrace/ |
H A D | vect.h | 37 size_t allocated; /* In elements. */ member in struct:vect
|
/external/strace/ |
H A D | scsi.c | 49 unsigned int allocated, i; local 54 allocated = (len > max_strlen) ? max_strlen : len; 55 if ((buf = malloc(allocated)) == NULL || 56 umoven(tcp, addr, allocated, buf) < 0) { 61 for (i = 1; i < allocated; ++i) 63 if (allocated != len)
|
/external/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cc | 67 static uptr allocated; local 69 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; 70 allocated += size_in_words; 71 CHECK(allocated < kCallocPoolSize);
|
H A D | lsan_allocator.cc | 29 bool allocated : 8; // Must be first. member in struct:__lsan::ChunkMetadata 159 if (!m->allocated) 177 bool LsanMetadata::allocated() const { function in class:__lsan::LsanMetadata 178 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; 206 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) {
|
/external/expat/tests/ |
H A D | minicheck.h | 61 int allocated; member in struct:TCase
|
/external/google-breakpad/src/testing/gtest/samples/ |
H A D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } function in class:__anon5247::Water 82 initially_allocated_ = Water::allocated(); 87 int difference = Water::allocated() - initially_allocated_;
|
/external/jemalloc/src/ |
H A D | base.c | 131 base_stats_get(size_t *allocated, size_t *resident, size_t *mapped) argument 135 *allocated = base_allocated;
|
/external/jsoncpp/src/lib_json/ |
H A D | json_batchallocator.h | 21 * It does not allow the destruction of a single object. All the allocated objects 40 batches_ = allocateBatch( 0 ); // allocated a dummy page 77 AllocatedType *allocated = currentBatch_->used_; local 79 return allocated; 117 /// Head of a single linked list within the allocated space of freeed object
|
/external/protobuf/gtest/samples/ |
H A D | sample10_unittest.cc | 66 static int allocated() { return allocated_; } function in class:__anon13418::Water 82 initially_allocated_ = Water::allocated(); 87 int difference = Water::allocated() - initially_allocated_;
|
/external/skia/tests/ |
H A D | NameAllocatorTest.cpp | 50 void setAllocated(GrGLuint name, bool allocated) { argument 51 fAllocatedNames[name - kFirstName] = allocated; 70 ERRORF(fReporter, "Name allocate returned name that is already allocated"); 77 // Ensure it returns 0 once all the names are allocated. 85 // Ensure every unique name is allocated. 88 ERRORF(fReporter, "Not all unique names are allocated after allocateAllRemaining()"); 110 ERRORF(fReporter, "Test bug: Should not free a not-allocated name at this point (%u)", i); 130 // Ensure no names are leaked or double-allocated during heavy usage. 148 // Test freeing not-allocated names. 153 // None of these names will be allocated [all...] |
/external/valgrind/memcheck/tests/ |
H A D | leak-pool.c | 17 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/e2fsprogs/e2fsck/ |
H A D | region.c | 31 struct region_el *allocated; member in struct:region_struct 51 for (r = region->allocated; r; r = next) { 72 * conflicts witih something that's already allocated, return 77 for (r = region->allocated, prev=NULL; r; prev = r, r = r->next) { 115 region->allocated = new_region; 163 for (r = region->allocated; r; r = r->next) {
|
/external/icu/icu4c/source/common/ |
H A D | uhash.h | 168 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable 663 /* Use uprv_free() itself as a deleter for any key or value allocated using uprv_malloc. */
|
/external/jemalloc/test/unit/ |
H A D | stats.c | 6 size_t sz, allocated, active, mapped; local 14 assert_d_eq(mallctl("stats.allocated", &allocated, &sz, NULL, 0), 24 assert_zu_le(allocated, active, 25 "allocated should be no larger than active"); 36 size_t allocated; local 48 assert_d_eq(mallctl("stats.arenas.0.huge.allocated", &allocated, &sz, 59 assert_zu_gt(allocated, 0, 60 "allocated shoul 142 size_t sz, allocated; local 191 size_t sz, allocated; local 235 size_t sz, allocated; local [all...] |
/external/libvorbis/vq/ |
H A D | vqgen.h | 35 long allocated; member in struct:vqgen
|
/external/v8/test/cctest/ |
H A D | test-alloc.cc | 186 // Plain old data class. Represents a block of allocated memory. 216 size_t allocated = 0; local 219 &allocated); 221 blocks.Add(::Block(base, static_cast<int>(allocated))); 222 current_allocated += static_cast<int>(allocated); 223 total_allocated += static_cast<int>(allocated);
|
/external/boringssl/src/ssl/ |
H A D | ssl_asn1.c | 413 SSL_SESSION *ret, *allocated = NULL; local 423 ret = allocated = SSL_SESSION_new(); 424 if (allocated == NULL) { 590 SSL_SESSION_free(allocated);
|