Home
last modified time | relevance | path

Searched refs:static_size (Results 1 – 25 of 33) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-subset-cff-common.cc125 …::min_size + FDSelect4::min_size + FDSelect4_Range::static_size * num_ranges + HBUINT32::static_si… in hb_plan_subset_cff_fdselect()
130 …unsigned int format0_size = FDSelect::min_size + FDSelect0::min_size + HBUINT8::static_size * subs… in hb_plan_subset_cff_fdselect()
132 …::min_size + FDSelect3::min_size + FDSelect3_Range::static_size * num_ranges + HBUINT16::static_si… in hb_plan_subset_cff_fdselect()
Dhb-ot-cff-common.hh95 if (count == 0) return COUNT::static_size; in calculate_serialized_size()
200 unsigned int data_size () const { return HBINT8::static_size; } in data_size()
213 return count.static_size; /* empty CFFIndex contains count only */ in get_size()
243 DEFINE_SIZE_ARRAY (COUNT::static_size + HBUINT8::static_size, offsets);
515 { return HBUINT8::static_size * num_glyphs; } in get_size()
534 DEFINE_SIZE_STATIC (GID_TYPE::static_size + FD_TYPE::static_size);
541 { return GID_TYPE::static_size * 2 + ranges.get_size (); } in get_size()
578 DEFINE_SIZE_ARRAY (GID_TYPE::static_size, ranges);
603 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
604 case 3: return format.static_size + u.format3.get_size (); in get_size()
Dhb-ot-cff1-table.hh191 …Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_co… in serialize()
208 … = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size * code_ranges.l… in serialize()
225 …ocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_codes.le… in serialize()
246 case 0: size += Encoding0::min_size + HBUINT8::static_size * enc_count; break; in calculate_serialized_size()
247 case 1: size += Encoding1::min_size + Encoding1_Range::static_size * enc_count; break; in calculate_serialized_size()
251 size += CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_count; in calculate_serialized_size()
357 return HBUINT16::static_size * (num_glyphs - 1); in get_size()
376 DEFINE_SIZE_STATIC (HBUINT16::static_size + TYPE::static_size);
428 unsigned int size = HBUINT8::static_size; in get_size()
436 size += Charset_Range<TYPE>::static_size; in get_size()
[all …]
Dhb-open-type.hh215 const HBUINT32 *EndPtr = Table + Length / HBUINT32::static_size; in CalcTableChecksum()
418 { return len * Type::static_size; } in get_size()
571 { return len.static_size + len * Type::static_size; } in get_size()
728 static constexpr unsigned item_size = Type::static_size;
745 { return lenP1.static_size + get_length () * Type::static_size; } in get_size()
829 { return lenM1.static_size + (lenM1 + 1) * Type::static_size; } in get_size()
976 static constexpr unsigned item_size = Type::static_size;
1011 { return header.static_size + header.nUnits * header.unitSize; } in get_size()
1048 Type::static_size <= header.unitSize && in sanitize_shallow()
Dhb-aat-layout-common.hh100 DEFINE_SIZE_STATIC (4 + T::static_size);
228 DEFINE_SIZE_STATIC (2 + T::static_size);
447 static_assert (T::static_size, ""); in sanitize()
459 DEFINE_SIZE_STATIC (4 + T::static_size);
536 if (unlikely (hb_unsigned_mul_overflows (num_classes, states[0].static_size))) in sanitize()
538 unsigned int row_stride = num_classes * states[0].static_size; in sanitize()
681 return (offset - ((const char *) array - (const char *) base)) / T::static_size; in offsetToIndex()
Dhb-machinery.hh119 static constexpr unsigned static_size = (size)
122 DEFINE_COMPILES_ASSERTION ((void) this->u._member.static_size) \
137 DEFINE_COMPILES_ASSERTION ((void) (array)[0].static_size) \
Dhb-ot-cff2-table.hh71 case 0: return format.static_size + u.format0.get_size (num_glyphs); in get_size()
72 case 3: return format.static_size + u.format3.get_size (); in get_size()
73 case 4: return format.static_size + u.format4.get_size (); in get_size()
135 unsigned int get_size () const { return HBUINT16::static_size + size; } in get_size()
Dhb-ot-cmap-table.hh162 if ((char *)idDelta - (char *)startCode != (int) segcount * (int) HBINT16::static_size) in serialize_idDelta_array()
209 HBUINT16 *idRangeOffset = c->allocate_size<HBUINT16> (HBUINT16::static_size * segcount); in serialize_rangeoffset_glyid()
211 …r *)idRangeOffset - (char *)idDelta != (int) segcount * (int) HBINT16::static_size)) return nullpt… in serialize_rangeoffset_glyid()
249 unsigned segcount = (c->length () - min_size) / HBUINT16::static_size; in serialize()
252 … if (unlikely (!c->allocate_size<HBUINT16> (HBUINT16::static_size))) return; // 2 bytes of padding. in serialize()
622 this->groups.len = (this->length - min_size)/CmapSubtableLongGroup::static_size; in serialize()
743 …check_assign (out->len, (c->length () - init_len) / UnicodeValueRange::static_size))) return nullp… in copy()
954 …ength () - table_initpos - CmapSubtableFormat14::min_size) / VariationSelectorRecord::static_size); in serialize()
1154 …heck_assign(this->encodingRecord.len, (c->length () - cmap::min_size)/EncodingRecord::static_size); in serialize()
Dhb-aat-layout-kerx-table.hh145 DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 16, pairs);
377 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 5 * sizeof (HBUINT));
454 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 4 * sizeof (HBUINT));
617 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 20);
728 DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 24);
793 u.header.length <= u.header.static_size || in sanitize()
Dhb-ot-var-mvar-table.hh69 valueRecordSize >= VariationValueRecord::static_size && in sanitize()
Dhb-subset-cff1.cc513 supp_size += SuppEncoding::static_size * supp_codes.length; in plan_subset_encoding()
521 size0 = Encoding0::min_size + HBUINT8::static_size * subset_enc_num_codes; in plan_subset_encoding()
522 size1 = Encoding1::min_size + Encoding1_Range::static_size * subset_enc_code_ranges.length; in plan_subset_encoding()
565 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
567 size_ranges = Charset1::min_size + Charset1_Range::static_size * subset_charset_ranges.length; in plan_subset_charset()
569 size_ranges = Charset2::min_size + Charset2_Range::static_size * subset_charset_ranges.length; in plan_subset_charset()
634 final_size += OT::cff1::static_size; in create()
Dhb-ot-kern-table.hh106 DEFINE_SIZE_ARRAY (KernSubTableHeader::static_size + 6, kernValueZ);
161 DEFINE_SIZE_MIN (KernSubTableHeader::static_size);
Dhb-null.hh66 …tic_size<T, hb_void_t<decltype (T::min_size)>> : hb_integral_constant<unsigned, T::static_size> {};
Dhb-ot-hdmx-table.hh45 { return hb_ceil_to_4 (min_size + count * HBUINT8::static_size); } in get_size()
Dhb-ot-layout-gdef-table.hh435 (version.to_int () >= 0x00010002u ? markGlyphSetsDef.static_size : 0) + in get_size()
436 (version.to_int () >= 0x00010003u ? varStore.static_size : 0); in get_size()
Dhb-ot-var-gvar-table.hh312 p += HBUINT16::static_size; in unpack_points()
357 p += HBUINT16::static_size; in unpack_deltas()
435 unsigned int shared_tuple_size = F2DOT14::static_size * axisCount * sharedTupleCount; in subset()
Dhb-ot-layout-common.hh1910 …nt * r], &src->axesZ[axisCount * region_map.backward (r)], VarRegionAxis::static_size * axisCount); in serialize()
1915 …unsigned int get_size () const { return min_size + VarRegionAxis::static_size * axisCount * region… in get_size()
2041 …unsigned int size = regionIndices.get_size () - HBUINT16::static_size/*regionIndices.len*/ + (get_… in serialize()
2087 return (p + HBINT16::static_size * shortCount)[region - shortCount]; in get_item_delta()
2096 (p + HBINT16::static_size * shortCount)[region - shortCount] = delta; in set_item_delta()
2155 unsigned int size = min_size + HBUINT32::static_size * set_count; in serialize()
2432 if (unlikely (f < 1 || f > 3 || startSize > endSize)) return 3 * HBUINT16::static_size; in get_size()
2433 return HBUINT16::static_size * (4 + ((endSize - startSize) >> (4 - f))); in get_size()
Dhb-ot-glyf-table.hh314 p += HBINT16::static_size; in get_transformation()
316 p += HBINT16::static_size; in get_transformation()
432 { return GlyphHeader::static_size + 2 * header.numberOfContours; } in instruction_len_offset()
560 p += HBINT16::static_size; in read_points()
Dhb-ot-layout-gpos-table.hh102 unsigned int get_size () const { return get_len () * Value::static_size; } in get_size()
795 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in intersects()
813 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in collect_glyphs()
827 unsigned int record_size = HBUINT16::static_size * (1 + len1 + len2); in apply()
876 unsigned record_size = HBUINT16::static_size + Value::static_size * (len1 + len2); in subset()
906 HBUINT16::static_size, in sanitize()
Dhb-ot-hmtx-table.hh116 FWORD *sb = c->allocate_size<FWORD> (FWORD::static_size); in serialize()
Dhb-subset-cff2.cc284 final_size += OT::cff2::static_size; in create()
457 cff2->topDict = OT::cff2::static_size; in _write_cff2()
Dhb-array.hh202 bool in_range (const T *p, unsigned int size = T::static_size) const in in_range()
/external/eigen/unsupported/Eigen/CXX11/src/TensorSymmetry/
DStaticSymmetry.h118 constexpr static std::size_t size = type::static_size;
209 constexpr static std::size_t static_size = ge::count;
/external/protobuf/python/google/protobuf/internal/
Dencoder.py328 static_size = (_TagSize(1) * 2 + _TagSize(2) + _VarintSize(field_number) +
334 return static_size + local_VarintSize(l) + l
/external/libabigail/tests/data/test-annotate/
Dtest17-pr19027.so.abi3584 …c const unsigned int OT::OffsetTo<OT::OffsetTable, OT::IntType<unsigned int, 4u> >::static_size -->
3585 …<var-decl name='static_size' type-id='type-id-105' visibility='default' filepath='/tmp/legendre/sp…
3597 <!-- static const unsigned int OT::Offset<OT::IntType<unsigned int, 4u> >::static_size -->
3598 …<var-decl name='static_size' type-id='type-id-105' visibility='default' filepath='/tmp/legendre/sp…
3664 <!-- static const unsigned int OT::TableRecord::static_size -->
3665 …<var-decl name='static_size' type-id='type-id-105' visibility='default' filepath='/tmp/legendre/sp…
3677 <!-- static const unsigned int OT::CheckSum::static_size -->
3678 …<var-decl name='static_size' type-id='type-id-105' visibility='default' filepath='/tmp/legendre/sp…
3701 <!-- static const unsigned int OT::IntType<short unsigned int, 2u>::static_size -->
3702 …<var-decl name='static_size' type-id='type-id-105' visibility='default' filepath='/tmp/legendre/sp…
[all …]

12