Lines Matching refs:mfo
28 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, size_t src_len, zval *retur… in msgfmt_do_parse() argument
36 intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo)); in msgfmt_do_parse()
37 INTL_METHOD_CHECK_STATUS(mfo, "Converting parse string failed"); in msgfmt_do_parse()
39 …umsg_parse_helper(MSG_FORMAT_OBJECT(mfo), &count, &fargs, usource, usrc_len, &INTL_DATA_ERROR_CODE… in msgfmt_do_parse()
43 INTL_METHOD_CHECK_STATUS(mfo, "Parsing failed"); in msgfmt_do_parse()
71 msgfmt_do_parse(mfo, source, source_len, return_value); in PHP_FUNCTION()
87 MessageFormatter_object *mfo = &mf; in PHP_FUNCTION() local
96 memset(mfo, 0, sizeof(*mfo)); in PHP_FUNCTION()
97 msgformat_data_init(&mfo->mf_data); in PHP_FUNCTION()
100 …_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo)); in PHP_FUNCTION()
101 if( U_FAILURE(INTL_DATA_ERROR_CODE((mfo))) ) in PHP_FUNCTION()
117 if(msgformat_fix_quotes(&spattern, &spattern_len, &INTL_DATA_ERROR_CODE(mfo)) != SUCCESS) { in PHP_FUNCTION()
125 …MSG_FORMAT_OBJECT(mfo) = umsg_open(spattern, spattern_len, slocale, NULL, &INTL_DATA_ERROR_CODE(mf… in PHP_FUNCTION()
129 INTL_METHOD_CHECK_STATUS(mfo, "Creating message formatter failed"); in PHP_FUNCTION()
131 msgfmt_do_parse(mfo, source, src_len, return_value); in PHP_FUNCTION()
134 msgformat_data_free(&mfo->mf_data); in PHP_FUNCTION()