Lines Matching refs:obj
35 #define INTL_METHOD_INIT_VARS(oclass, obj) \ argument
37 oclass##_object* obj = NULL; \
40 #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) argument
41 #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) argument
42 #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) argument
44 #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ argument
45 obj = Z_##oclass##_P( object ); \
46 intl_error_reset( INTL_DATA_ERROR_P(obj) ); \
68 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
69 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
70 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
72 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
77 #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ argument
78 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
79 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
81 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
87 #define INTL_CTOR_CHECK_STATUS(obj, msg) \ argument
88 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
89 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
91 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
95 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
98 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
102 INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \