Searched refs:locale_str (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/intl/dateformat/ |
H A D | dateformat_create.cpp | 51 char *locale_str; in datefmt_ctor() local 75 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in datefmt_ctor() 111 locale_str = (char *) intl_locale_get_default(); in datefmt_ctor() 113 locale = Locale::createFromName(locale_str); in datefmt_ctor() 115 …if (locale.isBogus() || ((locale_len == 1 && locale_str[0] != 'C') || (locale_len > 1 && strlen(lo… in datefmt_ctor() 116 zend_argument_value_error(1, "\"%s\" is invalid", locale_str); in datefmt_ctor() 152 (UDateFormatStyle)date_type, locale_str, NULL, 0, svalue, in datefmt_ctor() 185 dfo->requested_locale = estrdup(locale_str); in datefmt_ctor()
|
H A D | dateformat_format_object.cpp | 69 char *locale_str = NULL; in PHP_FUNCTION() local 84 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in PHP_FUNCTION() 87 if (!locale_str) { in PHP_FUNCTION() 88 locale_str = (char *)intl_locale_get_default(); in PHP_FUNCTION() 176 cal = new GregorianCalendar(Locale::createFromName(locale_str), status); in PHP_FUNCTION() 195 Locale::createFromName(locale_str), in PHP_FUNCTION() 207 Locale::createFromName(locale_str)); in PHP_FUNCTION()
|
H A D | datepatterngenerator_methods.cpp | 35 char *locale_str; in dtpg_ctor() local 44 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in dtpg_ctor() 61 locale_str = (char *) intl_locale_get_default(); in dtpg_ctor() 63 Locale locale = Locale::createFromName(locale_str); in dtpg_ctor()
|
/php-src/ext/intl/breakiterator/ |
H A D | breakiterator_methods.cpp | 49 char *locale_str = NULL; in _breakiter_factory() local 57 Z_PARAM_STRING_OR_NULL(locale_str, dummy) in _breakiter_factory() 60 if (locale_str == NULL) { in _breakiter_factory() 61 locale_str = (char *)intl_locale_get_default(); in _breakiter_factory() 64 biter = func(Locale::createFromName(locale_str), status); in _breakiter_factory()
|
/php-src/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 76 char *locale_str = NULL; in PHP_FUNCTION() local 85 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in PHP_FUNCTION() 94 if (!locale_str) { in PHP_FUNCTION() 95 locale_str = (char *)intl_locale_get_default(); in PHP_FUNCTION() 99 Locale::createFromName(locale_str), status); in PHP_FUNCTION() 1004 char *locale_str = NULL; in PHP_FUNCTION() local 1014 Z_PARAM_STRING_OR_NULL(locale_str, locale_str_len) in PHP_FUNCTION() 1055 if (!locale_str) { in PHP_FUNCTION() 1056 locale_str = const_cast<char*>(intl_locale_get_default()); in PHP_FUNCTION() 1060 Locale::createFromName(locale_str), status); in PHP_FUNCTION()
|
/php-src/ext/intl/timezone/ |
H A D | timezone_methods.cpp | 510 const char *locale_str = NULL; in PHP_FUNCTION() local 516 &locale_str, &dummy) == FAILURE) { in PHP_FUNCTION() 531 if (!locale_str) { in PHP_FUNCTION() 532 locale_str = intl_locale_get_default(); in PHP_FUNCTION() 539 Locale::createFromName(locale_str), result); in PHP_FUNCTION()
|
Completed in 14 milliseconds