Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 489) sorted by relevance

12345678910>>...20

/external/icu/icu4c/source/test/cintltst/
Dcstrtest.c37 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/
DtcuEither.cpp89 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/
DUnsignedIntegerTest.java64 .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/
DDefaultProviderTest.java51 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/
DLevelTest.java44 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/
DUint.java23 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/
DEncodedValue.java50 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/
Dvisibledigits.cpp124 … 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/
DListViewActivity.java89 …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/
DProperFractionFormat.java170 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/
Dwriter.c64 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/
DDSAPublicKeySpecTest.java67 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()
DDSAPrivateKeySpecTest.java67 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()
DRSAKeyGenParameterSpecTest.java72 assertEquals(0, rkgps.getPublicExponent().intValue()); in testGetPublicExponent()
80 assertEquals(3, RSAKeyGenParameterSpec.F0.intValue()); in testF0Value()
88 assertEquals(65537, RSAKeyGenParameterSpec.F4.intValue()); in testF4Value()
DDSAParameterSpecTest.java65 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/
Ddcfmapts.cpp633 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/
DPropsVectors.java386 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/
DPropsVectors.java384 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/
DPacketDispatcher.java279 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/
DrsgToken.cpp64 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/
DPerl5Target.java83 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/
Dmain.cpp183 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/
DSoapObject.java178 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/
DSLF4JBridgeHandler.java105 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/
DqpXmlWriter.h48 int intValue; member
58 attrib.intValue = -678; in qpSetStringAttrib()
69 attrib.intValue = value; in qpSetIntAttrib()
80 attrib.intValue = -679; in qpSetBoolAttrib()

12345678910>>...20