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

/PHP_5_4/ext/intl/collator/
H A Dcollator_create.c30 char* locale; local
39 &locale, &locale_len ) == FAILURE )
51 locale = INTL_G(default_locale);
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_5_4/ext/intl/dateformat/
H A Ddateformat.c73 char* locale; local
94 &locale, &locale_len, &date_type, &time_type, &timezone_str, &timezone_str_len, &calendar,&pattern_str, &pattern_str_len ) == FAILURE )
106 "IntlDateFormatter::TRADITIONAL (locale's default calendar) "
145 locale = INTL_G(default_locale);
149 DATE_FORMAT_OBJECT(dfo) = udat_open(UDAT_IGNORE, UDAT_IGNORE, locale, timezone_utf16, timezone_utf16_len, svalue, slength, &INTL_DATA_ERROR_CODE(dfo));
151 DATE_FORMAT_OBJECT(dfo) = udat_open(time_type, date_type, locale, timezone_utf16, timezone_utf16_len, svalue, slength, &INTL_DATA_ERROR_CODE(dfo));
156 ucal_obj = ucal_open(timezone_utf16, timezone_utf16_len, locale,
196 /* {{{ proto IntlDateFormatter IntlDateFormatter::create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern] )
198 /* {{{ proto IntlDateFormatter datefmt_create(string $locale, long date_type, long time_type[, string $timezone_str, long $calendar, string $pattern] )
209 /* {{{ proto void IntlDateFormatter::__construct(string $locale, lon
[all...]
H A Ddateformat_attr.c33 char* locale = NULL; local
49 /* Get the locale for the dateformatter */
50 locale = (char *)udat_getLocaleByType(DATE_FORMAT_OBJECT(dfo), ULOC_ACTUAL_LOCALE, &INTL_DATA_ERROR_CODE(dfo));
53 ucal_obj = ucal_open(timezone_utf16, timezone_utf16_len, locale, calendar, &INTL_DATA_ERROR_CODE(dfo) );
290 * Get formatter locale. }}} */
292 * Get formatter locale.
315 INTL_METHOD_CHECK_STATUS(dfo, "Error getting locale");
323 * Get formatter locale.
/PHP_5_4/ext/intl/formatter/
H A Dformatter_main.c30 char* locale; local
40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE )
59 locale = INTL_G(default_locale);
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_5_4/ext/intl/msgformat/
H A Dmsgformat.c31 char* locale; local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE )
64 locale = INTL_G(default_locale);
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_5_4/ext/intl/resourcebundle/
H A Dresourcebundle_class.c84 char * locale; local
96 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE )
106 if (locale == NULL) {
107 locale = INTL_G(default_locale);
111 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
113 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
123 bundlename ? bundlename : "(default data)", locale,
136 ZEND_ARG_INFO( 0, locale )
142 /* {{{ proto void ResourceBundle::__construct( string $locale [, string $bundlename [, bool $fallback = true ]] )
152 /* {{{ proto ResourceBundle ResourceBundle::create( string $locale [, strin
203 const char * locale = ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &icuerror ); local
[all...]
/PHP_5_4/ext/pcre/
H A Dphp_pcre.c97 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);
H A Dphp_pcre.h33 #include <locale.h>
48 char *locale; member in struct:__anon148

Completed in 8 milliseconds