Searched refs:spattern_len (Results 1 – 7 of 7) sorted by relevance
/PHP-7.3/ext/intl/msgformat/ |
H A D | msgformat_data.c | 83 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec) in msgformat_fix_quotes() argument 85 if(*spattern && *spattern_len && u_strchr(*spattern, (UChar)'\'')) { in msgformat_fix_quotes() 86 UChar *npattern = safe_emalloc(sizeof(UChar)*2, *spattern_len, sizeof(UChar)); in msgformat_fix_quotes() 88 …npattern_len = umsg_autoQuoteApostrophe(*spattern, *spattern_len, npattern, 2*(*spattern_len)+1, e… in msgformat_fix_quotes() 96 *spattern_len = npattern_len; in msgformat_fix_quotes()
|
H A D | msgformat_format.c | 90 int spattern_len = 0; in PHP_FUNCTION() local 114 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION() 122 spattern_len = 0; in PHP_FUNCTION() 131 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION() 139 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mf… in PHP_FUNCTION() 140 if(spattern && spattern_len) { in PHP_FUNCTION()
|
H A D | msgformat_parse.c | 93 int spattern_len = 0; in PHP_FUNCTION() local 118 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION() 126 spattern_len = 0; in PHP_FUNCTION() 135 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION() 143 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mf… in PHP_FUNCTION() 144 if(spattern && spattern_len) { in PHP_FUNCTION()
|
H A D | msgformat.c | 36 int spattern_len = 0; in msgfmt_ctor() local 57 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor() 60 spattern_len = 0; in msgfmt_ctor() 69 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in msgfmt_ctor() 82 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo… in msgfmt_ctor()
|
H A D | msgformat_attr.c | 66 int32_t spattern_len = 0; in PHP_FUNCTION() local 82 intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo)); in PHP_FUNCTION() 86 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION() 94 …umsg_applyPattern(MSG_FORMAT_OBJECT(mfo), spattern, spattern_len, NULL, &INTL_DATA_ERROR_CODE(mfo)… in PHP_FUNCTION()
|
H A D | msgformat_data.h | 43 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
|
/PHP-7.3/ext/intl/formatter/ |
H A D | formatter_main.c | 35 int32_t spattern_len = 0; in numfmt_ctor() local 54 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(n… in numfmt_ctor() 63 …FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CO… in numfmt_ctor()
|
Completed in 17 milliseconds