Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/
DTestLanguagesForFonts.java22 Set<String> langs = fontLanguages.get(FontLoader.getFont(fontFile)); in main() local
23 if (langs.isEmpty()) { in main()
24 langs.add("en"); in main()
26 for (String lang : langs) { in main()
35 List<String> langs = new ArrayList<String>(); in availableLangs() local
42 langs.add(lang); in availableLangs()
44 return langs; in availableLangs()
DFontLanguages.java659 Set<String> langs = scriptLangMap.get(scriptTag); in addLangScriptMap() local
660 langs.add(lang); in addLangScriptMap()
664 Set<String> langs = new HashSet<String>(); in get() local
667 return langs; in get()
674 langs.addAll(scriptLangMap.get(script)); in get()
679 return langs; in get()
/third_party/python/Doc/includes/sqlite3/
Dshortcut_methods.py3 langs = [ variable
14 con.executemany("insert into lang(name, first_appeared) values (?, ?)", langs)
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dmklicensestables.c48 static GList *langs; /* NULL */ variable
262 if (!g_list_find_custom (langs, cur_lang, (GCompareFunc) strcmp)) in parse_start()
263 langs = g_list_prepend (langs, (gpointer) license->cur_lang); in parse_start()
273 if (!g_list_find_custom (langs, cur_lang, (GCompareFunc) strcmp)) in parse_start()
274 langs = g_list_prepend (langs, (gpointer) license->cur_lang); in parse_start()
605 for (l = langs; l != NULL; l = l->next) { in create_translation_dict()
640 langs = g_list_sort (langs, (GCompareFunc) strcmp); in write_translations_dictionary()
/third_party/libphonenumber/cpp/src/phonenumbers/geocoding/
Dmapping_file_provider.cc111 const CountryLanguages* const langs = in GetFileName() local
113 if (langs->available_languages_size > 0) { in GetFileName()
115 FindBestMatchingLanguageCode(langs, language, script, region, in GetFileName()
/third_party/skia/src/ports/skia_ohos/
DSkFontMgr_ohos.cpp201 int ret = compareLangs(fallbackSet[i]->langs, bcp47, bcp47Count, tps); in findTypeface()
239 int SkFontMgr_OHOS::compareLangs(const SkString& langs, const char* bcp47[], in compareLangs() argument
252 if (langs.find(bcp47[i]) != -1) { in compareLangs()
262 if (langs.find(iso15924) != -1 || in compareLangs()
263 (strncmp(bcp47[i], "und", strlen("und")) && langs.find(country.c_str()) != -1)) { in compareLangs()
DSkFontMgr_ohos.h56 …int compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) cons…
DFontConfig_ohos.h98 SkString langs; // the language for which the font style set is member
DFontConfig_ohos.cpp766 fallback->langs = lang; in parseFallbackItem()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-common.cc281 static hb_atomic_ptr_t <hb_language_item_t> langs; variable
287 hb_language_item_t *first_lang = langs; in free_langs()
288 if (unlikely (!langs.cmpexch (first_lang, nullptr))) in free_langs()
303 hb_language_item_t *first_lang = langs; in lang_find_or_insert()
321 if (unlikely (!langs.cmpexch (first_lang, lang))) in lang_find_or_insert()
/third_party/python/Doc/tutorial/
Dwhatnow.rst46 * https://code.activestate.com/recipes/langs/python/: The Python Cookbook is a
/third_party/typescript/scripts/
DgenerateLocalizedDiagnosticMessages.mjs20 // generate other langs
/third_party/ffmpeg/libavformat/
Dasfdec_o.c89 char langs[32]; member
915 if ((ret = get_asf_string(pb, len, asf->asf_sd[i].langs, in asf_read_language_list()
916 sizeof(asf->asf_sd[i].langs))) < 0) { in asf_read_language_list()
1752 const char *rfc1766 = asf->asf_sd[asf->asf_st[i]->lang_idx].langs; in asf_read_header()
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Dresindvdsrc.c354 const gchar *const *langs, *const *cur; in rsn_dvdsrc_start() local
378 langs = g_get_language_names (); in rsn_dvdsrc_start()
380 for (cur = langs; *cur != NULL; cur++) { in rsn_dvdsrc_start()
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt6029 langs
/third_party/chromium/patch/
D0003-ohos-1115.patch81850 + fallback->langs = lang;
82461 + SkString langs; // the language for which the font style set is
82958 + int ret = compareLangs(fallbackSet[i]->langs, bcp47, bcp47Count, tps);
82989 + * \param langs the supported languages by an typeface
82996 +int SkFontMgr_OHOS::compareLangs(const SkString& langs, const char* bcp47[],
83009 + if (langs.find(bcp47[i]) != -1) {
83019 + if (langs.find(iso15924) != -1 ||
83020 + (strncmp(bcp47[i], "und", strlen("und")) && langs.find(country.c_str()) != -1)) {
83290 + int compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) …