Home
last modified time | relevance | path

Searched refs:locale (Results 26 – 50 of 190) sorted by relevance

12345678

/php-src/ext/intl/tests/
H A Dlocale_get_display_name3.phpt89 $res_str .= "locale='$locale'\n";
139 locale='zh-wuu'
144 locale='i-tay'
169 locale='root'
179 locale='Hindi'
184 locale='de'
189 locale='fr'
194 locale='ja'
259 locale='de-DE'
264 locale='en-US'
[all …]
H A Dlocale_get_display_name4.phpt90 $res_str .= "locale='$locale'\n";
140 locale='zh-wuu'
145 locale='i-tay'
170 locale='root'
180 locale='Hindi'
185 locale='de'
190 locale='fr'
195 locale='ja'
260 locale='de-DE'
265 locale='en-US'
[all …]
H A Dlocale_get_display_name5.phpt90 $res_str .= "locale='$locale'\n";
140 locale='zh-wuu'
145 locale='i-tay'
170 locale='root'
180 locale='Hindi'
185 locale='de'
190 locale='fr'
195 locale='ja'
260 locale='de-DE'
265 locale='en-US'
[all …]
H A Dlocale_get_display_name2.phpt89 $res_str .= "locale='$locale'\n";
139 locale='zh-wuu'
144 locale='i-tay'
169 locale='root'
179 locale='Hindi'
184 locale='de'
189 locale='fr'
194 locale='ja'
259 locale='de-DE'
264 locale='en-US'
[all …]
H A Dlocale_get_display_name6.phpt90 $res_str .= "locale='$locale'\n";
140 locale='zh-wuu'
145 locale='i-tay'
170 locale='root'
180 locale='Hindi'
185 locale='de'
190 locale='fr'
195 locale='ja'
260 locale='de-DE'
265 locale='en-US'
[all …]
H A Dlocale_get_display_name7.phpt90 $res_str .= "locale='$locale'\n";
140 locale='zh-wuu'
145 locale='i-tay'
170 locale='root'
180 locale='Hindi'
185 locale='de'
190 locale='fr'
195 locale='ja'
260 locale='de-DE'
265 locale='en-US'
[all …]
H A Dlocale_get_display_name8.phpt89 $res_str .= "locale='$locale'\n";
139 locale='zh-wuu'
144 locale='i-tay'
169 locale='root'
179 locale='Hindi'
184 locale='de'
189 locale='fr'
194 locale='ja'
259 locale='de-DE'
264 locale='en-US'
[all …]
H A Dlocale_get_default.phpt20 $res_str .= "Default locale: $lang";
25 $res_str .= "Default locale: $lang";
30 $res_str .= "Default locale: $lang";
44 Default locale: en-US
45 Default locale: de-DE
46 Default locale: fr
H A Dcollator_create4.phpt29 foreach( $locales as $locale )
31 // Create Collator with the current locale.
32 $coll = ut_coll_create( $locale );
35 $res_str .= "Error creating collator with '$locale' locale: " .
45 $res_str .= "Locale: '$locale'\n" .
46 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
67 Error creating collator with 'uk-ua_CALIFORNIA@currency=;currency=GRN' locale: collator_create: una…
80 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dcollator_create2.phpt29 foreach( $locales as $locale )
31 // Create Collator with the current locale.
32 $coll = ut_coll_create( $locale );
35 $res_str .= "Error creating collator with '$locale' locale: " .
45 $res_str .= "Locale: '$locale'\n" .
46 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
83 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dcollator_create3.phpt30 foreach( $locales as $locale )
32 // Create Collator with the current locale.
33 $coll = ut_coll_create( $locale );
36 $res_str .= "Error creating collator with '$locale' locale: " .
46 $res_str .= "Locale: '$locale'\n" .
47 " ULOC_REQUESTED_LOCALE = '$locale'\n" .
84 …72931333537394143454749515357596163656769717375777981838587899193959799' locale: Locale string too…
H A Dmsgfmt_get_locale.phpt9 * Get locale.
22 foreach( $locales as $locale )
24 $fmt = ut_msgfmt_create( $locale, "Test" );
25 $res_str .= "$locale: " . dump( ut_msgfmt_get_locale( $fmt ) );
H A Dcollator_get_locale2.phpt11 * Try to specify valid and invalid locale types when getting locale.
28 foreach( $locales as $locale )
30 $rc = ut_coll_get_locale( $coll, $locale );
34 dump( $locale ),
H A Dformatter_get_locale_variant4.phpt11 * Get locale.
29 foreach( $locales as $locale )
31 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
32 $res_str .= "$locale: ";
H A Dformatter_get_locale.phpt11 * Get locale.
29 foreach( $locales as $locale )
31 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
32 $res_str .= "$locale: ";
H A Dformatter_get_locale_variant2.phpt12 * Get locale.
30 foreach( $locales as $locale )
32 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
33 $res_str .= "$locale: ";
H A Dformatter_get_locale_variant3.phpt12 * Get locale.
30 foreach( $locales as $locale )
32 $fmt = ut_nfmt_create( $locale, NumberFormatter::DECIMAL );
33 $res_str .= "$locale: ";
H A Dmsgfmt_parse.phpt36 foreach( $locales as $locale => $pattern )
38 $str_res .= "\nLocale is: $locale\n";
39 $fmt = ut_msgfmt_create( $locale, $pattern );
44 $str_res .= dump( ut_msgfmt_parse( $fmt, $results[$locale] ) ) . "\n";
45 $str_res .= dump( ut_msgfmt_parse_message($locale, $pattern, $results[$locale])) . "\n";
/php-src/ext/intl/tests/locale/
H A Dbug74993.phpt25 Parameter #0 [ <required> string $locale ]
33 Parameter #0 [ <required> string $locale ]
41 Parameter #0 [ <required> string $locale ]
49 Parameter #0 [ <required> string $locale ]
57 Parameter #0 [ <required> string $locale ]
66 Parameter #1 [ <required> string $locale ]
75 Parameter #1 [ <required> string $locale ]
/php-src/ext/intl/msgformat/
H A Dmsgformat.stub.php8 public function __construct(string $locale, string $pattern) {} argument
14 public static function create(string $locale, string $pattern): ?MessageFormatter {} argument
26 …public static function formatMessage(string $locale, string $pattern, array $values): string|false… argument
40 …public static function parseMessage(string $locale, string $pattern, string $message): array|false… argument
/php-src/ext/standard/tests/strings/
H A Dsetlocale_error.phpt16 echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
25 echo "\n-- Testing setlocale() function with locale name too long, 'category' = LC_ALL --";
26 //Invalid locale - locale name too long
34 -- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
40 -- Testing setlocale() function with locale name too long, 'category' = LC_ALL --
41 Warning: setlocale(): Specified locale name is too long in %s on line %d
H A Dsetlocale_basic2.phpt2 Test setlocale() function : basic functionality - set locale using an array
21 // run the command 'locale -a' to fetch all locales available in the system
22 system('locale -a');
32 // return all the locale found in the system
74 // given as input to setlocale(), later verify the new locale setting by
87 // set locale to $list_of_locales
90 // dump the current locale
93 // check that new locale setting is effective
94 // use localeconv() to get the details of currently set locale
114 -- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --
[all …]
H A Dbug65769.phpt17 foreach ($locales as $locale) {
18 $locale = setlocale(LC_ALL, $locale);
21 $locale,
29 if ($locale === 'Swedish_Sweden.1252') {
/php-src/ext/intl/formatter/
H A Dformatter_main.c29 char* locale; in numfmt_ctor() local
38 Z_PARAM_STRING(locale, locale_len) in numfmt_ctor()
64 locale = (char *)intl_locale_get_default(); in numfmt_ctor()
67 if (strlen(uloc_getISO3Language(locale)) == 0) { in numfmt_ctor()
68 zend_argument_value_error(1, "\"%s\" is invalid", locale); in numfmt_ctor()
73 …FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CO… in numfmt_ctor()
/php-src/ext/intl/collator/
H A Dcollator_create.c27 char* locale; in collator_ctor() local
35 Z_PARAM_STRING(locale, locale_len) in collator_ctor()
47 locale = (char *)intl_locale_get_default(); in collator_ctor()
51 co->ucoll = ucol_open( locale, COLLATOR_ERROR_CODE_P( co ) ); in collator_ctor()

Completed in 43 milliseconds

12345678