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

12

/external/elfutils/libdw/
H A Ddwarf_getpubnames.c30 size_t allocated = 0; local
41 if (cnt >= allocated)
43 allocated = MAX (10, 2 * allocated);
45 = (struct pubnames_s *) realloc (mem, allocated * entsize);
/external/dbus/dbus/
H A Ddbus-string-private.h48 int allocated; /**< Allocated size of data */ member in struct:__anon1803
78 #define DBUS_GENERIC_STRING_PREAMBLE(real) _dbus_assert ((real) != NULL); _dbus_assert (!(real)->invalid); _dbus_assert ((real)->len >= 0); _dbus_assert ((real)->allocated >= 0); _dbus_assert ((real)->max_length >= 0); _dbus_assert ((real)->len <= ((real)->allocated - _DBUS_STRING_ALLOCATION_PADDING)); _dbus_assert ((real)->len <= (real)->max_length)
/external/expat/tests/
H A Dminicheck.h60 int allocated; member in struct:TCase
/external/protobuf/gtest/samples/
H A Dsample10_unittest.cc66 static int allocated() { return allocated_; } function in class:__anon4095::Water
82 initially_allocated_ = Water::allocated();
87 int difference = Water::allocated() - initially_allocated_;
/external/v8/test/cctest/
H A Dtest-spaces.cc107 int allocated; local
110 MemoryAllocator::AllocatePages(requested, &allocated, &faked_space);
112 CHECK(allocated > 0 && allocated <= 2);
113 total_pages += allocated;
123 MemoryAllocator::AllocatePages(requested, &allocated, &faked_space);
125 CHECK(allocated > 0 && allocated <= 2);
126 total_pages += allocated;
H A Dtest-alloc.cc172 // Plain old data class. Represents a block of allocated memory.
196 size_t allocated = 0; local
197 void* base = CodeRange::AllocateRawMemory(requested, &allocated);
198 blocks.Add(Block(base, static_cast<int>(allocated)));
199 current_allocated += static_cast<int>(allocated);
200 total_allocated += static_cast<int>(allocated);
/external/chromium/third_party/icu/source/common/
H A Duhash.h186 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable
712 * Deleter for any key or value allocated using uprv_malloc. Calls
/external/e2fsprogs/e2fsck/
H A Dregion.c28 struct region_el *allocated; member in struct:region_struct
48 for (r = region->allocated; r; r = next) {
69 * conflicts witih something that's already allocated, return
74 for (r = region->allocated, prev=NULL; r; prev = r, r = r->next) {
112 region->allocated = new_region;
160 for (r = region->allocated; r; r = r->next) {
/external/icu4c/common/
H A Duhash.h186 UBool allocated; /* Was this UHashtable allocated? */ member in struct:UHashtable
712 * Deleter for any key or value allocated using uprv_malloc. Calls
/external/qemu/slirp/
H A Dbootp.c35 uint8_t allocated; member in struct:__anon4953
60 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6))
66 bc->allocated = 1;
81 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) {
82 bc->allocated = 1;
101 bc->allocated = 1;
/external/qemu/slirp-android/
H A Dbootp.c36 uint8_t allocated; member in struct:__anon4961
61 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6))
67 bc->allocated = 1;
84 if (!bc->allocated || !memcmp(macaddr, bc->macaddr, 6)) {
85 bc->allocated = 1;
104 bc->allocated = 1;
/external/skia/src/core/
H A DSkWriter32.cpp107 size_t allocated = block->fAllocated; local
108 memcpy(dst, block->base(), allocated);
109 dst = (char*)dst + allocated;
112 SkDEBUGCODE(total += allocated;)
H A DSkGlyphCache.cpp555 size_t allocated = globals.fTotalMemoryUsed + cache->fMemoryUsed; local
556 size_t amountToFree = SkFontHost::ShouldPurgeFontCache(allocated);
/external/bluetooth/glib/glib/gnulib/
H A Dvasnprintf.c280 size_t allocated; local
286 allocated = *lengthp;
291 allocated = 0;
295 result is either == resultbuf or == NULL or malloc-allocated.
299 if ((needed) > allocated) \
303 allocated = (allocated > 0 ? 2 * allocated : 12); \
304 if ((needed) > allocated) \
305 allocated
[all...]
/external/bluetooth/glib/tests/
H A Dmemchunks.c91 gulong allocated; /* the number of atoms allocated from this area */ member in struct:_GMemArea
93 gchar mem[MEM_AREA_SIZE]; /* the mem array from which atoms get allocated
247 /* Determine which area this piece of memory is allocated from */
297 /* Update the number of allocated atoms count.
299 temp_area->allocated += 1;
345 mem_chunk->mem_area->allocated = 0;
354 mem_chunk->mem_area->allocated += 1;
407 temp_area->allocated -= 1;
409 if (temp_area->allocated
[all...]
/external/dbus/tools/
H A Ddbus-cleanup-sockets.c161 int allocated; local
164 allocated = 2;
165 entries = xmalloc (sizeof (SocketEntry*) * allocated);
184 if (n_entries == allocated)
186 allocated *= 2;
187 entries = xrealloc (entries, sizeof (SocketEntry*) * 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/openssl/crypto/dso/
H A Ddso_lib.c197 int allocated = 0; local
207 allocated = 1;
250 if(allocated)
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_cgxvideo.h107 Sint32 *XPixels; /* A list of pixels that have been allocated, the size depends on the screen format */
166 int allocated; member in struct:private_hwdata
/external/qemu/
H A Dqemu-option.c359 * Returns a pointer to the first element of dest (or the newly allocated copy)
366 QEMUOptionParameter *allocated = NULL; local
388 allocated = dest;
422 // Only free the list if it was newly allocated
423 free_option_parameters(allocated);
/external/srec/portable/src/
H A Dpmemfixed.c50 How is the memory space allocated to the fixed block pools?
62 How is the large memory block from the system allocated?
63 It can be allocated in one of three ways depending on compile time definitions. If you define
64 STATIC_MEMORY_POOL, it's allocated as a static array. If you define RTXC_PARTITION_MEMORY,
65 it's allocated from the HEAP_MAP memory partition. If you don't define anything, it's allocated
140 unsigned int allocated; member in struct:__anon5950
311 /* pHead has already been allocated, statically. Don't need to do anything. */
486 memStats[ii].allocated++;
493 if (memStats[ii].allocated > memStat
[all...]
/external/clearsilver/util/regex/
H A Dregex.h280 the pattern compiler, the fields `buffer', `allocated', `fastmap',
298 unsigned long allocated;
463 allocated with malloc, and must each be at least `NUM_REGS * sizeof
295 unsigned long allocated; member in struct:re_pattern_buffer
/external/qemu/hw/
H A Dsmc91c111.c33 /* Bitmask of allocated packets. */
34 int allocated; member in struct:__anon4900
98 if (s->allocated == (1 << NUM_PACKETS) - 1) {
103 if ((s->allocated & (1 << i)) == 0)
106 s->allocated |= 1 << i;
149 /* Release the memory allocated to a packet. */
152 s->allocated &= ~(1 << packet);
231 s->allocated = 0;
327 s->allocated = 0;
456 if (s->allocated
[all...]
/external/v8/src/arm/
H A Dbuiltins-arm.cc91 // Allocate an empty JSArray. The allocated array is put into the result
92 // register. An elements backing store is allocated with size initial_capacity
162 // array_size holds the size of the array as a smi. The allocated array is put
166 // is true the allocated elements backing store is filled with the hole values
179 Label not_empty, allocated; local
200 __ jmp(&allocated);
223 __ bind(&allocated);
256 // Length of the FixedArray is the number of pre-allocated elements if
272 // Fill the allocated FixedArray with the hole value if requested.
529 Label rt_call, allocated; local
[all...]
/external/v8/src/ia32/
H A Dbuiltins-ia32.cc122 Label rt_call, allocated; local
166 // Set extra fields in the newly allocated object.
203 // Done if no extra properties are to be allocated.
204 __ j(zero, &allocated);
254 // Continue with JSObject being successfully allocated
256 __ jmp(&allocated);
260 // allocated objects unused properties.
275 // New object allocated.
276 // ebx: newly allocated object
277 __ bind(&allocated);
807 Label not_empty, allocated; local
[all...]

Completed in 858 milliseconds

12