Searched refs:allocate_size (Results 1 – 19 of 19) sorted by relevance
/external/harfbuzz_ng/src/ |
D | hb-ot-cff-common.hh | 103 CFFIndex *dest = c->allocate_size<CFFIndex> (size); in serialize() 126 if (unlikely (!c->allocate_size<HBUINT8> (offSize_ * (byteArray.length + 1)))) in serialize() 143 unsigned char *dest = c->allocate_size<unsigned char> (bs.length); in serialize() 270 if (unlikely (!c->allocate_size<HBUINT8> (offSize_ * (dataArrayLen + 1)))) in serialize() 364 HBUINT8 *p = c->allocate_size<HBUINT8> (OpCode_Size (op)); in serialize_int_op() 416 if (unlikely (!c->allocate_size<HBUINT8> (offSize_ * (fontDicts.length + 1)))) in serialize() 453 if (unlikely (!c->allocate_size<HBUINT8> (offSize_ * (fdCount + 1)))) in serialize() 590 FDSelect *dest = c->allocate_size<FDSelect> (size); in serialize()
|
D | hb-serialize.hh | 320 allocate_size<void> (alignment - l); in align() 335 Type *allocate_size (unsigned int size) in allocate_size() function 353 { return this->allocate_size<Type> (Type::min_size); } in allocate_min() 359 Type *ret = this->allocate_size<Type> (size); in embed() 375 Type *ret = this->allocate_size<Type> (sizeof (Type)); in _copy() 399 if (unlikely (!this->allocate_size<Type> (((char *) obj) + size - this->head))) return nullptr; in extend_size()
|
D | hb-subset-cff-common.cc | 160 FDSELECT3_4 *p = c->allocate_size<FDSELECT3_4> (size); in serialize_fdselect_3_4() 196 FDSelect0 *p = c->allocate_size<FDSelect0> (size); in hb_serialize_cff_fdselect()
|
D | hb-ot-cff1-table.hh | 171 Encoding *dest = c->allocate_size<Encoding> (size); in serialize() 191 …Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_co… in serialize() 208 …Encoding1 *fmt1 = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size … in serialize() 225 …CFF1SuppEncData *suppData = c->allocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEnc… in serialize() 459 Charset *dest = c->allocate_size<Charset> (size); in serialize() 479 …Charset0 *fmt0 = c->allocate_size<Charset0> (Charset0::min_size + HBUINT16::static_size * (num_gly… in serialize() 493 …Charset1 *fmt1 = c->allocate_size<Charset1> (Charset1::min_size + Charset1_Range::static_size * si… in serialize() 507 …Charset2 *fmt2 = c->allocate_size<Charset2> (Charset2::min_size + Charset2_Range::static_size * si… in serialize()
|
D | hb-cff-interp-common.hh | 263 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize_int() 267 INTTYPE *ip = c->allocate_size<INTTYPE> (INTTYPE::static_size); in serialize_int() 544 HBUINT8 *d = c->allocate_size<HBUINT8> (opstr.str.length); in copy_opstr()
|
D | hb-ot-var-gvar-table.hh | 427 …HBUINT8 *subset_offsets = c->serializer->allocate_size<HBUINT8> ((long_offset ? 4 : 2) * (num_glyp… in subset() 436 F2DOT14 *tuples = c->serializer->allocate_size<F2DOT14> (shared_tuple_size); in subset() 442 char *subset_data = c->serializer->allocate_size<char> (subset_data_size); in subset()
|
D | hb-ot-cff2-table.hh | 58 CFF2FDSelect *dest = c->allocate_size<CFF2FDSelect> (size); in serialize() 129 CFF2VariationStore *dest = c->allocate_size<CFF2VariationStore> (size_); in serialize()
|
D | hb-ot-hmtx-table.hh | 116 FWORD *sb = c->allocate_size<FWORD> (FWORD::static_size); in serialize()
|
D | hb-subset-cff-common.hh | 210 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize() 218 HBUINT8 *d = c->allocate_size<HBUINT8> (opstr.str.length); in serialize()
|
D | hb-open-file.hh | 148 char *start = (char *) c->allocate_size<void> (rec.length); in serialize()
|
D | hb-ot-layout-common.hh | 1908 if (unlikely (!c->allocate_size<VarRegionList> (get_size () - min_size))) return_trace (false); in serialize() 2042 if (unlikely (!c->allocate_size<HBUINT8> (size))) in serialize() 2156 if (unlikely (!c->allocate_size<HBUINT32> (size))) return_trace (false); in serialize()
|
D | hb-ot-cmap-table.hh | 209 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid() 252 … if (unlikely (!c->allocate_size<HBUINT16> (HBUINT16::static_size))) return; // 2 bytes of padding. in serialize()
|
D | hb-subset-cff1.cc | 153 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize()
|
D | hb-ot-layout-gsubgpos.hh | 2642 …if (unlikely (!c->serializer->allocate_size<HBUINT16> (HBUINT16::static_size))) return_trace (fals… in serialize_coverage_offsets()
|
/external/OpenCL-CTS/test_conformance/allocations/ |
D | allocation_functions.h | 23 int allocate_size(cl_context context, cl_command_queue *queue, cl_device_id device_id, int multiple…
|
D | main.cpp | 181 …error = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_t… in doTest()
|
D | allocation_functions.cpp | 131 int allocate_size(cl_context context, cl_command_queue *queue, cl_device_id device_id, int multiple… in allocate_size() function
|
/external/tensorflow/tensorflow/core/grappler/optimizers/data/ |
D | fusion_utils.cc | 63 StringCollection GetNames(const Iterable& iterable, int allocate_size) { in GetNames() argument 65 names.reserve(allocate_size); in GetNames()
|
/external/v8/src/deoptimizer/ |
D | deoptimizer.cc | 3947 int allocate_size = in AllocateStorageFor() local 3952 isolate()->factory()->NewByteArray(allocate_size, AllocationType::kOld); in AllocateStorageFor()
|