Lines Matching refs:obj
33 #define INTL_METHOD_INIT_VARS(oclass, obj) \ argument
35 oclass##_object* obj = NULL; \
38 #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) argument
39 #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) argument
40 #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) argument
42 #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ argument
43 obj = Z_##oclass##_P( object ); \
44 intl_error_reset( INTL_DATA_ERROR_P(obj) ); \
66 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
67 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
68 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
70 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
75 #define INTL_METHOD_CHECK_STATUS_OR_GOTO(obj, msg, label) \ argument
76 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
77 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
79 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
85 #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ argument
86 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
87 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
89 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
95 #define INTL_CTOR_CHECK_STATUS(obj, msg) \ argument
96 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \
97 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
99 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \
103 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
106 u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
110 INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \