Home
last modified time | relevance | path

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

/PHP-5.3/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()
80 …npattern_len = umsg_autoQuoteApostrophe(*spattern, *spattern_len, npattern, 2*(*spattern_len)+1, e… in msgformat_fix_quotes()
81 efree(*spattern); in msgformat_fix_quotes()
87 *spattern = npattern; in msgformat_fix_quotes()
H A Dmsgformat_attr.c67 UChar* spattern = NULL; 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()
95 if (spattern) { in PHP_FUNCTION()
96 efree(spattern); in PHP_FUNCTION()
H A Dmsgformat.c34 UChar* spattern = NULL; in msgfmt_ctor() local
56 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor()
60 spattern = NULL; 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()
83 if(spattern) { in msgfmt_ctor()
84 efree(spattern); in msgfmt_ctor()
H A Dmsgformat_parse.c92 UChar *spattern = NULL; in PHP_FUNCTION() local
116 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
125 spattern = NULL; 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()
143 efree(spattern); in PHP_FUNCTION()
H A Dmsgformat_format.c119 UChar *spattern = NULL; in PHP_FUNCTION() local
141 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
150 spattern = NULL; 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()
168 efree(spattern); in PHP_FUNCTION()
H A Dmsgformat_data.h41 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
/PHP-5.3/ext/intl/formatter/
H A Dformatter_main.c34 UChar* spattern = NULL; 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()
65 if(spattern) { in numfmt_ctor()
66 efree(spattern); in numfmt_ctor()

Completed in 10 milliseconds