Home
last modified time | relevance | path

Searched refs:locale (Results 1 – 25 of 191) sorted by relevance

12345678

/PHP-8.2/ext/intl/tests/
H A Dlocale_set_default.phpt2 locale_set_default($locale)
81 $res_str .= "$locale: set locale '$lang'";
84 $res_str .= "$locale: Error in set locale";
99 root: set locale 'root'
101 Hindi: set locale 'Hindi'
102 de: set locale 'de'
103 fr: set locale 'fr'
104 ja: set locale 'ja'
117 de-DE: set locale 'de-DE'
118 en-US: set locale 'en-US'
[all …]
H A Ddateformat_get_locale.phpt29 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry";
31 $locale = ut_datefmt_get_locale( $fmt , 1);
32 $res_str .= "\nAfter call to get_locale : locale= $locale";
52 Creating IntlDateFormatter with locale = de-DE
53 After call to get_locale : locale= de_DE
55 Creating IntlDateFormatter with locale = sl-IT-nedis
56 After call to get_locale : locale= sl
58 Creating IntlDateFormatter with locale = en_UK
59 After call to get_locale : locale= en
61 Creating IntlDateFormatter with locale = hi
[all …]
H A Dlocale_get_display_language3.phpt70 $res_str .= "locale='$locale'\n";
104 locale='i-ami'
109 locale='i-bnn'
124 locale='i-hak'
134 locale='i-lux'
149 locale='i-pwn'
154 locale='i-tao'
159 locale='i-tay'
164 locale='i-tsu'
169 locale='no-bok'
[all …]
H A Ddateformat_format.phpt160 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
162 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
164 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
166 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
177 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
179 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
181 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
192 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Dlocale_get_display_region3.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
192 locale='de-DE'
197 locale='en-US'
202 locale='es-419'
217 locale='zh-min'
[all …]
H A Dlocale_get_display_script3.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
137 locale='zh-Hant'
192 locale='de-DE'
197 locale='en-US'
202 locale='es-419'
[all …]
H A Dlocale_get_display_script4.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
137 locale='zh-Hant'
192 locale='de-DE'
197 locale='en-US'
202 locale='es-419'
[all …]
H A Dlocale_get_display_variant2.phpt76 $res_str .= "locale='$locale'\n";
100 locale='root'
110 locale='Hindi'
115 locale='de'
120 locale='fr'
125 locale='ja'
135 locale='zh-Hant'
190 locale='de-DE'
195 locale='en-US'
200 locale='es-419'
[all …]
H A Dlocale_get_display_language.phpt79 $res_str .= "locale='$locale'\n";
103 locale='root'
113 locale='Hindi'
118 locale='de'
123 locale='fr'
128 locale='ja'
198 locale='de-DE'
203 locale='en-US'
208 locale='es-419'
223 locale='zh-min'
[all …]
H A Dlocale_get_display_language2.phpt79 $res_str .= "locale='$locale'\n";
103 locale='root'
113 locale='Hindi'
118 locale='de'
123 locale='fr'
128 locale='ja'
198 locale='de-DE'
203 locale='en-US'
208 locale='es-419'
223 locale='zh-min'
[all …]
H A Dlocale_get_display_region2.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
137 locale='zh-Hant'
192 locale='de-DE'
197 locale='en-US'
202 locale='es-419'
[all …]
H A Ddateformat_format_variant2.phpt160 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
162 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
164 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
166 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
177 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
179 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
181 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
192 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Ddateformat_format_variant3.phpt162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
166 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
168 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
183 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
192 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
194 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Ddateformat_format_parse.phpt148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
182 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Dut_common.inc46 function ut_coll_create( $locale )
48 return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale );
237 return $GLOBALS['oo-mode'] ? Locale::setDefault( $locale ) : locale_set_default( $locale );
243 function ut_loc_get_script( $locale )
245 return $GLOBALS['oo-mode'] ? Locale::getScript( $locale ) : locale_get_script( $locale );
247 function ut_loc_get_region( $locale )
249 return $GLOBALS['oo-mode'] ? Locale::getRegion( $locale ) : locale_get_region( $locale );
253 return $GLOBALS['oo-mode'] ? Locale::getKeywords( $locale ) : locale_get_keywords( $locale );
281 return $GLOBALS['oo-mode'] ? Locale::parseLocale( $locale ) : locale_parse($locale );
285 …return $GLOBALS['oo-mode'] ? Locale::getAllVariants( $locale ) : locale_get_all_variants( $locale
[all …]
H A Ddateformat_format_parse_version2.phpt149 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
152 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
155 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
163 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
166 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
169 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
180 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
183 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
191 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat_format_parse_version_icu72-1.phpt148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
179 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
182 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
190 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
/PHP-8.2/ext/intl/locale/
H A Dlocale.stub.php65 public static function setDefault(string $locale) {} // TODO make return type void argument
71 public static function getPrimaryLanguage(string $locale): ?string{} argument
77 public static function getScript(string $locale): ?string {} argument
83 public static function getRegion(string $locale): ?string {} argument
90 public static function getKeywords(string $locale): array|false|null {} argument
96 …public static function getDisplayScript(string $locale, ?string $displayLocale = null): string|fal… argument
102 …public static function getDisplayRegion(string $locale, ?string $displayLocale = null): string|fal… argument
108 …public static function getDisplayName(string $locale, ?string $displayLocale = null): string|false… argument
132 public static function parseLocale(string $locale): ?array {} argument
138 public static function getAllVariants(string $locale): ?array {} argument
[all …]
/PHP-8.2/ext/standard/tests/strings/
H A Dsetlocale_variation3.phpt10 die('skip en_US.utf8 locale not available');
15 /* If locale is "0", the locale setting is not affected, only the current setting is returned */
21 //initially giving the locale
24 echo "Locale info, before setting the locale\n";
30 //Testing setlocale() by giving locale = 0
31 echo "Setting system locale, category = LC_ALL and locale = 0\n";
40 echo "Checking locale in the system, Expected : no change in the existing locale\n";
52 Locale info, before setting the locale
97 Setting system locale, category = LC_ALL and locale = 0
98 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation4.phpt17 /*If locale is NULL, the locale names will be set from the values of environment variables with the…
21 //initially setting the locale
24 echo "Locale info, before setting the locale\n";
29 //Testing setlocale() by giving locale = null
30 echo "Setting system locale, category = LC_ALL and locale = null\n";
33 echo "Locale info, after setting the locale\n";
38 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
50 Locale info, before setting the locale
95 Setting system locale, category = LC_ALL and locale = null
96 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation5.phpt17 /* If locale is empty string "", the locale names will be set from the values of environment variab…
21 //initially setting the locale
24 echo "Locale info, before setting the locale\n";
31 //Testing setlocale() by giving locale = null
32 echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
35 echo "Locale info, after setting the locale\n";
42 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
54 Locale info, before setting the locale
99 Setting system locale, category = LC_ALL and locale = ""
100 Locale info, after setting the locale
[all …]
H A Dsetlocale_basic1.phpt15 /* test setlocale by specifying a specific locale as input */
22 system('locale -a');
32 // return all the locale found in the system
37 Check the currency settings in the new locale */
71 // set the system locale to a locale, choose the right locale by
72 // finding a common locale in commonly used locale stored in
75 echo "Setting system locale(LC_ALL) to ";
80 // set the found locale as current locale
91 // check that new locale setting is effective
92 // use localeconv() to get the details of currently set locale
[all …]
H A Dsetlocale_variation2.phpt8 exec("locale -a", $output, $exit_code);
10 die("skip locale -a not available");
18 function good_locale($locale) {
22 return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1';
30 system('locale -a');
40 // return all the locale found in the system, except for broken one
47 //try different locale names
51 echo "-- Test setlocale() with all available locale in the system --\n";
55 //set locale to $value, if success, count increments
73 echo "Names of locale() for which setlocale() failed ...\n";
[all …]
/PHP-8.2/ext/standard/tests/file/
H A Ddirname_basic.phpt27 '/usr/lib/locale/en_US',
28 '//usr/lib//locale/en_US',
34 '/usr/lib/locale/en_US/',
36 '/usr\lib/locale\en_US',
40 ' /usr/lib/locale/en_US',
66 string(15) "/usr/lib/locale"
67 string(17) "//usr/lib//locale"
73 string(15) "/usr/lib/locale"
79 string(18) " /usr/lib/locale"
80 string(15) "/usr/lib/locale"
[all …]
H A Ddirname_basic-win32.phpt27 '/usr/lib/locale/en_US',
28 '//usr/lib//locale/en_US',
34 '/usr/lib/locale/en_US/',
36 '/usr\lib/locale\en_US',
66 string(15) "/usr/lib/locale"
67 string(17) "//usr/lib//locale"
73 string(15) "/usr/lib/locale"
75 string(15) "/usr\lib/locale"
79 string(18) " /usr/lib/locale"
80 string(15) "/usr/lib/locale"
[all …]

Completed in 35 milliseconds

12345678