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

12345

/external/chromium_org/third_party/WebKit/public/web/
H A DWebMemoryUsageInfo.h34 WebMemoryUsageInfo(const WebString& allocator, size_t allocated) argument
36 , allocatedBytes(allocated)
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dsyscalls_test.cc106 // Test when resolved_path is allocated.
107 char* allocated = realpath("/tmp", NULL); local
108 EXPECT_STREQ("/tmp", allocated);
109 free(allocated);
/external/valgrind/main/coregrind/m_demangle/
H A Ddyn-string.h32 int allocated; /* The amount of space allocated for the string. */ member in struct:dyn_string
/external/chromium_org/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/chromium_org/third_party/leveldatabase/src/util/
H A Darena_test.cc19 std::vector<std::pair<size_t, char*> > allocated; local
48 allocated.push_back(std::make_pair(s, r));
54 for (size_t i = 0; i < allocated.size(); i++) {
55 size_t num_bytes = allocated[i].first;
56 const char* p = allocated[i].second;
/external/elfutils/0.153/libdw/
H A Ddwarf_getpubnames.c67 size_t allocated = 0; local
78 if (cnt >= allocated)
80 allocated = MAX (10, 2 * allocated);
82 = (struct pubnames_s *) realloc (mem, allocated * entsize);
/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/core/src/fxge/fx_freetype/fxft2.5.01/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/strace/
H A Dscsi.c42 int allocated, i; local
46 allocated = (len > max_strlen) ? max_strlen : len;
48 (buf = malloc(allocated)) == NULL ||
49 umoven(tcp, (unsigned long) addr, allocated, (char *) buf) < 0) {
55 for (i = 1; i < allocated; ++i)
58 if (allocated != len)
/external/chromium_org/third_party/skia/src/core/
H A DSkTObjectPool.h18 * Constructors will be called on objects allocated by the pool at allocation
20 * All allocated objects will be destroyed and memory will be reclaimed when
37 * destroyed, at that point all memory allocated by grow will have been
73 * Returns the number of blocks of items the pool has allocated so far.
78 * Returns the number of items allocated by the pool in total.
80 int allocated() const { return fBlocks.getCount() * numItemsPerBlock; } function in class:SkTObjectPool
/external/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc88 static uptr allocated; local
90 void *mem = (void*)&calloc_memory_for_dlsym[allocated];
91 allocated += size_in_words;
92 CHECK(allocated < kCallocPoolSize);
/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/ltrace/
H A Dvect.h37 size_t allocated; /* In elements. */ member in struct:vect
/external/skia/src/core/
H A DSkTObjectPool.h18 * Constructors will be called on objects allocated by the pool at allocation
20 * All allocated objects will be destroyed and memory will be reclaimed when
37 * destroyed, at that point all memory allocated by grow will have been
73 * Returns the number of blocks of items the pool has allocated so far.
78 * Returns the number of items allocated by the pool in total.
80 int allocated() const { return fBlocks.getCount() * numItemsPerBlock; } function in class:SkTObjectPool
/external/chromium_org/testing/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon10186::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/chromium_org/third_party/skia/tests/
H A DNameAllocatorTest.cpp50 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/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc82 static uptr allocated; local
84 void *mem = (void*)&calloc_memory_for_dlsym[allocated];
85 allocated += size_in_words;
86 CHECK(allocated < kCallocPoolSize);
/external/expat/tests/
H A Dminicheck.h61 int allocated; member in struct:TCase
/external/icu/icu4c/source/common/
H A Duhash.h167 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable
655 /* Use uprv_free() itself as a deleter for any key or value allocated using uprv_malloc. */
/external/jsoncpp/src/lib_json/
H A Djson_batchallocator.h21 * 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 Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon28014::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/skia/tests/
H A DNameAllocatorTest.cpp50 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/main/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/chromium_org/third_party/icu/source/common/
H A Duhash.h187 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable
713 * Deleter for any key or value allocated using uprv_malloc. Calls
/external/chromium_org/third_party/skia/third_party/harfbuzz/src/
H A Dharfbuzz-buffer.h62 HB_UInt allocated; member in struct:HB_BufferRec_

Completed in 884 milliseconds

12345