mfo                37 ext/intl/msgformat/msgformat.c 	MessageFormatter_object* mfo;
mfo                56 ext/intl/msgformat/msgformat.c 		intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
mfo                57 ext/intl/msgformat/msgformat.c 		INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: error converting pattern to UTF-16");
mfo                68 ext/intl/msgformat/msgformat.c 	if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
mfo                69 ext/intl/msgformat/msgformat.c 		INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: error converting pattern to quote-friendly format");
mfo                73 ext/intl/msgformat/msgformat.c 	if ((mfo)->mf_data.orig_format) {
mfo                74 ext/intl/msgformat/msgformat.c 		msgformat_data_free(&mfo->mf_data TSRMLS_CC);
mfo                77 ext/intl/msgformat/msgformat.c 	(mfo)->mf_data.orig_format = estrndup(pattern, pattern_len);
mfo                78 ext/intl/msgformat/msgformat.c 	(mfo)->mf_data.orig_format_len = pattern_len;
mfo                81 ext/intl/msgformat/msgformat.c 	MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, locale, NULL, &INTL_DATA_ERROR_CODE(mfo));
mfo                87 ext/intl/msgformat/msgformat.c 	INTL_CTOR_CHECK_STATUS(mfo, "msgfmt_create: message formatter creation failed");
mfo               121 ext/intl/msgformat/msgformat.c 	MessageFormatter_object*  mfo     = NULL;
mfo               133 ext/intl/msgformat/msgformat.c 	mfo = (MessageFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
mfo               136 ext/intl/msgformat/msgformat.c 	RETURN_LONG( INTL_DATA_ERROR_CODE(mfo) );
mfo               149 ext/intl/msgformat/msgformat.c 	MessageFormatter_object*  mfo     = NULL;
mfo               161 ext/intl/msgformat/msgformat.c 	mfo = (MessageFormatter_object *) zend_object_store_get_object( object TSRMLS_CC );
mfo               164 ext/intl/msgformat/msgformat.c 	message = intl_error_get_message( &mfo->mf_data.error TSRMLS_CC );
mfo                49 ext/intl/msgformat/msgformat_attr.c 	if(mfo->mf_data.orig_format) {
mfo                50 ext/intl/msgformat/msgformat_attr.c 		RETURN_STRINGL(mfo->mf_data.orig_format, mfo->mf_data.orig_format_len, 1);
mfo                82 ext/intl/msgformat/msgformat_attr.c 	intl_convert_utf8_to_utf16(&spattern, &spattern_len, value, value_len, &INTL_DATA_ERROR_CODE(mfo));
mfo                83 ext/intl/msgformat/msgformat_attr.c 	INTL_METHOD_CHECK_STATUS(mfo, "Error converting pattern to UTF-16" );
mfo                86 ext/intl/msgformat/msgformat_attr.c 	if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
mfo                94 ext/intl/msgformat/msgformat_attr.c 	umsg_applyPattern(MSG_FORMAT_OBJECT(mfo), spattern, spattern_len, NULL, &INTL_DATA_ERROR_CODE(mfo));
mfo                98 ext/intl/msgformat/msgformat_attr.c 	INTL_METHOD_CHECK_STATUS(mfo, "Error setting symbol value");
mfo               100 ext/intl/msgformat/msgformat_attr.c 	if(mfo->mf_data.orig_format) {
mfo               101 ext/intl/msgformat/msgformat_attr.c 		efree(mfo->mf_data.orig_format);
mfo               103 ext/intl/msgformat/msgformat_attr.c 	mfo->mf_data.orig_format = estrndup(value, value_len);
mfo               104 ext/intl/msgformat/msgformat_attr.c 	mfo->mf_data.orig_format_len = value_len;
mfo               106 ext/intl/msgformat/msgformat_attr.c 	if (mfo->mf_data.arg_types) {
mfo               107 ext/intl/msgformat/msgformat_attr.c 		zend_hash_destroy(mfo->mf_data.arg_types);
mfo               108 ext/intl/msgformat/msgformat_attr.c 		efree(mfo->mf_data.arg_types);
mfo               109 ext/intl/msgformat/msgformat_attr.c 		mfo->mf_data.arg_types = NULL;
mfo               139 ext/intl/msgformat/msgformat_attr.c 	loc = (char *)umsg_getLocale(MSG_FORMAT_OBJECT(mfo));
mfo                46 ext/intl/msgformat/msgformat_class.c 	MessageFormatter_object* mfo = (MessageFormatter_object*)object;
mfo                48 ext/intl/msgformat/msgformat_class.c 	zend_object_std_dtor( &mfo->zo TSRMLS_CC );
mfo                50 ext/intl/msgformat/msgformat_class.c 	msgformat_data_free( &mfo->mf_data TSRMLS_CC );
mfo                52 ext/intl/msgformat/msgformat_class.c 	efree( mfo );
mfo                84 ext/intl/msgformat/msgformat_class.c 	MessageFormatter_object *mfo, *new_mfo;
mfo                90 ext/intl/msgformat/msgformat_class.c 	zend_objects_clone_members(&new_mfo->zo, new_obj_val, &mfo->zo, handle TSRMLS_CC);
mfo                93 ext/intl/msgformat/msgformat_class.c 	if (MSG_FORMAT_OBJECT(mfo) != NULL) {
mfo                94 ext/intl/msgformat/msgformat_class.c 		MSG_FORMAT_OBJECT(new_mfo) = umsg_clone(MSG_FORMAT_OBJECT(mfo),
mfo                95 ext/intl/msgformat/msgformat_class.c 				&INTL_DATA_ERROR_CODE(mfo));
mfo                97 ext/intl/msgformat/msgformat_class.c 		if (U_FAILURE(INTL_DATA_ERROR_CODE(mfo))) {
mfo                98 ext/intl/msgformat/msgformat_class.c 			intl_errors_set(INTL_DATA_ERROR_P(mfo), INTL_DATA_ERROR_CODE(mfo),
mfo                39 ext/intl/msgformat/msgformat_class.h #define MSG_FORMAT_METHOD_INIT_VARS		INTL_METHOD_INIT_VARS(MessageFormatter, mfo)
mfo                40 ext/intl/msgformat/msgformat_class.h #define MSG_FORMAT_METHOD_FETCH_OBJECT_NO_CHECK	INTL_METHOD_FETCH_OBJECT(MessageFormatter, mfo)
mfo                43 ext/intl/msgformat/msgformat_class.h 	if (MSG_FORMAT_OBJECT(mfo) == NULL)	{								\
mfo                44 ext/intl/msgformat/msgformat_class.h 		intl_errors_set(&mfo->mf_data.error, U_ILLEGAL_ARGUMENT_ERROR,	\
mfo                49 ext/intl/msgformat/msgformat_class.h #define MSG_FORMAT_OBJECT(mfo)			(mfo)->mf_data.umsgf
mfo                35 ext/intl/msgformat/msgformat_format.c static void msgfmt_do_format(MessageFormatter_object *mfo, zval *args, zval *return_value TSRMLS_DC)
mfo                49 ext/intl/msgformat/msgformat_format.c 	umsg_format_helper(mfo, args_copy, &formatted, &formatted_len TSRMLS_CC);
mfo                54 ext/intl/msgformat/msgformat_format.c 	if (formatted && U_FAILURE(INTL_DATA_ERROR_CODE(mfo))) {
mfo                58 ext/intl/msgformat/msgformat_format.c 	if (U_FAILURE(INTL_DATA_ERROR_CODE(mfo))) {
mfo                61 ext/intl/msgformat/msgformat_format.c 		INTL_METHOD_RETVAL_UTF8(mfo, formatted, formatted_len, 1);
mfo                90 ext/intl/msgformat/msgformat_format.c 	msgfmt_do_format(mfo, args, return_value TSRMLS_CC);
mfo               109 ext/intl/msgformat/msgformat_format.c 	MessageFormatter_object *mfo = &mf;
mfo               121 ext/intl/msgformat/msgformat_format.c 	msgformat_data_init(&mfo->mf_data TSRMLS_CC);
mfo               124 ext/intl/msgformat/msgformat_format.c 		intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
mfo               125 ext/intl/msgformat/msgformat_format.c 		if( U_FAILURE(INTL_DATA_ERROR_CODE((mfo))) )
mfo               141 ext/intl/msgformat/msgformat_format.c 	if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
mfo               149 ext/intl/msgformat/msgformat_format.c 	MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mfo));
mfo               153 ext/intl/msgformat/msgformat_format.c 	INTL_METHOD_CHECK_STATUS(mfo, "Creating message formatter failed");
mfo               155 ext/intl/msgformat/msgformat_format.c 	msgfmt_do_format(mfo, args, return_value TSRMLS_CC);
mfo               158 ext/intl/msgformat/msgformat_format.c 	msgformat_data_free(&mfo->mf_data TSRMLS_CC);
mfo                21 ext/intl/msgformat/msgformat_helpers.h void umsg_format_helper(MessageFormatter_object *mfo, HashTable *args,
mfo                31 ext/intl/msgformat/msgformat_parse.c static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, int src_len, zval *return_value TSRMLS_DC) 
mfo                39 ext/intl/msgformat/msgformat_parse.c 	intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo));
mfo                40 ext/intl/msgformat/msgformat_parse.c 	INTL_METHOD_CHECK_STATUS(mfo, "Converting parse string failed");
mfo                42 ext/intl/msgformat/msgformat_parse.c 	umsg_parse_helper(MSG_FORMAT_OBJECT(mfo), &count, &fargs, usource, usrc_len, &INTL_DATA_ERROR_CODE(mfo));
mfo                46 ext/intl/msgformat/msgformat_parse.c 	INTL_METHOD_CHECK_STATUS(mfo, "Parsing failed");
mfo                81 ext/intl/msgformat/msgformat_parse.c 	msgfmt_do_parse(mfo, source, source_len, return_value TSRMLS_CC);
mfo               101 ext/intl/msgformat/msgformat_parse.c 	MessageFormatter_object *mfo = &mf;
mfo               113 ext/intl/msgformat/msgformat_parse.c 	msgformat_data_init(&mfo->mf_data TSRMLS_CC);
mfo               116 ext/intl/msgformat/msgformat_parse.c 		intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
mfo               117 ext/intl/msgformat/msgformat_parse.c 		if( U_FAILURE(INTL_DATA_ERROR_CODE((mfo))) )
mfo               133 ext/intl/msgformat/msgformat_parse.c 	if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) {
mfo               141 ext/intl/msgformat/msgformat_parse.c 	MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mfo));
mfo               145 ext/intl/msgformat/msgformat_parse.c 	INTL_METHOD_CHECK_STATUS(mfo, "Creating message formatter failed");
mfo               147 ext/intl/msgformat/msgformat_parse.c 	msgfmt_do_parse(mfo, source, src_len, return_value TSRMLS_CC);
mfo               150 ext/intl/msgformat/msgformat_parse.c 	msgformat_data_free(&mfo->mf_data TSRMLS_CC);