Searched defs:new_allocated (Results 1 - 3 of 3) sorted by relevance

/external/harfbuzz/src/
H A Dharfbuzz-buffer.c66 HB_UInt new_allocated = buffer->allocated; local
68 if (size > new_allocated)
72 while (size > new_allocated)
73 new_allocated += (new_allocated >> 1) + 8;
77 if ( REALLOC_ARRAY( buffer->positions, new_allocated, HB_PositionRec ) )
81 if ( REALLOC_ARRAY( buffer->in_string, new_allocated, HB_GlyphItemRec ) )
86 if ( REALLOC_ARRAY( buffer->alt_string, new_allocated, HB_GlyphItemRec ) )
97 if ( REALLOC_ARRAY( buffer->alt_string, new_allocated, HB_GlyphItemRec ) )
102 buffer->allocated = new_allocated;
[all...]
/external/valgrind/main/coregrind/m_demangle/
H A Ddyn-string.c154 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/dbus/dbus/
H A Ddbus-string.c280 int new_allocated; local
288 new_allocated = real->len + _DBUS_STRING_ALLOCATION_PADDING;
290 new_str = dbus_realloc (real->str - real->align_offset, new_allocated);
295 real->allocated = new_allocated;
333 int new_allocated; local
340 new_allocated = _DBUS_STRING_MAX_MAX_LENGTH + _DBUS_STRING_ALLOCATION_PADDING;
342 new_allocated = real->allocated * 2;
354 new_allocated = 0; /* ensure a realloc every time so that we go
361 new_allocated = MAX (new_allocated,
[all...]

Completed in 225 milliseconds