Lines Matching refs:mfo

36 	MessageFormatter_object* mfo;  in msgfmt_ctor()  local
56 …_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo)); in msgfmt_ctor()
57 INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: error converting pattern to UTF-16"); in msgfmt_ctor()
68 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in msgfmt_ctor()
69 INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: error converting pattern to quote-friendly format"); in msgfmt_ctor()
73 if ((mfo)->mf_data.orig_format) { in msgfmt_ctor()
74 msgformat_data_free(&mfo->mf_data); in msgfmt_ctor()
77 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
78 (mfo)->mf_data.orig_format_len = pattern_len; in msgfmt_ctor()
81 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, &parse_error, &INTL_DATA_ERROR_… in msgfmt_ctor()
87 if (INTL_DATA_ERROR_CODE( mfo ) == U_PATTERN_SYNTAX_ERROR) { in msgfmt_ctor()
94 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE( mfo ) ); in msgfmt_ctor()
95 intl_errors_set_custom_msg( INTL_DATA_ERROR_P( mfo ), msg, 1 ); in msgfmt_ctor()
101 INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: message formatter creation failed"); in msgfmt_ctor()
141 MessageFormatter_object* mfo = NULL; in PHP_FUNCTION() local
150 mfo = Z_INTL_MESSAGEFORMATTER_P( object ); in PHP_FUNCTION()
153 RETURN_LONG( INTL_DATA_ERROR_CODE(mfo) ); in PHP_FUNCTION()
162 MessageFormatter_object* mfo = NULL; in PHP_FUNCTION() local
171 mfo = Z_INTL_MESSAGEFORMATTER_P( object ); in PHP_FUNCTION()
174 message = intl_error_get_message( &mfo->mf_data.error ); in PHP_FUNCTION()