Home
last modified time | relevance | path

Searched refs:locale_len (Results 1 – 10 of 10) sorted by relevance

/PHP-8.2/ext/intl/collator/
H A Dcollator_create.c28 size_t locale_len = 0; in collator_ctor() local
36 &locale, &locale_len ) == FAILURE ) in collator_ctor()
46 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in collator_ctor()
49 if(locale_len == 0) { in collator_ctor()
/PHP-8.2/ext/intl/formatter/
H A Dformatter_main.c30 size_t locale_len = 0, pattern_len = 0; in numfmt_ctor() local
38 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) in numfmt_ctor()
48 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in numfmt_ctor()
62 if(locale_len == 0) { in numfmt_ctor()
/PHP-8.2/ext/intl/dateformat/
H A Ddatepatterngenerator_methods.cpp36 size_t locale_len = 0; in dtpg_ctor() local
44 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in dtpg_ctor()
59 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in dtpg_ctor()
60 if (locale_len == 0) { in dtpg_ctor()
H A Ddateformat_create.cpp52 size_t locale_len = 0; in datefmt_ctor() local
75 Z_PARAM_STRING_OR_NULL(locale_str, locale_len) in datefmt_ctor()
109 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in datefmt_ctor()
110 if (locale_len == 0) { in datefmt_ctor()
115 …if (locale.isBogus() || ((locale_len == 1 && locale_str[0] != 'C') || (locale_len > 1 && strlen(lo… in datefmt_ctor()
H A Ddateformat_format_object.cpp70 size_t locale_len; in PHP_FUNCTION() local
81 &object, &format, &locale_str, &locale_len) == FAILURE) { in PHP_FUNCTION()
/PHP-8.2/ext/intl/
H A Dintl_data.h116 #define INTL_CHECK_LOCALE_LEN(locale_len) \ argument
117 if((locale_len) > INTL_MAX_LOCALE_LEN) { \
125 #define INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len) \ argument
126 if((locale_len) > INTL_MAX_LOCALE_LEN) { \
/PHP-8.2/ext/intl/msgformat/
H A Dmsgformat.c32 size_t locale_len = 0, pattern_len = 0; in msgfmt_ctor() local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
53 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in msgfmt_ctor()
65 if(locale_len == 0) { in msgfmt_ctor()
/PHP-8.2/ext/intl/resourcebundle/
H A Dresourcebundle_class.c82 size_t locale_len = 0; in resourcebundle_ctor() local
91 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE ) in resourcebundle_ctor()
106 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in resourcebundle_ctor()
/PHP-8.2/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp53 size_t locale_len; in _php_intlgregcal_constructor_body() local
77 "|z!s!", &tz_object, &locale, &locale_len) == FAILURE) { in _php_intlgregcal_constructor_body()
H A Dcalendar_methods.cpp167 locale_len; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
172 &key, &key_len, &locale, &locale_len, &commonly_used) == FAILURE) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()

Completed in 22 milliseconds