• Home
  • Raw
  • Download

Lines Matching refs:opt

25     expectEquals(2, $opt$RemConst(6));  in remInt()
26 expectEquals(2, $opt$Rem(6, 4)); in remInt()
27 expectEquals(2, $opt$Rem(6, -4)); in remInt()
28 expectEquals(0, $opt$Rem(6, 3)); in remInt()
29 expectEquals(0, $opt$Rem(6, -3)); in remInt()
30 expectEquals(0, $opt$Rem(6, 1)); in remInt()
31 expectEquals(0, $opt$Rem(6, -1)); in remInt()
32 expectEquals(-1, $opt$Rem(-7, 3)); in remInt()
33 expectEquals(-1, $opt$Rem(-7, -3)); in remInt()
34 expectEquals(0, $opt$Rem(6, 6)); in remInt()
35 expectEquals(0, $opt$Rem(-6, -6)); in remInt()
36 expectEquals(7, $opt$Rem(7, 9)); in remInt()
37 expectEquals(7, $opt$Rem(7, -9)); in remInt()
38 expectEquals(-7, $opt$Rem(-7, 9)); in remInt()
39 expectEquals(-7, $opt$Rem(-7, -9)); in remInt()
41 expectEquals(0, $opt$Rem(Integer.MAX_VALUE, 1)); in remInt()
42 expectEquals(0, $opt$Rem(Integer.MAX_VALUE, -1)); in remInt()
43 expectEquals(0, $opt$Rem(Integer.MIN_VALUE, 1)); in remInt()
44 expectEquals(0, $opt$Rem(Integer.MIN_VALUE, -1)); // no overflow in remInt()
45 expectEquals(-1, $opt$Rem(Integer.MIN_VALUE, Integer.MAX_VALUE)); in remInt()
46 expectEquals(Integer.MAX_VALUE, $opt$Rem(Integer.MAX_VALUE, Integer.MIN_VALUE)); in remInt()
48 expectEquals(0, $opt$Rem(0, 7)); in remInt()
49 expectEquals(0, $opt$Rem(0, Integer.MAX_VALUE)); in remInt()
50 expectEquals(0, $opt$Rem(0, Integer.MIN_VALUE)); in remInt()
60 expectEquals(2L, $opt$RemConst(6L)); in remLong()
61 expectEquals(2L, $opt$Rem(6L, 4L)); in remLong()
62 expectEquals(2L, $opt$Rem(6L, -4L)); in remLong()
63 expectEquals(0L, $opt$Rem(6L, 3L)); in remLong()
64 expectEquals(0L, $opt$Rem(6L, -3L)); in remLong()
65 expectEquals(0L, $opt$Rem(6L, 1L)); in remLong()
66 expectEquals(0L, $opt$Rem(6L, -1L)); in remLong()
67 expectEquals(-1L, $opt$Rem(-7L, 3L)); in remLong()
68 expectEquals(-1L, $opt$Rem(-7L, -3L)); in remLong()
69 expectEquals(0L, $opt$Rem(6L, 6L)); in remLong()
70 expectEquals(0L, $opt$Rem(-6L, -6L)); in remLong()
71 expectEquals(7L, $opt$Rem(7L, 9L)); in remLong()
72 expectEquals(7L, $opt$Rem(7L, -9L)); in remLong()
73 expectEquals(-7L, $opt$Rem(-7L, 9L)); in remLong()
74 expectEquals(-7L, $opt$Rem(-7L, -9L)); in remLong()
76 expectEquals(0L, $opt$Rem(Long.MAX_VALUE, 1L)); in remLong()
77 expectEquals(0L, $opt$Rem(Long.MAX_VALUE, -1L)); in remLong()
78 expectEquals(0L, $opt$Rem(Long.MIN_VALUE, 1L)); in remLong()
79 expectEquals(0L, $opt$Rem(Long.MIN_VALUE, -1L)); // no overflow in remLong()
80 expectEquals(-1L, $opt$Rem(Long.MIN_VALUE, Long.MAX_VALUE)); in remLong()
81 expectEquals(Long.MAX_VALUE, $opt$Rem(Long.MAX_VALUE, Long.MIN_VALUE)); in remLong()
83 expectEquals(0L, $opt$Rem(0L, 7L)); in remLong()
84 expectEquals(0L, $opt$Rem(0L, Long.MAX_VALUE)); in remLong()
85 expectEquals(0L, $opt$Rem(0L, Long.MIN_VALUE)); in remLong()
94 static int $opt$Rem(int a, int b) { in $opt$Rem()
98 static int $opt$RemZero(int a) { in $opt$RemZero()
103 static int $opt$RemConst(int a) { in $opt$RemConst()
107 static long $opt$RemConst(long a) { in $opt$RemConst()
111 static long $opt$Rem(long a, long b) { in $opt$Rem()
115 static long $opt$RemZero(long a) { in $opt$RemZero()
133 $opt$Rem(value, 0); in expectDivisionByZero()
138 $opt$RemZero(value); in expectDivisionByZero()
146 $opt$Rem(value, 0L); in expectDivisionByZero()
151 $opt$RemZero(value); in expectDivisionByZero()