Home
last modified time | relevance | path

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

123456789

/PHP-5.6/ext/intl/doc/
H A Dlocale_api.php94 public static function setDefault($locale) {} argument
113 public static function getScript($locale) {} argument
122 public static function getRegion($locale) {} argument
132 public static function getAllVariants($locale) {} argument
141 public static function getKeywords($locale) {} argument
277 function locale_set_default($locale) {} argument
296 function locale_get_script($locale) {} argument
305 function locale_get_region($locale) {} argument
315 function locale_get_all_variants($locale) {} argument
324 function locale_get_keywords($locale) {} argument
[all …]
H A Dmsgfmt_api.php18 * @param string $locale the locale to use when formatting arguments
21 public function __construct($locale, $pattern) {} argument
26 * @param string $locale the locale to use when formatting arguments
29 public static function create($locale, $pattern) {} argument
54 * @param string $locale the locale to use when formatting numbers and dates and suchlike
59 public static function formatMessage($locale, $pattern, $args) {} argument
72 public static function parseMessage($locale, $value) {} argument
117 * @param string $locale the locale to use when formatting arguments
121 function msgfmt_create($locale, $pattern) {} argument
153 function msgfmt_format_message($locale, $pattern, $args) {} argument
[all …]
/PHP-5.6/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.phpt26 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry";
28 $locale = ut_datefmt_get_locale( $fmt , 1);
29 $res_str .= "\nAfter call to get_locale : locale= $locale";
49 Creating IntlDateFormatter with locale = de-DE
50 After call to get_locale : locale= de_DE
52 Creating IntlDateFormatter with locale = sl-IT-nedis
53 After call to get_locale : locale= sl
55 Creating IntlDateFormatter with locale = en_UK
56 After call to get_locale : locale= en
58 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_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'
136 locale='zh-Hant'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
[all …]
H A Dlocale_get_display_variant.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.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
136 locale='zh-Hant'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
[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_script.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
136 locale='zh-Hant'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
[all …]
H A Dlocale_get_display_script2.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_language.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
196 locale='de-DE'
201 locale='en-US'
206 locale='es-419'
221 locale='zh-min'
[all …]
H A Dlocale_get_display_region.phpt77 $res_str .= "locale='$locale'\n";
101 locale='root'
111 locale='Hindi'
116 locale='de'
121 locale='fr'
126 locale='ja'
136 locale='zh-Hant'
191 locale='de-DE'
196 locale='en-US'
201 locale='es-419'
[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'
192 locale='de-DE'
197 locale='en-US'
202 locale='es-419'
217 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.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 Dut_common.inc46 function ut_coll_create( $locale )
48 return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale );
225 return $GLOBALS['oo-mode'] ? Locale::setDefault( $locale ) : locale_set_default( $locale );
231 function ut_loc_get_script( $locale )
233 return $GLOBALS['oo-mode'] ? Locale::getScript( $locale ) : locale_get_script( $locale );
235 function ut_loc_get_region( $locale )
237 return $GLOBALS['oo-mode'] ? Locale::getRegion( $locale ) : locale_get_region( $locale );
241 return $GLOBALS['oo-mode'] ? Locale::getKeywords( $locale ) : locale_get_keywords( $locale );
269 return $GLOBALS['oo-mode'] ? Locale::parseLocale( $locale ) : locale_parse($locale );
273 …return $GLOBALS['oo-mode'] ? Locale::getAllVariants( $locale ) : locale_get_all_variants( $locale
[all …]
/PHP-5.6/ext/standard/tests/strings/
H A Dsetlocale_variation3.phpt9 die('skip en_US.utf8 locale not available');
16 * Description: Sets locale information.Returns the new current locale , or FALSE
21 /* If locale is "0", the locale setting is not affected, only the current setting is returned */
27 //initially giving the locale
36 //Testing setlocale() by giving locale = 0
37 echo "Setting system locale, category = LC_ALL and locale = 0\n";
46 echo "Checking locale in the system, Expected : no change in the existing locale\n";
58 Locale info, before setting the locale
107 Setting system locale, category = LC_ALL and locale = 0
108 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation4.phpt18 * Description: Sets locale information.Returns the new current locale , or FALSE
27 //initially setting the locale
30 echo "Locale info, before setting the locale\n";
35 //Testing setlocale() by giving locale = null
36 echo "Setting system locale, category = LC_ALL and locale = null\n";
39 echo "Locale info, after setting the locale\n";
44 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
56 Locale info, before setting the locale
105 Setting system locale, category = LC_ALL and locale = null
106 Locale info, after setting the locale
[all …]
H A Dsetlocale_variation5.phpt18 * Description: Sets locale information.Returns the new current locale , or FALSE
27 //initially setting the locale
30 echo "Locale info, before setting the locale\n";
37 //Testing setlocale() by giving locale = null
38 echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
41 echo "Locale info, after setting the locale\n";
48 echo "Checking new locale in the system, Expected : the locale names will be set from the values of…
60 Locale info, before setting the locale
109 Setting system locale, category = LC_ALL and locale = ""
110 Locale info, after setting the locale
[all …]
H A Dsetlocale_basic1.phpt16 * Description: Sets locale information.Returns the new current locale ,
26 Returns : set of locale as array
33 system('locale -a');
43 // return all the locale found in the system
48 Check the currency settings in the new locale */
82 // set the system locale to a locale, choose the right locale by
83 // finding a common locale in commonly used locale stored in
86 echo "Setting system locale(LC_ALL) to ";
91 // set the found locale as current locale
102 // check that new locale setting is effective
[all …]
H A Dsetlocale_variation2.phpt12 : string setlocale(int $category , array $locale);
13 * Description: Sets locale information.Returns the new current locale , or FALSE
21 function good_locale($locale) {
25 return $locale !== 'tt_RU@iqtelif.UTF-8' && $locale !== 'no_NO.ISO-8859-1';
31 * Returns : set of locale as array
38 system('locale -a');
48 // return all the locale found in the system, except for broken one
55 //try different locale names
63 //set locale to $value, if success, count increments
81 echo "Names of locale() for which setlocale() failed ...\n";
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Ddirname_basic-win32.phpt33 '/usr/lib/locale/en_US',
34 '//usr/lib//locale/en_US',
40 '/usr/lib/locale/en_US/',
42 '/usr\lib/locale\en_US',
46 ' /usr/lib/locale/en_US',
47 '/usr/lib/locale/en_US ',
73 string(15) "/usr/lib/locale"
74 string(17) "//usr/lib//locale"
80 string(15) "/usr/lib/locale"
82 string(15) "/usr\lib/locale"
[all …]
H A Ddirname_basic.phpt33 '/usr/lib/locale/en_US',
34 '//usr/lib//locale/en_US',
40 '/usr/lib/locale/en_US/',
42 '/usr\lib/locale\en_US',
46 ' /usr/lib/locale/en_US',
47 '/usr/lib/locale/en_US ',
73 string(15) "/usr/lib/locale"
74 string(17) "//usr/lib//locale"
80 string(15) "/usr/lib/locale"
86 string(18) " /usr/lib/locale"
[all …]

Completed in 125 milliseconds

123456789