Home
last modified time | relevance | path

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

/PHP-5.4/ext/intl/msgformat/
H A Dmsgformat_data.c31 if( !mf_data ) in msgformat_data_init()
34 mf_data->umsgf = NULL; in msgformat_data_init()
35 mf_data->orig_format = NULL; in msgformat_data_init()
45 if( !mf_data ) in msgformat_data_free()
48 if( mf_data->umsgf ) in msgformat_data_free()
49 umsg_close( mf_data->umsgf ); in msgformat_data_free()
51 if(mf_data->orig_format) { in msgformat_data_free()
52 efree(mf_data->orig_format); in msgformat_data_free()
53 mf_data->orig_format = NULL; in msgformat_data_free()
56 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()
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.h37 void msgformat_data_init( msgformat_data* mf_data TSRMLS_DC );
38 void msgformat_data_free( msgformat_data* mf_data TSRMLS_DC );
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.c138 msgformat_data_init(&mfo->mf_data TSRMLS_CC); in PHP_FUNCTION()
175 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 11 milliseconds