Home
last modified time | relevance | path

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

12

/third_party/flutter/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/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/flutter/skia/third_party/externals/wuffs/cmd/wuffs/
Dtest.go47 langs, err := parseLangs(*langsFlag)
92 langs: langs,
101 langs: langs,
119 if err := genrelease(wuffsRoot, langs, cf.Version{}); err != nil {
153 langs []string member
191 for _, lang := range h.langs {
Dgen.go61 langs, err := parseLangs(*langsFlag)
80 langs: langs,
104 return genrelease(wuffsRoot, langs, v)
109 langs []string member
183 for _, lang := range h.langs {
213 if len(h.langs) > 0 && packageName != "base" {
319 for _, lang := range h.langs {
Drelease.go27 func genrelease(wuffsRoot string, langs []string, v cf.Version) error {
32 for _, lang := range langs {
/third_party/flutter/engine/flutter/third_party/txt/tests/
DFontLanguageListCacheTest.cpp64 const FontLanguages& langs = in TEST_F() local
66 ASSERT_EQ(1UL, langs.size()); in TEST_F()
67 EXPECT_EQ(english, langs[0]); in TEST_F()
DFontFamilyTest.cpp336 const FontLanguages& langs = createFontLanguages("en,en-Latn"); in TEST_F() local
337 EXPECT_EQ(1u, langs.size()); in TEST_F()
338 EXPECT_EQ(english, langs[0]); in TEST_F()
/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/flutter/engine/flutter/third_party/txt/src/minikin/
DFontCollection.cpp50 const FontLanguages& langs = FontLanguageListCache::getById(langListId); in GetFontLocale() local
51 return langs.size() ? langs[0].getString() : ""; in GetFontLocale()
218 const FontLanguages& langs = in calcCoverageScore() local
221 for (size_t i = 0; i < langs.size(); ++i) { in calcCoverageScore()
222 if (langs[i].getEmojiStyle() == FontLanguage::EMSTYLE_EMOJI) { in calcCoverageScore()
/third_party/libxml2/include/libxml/
Dxlink.h119 const xmlChar **langs);
142 const xmlChar **langs);
/third_party/gettext/gnulib-local/lib/libxml/
Dxlink.in.h148 const xmlChar **langs);
171 const xmlChar **langs);
/third_party/flutter/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.h57 …int compareLangs(const SkString& langs, const char* bcp47[], int bcp47Count, const int tps[]) cons…
DFontConfig_ohos.h93 SkString langs; // the language for which the font style set is member
/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/harfbuzz/src/
Dhb-common.cc283 static hb_atomic_ptr_t <hb_language_item_t> langs; variable
290 hb_language_item_t *first_lang = langs; in free_langs()
291 if (unlikely (!langs.cmpexch (first_lang, nullptr))) in free_langs()
307 hb_language_item_t *first_lang = langs; in lang_find_or_insert()
325 if (unlikely (!langs.cmpexch (first_lang, lang))) in lang_find_or_insert()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-common.cc276 static hb_atomic_ptr_t <hb_language_item_t> langs; variable
283 hb_language_item_t *first_lang = langs; in free_langs()
284 if (unlikely (!langs.cmpexch (first_lang, nullptr))) in free_langs()
300 hb_language_item_t *first_lang = langs; in lang_find_or_insert()
318 if (unlikely (!langs.cmpexch (first_lang, lang))) in lang_find_or_insert()
/third_party/libxml2/os400/libxmlrpg/
Dxlink.rpgle102 * @langs: array of xml:lang values for the titles
118 * @langs: array of xml:lang values for the titles
/third_party/libsoup/libsoup/
Dsoup-session.c432 GPtrArray *langs = NULL; in accept_languages_from_system() local
441 langs = g_ptr_array_new_with_free_func (g_free); in accept_languages_from_system()
445 g_ptr_array_add (langs, lang); in accept_languages_from_system()
449 if (langs->len < 10) in accept_languages_from_system()
451 else if (langs->len < 20) in accept_languages_from_system()
456 for (i = 0; i < langs->len; i++) { in accept_languages_from_system()
457 lang = langs->pdata[i]; in accept_languages_from_system()
458 langs->pdata[i] = add_quality_value (lang, 100 - i * delta); in accept_languages_from_system()
463 if (langs->len == 0) in accept_languages_from_system()
464 g_ptr_array_add (langs, g_strdup ("en")); in accept_languages_from_system()
[all …]
/third_party/python/Doc/tutorial/
Dwhatnow.rst46 * https://code.activestate.com/recipes/langs/python/: The Python Cookbook is a
/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()

12