/external/icu/icu4c/source/test/cintltst/ |
D | cstrtest.c | 37 int32_t intValue=0; in TestAPI() local 82 intValue=T_CString_stringToInteger("34556", 10); in TestAPI() 83 if(intValue != 34556){ in TestAPI() 84 …"FAIL: ****T_CString_stringToInteger(\"34556\", 10) failed. Expected: 34556, Got: %d\n", intValue); in TestAPI() 86 intValue=T_CString_stringToInteger("100", 16); in TestAPI() 87 if(intValue != 256){ in TestAPI() 88 …err("FAIL: ****T_CString_stringToInteger(\"100\", 16) failed. Expected: 256, Got: %d\n", intValue); in TestAPI() 111 if((intValue=uprv_stricmp(NULL, "first string is null") )!= -1){ in TestAPI() 112 …AIL: uprv_stricmp() where the first string is null failed. Expected: -1, returned %d\n", intValue); in TestAPI() 114 if((intValue=uprv_stricmp("second string is null", NULL)) != 1){ in TestAPI() [all …]
|
/external/deqp/framework/common/ |
D | tcuEither.cpp | 89 const int intValue = 1503457782; in Either_selfTest() local 90 const Either<int, float> either (intValue); in Either_selfTest() 98 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest() 99 TCU_CHECK(either.get<int>() == intValue); in Either_selfTest() 119 const int intValue = 1942092699; in Either_selfTest() local 123 either = intValue; in Either_selfTest() 131 TCU_CHECK(either.getFirst() == intValue); in Either_selfTest() 132 TCU_CHECK(either.get<int>() == intValue); in Either_selfTest() 137 const int intValue = 1942092699; in Either_selfTest() local 139 Either<int, float> either (intValue); in Either_selfTest() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | UnsignedIntegerTest.java | 64 .intValue()); in testFromIntBitsAndIntValueAreInverses() 151 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testPlus() 153 assertEquals(expected, unsignedSum.intValue()); in testPlus() 164 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testMinus() 166 assertEquals(expected, unsignedSub.intValue()); in testMinus() 178 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testTimes() 180 assertEquals(aUnsigned + " * " + bUnsigned, expected, unsignedMul.intValue()); in testTimes() 192 aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).intValue(); in testDividedBy() 194 assertEquals(expected, unsignedDiv.intValue()); in testDividedBy() 217 aUnsigned.bigIntegerValue().mod(bUnsigned.bigIntegerValue()).intValue(); in testMod() [all …]
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | DefaultProviderTest.java | 51 Assert.assertEquals(a.log.intValue(), 42); in defaultProvider1() 60 Assert.assertEquals(a.log.intValue(), 42); in defaultProvider2() 69 Assert.assertEquals(a.log.intValue(), 42); in defaultProvider3() 79 Assert.assertEquals(a.log.intValue(), 19); in defaultProvider4() 88 Assert.assertEquals(a.log.intValue(), 18); in propertyFileDefaultProvider1() 97 Assert.assertEquals(a.log.intValue(), 18); in propertyFileDefaultProvider2() 107 Assert.assertEquals(a.log.intValue(), 18); in propertyFileDefaultProvider3() 117 Assert.assertEquals(a.log.intValue(), 19); in propertyFileDefaultProvider4()
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LevelTest.java | 44 assertEquals(1, l.intValue()); in testConstructorNoResBundle_Normal() 68 assertEquals(-3, l.intValue()); in testConstructorNoResBundle_EmptyName() 79 assertEquals(1, l.intValue()); in testConstructorHavingResBundle_Normal() 104 assertEquals(-1000, l.intValue()); in testConstructorHavingResBundle_EmptyName() 176 assertEquals(0, l.intValue()); in testParse_UndefinedNumber() 194 assertEquals(-4, l.intValue()); in testParse_NegativeNumber() 284 assertEquals("Value", init.intValue(), dser.intValue()); 364 assertEquals(800, MyLevel.parse("INFO").intValue()); in testSubclassNewLevel() 368 assertEquals(500, MyLevel.parse("FINE").intValue()); in testSubclassNewLevel() 371 assertEquals(300, MyLevel.parse("FINEST").intValue()); in testSubclassNewLevel() [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | Uint.java | 23 public final int intValue; field in Uint 26 this.intValue = value; in Uint() 30 return Unsigned.compare(intValue, uint.intValue); in compareTo()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | EncodedValue.java | 50 int intValue = reader.readByte(); in annotateEncodedValue() local 51 out.annotate(1, "value = 0x%x", intValue); in annotateEncodedValue() 55 intValue = reader.readSizedInt(valueArg+1); in annotateEncodedValue() 56 out.annotate(valueArg + 1, "value = 0x%x", intValue); in annotateEncodedValue() 60 intValue = reader.readSizedSmallUint(valueArg+1); in annotateEncodedValue() 61 out.annotate(valueArg+1, "value = 0x%x", intValue); in annotateEncodedValue() 65 intValue = reader.readSizedInt(valueArg+1); in annotateEncodedValue() 66 out.annotate(valueArg+1, "value = 0x%x", intValue); in annotateEncodedValue()
|
/external/icu/icu4c/source/i18n/ |
D | visibledigits.cpp | 124 … double &source, int64_t &intValue, int64_t &f, int64_t &t, int32_t &v, UBool &hasIntValue) const { in getFixedDecimal() argument 126 intValue = 0; in getFixedDecimal() 150 intValue = fAbsIntValue; in getFixedDecimal() 158 intValue = intValue * 10LL + getDigitByExponent(i); in getFixedDecimal() 160 if (intValue == 0LL && startPos > 0) { in getFixedDecimal() 161 intValue = 100000000000000000LL; in getFixedDecimal()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | ListViewActivity.java | 89 …Color.rgb(new Double(rl * 255).intValue(), new Double(gl * 255).intValue(), new Double(bl * 255).i… in getView() 90 …Color.rgb(new Double(rp * 255).intValue(), new Double(gp * 255).intValue(), new Double(bp * 255).i… in getView()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | ProperFractionFormat.java | 170 if (num.intValue() < 0) { in parse() 183 return new Fraction(num.intValue(), 1); in parse() 209 if (den.intValue() < 0) { in parse() 215 int w = whole.intValue(); in parse() 216 int n = num.intValue(); in parse() 217 int d = den.intValue(); in parse()
|
/external/icu/icu4c/source/samples/udata/ |
D | writer.c | 64 uint16_t intValue=2000; in main() local 89 printf("Writing uint16_t value of %d\n", intValue); in main() 90 udata_write16(pData, intValue); in main() 100 size=sizeof(stringValue) + sizeof(intValue); in main()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
D | DSAPublicKeySpecTest.java | 67 assertEquals(4, dpks.getG().intValue()); in testGetG() 80 assertEquals(2, dpks.getP().intValue()); in testGetP() 93 assertEquals(3, dpks.getQ().intValue()); in testGetQ() 106 assertEquals(1, dpks.getY().intValue()); in testGetY()
|
D | DSAPrivateKeySpecTest.java | 67 assertEquals(4, dpks.getG().intValue()); in testGetG() 80 assertEquals(2, dpks.getP().intValue()); in testGetP() 93 assertEquals(3, dpks.getQ().intValue()); in testGetQ() 106 assertEquals(1, dpks.getX().intValue()); in testGetX()
|
D | RSAKeyGenParameterSpecTest.java | 72 assertEquals(0, rkgps.getPublicExponent().intValue()); in testGetPublicExponent() 80 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue()); in testF0Value() 88 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue()); in testF4Value()
|
D | DSAParameterSpecTest.java | 65 assertEquals(3, dps.getG().intValue()); in testGetG() 77 assertEquals(1, dps.getP().intValue()); in testGetP() 89 assertEquals(2, dps.getQ().intValue()); in testGetQ()
|
/external/icu/icu4c/source/test/intltest/ |
D | dcfmapts.cpp | 633 ASSERT_EQUAL(123, fd.intValue); // i in TestFixedDecimal() 643 ASSERT_EQUAL(123, fd.intValue); // i in TestFixedDecimal() 655 ASSERT_EQUAL(23, fd.intValue); // i in TestFixedDecimal() 665 ASSERT_EQUAL(23, fd.intValue); // i in TestFixedDecimal() 678 ASSERT_EQUAL(123, fd.intValue); // i in TestFixedDecimal() 688 ASSERT_EQUAL(123, fd.intValue); // i in TestFixedDecimal() 702 ASSERT_EQUAL(29, fd.intValue); // i in TestFixedDecimal() 712 ASSERT_EQUAL(29, fd.intValue); // i in TestFixedDecimal() 724 ASSERT_EQUAL(123, fd.intValue); in TestFixedDecimal() 735 ASSERT_EQUAL(123, fd.intValue); in TestFixedDecimal() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | PropsVectors.java | 386 int indexOfRow1 = o1.intValue(); in compact() 387 int indexOfRow2 = o2.intValue(); in compact() 414 int start = v[indexArray[i].intValue()]; in compact() 418 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact() 419 indexArray[i-1].intValue() + 2, valueColumns)) { in compact() 448 int start = v[indexArray[i].intValue()]; in compact() 449 int limit = v[indexArray[i].intValue() + 1]; in compact() 453 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact() 456 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | PropsVectors.java | 384 int indexOfRow1 = o1.intValue(); in compact() 385 int indexOfRow2 = o2.intValue(); in compact() 412 int start = v[indexArray[i].intValue()]; in compact() 416 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact() 417 indexArray[i-1].intValue() + 2, valueColumns)) { in compact() 446 int start = v[indexArray[i].intValue()]; in compact() 447 int limit = v[indexArray[i].intValue() + 1]; in compact() 451 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact() 454 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | PacketDispatcher.java | 279 command.setId(Id.intValue()); in waitForReply() 289 if (Id.intValue() >= begCommandId) { in waitForReply() 290 if ((Id.intValue() - begCommandId) < commandsNumberForTrace) { in waitForReply() 293 + Id.intValue() in waitForReply() 350 command.setId(Id.intValue()); in sendCommand() 360 if (Id.intValue() >= begCommandId) { in sendCommand() 361 if ((Id.intValue() - begCommandId) < commandsNumberForTrace) { in sendCommand() 364 + Id.intValue() in sendCommand() 382 return Id.intValue(); in sendCommand()
|
/external/deqp/framework/randomshaders/ |
D | rsgToken.cpp | 64 m_arg.intValue = other.m_arg.intValue; in operator =() 86 else if (m_type == INT_LITERAL && m_arg.intValue != other.m_arg.intValue) in operator !=()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | Perl5Target.java | 83 final int intValue; in encodeIntAsCharEscape() local 85 intValue = v; in encodeIntAsCharEscape() 87 intValue = -(0x10000 - v); in encodeIntAsCharEscape() 90 return String.valueOf(intValue); in encodeIntAsCharEscape()
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 183 JSONTEST_ASSERT(!emptyObject_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 225 JSONTEST_ASSERT(!emptyArray_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 253 JSONTEST_ASSERT(null_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 291 JSONTEST_ASSERT(!string1_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 314 JSONTEST_ASSERT(true_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 365 val = Json::Value(Json::intValue); in JSONTEST_FIXTURE() 367 JSONTEST_ASSERT_EQUAL(Json::intValue, val.type()); in JSONTEST_FIXTURE() 380 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 408 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() 426 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE() [all …]
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
D | SoapObject.java | 178 return getProperty(index.intValue()); in getProperty() 194 return getProperty(index.intValue()).toString(); in getPropertyAsString() 220 return getProperty(i.intValue()); in getPropertySafely() 236 Object foo = getProperty(i.intValue()); in getPropertySafelyAsString() 260 return getProperty(i.intValue()); in getPropertySafely() 281 Object property = getProperty(i.intValue()); in getPropertySafelyAsString() 305 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitiveProperty() 330 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertyAsString() 352 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertySafely() 378 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertySafelyAsString()
|
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandler.java | 105 private static final int TRACE_LEVEL_THRESHOLD = Level.FINEST.intValue(); 106 private static final int DEBUG_LEVEL_THRESHOLD = Level.FINE.intValue(); 107 private static final int INFO_LEVEL_THRESHOLD = Level.INFO.intValue(); 108 private static final int WARN_LEVEL_THRESHOLD = Level.WARNING.intValue(); 206 int julLevelValue = record.getLevel().intValue(); in callLocationAwareLogger() 226 int julLevelValue = record.getLevel().intValue(); in callPlainSLF4JLogger()
|
/external/deqp/framework/qphelper/ |
D | qpXmlWriter.h | 48 int intValue; member 58 attrib.intValue = -678; in qpSetStringAttrib() 69 attrib.intValue = value; in qpSetIntAttrib() 80 attrib.intValue = -679; in qpSetBoolAttrib()
|