Searched defs:locale (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp30 #include "../locale/locale.h"
369 "breakiter_get_locale: invalid locale type", 0 TSRMLS_CC);
375 Locale locale = bio->biter->getLocale((ULocDataLocaleType)locale_type, local
380 RETURN_STRING(locale.getName());
/PHP_TRUNK/ext/intl/calendar/
H A Dcalendar_class.cpp193 Locale locale = cal->getLocale(ULOC_VALID_LOCALE, uec); local
195 ZVAL_STRING(&zv, const_cast<char*>(locale.getName()));
196 zend_hash_str_update(debug_info, "locale", sizeof("locale") - 1, &zv);
199 zend_hash_str_update(debug_info, "locale", sizeof("locale") - 1, &zv);
302 ZEND_ARG_INFO(0, locale)
307 ZEND_ARG_INFO(0, locale)
H A Dcalendar_methods.cpp145 *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);
212 Locale locale = availLocales[i]; local
213 add_next_index_string(return_value, locale.getName());
722 "intlcal_get_locale: invalid locale type", 0 TSRMLS_CC);
728 Locale locale = co->ucal->getLocale((ULocDataLocaleType)locale_type, local
733 RETURN_STRING(locale.getName());
H A Dgregoriancalendar_methods.cpp44 char *locale = NULL; local
73 "|z!s!", &tz_object, &locale, &locale_len) == FAILURE) {
93 // From timezone and locale (0 to 2 arguments)
100 if (!locale) {
101 locale = const_cast<char*>(intl_locale_get_default(TSRMLS_C));
104 gcal = new GregorianCalendar(tz, Locale::createFromName(locale),
108 "creating ICU GregorianCalendar from time zone and locale", 0 TSRMLS_CC);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_create.c30 const 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 Ddateformat_attrcpp.cpp225 Locale locale = Locale::createFromName(dfo->requested_locale); local
226 // getting the actual locale from the DateFormat is not enough
228 // must store the requested locale on object creation
230 if (datefmt_process_calendar_arg(calendar_zv, locale,
H A Ddateformat_create.cpp45 Locale locale; local
77 locale = Locale::createFromName(locale_str);
88 if (datefmt_process_calendar_arg(calendar_zv, locale, "datefmt_create",
170 /* {{{ proto IntlDateFormatter IntlDateFormatter::create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern] )
172 /* {{{ proto IntlDateFormatter datefmt_create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern)
185 /* {{{ proto void IntlDateFormatter::__construct(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern])
H A Ddateformat_helpers.cpp32 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, zend_long& cal_int_type, bool& calendar_owned TSRMLS_DC) argument
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_main.c30 const 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 ] )
88 /* {{{ proto void NumberFormatter::__construct( string $locale, int style[, string $pattern ] )
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat.c31 const 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 )
106 /* {{{ proto void MessageFormatter::__construct( string $locale, string $pattern )
/PHP_TRUNK/ext/intl/resourcebundle/
H A Dresourcebundle_class.c81 const char *locale; local
91 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE )
101 if (locale == NULL) {
102 locale = intl_locale_get_default(TSRMLS_C);
106 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
108 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
119 bundlename ? bundlename : "(default data)", locale,
131 ZEND_ARG_INFO( 0, locale )
137 /* {{{ proto void ResourceBundle::__construct( string $locale [, string $bundlename [, bool $fallback = true ]] )
155 /* {{{ proto ResourceBundle ResourceBundle::create( string $locale [, strin
207 const char * locale = ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &icuerror ); local
[all...]
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c99 pefree(pce->locale, 1);
242 char *locale; local
252 locale = setlocale(LC_CTYPE, NULL);
269 if (!strcmp(pce->locale, locale)) {
392 if (strcmp(locale, "C"))
454 new_entry.locale = pestrdup(locale, 1);
H A Dphp_pcre.h33 #include <locale.h>
50 char *locale; member in struct:__anon150

Completed in 13 milliseconds