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

/PHP_5_4/ext/intl/formatter/
H A Dformatter_main.c34 UChar* spattern = NULL; local
54 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(nfo));
63 FORMATTER_OBJECT(nfo) = unum_open(style, spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(nfo));
65 if(spattern) {
66 efree(spattern);
/PHP_5_4/ext/intl/msgformat/
H A Dmsgformat.c34 UChar* spattern = NULL; local
56 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
60 spattern = NULL;
68 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
81 MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo));
83 if(spattern) {
84 efree(spattern);
H A Dmsgformat_attr.c67 UChar* spattern = NULL; local
82 intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo));
86 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
94 umsg_applyPattern(MSG_FORMAT_OBJECT(mfo), spattern, spattern_len, NULL, &INTL_DATA_ERROR_CODE(mfo)); local
95 if (spattern) {
96 efree(spattern);
H A Dmsgformat_data.c75 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec) argument
77 if(*spattern && *spattern_len && u_strchr(*spattern, (UChar)'\'')) {
80 npattern_len = umsg_autoQuoteApostrophe(*spattern, *spattern_len, npattern, 2*(*spattern_len)+1, ec);
81 efree(*spattern);
87 *spattern = npattern;
H A Dmsgformat_data.h41 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
H A Dmsgformat_format.c119 UChar *spattern = NULL; local
141 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
150 spattern = NULL;
158 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
166 MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mfo));
167 if(spattern && spattern_len) {
168 efree(spattern);
H A Dmsgformat_parse.c92 UChar *spattern = NULL; local
116 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
125 spattern = NULL;
133 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
141 MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mfo));
142 if(spattern && spattern_len) {
143 efree(spattern);

Completed in 7 milliseconds