Searched refs:HB_LANGUAGE_INVALID (Results 1 – 8 of 8) sorted by relevance
187 g_assert (HB_LANGUAGE_INVALID == NULL); in test_types_language()201 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string (NULL, -1)); in test_types_language()202 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string ("", -1)); in test_types_language()203 g_assert (HB_LANGUAGE_INVALID == hb_language_from_string ("en", 0)); in test_types_language()204 g_assert (HB_LANGUAGE_INVALID != hb_language_from_string ("en", 1)); in test_types_language()205 g_assert (NULL == hb_language_to_string (HB_LANGUAGE_INVALID)); in test_types_language()210 g_assert (HB_LANGUAGE_INVALID != hb_language_get_default ()); in test_types_language()
298 return HB_LANGUAGE_INVALID; in hb_language_from_string()311 return likely (item) ? item->lang : HB_LANGUAGE_INVALID; in hb_language_from_string()343 static hb_language_t default_language = HB_LANGUAGE_INVALID; in hb_language_get_default()346 if (unlikely (language == HB_LANGUAGE_INVALID)) { in hb_language_get_default()348 (void) hb_atomic_ptr_cmpexch (&default_language, HB_LANGUAGE_INVALID, language); in hb_language_get_default()
76 HB_LANGUAGE_INVALID, \
146 #define HB_LANGUAGE_INVALID ((hb_language_t) NULL) macro
810 if (language == HB_LANGUAGE_INVALID) in hb_ot_tag_from_language()
590 if (props.language == HB_LANGUAGE_INVALID) { in guess_segment_properties()
84 HB_LANGUAGE_INVALID
859 HB_LANGUAGE_INVALID