Lines Matching refs:safe_div
932 a=SCHAR_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
933 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
934 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
941 a=SHRT_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
942 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
943 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
950 a=INT_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
951 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
952 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
959 a=SAFE_INT64_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
960 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
961 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
968 a=LONG_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
969 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
970 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
976 a=LLONG_MIN; b=-1LL; EXPECT_FALSE(safe_div(NULL, a, b));
977 a=100LL; b=0LL; EXPECT_FALSE(safe_div(NULL, a, b));
978 a=10LL; b=2LL; EXPECT_TRUE(safe_div(NULL, a, b));
984 a=SSIZE_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b));
985 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
986 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
993 a=0; b=UCHAR_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
994 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
995 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1002 a=0; b=USHRT_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1003 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
1004 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1011 a=0; b=UINT_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1012 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
1013 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1020 a=0; b=SAFE_INT64_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1021 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
1022 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1029 a=0; b=LONG_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1030 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
1031 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));
1038 a=0ULL; b=~0ULL; EXPECT_TRUE(safe_div(NULL, a, b));
1039 a=100ULL; b=0ULL; EXPECT_FALSE(safe_div(NULL, a, b));
1040 a=10ULL; b=2ULL; EXPECT_TRUE(safe_div(NULL, a, b));
1047 a=0; b=SIZE_MAX; EXPECT_TRUE(safe_div(NULL, a, b));
1048 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b));
1049 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b));