| /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_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
|
| /PHP_TRUNK/ext/intl/formatter/ |
| 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 ] )
|
| /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 )
|
| /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/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);
|