Searched refs:new_allocated (Results 1 - 6 of 6) sorted by relevance
/external/brotli/enc/ |
H A D | memory.c | 56 m->new_allocated = 0; 121 SortPointers(m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated); 124 m->pointers + NEW_ALLOCATED_OFFSET, m->new_allocated, 126 m->new_allocated -= annihilated; 138 if (m->new_allocated != 0) { 139 assert(m->perm_allocated + m->new_allocated <= MAX_PERM_ALLOCATED); 142 sizeof(void*) * m->new_allocated); 143 m->perm_allocated += m->new_allocated; 144 m->new_allocated = 0; 155 if (m->new_allocated [all...] |
H A D | memory.h | 31 size_t new_allocated; member in struct:MemoryManager
|
/external/valgrind/coregrind/m_demangle/ |
H A D | dyn-string.c | 154 int new_allocated = ds->allocated; local 160 while (space > new_allocated) 161 new_allocated *= 2; 163 if (new_allocated != ds->allocated) 165 ds->allocated = new_allocated;
|
/external/harfbuzz_ng/src/ |
H A D | hb-buffer.cc | 126 unsigned int new_allocated = allocated; local 134 while (size >= new_allocated) 135 new_allocated += (new_allocated >> 1) + 32; 138 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0])))) 141 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0])); 142 new_info = (hb_glyph_info_t *) realloc (info, new_allocated * sizeof (info[0])); 156 allocated = new_allocated;
|
H A D | hb-private.hh | 393 unsigned int new_allocated = allocated + (allocated >> 1) + 8; local 397 new_array = (Type *) calloc (new_allocated, sizeof (Type)); 401 bool overflows = (new_allocated < allocated) || _hb_unsigned_int_mul_overflows (new_allocated, sizeof (Type)); 403 new_array = (Type *) realloc (array, new_allocated * sizeof (Type)); 411 allocated = new_allocated;
|
/external/python/cpython2/Objects/ |
H A D | listobject.c | 28 size_t new_allocated; local 48 new_allocated = (newsize >> 3) + (newsize < 9 ? 3 : 6); 51 if (new_allocated > PY_SIZE_MAX - newsize) { 55 new_allocated += newsize; 59 new_allocated = 0; 61 if (new_allocated <= (PY_SIZE_MAX / sizeof(PyObject *))) 62 PyMem_RESIZE(items, PyObject *, new_allocated); 71 self->allocated = new_allocated;
|
Completed in 292 milliseconds