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

/PHP_5_3/ext/intl/formatter/
H A Dformatter_main.c35 int spattern_len = 0; 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));
/PHP_5_3/ext/intl/msgformat/
H A Dmsgformat.c35 int spattern_len = 0; local
56 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
59 spattern_len = 0;
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));
H A Dmsgformat_attr.c66 int spattern_len = 0; 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
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)'\'')) {
78 UChar *npattern = emalloc(sizeof(UChar)*(2*(*spattern_len)+1));
80 npattern_len = umsg_autoQuoteApostrophe(*spattern, *spattern_len, npattern, 2*(*spattern_len)+1, ec);
88 *spattern_len = npattern_len;
H A Dmsgformat_data.h41 int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
H A Dmsgformat_format.c120 int spattern_len = 0; local
141 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
149 spattern_len = 0;
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) {
H A Dmsgformat_parse.c93 int spattern_len = 0; local
116 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
124 spattern_len = 0;
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) {

Completed in 15 milliseconds