/PHP-5.4/ext/intl/doc/ |
H A D | locale_api.php | 94 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 D | msgfmt_api.php | 18 * @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.4/ext/intl/tests/ |
H A D | locale_set_default.phpt | 2 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 D | dateformat_get_locale.phpt | 26 $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 D | dateformat_format.phpt | 156 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 158 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 160 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 162 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 171 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 173 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 175 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 177 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 186 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 188 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 [all …]
|
H A D | locale_get_display_region3.phpt | 77 $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 D | locale_get_display_script.phpt | 77 $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 D | locale_get_display_script2.phpt | 77 $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 D | locale_get_display_script3.phpt | 77 $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 D | locale_get_display_script4.phpt | 77 $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 D | locale_get_display_variant.phpt | 77 $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 D | locale_get_display_variant2.phpt | 77 $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 D | locale_get_display_language.phpt | 77 $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 D | locale_get_display_region.phpt | 77 $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 D | locale_get_display_region2.phpt | 78 $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 D | ut_common.inc | 46 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 …]
|
H A D | dateformat_format_parse.phpt | 146 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 149 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 152 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 160 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 163 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 166 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 177 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 180 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 188 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | locale_get_display_name.phpt | 88 $res_str .= "locale='$locale'\n"; 138 locale='zh-wuu' 143 locale='i-tay' 168 locale='root' 178 locale='Hindi' 183 locale='de' 188 locale='fr' 193 locale='ja' 258 locale='de-DE' 263 locale='en-US' [all …]
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | setlocale_variation3.phpt | 9 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 D | setlocale_variation4.phpt | 18 * 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 D | setlocale_variation5.phpt | 18 * 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 D | setlocale_basic1.phpt | 16 * 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 D | setlocale_variation2.phpt | 12 : string setlocale(int $category , array $locale); 13 * Description: Sets locale information.Returns the new current locale , or FALSE 21 function good_locale($locale) { 22 return $locale !== 'tt_RU@iqtelif.UTF-8'; 28 * Returns : set of locale as array 35 system('locale -a'); 45 // return all the locale found in the system, except for broken one 52 //try different locale names 60 //set locale to $value, if success, count increments 78 echo "Names of locale() for which setlocale() failed ...\n"; [all …]
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | dirname_basic-win32.phpt | 33 '/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 D | dirname_basic.phpt | 33 '/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 …]
|