123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
-
- do \
- { \
- if (NULL == ptr) \
- { \
- HV_LOG_INFO(DEFAULT,"%s == NULL assert failure!!!",
- return HV_FAILURE; \
- } \
- }while(0)
-
- do \
- { \
- if (NULL == ptr) \
- { \
- HV_LOG_INFO(DEFAULT,"%s == NULL assert failure!!!",
- return; \
- } \
- }while(0)
- do \
- { \
- if (NULL == ptr) \
- { \
- return; \
- } \
- }while(0)
- do \
- { \
- if (NULL == ptr) \
- { \
- HV_LOG_INFO(DEFAULT,"%s == NULL assert failure!!! return %s!!!",
- return ret; \
- } \
- }while(0)
- do \
- { \
- if (NULL == ptr) \
- { \
- return ret; \
- } \
- }while(0)
- do \
- { \
- if (HV_TRUE != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_TRUE assert failure!!!",
- return HV_FAILURE; \
- } \
- }while(0)
- do \
- { \
- if (HV_TRUE != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"peek HV_TRUE but (%s) != HV_TRUE assert failure!!!",
- } \
- }while(0)
- do \
- { \
- if (HV_TRUE != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_TRUE assert failure!!!",
- return; \
- } \
- }while(0)
- do \
- { \
- if (HV_TRUE != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_TRUE assert failure!!! return %s!!!",
- return ret; \
- } \
- }while(0)
- do \
- { \
- if (HV_TRUE != (expression)) \
- { \
- return ret; \
- } \
- }while(0)
- do \
- { \
- if (HV_SUCCESS != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_SUCCESS assert failure!!!",
- return HV_FAILURE; \
- } \
- }while(0)
- do \
- { \
- if (HV_SUCCESS != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"peek HV_SUCCESS but (%s) != HV_SUCCESS assert failure!!!",
- } \
- }while(0)
- do \
- { \
- if (HV_SUCCESS != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_SUCCESS assert failure!!! return %s!!!",
- return ret; \
- } \
- }while(0)
- do \
- { \
- if (HV_SUCCESS != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"(%s) != HV_SUCCESS assert failure!!!",
- return; \
- } \
- }while(0)
- do \
- { \
- if (HV_SUCCESS != (expression)) \
- { \
- HV_LOG_INFO(DEFAULT,"peek HV_SUCCESS but (%s) != HV_SUCCESS assert failure!!!",
- } \
- }while(0)
|