Searched refs:allocate_size (Results 1 – 15 of 15) sorted by relevance
112 CFFIndex *dest = c->allocate_size<CFFIndex> (size); in serialize()135 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (byteArray.len + 1)))) in serialize()279 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (dataArrayLen + 1)))) in serialize()374 HBUINT8 *p = c->allocate_size<HBUINT8> (OpCode_Size (op)); in serialize_int_op()481 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (fontDicts.len + 1)))) in serialize()518 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (fdCount + 1)))) in serialize()664 FDSelect *dest = c->allocate_size<FDSelect> (size); in serialize()
154 FDSELECT3_4 *p = c->allocate_size<FDSELECT3_4> (size); in serialize_fdselect_3_4()190 FDSelect0 *p = c->allocate_size<FDSelect0> (size); in hb_serialize_cff_fdselect()
564 allocate_size<void> (alignment - l); in align()575 Type *allocate_size (unsigned int size) in allocate_size() function590 return this->allocate_size<Type> (Type::min_size); in allocate_min()597 Type *ret = this->allocate_size<Type> (size); in embed()611 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return nullptr; in extend_size()
186 Encoding *dest = c->allocate_size<Encoding> (size); in serialize()205 …Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_co… in serialize()220 …Encoding1 *fmt1 = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size … in serialize()233 …CFF1SuppEncData *suppData = c->allocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEnc… in serialize()460 Charset *dest = c->allocate_size<Charset> (size); in serialize()478 …Charset0 *fmt0 = c->allocate_size<Charset0> (Charset0::min_size + HBUINT16::static_size * (num_gly… in serialize()490 …Charset1 *fmt1 = c->allocate_size<Charset1> (Charset1::min_size + Charset1_Range::static_size * si… in serialize()502 …Charset2 *fmt2 = c->allocate_size<Charset2> (Charset2::min_size + Charset2_Range::static_size * si… in serialize()
273 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize_int()277 INTTYPE *ip = c->allocate_size<INTTYPE> (INTTYPE::static_size); in serialize_int()328 HBUINT8 *dest = c->allocate_size<HBUINT8> (src.len); in serialize()586 HBUINT8 *d = c->allocate_size<HBUINT8> (opstr.str.len); in copy_opstr()
102 HBUINT16 *end_count = c->allocate_size<HBUINT16> (HBUINT16::static_size * segments.len); in serialize()103 c->allocate_size<HBUINT16> (HBUINT16::static_size); // 2 bytes of padding. in serialize()104 HBUINT16 *start_count = c->allocate_size<HBUINT16> (HBUINT16::static_size * segments.len); in serialize()105 HBINT16 *id_delta = c->allocate_size<HBINT16> (HBUINT16::static_size * segments.len); in serialize()106 HBUINT16 *id_range_offset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segments.len); in serialize()125 HBUINT16 *glyph_id_array = c->allocate_size<HBUINT16> (HBUINT16::static_size * num_codepoints); in serialize()
94 VertOriginMetric *metrics = c.allocate_size<VertOriginMetric> (size); in _subset()
81 if (unlikely (!c->allocate_size<DeviceRecord> (size))) in serialize()
70 CFF2FDSelect *dest = c->allocate_size<CFF2FDSelect> (size); in serialize()125 CFF2VariationStore *dest = c->allocate_size<CFF2VariationStore> (size_); in serialize()
210 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize()218 HBUINT8 *d = c->allocate_size<HBUINT8> (opstr.str.len); in serialize()
148 char *start = (char *) c->allocate_size<void> (rec.length); in serialize()
148 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize()
63 StringCollection GetNames(const Iterable& iterable, int allocate_size) { in GetNames() argument65 names.reserve(allocate_size); in GetNames()
1259 const size_t allocate_size = size + (MALLOC_GUARD_SIZE * 2) + in _test_malloc() local1261 char* const block = (char*)malloc(allocate_size); in _test_malloc()1276 block_info->allocated_size = allocate_size; in _test_malloc()
3656 int allocate_size = in AllocateStorageFor() local3661 isolate()->factory()->NewByteArray(allocate_size, TENURED); in AllocateStorageFor()