Home
last modified time | relevance | path

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

/external/chromium_org/url/
Durl_canon_icu_unittest.cc82 const int static_size = 16; in TEST() local
86 for (int i = static_size - 2; i <= static_size + 2; i++) { in TEST()
92 RawCanonOutput<static_size> output; in TEST()
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh103 static const unsigned int static_size = (size); \
110 DEFINE_INSTANCE_ASSERTION (this->u._member.static_size == (size)); \
119 DEFINE_COMPILES_ASSERTION ((void) array[0].static_size) \
124 DEFINE_COMPILES_ASSERTION ((void) array1[0].static_size; (void) array2[0].static_size) \
271 if (this->may_edit (obj, obj->static_size)) { in try_set()
650 const ULONG *EndPtr = Table+((Length+3) & ~3) / ULONG::static_size; in CalcTableChecksum()
769 { return len.static_size + len * Type::static_size; } in get_size()
841 return TRACE_RETURN (c->check_struct (this) && c->check_array (this, Type::static_size, len)); in sanitize_shallow()
887 { return len.static_size + (len ? len - 1 : 0) * Type::static_size; } in get_size()
906 && c->check_array (this, Type::static_size, len); in sanitize_shallow()
Dhb-ot-layout-gsubgpos-private.hh1120 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in closure()
1130 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in collect_glyphs()
1140 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in would_apply()
1147 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in apply()
1157 input[0].static_size * inputCount in sanitize()
1158 + lookupRecordX[0].static_size * lookupCount); in sanitize()
1419 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in closure()
1435 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in collect_glyphs()
1451 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in would_apply()
1470 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in apply()
[all …]
Dhb-ot-name-table.hh117 c->check_array (nameRecord, nameRecord[0].static_size, count) && in sanitize()
Dhb-open-file-private.hh107 …return TRACE_RETURN (c->check_struct (this) && c->check_array (tables, TableRecord::static_size, n… in sanitize()
Dhb-ot-layout-gpos-table.hh95 { return get_len () * Value::static_size; } in get_size()
357 if (!c->check_array (matrix, matrix[0].static_size, count)) return TRACE_RETURN (false); in sanitize()
584 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in collect_glyphs()
603 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in apply()
637 …&& c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false… in sanitize()
Dhb-ot-layout-common-private.hh1147 if (unlikely (f < 1 || f > 3 || startSize > endSize)) return 3 * USHORT::static_size; in get_size()
1148 return USHORT::static_size * (4 + ((endSize - startSize) >> (4 - f))); in get_size()
Dhb-uniscribe.cc356 ARRAY_LENGTH (name_IDs) * OT::NameRecord::static_size + in _hb_rename_font()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-open-type-private.hh103 static const unsigned int static_size = (size); \
110 DEFINE_INSTANCE_ASSERTION (this->u._member.static_size == (size)); \
119 DEFINE_COMPILES_ASSERTION ((void) array[0].static_size) \
124 DEFINE_COMPILES_ASSERTION ((void) array1[0].static_size; (void) array2[0].static_size) \
271 if (this->may_edit (obj, obj->static_size)) { in try_set()
650 const ULONG *EndPtr = Table+((Length+3) & ~3) / ULONG::static_size; in CalcTableChecksum()
769 { return len.static_size + len * Type::static_size; } in get_size()
841 return TRACE_RETURN (c->check_struct (this) && c->check_array (this, Type::static_size, len)); in sanitize_shallow()
887 { return len.static_size + (len ? len - 1 : 0) * Type::static_size; } in get_size()
906 && c->check_array (this, Type::static_size, len); in sanitize_shallow()
Dhb-ot-layout-gsubgpos-private.hh1120 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in closure()
1130 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in collect_glyphs()
1140 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in would_apply()
1147 …const LookupRecord *lookupRecord = &StructAtOffset<LookupRecord> (input, input[0].static_size * (i… in apply()
1157 input[0].static_size * inputCount in sanitize()
1158 + lookupRecordX[0].static_size * lookupCount); in sanitize()
1419 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in closure()
1435 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in collect_glyphs()
1451 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in would_apply()
1470 …ord *lookupRecord = &StructAtOffset<LookupRecord> (coverage, coverage[0].static_size * glyphCount); in apply()
[all …]
Dhb-ot-name-table.hh117 c->check_array (nameRecord, nameRecord[0].static_size, count) && in sanitize()
Dhb-open-file-private.hh107 …return TRACE_RETURN (c->check_struct (this) && c->check_array (tables, TableRecord::static_size, n… in sanitize()
Dhb-ot-layout-gpos-table.hh95 { return get_len () * Value::static_size; } in get_size()
357 if (!c->check_array (matrix, matrix[0].static_size, count)) return TRACE_RETURN (false); in sanitize()
584 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in collect_glyphs()
603 unsigned int record_size = USHORT::static_size * (1 + len1 + len2); in apply()
637 …&& c->check_array (array, USHORT::static_size * closure->stride, len))) return TRACE_RETURN (false… in sanitize()
Dhb-ot-layout-common-private.hh1147 if (unlikely (f < 1 || f > 3 || startSize > endSize)) return 3 * USHORT::static_size; in get_size()
1148 return USHORT::static_size * (4 + ((endSize - startSize) >> (4 - f))); in get_size()
Dhb-uniscribe.cc357 ARRAY_LENGTH (name_IDs) * OT::NameRecord::static_size + in _hb_rename_font()
/external/protobuf/python/google/protobuf/internal/
Dencoder.py319 static_size = (_TagSize(1) * 2 + _TagSize(2) + _VarintSize(field_number) +
325 return static_size + local_VarintSize(l) + l
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dencoder.py325 static_size = (_TagSize(1) * 2 + _TagSize(2) + _VarintSize(field_number) +
331 return static_size + local_VarintSize(l) + l