Home
last modified time | relevance | path

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

12345678

/PHP-8.0/ext/intl/locale/
H A Dlocale.stub.php17 public static function setDefault(string $locale) {} argument
23 public static function getPrimaryLanguage(string $locale) {} argument
29 public static function getScript(string $locale) {} argument
35 public static function getRegion(string $locale) {} argument
41 public static function getKeywords(string $locale) {} argument
47 public static function getDisplayScript(string $locale, ?string $displayLocale = null) {} argument
53 public static function getDisplayRegion(string $locale, ?string $displayLocale = null) {} argument
59 public static function getDisplayName(string $locale, ?string $displayLocale = null) {} argument
83 public static function parseLocale(string $locale) {} argument
89 public static function getAllVariants(string $locale) {} argument
[all …]
/PHP-8.0/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.phpt28 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry";
30 $locale = ut_datefmt_get_locale( $fmt , 1);
31 $res_str .= "\nAfter call to get_locale : locale= $locale";
51 Creating IntlDateFormatter with locale = de-DE
52 After call to get_locale : locale= de_DE
54 Creating IntlDateFormatter with locale = sl-IT-nedis
55 After call to get_locale : locale= sl
57 Creating IntlDateFormatter with locale = en_UK
58 After call to get_locale : locale= en
60 Creating IntlDateFormatter with locale = hi
[all …]
H A Ddateformat_format.phpt159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
176 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
178 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
180 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
191 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Dlocale_get_display_region3.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
216 locale='zh-min'
[all …]
H A Dlocale_get_display_script3.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
216 locale='zh-min'
[all …]
H A Dlocale_get_display_script4.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
216 locale='zh-min'
[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.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
197 locale='de-DE'
202 locale='en-US'
207 locale='es-419'
222 locale='zh-min'
[all …]
H A Dlocale_get_display_language2.phpt78 $res_str .= "locale='$locale'\n";
102 locale='root'
112 locale='Hindi'
117 locale='de'
122 locale='fr'
127 locale='ja'
197 locale='de-DE'
202 locale='en-US'
207 locale='es-419'
222 locale='zh-min'
[all …]
H A Dlocale_get_display_region2.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
216 locale='zh-min'
[all …]
H A Ddateformat_format_variant2.phpt159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
176 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
178 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
180 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
191 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Ddateformat_format_variant3.phpt161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
163 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
165 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
167 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
180 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
182 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
191 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
193 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
[all …]
H A Ddateformat_format_parse.phpt147 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
150 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
153 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
167 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
189 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.phpt147 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
150 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
153 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
167 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
178 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
181 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
189 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Dlocale_get_display_name5.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.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 …]
/PHP-8.0/ext/standard/tests/strings/
H A Dsetlocale_variation3.phpt9 die('skip en_US.utf8 locale not available');
14 /* If locale is "0", the locale setting is not affected, only the current setting is returned */
20 //initially giving the locale
23 echo "Locale info, before setting the locale\n";
29 //Testing setlocale() by giving locale = 0
30 echo "Setting system locale, category = LC_ALL and locale = 0\n";
39 echo "Checking locale in the system, Expected : no change in the existing locale\n";
51 Locale info, before setting the locale
100 Setting system locale, category = LC_ALL and locale = 0
101 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation5.phpt16 /* If locale is empty string "", the locale names will be set from the values of environment variab…
20 //initially setting the locale
23 echo "Locale info, before setting the locale\n";
30 //Testing setlocale() by giving locale = null
31 echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
34 echo "Locale info, after setting the locale\n";
41 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
53 Locale info, before setting the locale
102 Setting system locale, category = LC_ALL and locale = ""
103 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation4.phpt16 /*If locale is NULL, the locale names will be set from the values of environment variables with the…
20 //initially setting the locale
23 echo "Locale info, before setting the locale\n";
28 //Testing setlocale() by giving locale = null
29 echo "Setting system locale, category = LC_ALL and locale = null\n";
32 echo "Locale info, after setting the locale\n";
37 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
49 Locale info, before setting the locale
98 Setting system locale, category = LC_ALL and locale = null
99 Locale info, after setting the locale
[all …]
H A Dsetlocale_basic1.phpt14 /* test setlocale by specifying a specific locale as input */
21 system('locale -a');
31 // return all the locale found in the system
36 Check the currency settings in the new locale */
70 // set the system locale to a locale, choose the right locale by
71 // finding a common locale in commonly used locale stored in
74 echo "Setting system locale(LC_ALL) to ";
79 // set the found locale as current locale
90 // check that new locale setting is effective
91 // 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.0/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 51 milliseconds

12345678