OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:new_allocated
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/skia/third_party/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/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
302
unsigned int
new_allocated
= allocated + (allocated >> 1) + 8;
local
306
new_array = (Type *) calloc (
new_allocated
, sizeof (Type));
310
bool overflows = (
new_allocated
< allocated) || _hb_unsigned_int_mul_overflows (
new_allocated
, sizeof (Type));
312
new_array = (Type *) realloc (array,
new_allocated
* sizeof (Type));
320
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
311
unsigned int
new_allocated
= allocated + (allocated >> 1) + 8;
local
315
new_array = (Type *) calloc (
new_allocated
, sizeof (Type));
319
bool overflows = (
new_allocated
< allocated) || _hb_unsigned_int_mul_overflows (
new_allocated
, sizeof (Type));
321
new_array = (Type *) realloc (array,
new_allocated
* sizeof (Type));
329
allocated =
new_allocated
;
Completed in 1053 milliseconds