Searched refs:locale (Results 1 - 25 of 48) sorted by relevance

12

/PHP_TRUNK/ext/intl/doc/
H A Dcollator_api.php80 * @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 Ddatefmt_api.php4 * 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 Dformatter_api.php4 * 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 Dlocale_api.php19 * 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 Dmsgfmt_api.php8 * 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/pcre/pcrelib/
H A Ddftables.c43 locale. Now that pcre_maketables is a function visible to the outside world, we
51 #include <locale.h>
66 /* By default, the default C locale is used rather than what the building user
67 happens to have set. However, if the -L option is given, set the locale from
/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_class.c126 ZEND_ARG_INFO(0, locale)
149 ZEND_ARG_INFO(0, 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
H A Ddateformat_helpers.h31 Locale const& locale,
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_class.c143 ZEND_ARG_INFO(0, locale)
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 ] )
H A Dformatter_parse.c22 #include <locale.h>
/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 )
H A Dmsgformat_class.c105 ZEND_ARG_INFO(0, locale)
113 ZEND_ARG_INFO(0, locale)
/PHP_TRUNK/ext/intl/
H A Dphp_intl.c58 #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 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.h33 #include <locale.h>
50 char *locale; member in struct:__anon150
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);

Completed in 34 milliseconds

12