Lines Matching refs:exp
45 #define SDK_ASSERT(exp) \ argument
46 (void) ((exp) || (OSi_Panic(__FILE__, __LINE__, "Failed assertion " #exp), 0))
50 #define SDK_ASSERT(exp) ((void) 0)
63 #define SDK_ASSERTMSG(exp, ...) \ argument
64 (void) ((exp) || (OSi_Panic(__FILE__, __LINE__, __VA_ARGS__), 0))
67 #define SDK_TASSERTMSG(exp, ...) \ argument
68 (void) ((exp) || (OSi_TPanic(__FILE__, __LINE__, __VA_ARGS__), 0))
72 #define SDK_ASSERTMSG(exp, ...) ((void) 0)
75 #define SDK_TASSERTMSG(exp, ...) ((void) 0)
84 #define SDK_ASSERT_INT(exp, value) \ argument
85 …(void) ((exp) || (OSi_Panic(__FILE__, __LINE__, "Failed assertion %s : %s = %p", #exp, #value, va…
89 #define SDK_ASSERT_INT(exp, value) ((void) 0)
98 #define SDK_WARNING(exp, ...) \ argument
99 (void) ((exp) || (OSi_Warning(__FILE__, __LINE__, __VA_ARGS__), 0))
102 #define SDK_TWARNING(exp, ...) \ argument
103 (void) ((exp) || (OSi_TWarning(__FILE__, __LINE__, __VA_ARGS__), 0))
107 #define SDK_WARNING(exp, ...) ((void) 0)
110 #define SDK_TWARNING(exp, ...) ((void) 0)
119 #define SDK_NULL_ASSERT(exp) \ argument
120 …(void) (((exp) != NULL) || (OSi_Panic(__FILE__, __LINE__, "Pointer must not be NULL ("#exp")"), 0))
124 #define SDK_NULL_ASSERT(exp) ((void) 0)
133 #define SDK_IS_VALID_POINTER(exp) ( (0x01000000 <= ((u32)(exp))) && (((u32)(exp)) < 0x10000000) ) argument
138 #define SDK_IS_VALID_POINTER(exp) (TRUE)
147 #define SDK_POINTER_ASSERT(exp) \ argument
148 …(void) (SDK_IS_VALID_POINTER(exp) || (OSi_Panic(__FILE__, __LINE__, "%s(=%p) is not valid pointer"…
152 #define SDK_POINTER_ASSERT(exp) ((void) 0)
161 #define SDK_POINTER_OR_NULL_ASSERT(exp) \ argument
162 …(void) (((exp) == NULL) || SDK_IS_VALID_POINTER(exp) || (OSi_Panic(__FILE__, __LINE__, "%s(=%p) mu…
166 #define SDK_POINTER_OR_NULL_ASSERT(exp) ((void) 0)
175 #define SDK_MIN_ASSERT(exp, min) \ argument
176 (void) (((exp) >= (min)) || \
177 …(OSi_Panic(__FILE__, __LINE__, #exp " is out of bounds(%d)\n%d <= "#exp" not satisfied.", exp, min…
181 #define SDK_MIN_ASSERT(exp, min) ((void) 0)
190 #define SDK_MAX_ASSERT(exp, max) \ argument
191 (void) (((exp) <= (max)) || \
192 …(OSi_Panic(__FILE__, __LINE__, #exp " is out of bounds(%d)\n"#exp" <= %d not satisfied.", exp, max…
196 #define SDK_MAX_ASSERT(exp, max) ((void) 0)
205 #define SDK_MINMAX_ASSERT(exp, min, max) \ argument
206 (void) (((exp) >= (min) && (exp) <= (max)) || \
207 …(OSi_Panic(__FILE__, __LINE__, #exp " is out of bounds(%d)\n%d <= "#exp" <= %d not satisfied.", ex…
211 #define SDK_MINMAX_ASSERT(exp, min, max) ((void) 0)
262 #define SDK_ALIGN4_ASSERT(exp) \ argument
263 …oid) ((((u32)(exp) & 3) == 0) || (OSi_Panic(__FILE__, __LINE__, "Alignment Error(0x%08x)\n"#exp" m…
267 #define SDK_ALIGN4_ASSERT(exp) ((void) 0)
276 #define SDK_ALIGN2_ASSERT(exp) \ argument
277 …oid) ((((u32)(exp) & 1) == 0) || (OSi_Panic(__FILE__, __LINE__, "Alignment Error(0x%08x)\n"#exp" m…
281 #define SDK_ALIGN2_ASSERT(exp) ((void) 0)