Home
last modified time | relevance | path

Searched refs:langids (Results 1 – 25 of 42) sorted by relevance

12

/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/unic-langid/tests/
H A Dlangid.rs3 use unic_langid::{langid, langids};
21 let langids = langids!["en-US", "pl", "de-AT", "Pl-Latn-PL"]; in langids_macro_test() localVariable
22 assert_eq!(langids.len(), 4); in langids_macro_test()
23 assert_eq!(langids.get(3).unwrap().language(), "pl"); in langids_macro_test()
30 let mut langids: Vec<LanguageIdentifier> = input.iter().map(|l| l.parse().unwrap()).collect(); in langid_ord() localVariable
33 langids in langid_ord()
43 langids.sort(); in langid_ord()
46 langids in langid_ord()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/unic-langid-impl/benches/
H A Dlangid.rs28 let langids: Vec<LanguageIdentifier> = STRINGS in language_identifier_construct_bench() localVariable
49 Fun::new("from_parts", |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
51 langids in language_identifier_construct_bench()
77 |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
78 let entries = langids in language_identifier_construct_bench()
100 c.bench_functions("language_identifier_construct", funcs, langids); in language_identifier_construct_bench()
H A Dlikely_subtags.rs54 let langids: Vec<LanguageIdentifier> = STRINGS in maximize_bench() localVariable
58 for mut s in langids { in maximize_bench()
/dports/devel/py-pyusb/pyusb-1.0.2/usb/
H A Dutil.py311 langids = dev.langids
313 if 0 == len(langids):
316 langid = langids[0]
317 elif langid not in langids:
/dports/www/firefox/firefox-99.0/third_party/rust/unic-langid-impl/benches/
H A Dlangid.rs35 let langids: Vec<LanguageIdentifier> = STRINGS in language_identifier_construct_bench() localVariable
56 Fun::new("from_parts", |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
62 )> = langids in language_identifier_construct_bench()
80 c.bench_functions("language_identifier_construct", funcs, langids); in language_identifier_construct_bench()
H A Dlikely_subtags.rs54 let langids: Vec<LanguageIdentifier> = STRINGS in maximize_bench() localVariable
58 for mut s in langids { in maximize_bench()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/unic-langid-impl/benches/
H A Dlangid.rs35 let langids: Vec<LanguageIdentifier> = STRINGS in language_identifier_construct_bench() localVariable
56 Fun::new("from_parts", |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
62 )> = langids in language_identifier_construct_bench()
80 c.bench_functions("language_identifier_construct", funcs, langids); in language_identifier_construct_bench()
H A Dlikely_subtags.rs54 let langids: Vec<LanguageIdentifier> = STRINGS in maximize_bench() localVariable
58 for mut s in langids { in maximize_bench()
/dports/www/zola/zola-0.15.2/cargo-crates/unic-langid-impl-0.9.0/benches/
H A Dlangid.rs35 let langids: Vec<LanguageIdentifier> = STRINGS in language_identifier_construct_bench() localVariable
56 Fun::new("from_parts", |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
62 )> = langids in language_identifier_construct_bench()
80 c.bench_functions("language_identifier_construct", funcs, langids); in language_identifier_construct_bench()
H A Dlikely_subtags.rs54 let langids: Vec<LanguageIdentifier> = STRINGS in maximize_bench() localVariable
58 for mut s in langids { in maximize_bench()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/unic-langid-impl/benches/
H A Dlangid.rs35 let langids: Vec<LanguageIdentifier> = STRINGS in language_identifier_construct_bench() localVariable
56 Fun::new("from_parts", |b, langids: &Vec<LanguageIdentifier>| { in language_identifier_construct_bench()
62 )> = langids in language_identifier_construct_bench()
80 c.bench_functions("language_identifier_construct", funcs, langids); in language_identifier_construct_bench()
H A Dlikely_subtags.rs54 let langids: Vec<LanguageIdentifier> = STRINGS in maximize_bench() localVariable
58 for mut s in langids { in maximize_bench()
/dports/emulators/vice/vice-3.5/src/arch/shared/
H A Darchdep_kbd_get_host_mapping.c66 static const int langids[KBD_MAPPING_NUM] = { in archdep_kbd_get_host_mapping() local
86 if (lang == langids[n]) { in archdep_kbd_get_host_mapping()
93 if (lang == (langids[n] & 0x3ff)) { in archdep_kbd_get_host_mapping()
/dports/www/firefox-esr/firefox-91.8.0/intl/l10n/rust/fluent-ffi/src/
H A Dbundle.rs72 let mut langids = Vec::with_capacity(locale_count); in fluent_bundle_new() localVariable
79 langids.push(id); in fluent_bundle_new()
83 &langids, in fluent_bundle_new()
90 langids: &[LanguageIdentifier], in fluent_bundle_new_internal()
94 let mut bundle = FluentBundle::new(langids.to_vec()); in fluent_bundle_new_internal()
/dports/mail/thunderbird/thunderbird-91.8.0/intl/l10n/rust/fluent-ffi/src/
H A Dbundle.rs72 let mut langids = Vec::with_capacity(locale_count); in fluent_bundle_new() localVariable
79 langids.push(id); in fluent_bundle_new()
83 &langids, in fluent_bundle_new()
90 langids: &[LanguageIdentifier], in fluent_bundle_new_internal()
94 let mut bundle = FluentBundle::new(langids.to_vec()); in fluent_bundle_new_internal()
/dports/lang/spidermonkey78/firefox-78.9.0/intl/l10n/rust/fluent-ffi/src/
H A Dbundle.rs97 let mut langids = Vec::with_capacity(locale_count); in fluent_bundle_new() localVariable
104 langids.push(id); in fluent_bundle_new()
108 &langids, in fluent_bundle_new()
115 langids: &[LanguageIdentifier], in fluent_bundle_new_internal()
119 let mut bundle = FluentBundle::new(langids.iter()); in fluent_bundle_new_internal()
/dports/www/firefox/firefox-99.0/intl/l10n/rust/fluent-ffi/src/
H A Dbundle.rs183 let mut langids = Vec::with_capacity(locale_count); in fluent_bundle_new() localVariable
190 langids.push(id); in fluent_bundle_new()
194 &langids, in fluent_bundle_new()
201 langids: &[LanguageIdentifier], in fluent_bundle_new_internal()
205 let mut bundle = FluentBundle::new(langids.to_vec()); in fluent_bundle_new_internal()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/unic-langid-impl/tests/
H A Dlanguage_identifier_test.rs170 let mut langids = input in test_langid_ord() localVariable
175 langids.sort(); in test_langid_ord()
177 let result = langids.iter().map(|l| l.to_string()).collect::<Vec<_>>(); in test_langid_ord()
/dports/www/limesurvey/limesurvey/application/controllers/admin/
H A Dlabels.php188 $langids = $arLabelSet->languages;
197 $langids = Yii::app()->session['adminlang'];
203 $langidsarray = explode(" ", trim($langids)); // Make an array of it
211 $aData['langids'] = $langids;
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/sdl/
H A Darchdep_win32.c518 int langids[KBD_MAPPING_NUM] = { in kbd_arch_get_host_mapping() local
536 if (lang == langids[n]) { in kbd_arch_get_host_mapping()
543 if (lang == (langids[n] & 0x3ff)) { in kbd_arch_get_host_mapping()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/unic-langid/src/
H A Dlib.rs96 macro_rules! langids { macro
/dports/www/firefox/firefox-99.0/third_party/rust/unic-langid/src/
H A Dlib.rs113 macro_rules! langids { macro
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/unic-langid/src/
H A Dlib.rs113 macro_rules! langids { macro
/dports/www/zola/zola-0.15.2/cargo-crates/unic-langid-0.9.0/src/
H A Dlib.rs113 macro_rules! langids {
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/unic-langid/src/
H A Dlib.rs113 macro_rules! langids { macro

12