Home
last modified time | relevance | path

Searched refs:ASSERT_STATIC (Results 1 – 16 of 16) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-private.hh245 #define ASSERT_STATIC(_cond) _ASSERT_STATIC0 (__LINE__, (_cond)) macro
256 ASSERT_STATIC (sizeof (int8_t) == 1);
257 ASSERT_STATIC (sizeof (uint8_t) == 1);
258 ASSERT_STATIC (sizeof (int16_t) == 2);
259 ASSERT_STATIC (sizeof (uint16_t) == 2);
260 ASSERT_STATIC (sizeof (int32_t) == 4);
261 ASSERT_STATIC (sizeof (uint32_t) == 4);
262 ASSERT_STATIC (sizeof (int64_t) == 8);
263 ASSERT_STATIC (sizeof (uint64_t) == 8);
265 ASSERT_STATIC (sizeof (hb_codepoint_t) == 4);
[all …]
Dhb-cache-private.hh38 ASSERT_STATIC (key_bits >= cache_bits);
39 ASSERT_STATIC (key_bits + value_bits - cache_bits < 8 * sizeof (unsigned int));
Dhb-set-private.hh65 ASSERT_STATIC (shift < sizeof (hb_codepoint_t) * 8);
66 ASSERT_STATIC (shift + num_bits <= sizeof (hb_codepoint_t) * 8);
344 ASSERT_STATIC (sizeof (elt_t) * 8 == BITS);
345 ASSERT_STATIC (sizeof (elt_t) * 8 * ELTS > MAX_G);
Dhb-ot-layout-gdef-table.hh407ASSERT_STATIC ((unsigned int) HB_OT_LAYOUT_GLYPH_PROPS_BASE_GLYPH == (unsigned int) LookupFlag::Ig… in get_glyph_props()
408ASSERT_STATIC ((unsigned int) HB_OT_LAYOUT_GLYPH_PROPS_LIGATURE == (unsigned int) LookupFlag::Igno… in get_glyph_props()
409ASSERT_STATIC ((unsigned int) HB_OT_LAYOUT_GLYPH_PROPS_MARK == (unsigned int) LookupFlag::IgnoreMa… in get_glyph_props()
Dhb-ot-layout.cc301 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_SCRIPT_INDEX); in hb_ot_layout_table_find_script()
332 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_SCRIPT_INDEX); in hb_ot_layout_table_choose_script()
391 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_FEATURE_INDEX); in hb_ot_layout_table_find_feature()
428 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_DEFAULT_LANGUAGE_INDEX); in hb_ot_layout_script_find_language()
507 ASSERT_STATIC (sizeof (unsigned int) == sizeof (hb_tag_t)); in hb_ot_layout_language_get_feature_tags()
528 ASSERT_STATIC (OT::Index::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_FEATURE_INDEX); in hb_ot_layout_language_find_feature()
839 ASSERT_STATIC (OT::FeatureVariations::NOT_FOUND_INDEX == HB_OT_LAYOUT_NO_VARIATIONS_INDEX); in hb_ot_layout_feature_with_variations_get_lookups()
Dhb-buffer-private.hh48 ASSERT_STATIC (sizeof (hb_glyph_info_t) == 20);
49 ASSERT_STATIC (sizeof (hb_glyph_info_t) == sizeof (hb_glyph_position_t));
Dhb-ot-shape-complex-arabic-fallback.hh240 ASSERT_STATIC (sizeof (arabic_win1256_gsub_lookups.manifestData) / sizeof (ManifestLookup) in arabic_fallback_plan_init_win1256()
274 ASSERT_STATIC (ARRAY_LENGTH_CONST(arabic_fallback_features) <= ARABIC_FALLBACK_MAX_LOOKUPS); in arabic_fallback_plan_init_unicode()
Dhb-open-type-private.hh88 ASSERT_STATIC (_assertion); \
139 ASSERT_STATIC (sizeof (Type) <= sizeof (_NullPool)); in Null()
150 ASSERT_STATIC (Type::min_size + 1 <= sizeof (_Null##Type))
Dhb-ot-shape-complex-use.cc295 ASSERT_STATIC (INIT < 4 && ISOL < 4 && MEDI < 4 && FINA < 4); in setup_topographical_masks()
Dhb-ot-math-table.hh466 ASSERT_STATIC ((unsigned int) HB_MATH_GLYPH_PART_FLAG_EXTENDER == in extract()
Dhb-uniscribe.cc319 ASSERT_STATIC (2 + 3 * (16/2) < LF_FACESIZE); in _hb_generate_unique_face_name()
Dhb-buffer.cc137 ASSERT_STATIC (sizeof (info[0]) == sizeof (pos[0])); in enlarge()
Dhb-ot-layout-common-private.hh693 ASSERT_STATIC (((unsigned int) -1) == NOT_COVERED); in get_coverage()
Dhb-ot-shape-complex-indic.cc201 ASSERT_STATIC ((int) INDIC_SYLLABIC_CATEGORY_AVAGRAHA == OT_Symbol); in set_indic_properties()
/external/harfbuzz_ng/util/
Doptions.hh84 #define ASSERT_STATIC(_cond) _ASSERT_STATIC0 (__LINE__, (_cond)) macro
Doptions.cc422 ASSERT_STATIC (ARRAY_LENGTH_CONST (supported_font_funcs) > 0); in add_options()