Home
last modified time | relevance | path

Searched refs:mf_data (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/intl/msgformat/
H A Dmsgformat_data.c29 if( !mf_data ) in msgformat_data_init()
32 mf_data->umsgf = NULL; in msgformat_data_init()
34 mf_data->arg_types = NULL; in msgformat_data_init()
35 mf_data->tz_set = 0; in msgformat_data_init()
45 if (!mf_data) in msgformat_data_free()
48 if (mf_data->umsgf) in msgformat_data_free()
51 if (mf_data->orig_format) { in msgformat_data_free()
56 if (mf_data->arg_types) { in msgformat_data_free()
58 efree(mf_data->arg_types); in msgformat_data_free()
62 mf_data->umsgf = NULL; in msgformat_data_free()
[all …]
H A Dmsgformat_attr.c40 if(mfo->mf_data.orig_format) { in PHP_FUNCTION()
41 RETURN_STRINGL(mfo->mf_data.orig_format, mfo->mf_data.orig_format_len); in PHP_FUNCTION()
85 if(mfo->mf_data.orig_format) { in PHP_FUNCTION()
86 efree(mfo->mf_data.orig_format); in PHP_FUNCTION()
88 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
89 mfo->mf_data.orig_format_len = value_len; in PHP_FUNCTION()
91 if (mfo->mf_data.arg_types) { in PHP_FUNCTION()
92 zend_hash_destroy(mfo->mf_data.arg_types); in PHP_FUNCTION()
93 efree(mfo->mf_data.arg_types); in PHP_FUNCTION()
94 mfo->mf_data.arg_types = NULL; in PHP_FUNCTION()
H A Dmsgformat_data.h37 void msgformat_data_init( msgformat_data* mf_data );
38 void msgformat_data_free( msgformat_data* mf_data );
H A Dmsgformat.c75 if ((mfo)->mf_data.orig_format) { in msgfmt_ctor()
76 msgformat_data_free(&mfo->mf_data); in msgfmt_ctor()
79 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
80 (mfo)->mf_data.orig_format_len = pattern_len; in msgfmt_ctor()
176 message = intl_error_get_message( &mfo->mf_data.error ); in PHP_FUNCTION()
H A Dmsgformat_class.h29 msgformat_data mf_data; member
53 #define MSG_FORMAT_OBJECT(mfo) (mfo)->mf_data.umsgf
H A Dmsgformat_helpers.cpp99 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()
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()
287 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_get_types()
297 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_set_timezone()
307 if (mfo->mf_data.tz_set) { in umsg_set_timezone()
[all …]
H A Dmsgformat_class.c38 msgformat_data_free( &mfo->mf_data ); in MessageFormatter_object_free()
48 msgformat_data_init( &intern->mf_data ); in MessageFormatter_object_create()
H A Dmsgformat_parse.c98 msgformat_data_init(&mfo->mf_data); in PHP_FUNCTION()
135 msgformat_data_free(&mfo->mf_data); in PHP_FUNCTION()
H A Dmsgformat_format.c95 msgformat_data_init(&mfo->mf_data); in PHP_FUNCTION()
152 msgformat_data_free(&mfo->mf_data); in PHP_FUNCTION()

Completed in 17 milliseconds