Home
last modified time | relevance | path

Searched refs:allocate_size (Results 1 – 20 of 20) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-serialize.hh320 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()
Dhb-ot-cff-common.hh103 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()
Dhb-subset-cff-common.cc160 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()
Dhb-ot-cff1-table.hh171 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()
Dhb-cff-interp-common.hh263 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()
Dhb-ot-var-gvar-table.hh427 …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()
Dhb-ot-cff2-table.hh58 CFF2FDSelect *dest = c->allocate_size<CFF2FDSelect> (size); in serialize()
129 CFF2VariationStore *dest = c->allocate_size<CFF2VariationStore> (size_); in serialize()
Dhb-ot-hmtx-table.hh116 FWORD *sb = c->allocate_size<FWORD> (FWORD::static_size); in serialize()
Dhb-subset-cff-common.hh210 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize()
218 HBUINT8 *d = c->allocate_size<HBUINT8> (opstr.str.length); in serialize()
Dhb-open-file.hh148 char *start = (char *) c->allocate_size<void> (rec.length); in serialize()
Dhb-ot-cmap-table.hh209 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()
Dhb-ot-layout-common.hh1908 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()
Dhb-subset-cff1.cc153 HBUINT8 *p = c->allocate_size<HBUINT8> (1); in serialize()
Dhb-ot-layout-gsubgpos.hh2642 …if (unlikely (!c->serializer->allocate_size<HBUINT16> (HBUINT16::static_size))) return_trace (fals… in serialize_coverage_offsets()
/external/OpenCL-CTS/test_conformance/allocations/
Dallocation_functions.h23 int allocate_size(cl_context context, cl_command_queue *queue, cl_device_id device_id, int multiple…
Dmain.cpp181 …error = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_t… in doTest()
Dallocation_functions.cpp131 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/
Dfusion_utils.cc64 StringCollection GetNames(const Iterable& iterable, int allocate_size) { in GetNames() argument
66 names.reserve(allocate_size); in GetNames()
/external/libabigail/tests/data/test-annotate/
Dtest17-pr19027.so.abi3790 <!-- OT::Lookup* OT::hb_serialize_context_t::allocate_size<OT::Lookup>(unsigned int) -->
3791 …<function-decl name='allocate_size&lt;OT::Lookup&gt;' filepath='/tmp/legendre/spack-stage/spack-st…
3801 …>, OT::IntType<short unsigned int, 2u> >* OT::hb_serialize_context_t::allocate_size<OT::ArrayOf<OT…
3802 …<function-decl name='allocate_size&lt;OT::ArrayOf&lt;OT::Offset&lt;OT::IntType&lt;short unsigned i…
3845 …<!-- OT::IntType<short unsigned int, 2u>* OT::hb_serialize_context_t::allocate_size<OT::IntType<sh…
3846 …<function-decl name='allocate_size&lt;OT::IntType&lt;short unsigned int, 2u&gt; &gt;' filepath='/t…
3856 …<!-- OT::SingleSubstFormat1* OT::hb_serialize_context_t::allocate_size<OT::SingleSubstFormat1>(uns…
3857 …<function-decl name='allocate_size&lt;OT::SingleSubstFormat1&gt;' filepath='/tmp/legendre/spack-st…
3867 … <!-- OT::Coverage* OT::hb_serialize_context_t::allocate_size<OT::Coverage>(unsigned int) -->
3868 …<function-decl name='allocate_size&lt;OT::Coverage&gt;' filepath='/tmp/legendre/spack-stage/spack-…
[all …]
/external/libabigail/tests/data/test-read-dwarf/
Dtest17-pr19027.so.abi2428 …<function-decl name='allocate_size&lt;OT::Lookup&gt;' filepath='/tmp/legendre/spack-stage/spack-st…
2435 …<function-decl name='allocate_size&lt;OT::ArrayOf&lt;OT::Offset&lt;OT::IntType&lt;short unsigned i…
2463 …<function-decl name='allocate_size&lt;OT::IntType&lt;short unsigned int, 2u&gt; &gt;' filepath='/t…
2470 …<function-decl name='allocate_size&lt;OT::SingleSubstFormat1&gt;' filepath='/tmp/legendre/spack-st…
2477 …<function-decl name='allocate_size&lt;OT::Coverage&gt;' filepath='/tmp/legendre/spack-stage/spack-…
2484 …<function-decl name='allocate_size&lt;OT::CoverageFormat1&gt;' filepath='/tmp/legendre/spack-stage…
2491 …<function-decl name='allocate_size&lt;OT::SortedArrayOf&lt;OT::IntType&lt;short unsigned int, 2u&g…
2512 …<function-decl name='allocate_size&lt;OT::CoverageFormat2&gt;' filepath='/tmp/legendre/spack-stage…
2519 …<function-decl name='allocate_size&lt;OT::SortedArrayOf&lt;OT::RangeRecord, OT::IntType&lt;short u…
2554 …<function-decl name='allocate_size&lt;OT::SingleSubstFormat2&gt;' filepath='/tmp/legendre/spack-st…
[all …]