Searched refs:safe_mod (Results 1 - 2 of 2) sorted by relevance
/external/safe-iop/src/ |
H A D | safe_iop.c | 807 a=SCHAR_MIN; b=-1; EXPECT_FALSE(safe_mod(NULL, a, b)); 808 a=100; b=0; EXPECT_FALSE(safe_mod(NULL, a, b)); 809 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b)); 816 a=SHRT_MIN; b=-1; EXPECT_FALSE(safe_mod(NULL, a, b)); 817 a=100; b=0; EXPECT_FALSE(safe_mod(NULL, a, b)); 818 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b)); 825 a=INT_MIN; b=-1; EXPECT_FALSE(safe_mod(NULL, a, b)); 826 a=100; b=0; EXPECT_FALSE(safe_mod(NULL, a, b)); 827 a=10; b=2; EXPECT_TRUE(safe_mod(NULL, a, b)); 834 a=SAFE_INT64_MIN; b=-1; EXPECT_FALSE(safe_mod(NUL [all...] |
/external/safe-iop/include/ |
H A D | safe_iop.h | 305 #define safe_mod(_ptr, __a, __b) \ macro 329 (safe_mod(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 330 safe_mod((_ptr), __sio(var)(r), __sio(var)(c))); }) 338 (safe_mod(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 339 safe_mod(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \ 340 safe_mod((_ptr), __sio(var)(r), (__sio(var)(d)))); }) 349 (safe_mod(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 350 safe_mod(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \ 351 safe_mod(&(__sio(var)(r)), __sio(var)(r), __sio(var)(d)) && \ 352 safe_mod((_pt [all...] |
Completed in 17 milliseconds