HomeSort by relevance Sort by last modified time
    Searched refs:new_allocated (Results 1 - 7 of 7) sorted by null

  /external/harfbuzz/src/
harfbuzz-buffer.c 66 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/harfbuzz_ng/src/hb-old/
harfbuzz-buffer.c 66 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/
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/chromium_org/third_party/harfbuzz-ng/src/
hb-buffer.cc 89 unsigned int new_allocated = allocated; local
97 while (size >= new_allocated)
98 new_allocated += (new_allocated >> 1) + 32;
101 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0]))))
104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0]));
105 new_info = (hb_glyph_info_t *) realloc (info, new_allocated * sizeof (info[0]));
119 allocated = new_allocated;
hb-private.hh 299 unsigned int new_allocated = allocated + (allocated >> 1) + 8; local
303 new_array = (Type *) calloc (new_allocated, sizeof (Type));
307 bool overflows = (new_allocated < allocated) || _hb_unsigned_int_mul_overflows (new_allocated, sizeof (Type));
309 new_array = (Type *) realloc (array, new_allocated * sizeof (Type));
317 allocated = new_allocated;
  /external/harfbuzz_ng/src/
hb-buffer.cc 89 unsigned int new_allocated = allocated; local
97 while (size >= new_allocated)
98 new_allocated += (new_allocated >> 1) + 32;
101 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0]))))
104 new_pos = (hb_glyph_position_t *) realloc (pos, new_allocated * sizeof (pos[0]));
105 new_info = (hb_glyph_info_t *) realloc (info, new_allocated * sizeof (info[0]));
119 allocated = new_allocated;
hb-private.hh 299 unsigned int new_allocated = allocated + (allocated >> 1) + 8; local
303 new_array = (Type *) calloc (new_allocated, sizeof (Type));
307 bool overflows = (new_allocated < allocated) || _hb_unsigned_int_mul_overflows (new_allocated, sizeof (Type));
309 new_array = (Type *) realloc (array, new_allocated * sizeof (Type));
317 allocated = new_allocated;

Completed in 208 milliseconds