Home
last modified time | relevance | path

Searched refs:hb_language_from_string (Results 1 – 9 of 9) sorted by relevance

/external/harfbuzz_ng/test/api/
Dtest-common.c182 hb_language_t fa = hb_language_from_string ("fa", -1); in test_types_language()
183 hb_language_t fa_IR = hb_language_from_string ("fa_IR", -1); in test_types_language()
184 hb_language_t fa_ir = hb_language_from_string ("fa-ir", -1); in test_types_language()
185 hb_language_t en = hb_language_from_string ("en", -1); in test_types_language()
197 g_assert (en == hb_language_from_string ("en", -1)); in test_types_language()
198 g_assert (en == hb_language_from_string ("eN", -1)); in test_types_language()
199 g_assert (en == hb_language_from_string ("Enx", 2)); 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()
[all …]
Dtest-ot-tag.c145 hb_language_t lang = hb_language_from_string (lang_s, -1); in test_language_two_way()
157 hb_language_t lang = hb_language_from_string (lang_s, -1); in test_tag_from_language()
168 hb_language_t lang = hb_language_from_string (lang_s, -1); in test_tag_to_language()
Dtest-buffer.c127 hb_buffer_set_language (b, hb_language_from_string ("fa", -1)); in test_buffer_properties()
128 g_assert (hb_buffer_get_language (b) == hb_language_from_string ("Fa", -1)); in test_buffer_properties()
160 hb_buffer_set_language (b, hb_language_from_string ("fa", -1)); in test_buffer_properties()
161 g_assert (hb_buffer_get_language (b) == hb_language_from_string ("Fa", -1)); in test_buffer_properties()
/external/harfbuzz_ng/src/
Dhb-ot-tag.cc877 return hb_language_from_string (ot_languages[i].language, -1); in hb_ot_tag_to_language()
882 case HB_TAG('Z','H','H',' '): return hb_language_from_string ("zh-hk", -1); /* Hong Kong */ in hb_ot_tag_to_language()
883 case HB_TAG('Z','H','S',' '): return hb_language_from_string ("zh-Hans", -1); /* Simplified */ in hb_ot_tag_to_language()
884 … case HB_TAG('Z','H','T',' '): return hb_language_from_string ("zh-Hant", -1); /* Traditional */ in hb_ot_tag_to_language()
899 return hb_language_from_string ((char *) buf, -1); in hb_ot_tag_to_language()
Dhb-common.cc293 hb_language_from_string (const char *str, int len) in hb_language_from_string() function
347 language = hb_language_from_string (setlocale (LC_CTYPE, NULL), -1); in hb_language_get_default()
Dhb-common.h141 hb_language_from_string (const char *str, int len);
/external/harfbuzz_ng/docs/reference/
Dharfbuzz-sections.txt95 hb_language_from_string
/external/harfbuzz_ng/util/
Doptions.hh200 hb_buffer_set_language (buffer, hb_language_from_string (language, -1)); in setup_buffer()
/external/harfbuzz_ng/
DNEWS289 - Fix use-after-end-of-scope in hb_language_from_string().