Searched refs:safe_div (Results 1 – 8 of 8) sorted by relevance
/external/safe-iop/src/ |
D | safe_iop.c | 932 a=SCHAR_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s8() 933 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s8() 934 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b)); in T_div_s8() 941 a=SHRT_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s16() 942 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s16() 943 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b)); in T_div_s16() 950 a=INT_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s32() 951 a=100; b=0; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s32() 952 a=10; b=2; EXPECT_TRUE(safe_div(NULL, a, b)); in T_div_s32() 959 a=SAFE_INT64_MIN; b=-1; EXPECT_FALSE(safe_div(NULL, a, b)); in T_div_s64() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | seh-safe-div.ll | 7 ; int safe_div(int *n, int *d) { 26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @__C_specific_handler to… 57 ; CHECK: {{^}}safe_div: 58 ; CHECK: .seh_proc safe_div 145 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00" 153 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr) 158 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr) 161 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
|
D | seh-safe-div-win32.ll | 7 ; int safe_div(int *n, int *d) { 26 define i32 @safe_div(i32* %n, i32* %d) personality i8* bitcast (i32 (...)* @_except_handler3 to i8*… 81 ; CHECK: L__ehtable$safe_div: 138 @str_result = internal constant [21 x i8] c"safe_div result: %d\0A\00" 146 %r1 = call i32 @safe_div(i32* %n.addr, i32* %d.addr) 151 %r2 = call i32 @safe_div(i32* %n.addr, i32* %d.addr) 154 %r3 = call i32 @safe_div(i32* %n.addr, i32* null)
|
/external/safe-iop/include/ |
D | safe_iop.h | 256 #define safe_div(_ptr, __a, __b) \ macro 280 (safe_div(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 281 safe_div((_ptr), __sio(var)(r), __sio(var)(c))); }) 289 (safe_div(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 290 safe_div(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \ 291 safe_div((_ptr), __sio(var)(r), (__sio(var)(d)))); }) 300 (safe_div(&(__sio(var)(r)), __sio(var)(a), __sio(var)(b)) && \ 301 safe_div(&(__sio(var)(r)), __sio(var)(r), __sio(var)(c)) && \ 302 safe_div(&(__sio(var)(r)), __sio(var)(r), __sio(var)(d)) && \ 303 safe_div((_ptr), __sio(var)(r), __sio(var)(e))); }) [all …]
|
/external/clang/test/CodeGen/ |
D | exceptions-seh.c | 18 int safe_div(int numerator, int denominator, int *res) { in safe_div() function
|
/external/clang/test/SemaCXX/ |
D | exceptions-seh.cpp | 5 int safe_div(int n, int d) { in safe_div() function
|
/external/valgrind/cachegrind/ |
D | cg_annotate.in | 171 sub safe_div($$) 625 my $prop = safe_div(abs($fn_CC->[$sort_order[$i]] * 100), 885 100 * safe_div(abs($printed_totals_CC->[$i]),
|
/external/v8/src/x64/ |
D | macro-assembler-x64.cc | 1993 Label safe_div; in SmiDiv() local 1995 j(not_zero, &safe_div, Label::kNear); in SmiDiv() 1998 j(positive, &safe_div, Label::kNear); in SmiDiv() 2004 bind(&safe_div); in SmiDiv() 2052 Label safe_div; in SmiMod() local 2054 j(not_equal, &safe_div, Label::kNear); in SmiMod() 2056 j(not_equal, &safe_div, Label::kNear); in SmiMod() 2063 bind(&safe_div); in SmiMod()
|