Home
last modified time | relevance | path

Searched refs:lang_str (Results 1 – 2 of 2) sorted by relevance

/external/harfbuzz_ng/src/
Dhb-ot-tag-table.hh1073 hb_ot_tags_from_complex_language (const char *lang_str, in hb_ot_tags_from_complex_language() argument
1078 if (subtag_matches (lang_str, limit, "-fonnapa")) in hb_ot_tags_from_complex_language()
1085 if (subtag_matches (lang_str, limit, "-polyton")) in hb_ot_tags_from_complex_language()
1092 if (subtag_matches (lang_str, limit, "-provenc")) in hb_ot_tags_from_complex_language()
1099 if (subtag_matches (lang_str, limit, "-fonipa")) in hb_ot_tags_from_complex_language()
1106 if (subtag_matches (lang_str, limit, "-geok")) in hb_ot_tags_from_complex_language()
1113 if (subtag_matches (lang_str, limit, "-syre")) in hb_ot_tags_from_complex_language()
1120 if (subtag_matches (lang_str, limit, "-syrj")) in hb_ot_tags_from_complex_language()
1127 if (subtag_matches (lang_str, limit, "-syrn")) in hb_ot_tags_from_complex_language()
1134 switch (lang_str[0]) in hb_ot_tags_from_complex_language()
[all …]
Dhb-ot-tag.cc193 subtag_matches (const char *lang_str, in subtag_matches() argument
198 const char *s = strstr (lang_str, subtag); in subtag_matches()
203 lang_str = s + strlen (subtag); in subtag_matches()
208 lang_matches (const char *lang_str, const char *spec) in lang_matches() argument
212 return strncmp (lang_str, spec, len) == 0 && in lang_matches()
213 (lang_str[len] == '\0' || lang_str[len] == '-'); in lang_matches()
243 hb_ot_tags_from_language (const char *lang_str, in hb_ot_tags_from_language() argument
251 if (hb_ot_tags_from_complex_language (lang_str, limit, count, tags)) in hb_ot_tags_from_language()
255 s = strchr (lang_str, '-'); in hb_ot_tags_from_language()
258 if (s && limit - lang_str >= 6) in hb_ot_tags_from_language()
[all …]