/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | LocaleMatcher.java | 349 private final Locale[] supportedLocales; field in LocaleMatcher 368 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder 400 supportedLocales = new ArrayList<>(locales); in setSupportedULocales() 414 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales() 416 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales() 430 if (supportedLocales == null) { in addSupportedULocale() 431 supportedLocales = new ArrayList<>(); in addSupportedULocale() 433 supportedLocales.add(locale); in addSupportedULocale() 550 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString() 551 s.append(" supported={").append(supportedLocales).append('}'); in toString() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | LocaleMatcher.java | 344 private final Locale[] supportedLocales; field in LocaleMatcher 362 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder 397 supportedLocales = new ArrayList<>(locales); in setSupportedULocales() 411 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales() 413 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales() 427 if (supportedLocales == null) { in addSupportedULocale() 428 supportedLocales = new ArrayList<>(); in addSupportedULocale() 430 supportedLocales.add(locale); in addSupportedULocale() 625 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString() 626 s.append(" supported={").append(supportedLocales).append('}'); in toString() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | localematcher.cpp | 365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher() 390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher() 396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher() 401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher() 404 supportedLocales[i] = locale.clone(); in LocaleMatcher() 405 if (supportedLocales[i] == nullptr) { in LocaleMatcher() 409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher() 439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher() 511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher() 518 src.supportedLocales = nullptr; in LocaleMatcher() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | localematcher.cpp | 365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher() 390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher() 396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher() 401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher() 404 supportedLocales[i] = locale.clone(); in LocaleMatcher() 405 if (supportedLocales[i] == nullptr) { in LocaleMatcher() 409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher() 439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher() 511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher() 518 src.supportedLocales = nullptr; in LocaleMatcher() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | localematcher.cpp | 365 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher() 390 supportedLocales = static_cast<const Locale **>( in LocaleMatcher() 396 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher() 401 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher() 404 supportedLocales[i] = locale.clone(); in LocaleMatcher() 405 if (supportedLocales[i] == nullptr) { in LocaleMatcher() 409 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher() 439 const Locale &locale = *supportedLocales[i]; in LocaleMatcher() 511 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher() 518 src.supportedLocales = nullptr; in LocaleMatcher() [all …]
|
/third_party/flutter/flutter/packages/flutter_localizations/test/ |
D | override_test.dart | 57 Iterable<Locale> supportedLocales = const <Locale>[ 65 supportedLocales: supportedLocales, 110 supportedLocales: <Locale>[locale], 179 supportedLocales: const <Locale>[ 210 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale, 243 // supportedLocales not specified, so all locales resolve to 'en' 272 supportedLocales: <Locale>[
|
D | widgets_test.dart | 146 List<Locale> supportedLocales = const <Locale>[ 156 supportedLocales: supportedLocales, 487 supportedLocales: const <Locale>[ 510 localeResolutionCallback: (Locale newLocale, Iterable<Locale> supportedLocales) { 528 testWidgets('supportedLocales and defaultLocaleChangeHandler', (WidgetTester tester) async { 531 supportedLocales: const <Locale>[ 565 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale, 605 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale, 646 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale, 683 localeResolutionCallback: (Locale locale, Iterable<Locale> supportedLocales) => locale, [all …]
|
D | basics_test.dart | 34 supportedLocales: const <Locale>[ 58 supportedLocales: const <Locale>[
|
D | text_test.dart | 29 supportedLocales: const <Locale>[ 115 supportedLocales: const <Locale>[
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | app.dart | 37 /// received the locale information from the platform. The [supportedLocales] parameter 38 /// is just the value of [WidgetsApp.supportedLocales]. 45 …eListResolutionCallback = Locale Function(List<Locale> locales, Iterable<Locale> supportedLocales); 64 /// information from the platform. The [supportedLocales] parameter is just the value of 65 /// [WidgetsApp.supportedLocales]. 71 typedef LocaleResolutionCallback = Locale Function(Locale locale, Iterable<Locale> supportedLocales… 137 /// The `supportedLocales` argument must be a list of one or more elements. 138 /// By default supportedLocales is `[const Locale('en', 'US')]`. 158 this.supportedLocales = const <Locale>[Locale('en', 'US')], 216 assert(supportedLocales != null && supportedLocales.isNotEmpty), [all …]
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | localized_fonts_test.dart | 18 supportedLocales: const <Locale>[ 65 supportedLocales: const <Locale>[ 119 supportedLocales: const <Locale>[
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | app_title_test.dart | 14 supportedLocales: const <Locale>[ 53 // Not a supported locale, so we switch to supportedLocales[0], en_US
|
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/ |
D | app.dart | 87 this.supportedLocales = const <Locale>[Locale('en', 'US')], 169 /// {@macro flutter.widgets.widgetsApp.supportedLocales} 172 final Iterable<Locale> supportedLocales; 293 supportedLocales: widget.supportedLocales,
|
/third_party/flutter/flutter/packages/flutter_localizations/test/material/ |
D | date_time_test.dart | 33 supportedLocales: <Locale>[locale], 79 supportedLocales: <Locale>[locale], 123 supportedLocales: <Locale>[locale],
|
D | date_picker_test.dart | 101 supportedLocales: const <Locale>[ 146 supportedLocales: const <Locale>[ 184 supportedLocales: const <Locale>[
|
D | time_picker_test.dart | 20 supportedLocales: <Locale>[locale],
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | app.dart | 185 this.supportedLocales = const <Locale>[Locale('en', 'US')], 325 /// and list the [supportedLocales] that the application can handle. 335 /// supportedLocales: [ 406 /// * [supportedLocales], which must be specified along with 424 /// {@macro flutter.widgets.widgetsApp.supportedLocales} 436 final Iterable<Locale> supportedLocales; 614 supportedLocales: widget.supportedLocales,
|
/third_party/flutter/flutter/dev/tools/localization/ |
D | gen_date_localizations.dart | 167 final Set<String> supportedLocales = <String>{}; 173 supportedLocales.add(filenameRE.firstMatch(filePath)[1]); 175 return supportedLocales;
|
D | gen_localizations.dart | 83 final StringBuffer supportedLocales = StringBuffer(); 219 supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)}'); 221 …supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus $scriptCo… 224 …supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus one count… 226 …supportedLocales.writeln('/// * `$languageName` - ${describeLocale(languageName)} (plus $countryC… 259 $supportedLocales/// {@endtemplate}
|
/third_party/flutter/flutter/packages/flutter_localizations/lib/src/ |
D | cupertino_localizations.dart | 35 /// app supports with [CupertinoApp.supportedLocales]: 40 /// supportedLocales: [ 367 /// app supports with [CupertinoApp.supportedLocales]: 372 /// supportedLocales: [
|
D | material_localizations.dart | 33 /// app supports with [MaterialApp.supportedLocales]: 38 /// supportedLocales: [ 521 /// app supports with [MaterialApp.supportedLocales]: 526 /// supportedLocales: [
|
/third_party/flutter/flutter/examples/stocks/lib/ |
D | main.dart | 116 supportedLocales: const <Locale>[
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | localematcher.h | 697 const Locale ** supportedLocales; variable
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | localematcher.h | 691 const Locale ** supportedLocales; variable
|
/third_party/icu/icu4c/source/common/unicode/ |
D | localematcher.h | 697 const Locale ** supportedLocales; variable
|