Lines Matching refs:b
125 static boolean $opt$eq(float a, float b) { in $opt$eq() argument
126 return a == b; in $opt$eq()
129 static boolean $opt$eq(double a, double b) { in $opt$eq() argument
130 return a == b; in $opt$eq()
133 static boolean $opt$lt(long a, long b) { in $opt$lt() argument
134 return a < b; in $opt$lt()
137 static boolean $opt$lt(float a, float b) { in $opt$lt() argument
138 return a < b; in $opt$lt()
141 static boolean $opt$lt(double a, double b) { in $opt$lt() argument
142 return a < b; in $opt$lt()
145 static boolean $opt$gt(long a, long b) { in $opt$gt() argument
146 return a > b; in $opt$gt()
149 static boolean $opt$gt(float a, float b) { in $opt$gt() argument
150 return a > b; in $opt$gt()
153 static boolean $opt$gt(double a, double b) { in $opt$gt() argument
154 return a > b; in $opt$gt()
159 private static int smaliCmpLong(long a, long b) throws Exception { in smaliCmpLong() argument
162 int result = (Integer)m.invoke(null, a, b); in smaliCmpLong()
166 private static int smaliCmpGtFloat(float a, float b) throws Exception { in smaliCmpGtFloat() argument
169 int result = (Integer)m.invoke(null, a, b); in smaliCmpGtFloat()
173 private static int smaliCmpLtFloat(float a, float b) throws Exception { in smaliCmpLtFloat() argument
176 int result = (Integer)m.invoke(null, a, b); in smaliCmpLtFloat()
180 private static int smaliCmpGtDouble(double a, double b) throws Exception { in smaliCmpGtDouble() argument
183 int result = (Integer)m.invoke(null, a, b); in smaliCmpGtDouble()
187 private static int smaliCmpLtDouble(double a, double b) throws Exception { in smaliCmpLtDouble() argument
190 int result = (Integer)m.invoke(null, a, b); in smaliCmpLtDouble()
200 public static void expectLt(long a, long b) { in expectLt() argument
201 if (!$opt$lt(a, b)) { in expectLt()
202 throw new Error("Expected: " + a + " < " + b); in expectLt()
206 public static void expectGt(long a, long b) { in expectGt() argument
207 if (!$opt$gt(a, b)) { in expectGt()
208 throw new Error("Expected: " + a + " > " + b); in expectGt()
212 public static void expectEq(float a, float b) { in expectEq() argument
213 if (!$opt$eq(a, b)) { in expectEq()
214 throw new Error("Expected: " + a + " == " + b); in expectEq()
218 public static void expectLt(float a, float b) { in expectLt() argument
219 if (!$opt$lt(a, b)) { in expectLt()
220 throw new Error("Expected: " + a + " < " + b); in expectLt()
224 public static void expectGt(float a, float b) { in expectGt() argument
225 if (!$opt$gt(a, b)) { in expectGt()
226 throw new Error("Expected: " + a + " > " + b); in expectGt()
230 public static void expectFalse(float a, float b) { in expectFalse() argument
231 if ($opt$lt(a, b)) { in expectFalse()
232 throw new Error("Not expecting: " + a + " < " + b); in expectFalse()
234 if ($opt$gt(a, b)) { in expectFalse()
235 throw new Error("Not expecting: " + a + " > " + b); in expectFalse()
239 public static void expectEq(double a, double b) { in expectEq() argument
240 if (!$opt$eq(a, b)) { in expectEq()
241 throw new Error("Expected: " + a + " == " + b); in expectEq()
245 public static void expectLt(double a, double b) { in expectLt() argument
246 if (!$opt$lt(a, b)) { in expectLt()
247 throw new Error("Expected: " + a + " < " + b); in expectLt()
251 public static void expectGt(double a, double b) { in expectGt() argument
252 if (!$opt$gt(a, b)) { in expectGt()
253 throw new Error("Expected: " + a + " > " + b); in expectGt()
257 public static void expectFalse(double a, double b) { in expectFalse() argument
258 if ($opt$lt(a, b)) { in expectFalse()
259 throw new Error("Not expecting: " + a + " < " + b); in expectFalse()
261 if ($opt$gt(a, b)) { in expectFalse()
262 throw new Error("Not expecting: " + a + " > " + b); in expectFalse()