Home
last modified time | relevance | path

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

/PHP-7.0/ext/intl/collator/
H A Dcollator_create.c31 size_t locale_len = 0; in collator_ctor() local
40 &locale, &locale_len ) == FAILURE ) in collator_ctor()
47 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in collator_ctor()
50 if(locale_len == 0) { in collator_ctor()
/PHP-7.0/ext/intl/formatter/
H A Dformatter_main.c32 size_t locale_len = 0, pattern_len = 0; in numfmt_ctor() local
41 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) in numfmt_ctor()
48 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in numfmt_ctor()
58 if(locale_len == 0) { in numfmt_ctor()
/PHP-7.0/ext/intl/
H A Dintl_data.h108 #define INTL_CHECK_LOCALE_LEN(locale_len) \ argument
109 if((locale_len) > INTL_MAX_LOCALE_LEN) { \
115 #define INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len) \ argument
116 if((locale_len) > INTL_MAX_LOCALE_LEN) { \
/PHP-7.0/ext/intl/msgformat/
H A Dmsgformat.c34 size_t locale_len = 0, pattern_len = 0; in msgfmt_ctor() local
45 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
52 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in msgfmt_ctor()
64 if(locale_len == 0) { in msgfmt_ctor()
/PHP-7.0/ext/intl/dateformat/
H A Ddateformat_create.cpp56 size_t locale_len = 0; in datefmt_ctor() local
78 &locale_str, &locale_len, &date_type, &time_type, &timezone_zv, in datefmt_ctor()
102 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in datefmt_ctor()
103 if (locale_len == 0) { in datefmt_ctor()
H A Ddateformat_format_object.cpp66 size_t locale_len; in PHP_FUNCTION() local
77 &object, &format, &locale_str, &locale_len) == FAILURE) { in PHP_FUNCTION()
/PHP-7.0/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp48 size_t locale_len; in _php_intlgregcal_constructor_body() local
83 "|z!s!", &tz_object, &locale, &locale_len) == FAILURE) { in _php_intlgregcal_constructor_body()
H A Dcalendar_methods.cpp147 locale_len; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() local
152 &key, &key_len, &locale, &locale_len, &commonly_used) == FAILURE) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/PHP-7.0/ext/intl/resourcebundle/
H A Dresourcebundle_class.c81 size_t locale_len = 0; in resourcebundle_ctor() local
91 &locale, &locale_len, &bundlename, &bundlename_len, &fallback ) == FAILURE ) in resourcebundle_ctor()
98 INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len); in resourcebundle_ctor()

Completed in 32 milliseconds