Home
last modified time | relevance | path

Searched refs:spattern_len (Results 1 – 7 of 7) sorted by relevance

/PHP-5.4/ext/intl/msgformat/
H A Dmsgformat_data.c75 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec) in msgformat_fix_quotes() argument
77 if(*spattern && *spattern_len && u_strchr(*spattern, (UChar)'\'')) { in msgformat_fix_quotes()
78 UChar *npattern = emalloc(sizeof(UChar)*(2*(*spattern_len)+1)); in msgformat_fix_quotes()
80 …npattern_len = umsg_autoQuoteApostrophe(*spattern, *spattern_len, npattern, 2*(*spattern_len)+1, e… in msgformat_fix_quotes()
88 *spattern_len = npattern_len; in msgformat_fix_quotes()
H A Dmsgformat_parse.c93 int spattern_len = 0; in PHP_FUNCTION() local
116 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
124 spattern_len = 0; in PHP_FUNCTION()
133 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION()
141 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mf… in PHP_FUNCTION()
142 if(spattern && spattern_len) { in PHP_FUNCTION()
H A Dmsgformat_format.c120 int spattern_len = 0; in PHP_FUNCTION() local
141 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
149 spattern_len = 0; in PHP_FUNCTION()
158 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION()
166 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mf… in PHP_FUNCTION()
167 if(spattern && spattern_len) { in PHP_FUNCTION()
H A Dmsgformat.c35 int spattern_len = 0; in msgfmt_ctor() local
56 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor()
59 spattern_len = 0; in msgfmt_ctor()
68 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in msgfmt_ctor()
81 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo… in msgfmt_ctor()
H A Dmsgformat_attr.c66 int 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 Dmsgformat_data.h41 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
/PHP-5.4/ext/intl/formatter/
H A Dformatter_main.c35 int 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 13 milliseconds