Lines Matching refs:mfo
89 static HashTable *umsg_get_numeric_types(MessageFormatter_object *mfo, in umsg_get_numeric_types() argument
99 if (mfo->mf_data.arg_types) { in umsg_get_numeric_types()
101 return mfo->mf_data.arg_types; in umsg_get_numeric_types()
105 *(MessageFormat*)mfo->mf_data.umsgf, parts_count); in umsg_get_numeric_types()
124 mfo->mf_data.arg_types = ret; in umsg_get_numeric_types()
129 static HashTable *umsg_parse_format(MessageFormatter_object *mfo, in umsg_parse_format() argument
140 if (!((MessageFormat *)mfo->mf_data.umsgf)->usesNamedArguments()) { in umsg_parse_format()
141 return umsg_get_numeric_types(mfo, err); in umsg_parse_format()
144 if (mfo->mf_data.arg_types) { in umsg_parse_format()
146 return mfo->mf_data.arg_types; in umsg_parse_format()
279 mfo->mf_data.arg_types = ret; in umsg_parse_format()
284 static HashTable *umsg_get_types(MessageFormatter_object *mfo, in umsg_get_types() argument
287 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_get_types()
291 return umsg_parse_format(mfo, mp, err); in umsg_get_types()
294 static void umsg_set_timezone(MessageFormatter_object *mfo, in umsg_set_timezone() argument
297 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_set_timezone()
307 if (mfo->mf_data.tz_set) { in umsg_set_timezone()
356 mfo->mf_data.tz_set = 1; in umsg_set_timezone()
364 U_CFUNC void umsg_format_helper(MessageFormatter_object *mfo, in umsg_format_helper() argument
372 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_format_helper()
374 intl_error& err = INTL_DATA_ERROR(mfo); in umsg_format_helper()
380 types = umsg_get_types(mfo, err); in umsg_format_helper()
382 umsg_set_timezone(mfo, err); in umsg_format_helper()