/libcore/luni/src/test/java/libcore/java/math/ |
OldBigIntegerDivideTest.java | 38 BigInteger bNumber = new BigInteger(bSign, bBytes); 40 aNumber.divideAndRemainder(bNumber);
|
OldBigDecimalArithmeticTest.java | 331 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 333 BigDecimal result = aNumber.divideToIntegralValue(bNumber); 385 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 387 BigDecimal result[] = aNumber.divideAndRemainder(bNumber); 434 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 436 BigDecimal result = aNumber.remainder(bNumber); 546 BigDecimal bNumber = new BigDecimal(new BigInteger(b)); 547 BigDecimal result = aNumber.divide(bNumber, rm); 561 BigDecimal bNumber = new BigDecimal(new BigInteger(b)); 562 BigDecimal result = aNumber.divide(bNumber, rm) [all...] |
/external/pdfium/core/fpdfapi/parser/ |
cfdf_document.cpp | 50 bool bNumber; 51 CFX_ByteString word = parser.GetNextWord(&bNumber); 52 if (bNumber) { 57 word = parser.GetNextWord(&bNumber); 58 if (!bNumber)
|
cpdf_data_avail.cpp | 729 bool bNumber; 730 CFX_ByteString wordObjNum = m_syntaxParser.GetNextWord(&bNumber); 731 if (!bNumber) 761 bool bNumber; 762 CFX_ByteString xrefpos_str = m_syntaxParser.GetNextWord(&bNumber); 763 if (!bNumber) { 805 bool bNumber; 806 CFX_ByteString objnum = m_parser.m_pSyntax->GetNextWord(&bNumber); 807 if (!bNumber) [all...] |
cpdf_parser.cpp | 165 bool bNumber; 166 CFX_ByteString xrefpos_str = m_pSyntax->GetNextWord(&bNumber); 167 if (!bNumber) 823 bool bNumber; 825 m_pSyntax->GetNextWord(&bNumber); 826 if (bNumber) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerNotTest.java | 41 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 BigInteger result = aNumber.andNot(bNumber); 61 BigInteger bNumber = new BigInteger(bSign, bBytes); 62 BigInteger result = aNumber.andNot(bNumber); 81 BigInteger bNumber = new BigInteger(bSign, bBytes); 82 BigInteger result = aNumber.andNot(bNumber); 101 BigInteger bNumber = new BigInteger(bSign, bBytes); 102 BigInteger result = aNumber.andNot(bNumber);
|
BigIntegerAddTest.java | 41 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 BigInteger result = aNumber.add(bNumber); 61 BigInteger bNumber = new BigInteger(bSign, bBytes); 62 BigInteger result = aNumber.add(bNumber); 83 BigInteger bNumber = new BigInteger(bSign, bBytes); 84 BigInteger result = aNumber.add(bNumber); 105 BigInteger bNumber = new BigInteger(bSign, bBytes); 106 BigInteger result = aNumber.add(bNumber); 127 BigInteger bNumber = new BigInteger(bSign, bBytes); 128 BigInteger result = aNumber.add(bNumber); [all...] |
BigIntegerAndTest.java | 41 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 BigInteger result = aNumber.and(bNumber); 61 BigInteger bNumber = new BigInteger(bSign, bBytes); 62 BigInteger result = aNumber.and(bNumber); 81 BigInteger bNumber = new BigInteger(bSign, bBytes); 82 BigInteger result = aNumber.and(bNumber); 101 BigInteger bNumber = new BigInteger(bSign, bBytes); 102 BigInteger result = aNumber.and(bNumber); 121 BigInteger bNumber = new BigInteger(bSign, bBytes); 122 BigInteger result = aNumber.and(bNumber); [all...] |
BigIntegerMultiplyTest.java | 41 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 BigInteger result = aNumber.multiply(bNumber); 62 BigInteger bNumber = new BigInteger(bSign, bBytes); 63 BigInteger result = aNumber.multiply(bNumber); 84 BigInteger bNumber = new BigInteger(bSign, bBytes); 85 BigInteger result = aNumber.multiply(bNumber); 106 BigInteger bNumber = new BigInteger(bSign, bBytes); 107 BigInteger result = aNumber.multiply(bNumber); 129 BigInteger bNumber = new BigInteger(bSign, bBytes); 130 BigInteger result = aNumber.multiply(bNumber); [all...] |
BigIntegerOrTest.java | 41 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 BigInteger result = aNumber.or(bNumber); 61 BigInteger bNumber = new BigInteger(bSign, bBytes); 62 BigInteger result = aNumber.or(bNumber); 81 BigInteger bNumber = new BigInteger(bSign, bBytes); 82 BigInteger result = aNumber.or(bNumber); 101 BigInteger bNumber = new BigInteger(bSign, bBytes); 102 BigInteger result = aNumber.or(bNumber); 121 BigInteger bNumber = new BigInteger(bSign, bBytes); 122 BigInteger result = aNumber.or(bNumber); [all...] |
BigIntegerSubtractTest.java | 42 BigInteger bNumber = new BigInteger(bSign, bBytes); 43 BigInteger result = aNumber.subtract(bNumber); 63 BigInteger bNumber = new BigInteger(bSign, bBytes); 64 BigInteger result = aNumber.subtract(bNumber); 85 BigInteger bNumber = new BigInteger(bSign, bBytes); 86 BigInteger result = aNumber.subtract(bNumber); 107 BigInteger bNumber = new BigInteger(bSign, bBytes); 108 BigInteger result = aNumber.subtract(bNumber); 128 BigInteger bNumber = new BigInteger(bSign, bBytes); 129 BigInteger result = aNumber.subtract(bNumber); [all...] |
BigIntegerXorTest.java | 39 BigInteger bNumber = new BigInteger(numB); 40 BigInteger result = aNumber.xor(bNumber); 52 BigInteger bNumber = new BigInteger(numB); 53 BigInteger result = aNumber.xor(bNumber); 65 BigInteger bNumber = new BigInteger(numB); 66 BigInteger result = aNumber.xor(bNumber); 78 BigInteger bNumber = new BigInteger(numB); 79 BigInteger result = aNumber.xor(bNumber); 91 BigInteger bNumber = new BigInteger(numB); 92 BigInteger result = aNumber.xor(bNumber); [all...] |
BigDecimalCompareTest.java | 97 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 99 assertEquals("incorrect result", result, aNumber.compareTo(bNumber)); 111 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 113 assertEquals("incorrect result", result, aNumber.compareTo(bNumber)); 125 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 127 assertEquals("incorrect result", result, aNumber.compareTo(bNumber)); 139 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 141 assertEquals("incorrect result", result, aNumber.compareTo(bNumber)); 153 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 155 assertEquals("incorrect result", result, aNumber.compareTo(bNumber)); [all...] |
BigDecimalScaleOperationsTest.java | 80 BigInteger bNumber = new BigInteger(a); 81 BigDecimal aNumber = new BigDecimal(bNumber, aScale); 82 assertTrue("incorrect unscaled value", aNumber.unscaledValue().equals(bNumber)); 93 BigDecimal bNumber = aNumber.setScale(newScale); 94 assertTrue("incorrect scale", bNumber.scale() == newScale); 95 assertEquals("incorrect value", 0, bNumber.compareTo(aNumber)); 105 BigDecimal bNumber = aNumber.setScale(newScale); 106 assertTrue("incorrect scale", bNumber.scale() == newScale); 107 assertEquals("incorrect value", 0, bNumber.compareTo(aNumber)); 134 BigDecimal bNumber = aNumber.setScale(newScale) [all...] |
BigIntegerCompareTest.java | 76 BigInteger bNumber = new BigInteger(bSign, bBytes); 77 assertEquals(1, aNumber.compareTo(bNumber)); 91 BigInteger bNumber = new BigInteger(bSign, bBytes); 92 assertEquals(-1, aNumber.compareTo(bNumber)); 105 BigInteger bNumber = new BigInteger(bSign, bBytes); 106 assertEquals(0, aNumber.compareTo(bNumber)); 120 BigInteger bNumber = new BigInteger(bSign, bBytes); 121 assertEquals(-1, aNumber.compareTo(bNumber)); 135 BigInteger bNumber = new BigInteger(bSign, bBytes); 136 assertEquals(1, aNumber.compareTo(bNumber)); [all...] |
BigIntegerDivideTest.java | 40 BigInteger bNumber = new BigInteger(bSign, bBytes); 42 aNumber.divide(bNumber); 55 BigInteger bNumber = BigInteger.ZERO; 57 aNumber.divide(bNumber); 73 BigInteger bNumber = new BigInteger(bSign, bBytes); 74 BigInteger result = aNumber.divide(bNumber); 93 BigInteger bNumber = new BigInteger(bSign, bBytes); 94 BigInteger result = aNumber.divide(bNumber); 114 BigInteger bNumber = new BigInteger(bSign, bBytes); 115 BigInteger result = aNumber.divide(bNumber); [all...] |
BigIntegerModPowTest.java | 249 BigInteger bNumber = new BigInteger(bSign, bBytes); 250 BigInteger result = aNumber.gcd(bNumber); 269 BigInteger bNumber = new BigInteger(bSign, bBytes); 270 BigInteger result = aNumber.gcd(bNumber); 287 BigInteger bNumber = new BigInteger(bSign, bBytes); 288 BigInteger result = aNumber.gcd(bNumber); 303 BigInteger bNumber = BigInteger.valueOf(0L); 304 BigInteger result = aNumber.gcd(bNumber); 322 BigInteger bNumber = new BigInteger(bSign, bBytes); 323 BigInteger result = aNumber.gcd(bNumber); [all...] |
BigDecimalConvertTest.java | 230 BigInteger bNumber = new BigInteger("123809648392384754573567356745735635678902957849027687"); 233 assertTrue("incorrect value", result.equals(bNumber)); 241 BigInteger bNumber = new BigInteger("123809648392384754573567356745735635678902957849"); 244 assertTrue("incorrect value", result.equals(bNumber)); 252 BigInteger bNumber = new BigInteger("123809648392384754573567356745735635678902957849027687876782870000000000000000"); 255 assertTrue("incorrect value", result.equals(bNumber)); 263 BigInteger bNumber = new BigInteger("-123809648392384754573567356745735635678902957849027687"); 266 assertTrue("incorrect value", result.equals(bNumber)); 274 BigInteger bNumber = new BigInteger("-123809648392384754573567356745735635678902957849"); 277 assertTrue("incorrect value", result.equals(bNumber)); [all...] |
BigDecimalArithmeticTest.java | 43 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 44 BigDecimal result = aNumber.add(bNumber); 60 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 62 BigDecimal result = aNumber.add(bNumber, mc); 78 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 79 BigDecimal result = aNumber.add(bNumber); 95 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 97 BigDecimal result = aNumber.add(bNumber, mc); 113 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 114 BigDecimal result = aNumber.add(bNumber); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
usbprotocoldefs.h | 409 BYTE bNumber;
|