Home
last modified time | relevance | path

Searched refs:NumberUtils (Results 1 – 6 of 6) sorted by relevance

/external/smali/util/src/test/java/org/jf/util/
DNumberUtilsTest.java40 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.23f))); in isLikelyFloatTest()
41 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1.0f))); in isLikelyFloatTest()
42 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NaN))); in isLikelyFloatTest()
43 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY))); in isLikelyFloatTest()
44 … Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(Float.POSITIVE_INFINITY))); in isLikelyFloatTest()
45 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1e-30f))); in isLikelyFloatTest()
46 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1000f))); in isLikelyFloatTest()
47 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(1f))); in isLikelyFloatTest()
48 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-1f))); in isLikelyFloatTest()
49 Assert.assertTrue(NumberUtils.isLikelyFloat(Float.floatToRawIntBits(-5f))); in isLikelyFloatTest()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/code/
DConstNumber.java19 import com.android.tools.r8.utils.NumberUtils;
99 assert NumberUtils.is32Bit(value); in buildDex()
100 if ((register & 0xf) == register && NumberUtils.is4Bit(value)) { in buildDex()
102 } else if (NumberUtils.is16Bit(value)) { in buildDex()
111 if (NumberUtils.is16Bit(value)) { in buildDex()
115 } else if (NumberUtils.is32Bit(value)) { in buildDex()
160 return NumberUtils.is8Bit(value); in is8Bit()
164 return NumberUtils.negativeIs8Bit(value); in negativeIs8Bit()
168 return NumberUtils.is16Bit(value); in is16Bit()
172 return NumberUtils.negativeIs16Bit(value); in negativeIs16Bit()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DCodeItem.java45 import org.jf.util.NumberUtils;
323 if (NumberUtils.isLikelyFloat(value)) { in makeAnnotator()
330 if (NumberUtils.isLikelyDouble(value)) { in makeAnnotator()
363 if (NumberUtils.isLikelyDouble(value)) { in makeAnnotator()
370 if (NumberUtils.isLikelyFloat(value)) { in makeAnnotator()
/external/r8/src/main/java/com/android/tools/r8/utils/
DNumberUtils.java9 public class NumberUtils { class
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DInstructionMethodItem.java48 import org.jf.util.NumberUtils;
497 if (NumberUtils.isLikelyFloat(val)) { in writeCommentIfLikelyFloat()
524 if (NumberUtils.isLikelyDouble(val)) { in writeCommentIfLikelyDouble()
/external/smali/util/src/main/java/org/jf/util/
DNumberUtils.java36 public class NumberUtils { class