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 = (oclass##_object *) zend_object_store_get_object( object TSRMLS_CC ); \
46 intl_error_reset( INTL_DATA_ERROR_P(obj) TSRMLS_CC ); \
58 #define INTL_METHOD_CHECK_STATUS(obj, msg) \ argument
59 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) TSRMLS_CC ); \
60 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
62 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 TSRMLS_CC ); \
67 #define INTL_CTOR_CHECK_STATUS(obj, msg) \ argument
68 intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) TSRMLS_CC ); \
69 if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \
71 intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 TSRMLS_CC ); \
76 #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ argument
80 intl_convert_utf16_to_utf8(&u8value, &u8len, ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \
84 INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \