Searched refs:locale_str (Results 1 – 5 of 5) sorted by relevance
/PHP-8.0/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 69 const char *locale_str = NULL; in PHP_FUNCTION() local 81 &object, &format, &locale_str, &locale_len) == FAILURE) { in PHP_FUNCTION() 85 if (!locale_str) { in PHP_FUNCTION() 86 locale_str = intl_locale_get_default(); in PHP_FUNCTION() 183 cal = new GregorianCalendar(Locale::createFromName(locale_str), status); in PHP_FUNCTION() 202 Locale::createFromName(locale_str), in PHP_FUNCTION() 214 Locale::createFromName(locale_str)); in PHP_FUNCTION()
|
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() 102 locale_str = (char *) intl_locale_get_default(); in datefmt_ctor() 104 locale = Locale::createFromName(locale_str); in datefmt_ctor() 138 (UDateFormatStyle)date_type, locale_str, NULL, 0, svalue, in datefmt_ctor() 171 dfo->requested_locale = estrdup(locale_str); in datefmt_ctor()
|
/PHP-8.0/ext/intl/breakiterator/ |
H A D | breakiterator_methods.cpp | 49 const char *locale_str = NULL; in _breakiter_factory() local 56 &locale_str, &dummy) == FAILURE) { in _breakiter_factory() 60 if (locale_str == NULL) { in _breakiter_factory() 61 locale_str = intl_locale_get_default(); in _breakiter_factory() 64 biter = func(Locale::createFromName(locale_str), status); in _breakiter_factory()
|
/PHP-8.0/ext/intl/calendar/ |
H A D | calendar_methods.cpp | 76 const char *locale_str = NULL; in PHP_FUNCTION() local 83 &zv_timezone, &locale_str, &dummy) == FAILURE) { in PHP_FUNCTION() 93 if (!locale_str) { in PHP_FUNCTION() 94 locale_str = intl_locale_get_default(); in PHP_FUNCTION() 98 Locale::createFromName(locale_str), status); in PHP_FUNCTION() 948 char *locale_str = NULL; in PHP_FUNCTION() local 958 Z_PARAM_STRING_OR_NULL(locale_str, locale_str_len) in PHP_FUNCTION() 999 if (!locale_str) { in PHP_FUNCTION() 1000 locale_str = const_cast<char*>(intl_locale_get_default()); in PHP_FUNCTION() 1004 Locale::createFromName(locale_str), status); in PHP_FUNCTION()
|
/PHP-8.0/ext/intl/timezone/ |
H A D | timezone_methods.cpp | 489 const char *locale_str = NULL; in PHP_FUNCTION() local 495 &locale_str, &dummy) == FAILURE) { in PHP_FUNCTION() 510 if (!locale_str) { in PHP_FUNCTION() 511 locale_str = intl_locale_get_default(); in PHP_FUNCTION() 518 Locale::createFromName(locale_str), result); in PHP_FUNCTION()
|
Completed in 14 milliseconds