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

12

/PHP_5_3/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_3/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.
H A Ddateformat_class.c149 ZEND_ARG_INFO(0, locale)
/PHP_5_3/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_5_3/ext/intl/formatter/
H A Dformatter_class.c152 ZEND_ARG_INFO(0, locale)
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 ] )
H A Dformatter_parse.c22 #include <locale.h>
/PHP_5_3/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 )
H A Dmsgformat_class.c114 ZEND_ARG_INFO(0, locale)
122 ZEND_ARG_INFO(0, locale)
/PHP_5_3/ext/intl/
H A Dphp_intl.c54 #include "locale/locale.h"
55 #include "locale/locale_class.h"
56 #include "locale/locale_methods.h"
208 ZEND_ARG_INFO(0, locale)
257 ZEND_ARG_INFO(0, locale)
275 ZEND_ARG_INFO(0, locale)
286 ZEND_ARG_INFO(0, locale)
316 ZEND_ARG_INFO(0, locale)
337 ZEND_ARG_INFO( 0, locale )
[all...]
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle_class.c83 char * locale; local
95 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE )
106 rb->me = ures_open(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
108 rb->me = ures_openDirect(bundlename, locale, &INTL_DATA_ERROR_CODE(rb));
116 bundlename, locale, ures_getLocaleByType( rb->me, ULOC_ACTUAL_LOCALE, &INTL_DATA_ERROR_CODE(rb)) );
127 ZEND_ARG_INFO( 0, locale )
133 /* {{{ proto void ResourceBundle::__construct( string $locale [, string $bundlename [, bool $fallback = true ]] )
143 /* {{{ proto ResourceBundle ResourceBundle::create( string $locale [, string $bundlename [, bool $fallback = true ]] )
144 proto ResourceBundle resourcebundle_create( string $locale [, string $bundlename [, bool $fallback = true ]] )
194 const char * locale local
[all...]
/PHP_5_3/ext/date/lib/
H A Dparse_tz.c26 #include <locale.h>
/PHP_5_3/ext/pcre/
H A Dphp_pcre.h33 #include <locale.h>
48 char *locale; member in struct:__anon121
H A Dphp_pcre.c97 pefree(pce->locale, 1);
247 char *locale; local
256 locale = setlocale(LC_CTYPE, NULL);
270 if (!strcmp(pce->locale, locale)) {
385 if (strcmp(locale, "C"))
437 new_entry.locale = pestrdup(locale, 1);
/PHP_5_3/ext/standard/
H A Dhtml.c44 #include <locale.h>
713 * returns the charset identifier based on current locale or a hint.
813 /* try to detect the charset for the locale */
822 /* try to figure out the charset from the locale */
833 /* locale specifies a codeset */
H A Dscanf.c74 #include <locale.h>
H A Dformatted_print.c29 #include <locale.h>
/PHP_5_3/main/
H A Dspprintf.c95 #include <locale.h>
/PHP_5_3/sapi/cli/
H A Dphp_cli_readline.c38 #include <locale.h>
/PHP_5_3/ext/pcre/pcrelib/
H A Ddftables.c43 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

Completed in 77 milliseconds

12