| /PHP_TRUNK/ext/intl/calendar/ |
| H A D | calendar_class.cpp | 191 Locale locale = cal->getLocale(ULOC_VALID_LOCALE, uec); local 193 add_assoc_string_ex(&zv, "locale", sizeof("locale"), 194 const_cast<char*>(locale.getName()), 1); 196 add_assoc_string_ex(&zv, "locale", sizeof("locale"), 315 ZEND_ARG_INFO(0, locale) 320 ZEND_ARG_INFO(0, locale)
|
| H A D | gregoriancalendar_methods.cpp | 45 char *locale = NULL; local 72 "|Z!s!", &tz_object, &locale, &locale_len) == FAILURE) { 90 // From timezone and locale (0 to 2 arguments) 96 if (!locale) { 97 locale = const_cast<char*>(intl_locale_get_default(TSRMLS_C)); 100 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), 104 "creating ICU GregorianCalendar from time zone and locale", 0 TSRMLS_CC);
|
| H A D | calendar_methods.cpp | 145 *locale; local 152 &key, &key_len, &locale, &locale_len, &commonly_used) == FAILURE) { 161 Locale::createFromName(locale), (UBool)commonly_used, 170 key, locale, !!commonly_used, &status); 213 Locale locale = availLocales[i]; local 214 add_next_index_string(return_value, locale.getName(), 1); 724 "intlcal_get_locale: invalid locale type", 0 TSRMLS_CC); 730 Locale locale = co->ucal->getLocale((ULocDataLocaleType)locale_type, local 735 RETURN_STRING(locale.getName(), 1);
|
| /PHP_TRUNK/ext/intl/collator/ |
| H A D | collator_create.c | 30 char* locale; local 39 &locale, &locale_len ) == FAILURE ) 51 locale = intl_locale_get_default(TSRMLS_C); 55 co->ucoll = ucol_open( locale, COLLATOR_ERROR_CODE_P( co ) ); 60 /* {{{ proto Collator collator_create( string $locale ) 70 /* {{{ proto Collator Collator::__construct( string $locale )
|
| /PHP_TRUNK/ext/intl/dateformat/ |
| H A D | dateformat_attrcpp.cpp | 222 Locale locale = Locale::createFromName(dfo->requested_locale); local 223 // getting the actual locale from the DateFormat is not enough 225 // must store the requested locale on object creation 227 if (datefmt_process_calendar_arg(calendar_zv, locale,
|
| H A D | dateformat_class.c | 135 ZEND_ARG_INFO(0, locale) 158 ZEND_ARG_INFO(0, locale)
|
| H A D | dateformat_create.cpp | 45 Locale locale; local 77 locale = Locale::createFromName(locale_str); 88 if (datefmt_process_calendar_arg(calendar_zv, locale, "datefmt_create", 171 /* {{{ proto IntlDateFormatter IntlDateFormatter::create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern] ) 173 /* {{{ proto IntlDateFormatter datefmt_create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern) 183 /* {{{ proto void IntlDateFormatter::__construct(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern])
|
| H A D | dateformat_helpers.cpp | 32 Locale const& locale, 45 cal = new GregorianCalendar(locale, status); 55 "one of IntlDateFormatter::TRADITIONAL (locale's default " 63 cal = Calendar::createInstance(locale, status); 65 cal = new GregorianCalendar(locale, status); 31 datefmt_process_calendar_arg(zval* calendar_zv, Locale const& locale, const char *func_name, intl_error *err, Calendar*& cal, long& cal_int_type, bool& calendar_owned TSRMLS_DC) argument
|
| H A D | dateformat_helpers.h | 31 Locale const& locale,
|
| /PHP_TRUNK/ext/intl/doc/ |
| H A D | collator_api.php | 80 * @param string $locale The locale whose collation rules 83 * passed for the locale, the default 84 * locale collation rules will be used. If 90 public function __construct( $locale ) {} 106 public static function create( $locale ) {} 227 * Get the locale name of the collator. 232 * and actual locale 237 * @return string Real locale name from which the 252 * @param string $locale Th [all...] |
| H A D | datefmt_api.php | 4 * Date Formatter class - locale-dependent formatting/parsing of dates using pattern strings and/or canned patterns. 43 * Non-Gregorian calendars need to be specified in locale. 44 * Examples might include locale="hi@calendar=BUDDHIST" 46 const TRADITIONAL = 0; // non-Gregorian calendar that is locale-defined, required by ICU 55 * @param string $locale Locale to use when formatting or parsing 66 public function __construct($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} 71 * @param string $locale Locale to use when formatting or parsing 82 public static function create($locale, $datetype, $timetype, $timezone = null, $calendar= null , $pattern= null) {} 161 * Gets the locale in use 162 * @param [integer] which locale shoul [all...] |
| H A D | formatter_api.php | 4 * Number formatter class - locale-dependent number formatting/parsing. 142 * Creates a number formatter from locale and pattern. This formatter would be used to 146 * @param string $locale Locale in which the number would be formatted 150 public function __construct($locale, $style, $pattern = null) {} 155 * Creates a number formatter from locale and pattern. This formatter would be used to 162 * @param string $locale Locale in which the number would be formatted 168 public static function create($locale, $style, $pattern = null) {} 303 * Get the locale for which the formatter was created. 306 * @return string locale name 331 * Creates a number formatter from locale an [all...] |
| H A D | locale_api.php | 19 * with locale identifiers--to verify that an ID is well-formed, valid, 26 * * The null or empty string obtains the "root" locale. 27 * The "root" locale is equivalent to "en_US_POSIX" in CLDR. 28 * * Language tags (and thus locale identifiers) are case insensitive. There 43 * the various locale affected classes, such as numfmt. 48 * identifiers for the actual locale, valid locale 60 * Valid locale tag and subtag values 76 * Gets the default locale value from the INTL global 'default_locale' 82 * @return string the current runtime locale [all...] |
| H A D | msgfmt_api.php | 8 * replaced in a locale-sensitive manner using items in the arguments array. 18 * @param string $locale the locale to use when formatting arguments 21 public function __construct($locale, $pattern) {} 26 * @param string $locale the locale to use when formatting arguments 29 public static function create($locale, $pattern) {} 52 * according to $locale. This is the static implementation. 54 * @param string $locale the locale t [all...] |
| /PHP_TRUNK/ext/intl/formatter/ |
| H A D | formatter_class.c | 153 ZEND_ARG_INFO(0, locale)
|
| H A D | formatter_main.c | 30 char* locale; local 40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) 59 locale = intl_locale_get_default(TSRMLS_C); 63 FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(nfo)); 73 /* {{{ proto NumberFormatter NumberFormatter::create( string $locale, int style[, string $pattern ] ) 75 /* {{{ proto NumberFormatter numfmt_create( string $locale, int style[, string $pattern ] ) 85 /* {{{ proto void NumberFormatter::__construct( string $locale, int style[, string $pattern ] )
|
| H A D | formatter_parse.c | 22 #include <locale.h>
|
| /PHP_TRUNK/ext/intl/msgformat/ |
| H A D | msgformat.c | 31 char* locale; local 43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) 64 locale = intl_locale_get_default(TSRMLS_C); 81 MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo)); 91 /* {{{ proto MessageFormatter MesssageFormatter::create( string $locale, string $pattern ) 93 /* {{{ proto MessageFormatter msgfmt_create( string $locale, string $pattern ) 103 /* {{{ proto void MessageFormatter::__construct( string $locale, string $pattern )
|
| H A D | msgformat_class.c | 115 ZEND_ARG_INFO(0, locale) 123 ZEND_ARG_INFO(0, locale)
|
| /PHP_TRUNK/ext/intl/ |
| H A D | php_intl.c | 58 #include "locale/locale.h" 59 #include "locale/locale_class.h" 60 #include "locale/locale_methods.h" 245 ZEND_ARG_INFO(0, locale) 294 ZEND_ARG_INFO(0, locale) 312 ZEND_ARG_INFO(0, locale) 323 ZEND_ARG_INFO(0, locale) 360 ZEND_ARG_INFO(0, locale) 365 ZEND_ARG_INFO(0, locale) [all...] |
| /PHP_TRUNK/ext/intl/resourcebundle/ |
| H A D | resourcebundle_class.c | 84 const char *locale; local 94 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE ) 104 if (locale == NULL) { 105 locale = intl_locale_get_default(TSRMLS_C); 109 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); 111 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb)); 122 bundlename ? bundlename : "(default data)", locale, 135 ZEND_ARG_INFO( 0, locale ) 141 /* {{{ proto void ResourceBundle::__construct( string $locale [, string $bundlename [, bool $fallback = true ]] ) 151 /* {{{ proto ResourceBundle ResourceBundle::create( string $locale [, strin 202 const char * locale = ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &icuerror ); local [all...] |
| /PHP_TRUNK/ext/pcre/ |
| H A D | php_pcre.h | 33 #include <locale.h> 48 char *locale; member in struct:__anon141
|
| H A D | php_pcre.c | 97 pefree(pce->locale, 1); 247 char *locale; local 257 locale = setlocale(LC_CTYPE, NULL); 271 if (!strcmp(pce->locale, locale)) { 394 if (strcmp(locale, "C")) 446 new_entry.locale = pestrdup(locale, 1);
|
| /PHP_TRUNK/ext/pcre/pcrelib/ |
| H A D | dftables.c | 43 locale. Now that pcre_maketables is a function visible to the outside world, we 53 #include <locale.h> 68 /* By default, the default C locale is used rather than what the building user 69 happens to have set. However, if the -L option is given, set the locale from
|
| /PHP_TRUNK/ext/intl/breakiterator/ |
| H A D | breakiterator_methods.cpp | 30 #include "../locale/locale.h" 372 "breakiter_get_locale: invalid locale type", 0 TSRMLS_CC); 378 Locale locale = bio->biter->getLocale((ULocDataLocaleType)locale_type, local 383 RETURN_STRING(locale.getName(), 1);
|