Home
last modified time | relevance | path

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

/PHP-5.6/ext/intl/msgformat/
H A Dmsgformat_data.c31 if( !mf_data ) in msgformat_data_init()
34 mf_data->umsgf = NULL; in msgformat_data_init()
36 mf_data->arg_types = NULL; in msgformat_data_init()
37 mf_data->tz_set = 0; in msgformat_data_init()
47 if (!mf_data) in msgformat_data_free()
50 if (mf_data->umsgf) in msgformat_data_free()
53 if (mf_data->orig_format) { in msgformat_data_free()
58 if (mf_data->arg_types) { in msgformat_data_free()
60 efree(mf_data->arg_types); in msgformat_data_free()
64 mf_data->umsgf = NULL; in msgformat_data_free()
[all …]
H A Dmsgformat_attr.c49 if(mfo->mf_data.orig_format) { in PHP_FUNCTION()
50 RETURN_STRINGL(mfo->mf_data.orig_format, mfo->mf_data.orig_format_len, 1); in PHP_FUNCTION()
100 if(mfo->mf_data.orig_format) { in PHP_FUNCTION()
101 efree(mfo->mf_data.orig_format); in PHP_FUNCTION()
103 mfo->mf_data.orig_format = estrndup(value, value_len); in PHP_FUNCTION()
104 mfo->mf_data.orig_format_len = value_len; in PHP_FUNCTION()
106 if (mfo->mf_data.arg_types) { in PHP_FUNCTION()
107 zend_hash_destroy(mfo->mf_data.arg_types); in PHP_FUNCTION()
108 efree(mfo->mf_data.arg_types); in PHP_FUNCTION()
109 mfo->mf_data.arg_types = NULL; in PHP_FUNCTION()
H A Dmsgformat_class.h31 msgformat_data mf_data; member
44 intl_errors_set(&mfo->mf_data.error, U_ILLEGAL_ARGUMENT_ERROR, \
49 #define MSG_FORMAT_OBJECT(mfo) (mfo)->mf_data.umsgf
H A Dmsgformat.c73 if ((mfo)->mf_data.orig_format) { in msgfmt_ctor()
74 msgformat_data_free(&mfo->mf_data TSRMLS_CC); 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()
164 message = intl_error_get_message( &mfo->mf_data.error TSRMLS_CC ); in PHP_FUNCTION()
H A Dmsgformat_data.h39 void msgformat_data_init( msgformat_data* mf_data TSRMLS_DC );
40 void msgformat_data_free( msgformat_data* mf_data TSRMLS_DC );
H A Dmsgformat_helpers.cpp96 if (mfo->mf_data.arg_types) { in umsg_get_numeric_types()
98 return mfo->mf_data.arg_types; in umsg_get_numeric_types()
102 *(MessageFormat*)mfo->mf_data.umsgf, parts_count); in umsg_get_numeric_types()
126 mfo->mf_data.arg_types = ret; in umsg_get_numeric_types()
147 if (mfo->mf_data.arg_types) { in umsg_parse_format()
149 return mfo->mf_data.arg_types; in umsg_parse_format()
293 mfo->mf_data.arg_types = ret; in umsg_parse_format()
302 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_get_types()
322 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_set_timezone()
332 if (mfo->mf_data.tz_set) { in umsg_set_timezone()
[all …]
H A Dmsgformat_parse.c113 msgformat_data_init(&mfo->mf_data TSRMLS_CC); in PHP_FUNCTION()
150 msgformat_data_free(&mfo->mf_data TSRMLS_CC); in PHP_FUNCTION()
H A Dmsgformat_format.c122 msgformat_data_init(&mfo->mf_data TSRMLS_CC); in PHP_FUNCTION()
159 msgformat_data_free(&mfo->mf_data TSRMLS_CC); in PHP_FUNCTION()
H A Dmsgformat_class.c50 msgformat_data_free( &mfo->mf_data TSRMLS_CC ); in MessageFormatter_object_free()
63 msgformat_data_init( &intern->mf_data TSRMLS_CC ); in MessageFormatter_object_create()

Completed in 14 milliseconds