Home
last modified time | relevance | path

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

12345678910>>...25

/external/icu/icu4c/source/test/cintltst/
Dcstrtest.c39 int32_t intValue=0; in TestAPI() local
84 intValue=T_CString_stringToInteger("34556", 10); in TestAPI()
85 if(intValue != 34556){ in TestAPI()
86 …"FAIL: ****T_CString_stringToInteger(\"34556\", 10) failed. Expected: 34556, Got: %d\n", intValue); in TestAPI()
88 intValue=T_CString_stringToInteger("100", 16); in TestAPI()
89 if(intValue != 256){ in TestAPI()
90 …err("FAIL: ****T_CString_stringToInteger(\"100\", 16) failed. Expected: 256, Got: %d\n", intValue); in TestAPI()
113 if((intValue=uprv_stricmp(NULL, "first string is null") )!= -1){ in TestAPI()
114 …AIL: uprv_stricmp() where the first string is null failed. Expected: -1, returned %d\n", intValue); in TestAPI()
116 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/deqp/external/openglcts/modules/common/
DglcParallelShaderCompileTests.cpp95 GLint intValue; in iterate() local
106 gl.getIntegerv(GL_MAX_SHADER_COMPILER_THREADS_KHR, &intValue); in iterate()
124 if (boolValue != (intValue != 0) || intValue != (GLint)floatValue || in iterate()
125 …(supportsInt64 && intValue != (GLint)int64Value) || (supportsDouble && intValue != (GLint)doubleVa… in iterate()
131 << "int(" << intValue << "), "; in iterate()
184 GLint intValue; in iterate() local
189 gl.getIntegerv(GL_MAX_SHADER_COMPILER_THREADS_KHR, &intValue); in iterate()
192 if (intValue != 0) in iterate()
201 gl.getIntegerv(GL_MAX_SHADER_COMPILER_THREADS_KHR, &intValue); in iterate()
204 if (intValue != GLint(0xFFFFFFFF)) in iterate()
/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/protobuf/java/core/src/test/java/com/google/protobuf/
DMapTest.java93 assertEquals(11, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesSet()
94 assertEquals(22, message.getInt32ToInt32Field().get(2).intValue()); in assertMapValuesSet()
95 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesSet()
118 assertEquals(11, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesSet()
119 assertEquals(22, message.getStringToInt32Field().get("2").intValue()); in assertMapValuesSet()
120 assertEquals(33, message.getStringToInt32Field().get("3").intValue()); in assertMapValuesSet()
153 assertEquals(111, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesUpdated()
154 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesUpdated()
155 assertEquals(44, message.getInt32ToInt32Field().get(4).intValue()); in assertMapValuesUpdated()
178 assertEquals(111, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesUpdated()
[all …]
DMapForProto2Test.java92 assertEquals(11, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesSet()
93 assertEquals(22, message.getInt32ToInt32Field().get(2).intValue()); in assertMapValuesSet()
94 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesSet()
117 assertEquals(11, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesSet()
118 assertEquals(22, message.getStringToInt32Field().get("2").intValue()); in assertMapValuesSet()
119 assertEquals(33, message.getStringToInt32Field().get("3").intValue()); in assertMapValuesSet()
152 assertEquals(111, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesUpdated()
153 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesUpdated()
154 assertEquals(44, message.getInt32ToInt32Field().get(4).intValue()); in assertMapValuesUpdated()
177 assertEquals(111, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesUpdated()
[all …]
DMapForProto2LiteTest.java89 assertEquals(11, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesSet()
90 assertEquals(22, message.getInt32ToInt32Field().get(2).intValue()); in assertMapValuesSet()
91 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesSet()
114 assertEquals(11, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesSet()
115 assertEquals(22, message.getStringToInt32Field().get("2").intValue()); in assertMapValuesSet()
116 assertEquals(33, message.getStringToInt32Field().get("3").intValue()); in assertMapValuesSet()
149 assertEquals(111, message.getInt32ToInt32Field().get(1).intValue()); in assertMapValuesUpdated()
150 assertEquals(33, message.getInt32ToInt32Field().get(3).intValue()); in assertMapValuesUpdated()
151 assertEquals(44, message.getInt32ToInt32Field().get(4).intValue()); in assertMapValuesUpdated()
174 assertEquals(111, message.getStringToInt32Field().get("1").intValue()); in assertMapValuesUpdated()
[all …]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DSoapObject.java173 return getProperty(index.intValue()); in getProperty()
188 return getProperty(index.intValue()); in getProperty()
203 return getProperty(i.intValue()); in getPropertyByNamespaceSafely()
219 Object foo = getProperty(i.intValue()); in getPropertyByNamespaceSafelyAsString()
243 return getProperty(i.intValue()); in getPropertySafely()
263 Object property = getProperty(i.intValue()); in getPropertySafelyAsString()
286 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitiveProperty()
311 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertyAsString()
333 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertySafely()
360 PropertyInfo propertyInfo = (PropertyInfo) properties.elementAt(index.intValue()); in getPrimitivePropertySafelyAsString()
[all …]
DAttributeContainer.java48 return getAttribute(i.intValue()); in getAttribute()
62 return getAttribute(i.intValue()); in getAttribute()
76 return getAttribute(i.intValue()).toString(); in getAttributeAsString()
90 return getAttribute(i.intValue()).toString(); in getAttributeAsString()
125 return getAttribute(i.intValue()); in getAttributeSafely()
140 return getAttribute(i.intValue()); in getAttributeSafely()
157 return getAttribute(i.intValue()).toString(); in getAttributeSafelyAsString()
174 return getAttribute(i.intValue()).toString(); in getAttributeSafelyAsString()
/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/protobuf/objectivec/Tests/
DGPBSwiftTests.swift93 var intValue: Int32 = 0; in testProto2Basics() variable
94 XCTAssertTrue(msg.mapInt32Int32.valueForKey(500, value:&intValue)) in testProto2Basics()
95 XCTAssertEqual(intValue, Int32(400)) in testProto2Basics()
96 XCTAssertTrue(msg.mapInt32Int32.valueForKey(501, value:&intValue)) in testProto2Basics()
97 XCTAssertEqual(intValue, Int32(401)) in testProto2Basics()
102 XCTAssertTrue(msg.mapInt32Enum.valueForKey(600, value:&intValue)) in testProto2Basics()
103 XCTAssertEqual(intValue, Message2_Enum.Bar.rawValue) in testProto2Basics()
104 XCTAssertTrue(msg.mapInt32Enum.valueForKey(601, value:&intValue)) in testProto2Basics()
105 XCTAssertEqual(intValue, Message2_Enum.Baz.rawValue) in testProto2Basics()
186 var intValue: Int32 = 0; in testProto3Basics() variable
[all …]
/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-bcel/src/examples/Mini/
DJJTMiniParserState.java69 mk = marks.pop().intValue(); in popNode()
90 mk = marks.pop().intValue(); in clearNodeScope()
106 mk = marks.pop().intValue(); in closeNodeScope()
126 mk = marks.pop().intValue(); in closeNodeScope()
136 mk = marks.pop().intValue(); in closeNodeScope()
/external/grpc-grpc/src/csharp/Grpc.Core/
DChannelOptions.cs50 private readonly int intValue; field in Grpc.Core.ChannelOption
70 public ChannelOption(string name, int intValue) in ChannelOption() argument
74 this.intValue = intValue; in ChannelOption()
107 return intValue;
/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/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/oj-libjdwp/src/share/back/
DStackFrameImpl.c82 jint intValue; in writeVariableValue() local
84 (gdata->jvmti, thread, fnum, slot, &intValue); in writeVariableValue()
85 (void)outStream_writeByte(out, (jbyte)intValue); in writeVariableValue()
90 jint intValue; in writeVariableValue() local
92 (gdata->jvmti, thread, fnum, slot, &intValue); in writeVariableValue()
93 (void)outStream_writeChar(out, (jchar)intValue); in writeVariableValue()
122 jint intValue; in writeVariableValue() local
124 (gdata->jvmti, thread, fnum, slot, &intValue); in writeVariableValue()
125 (void)outStream_writeShort(out, (jshort)intValue); in writeVariableValue()
130 jint intValue; in writeVariableValue() local
[all …]
/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/icu/icu4c/source/samples/udata/
Dwriter.c70 uint16_t intValue=2000; in main() local
95 printf("Writing uint16_t value of %d\n", intValue); in main()
96 udata_write16(pData, intValue); in main()
106 size=sizeof(stringValue) + sizeof(intValue); in main()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPropsVectors.java387 int indexOfRow1 = o1.intValue(); in compact()
388 int indexOfRow2 = o2.intValue(); in compact()
415 int start = v[indexArray[i].intValue()]; in compact()
419 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact()
420 indexArray[i-1].intValue() + 2, valueColumns)) { in compact()
449 int start = v[indexArray[i].intValue()]; in compact()
450 int limit = v[indexArray[i].intValue() + 1]; in compact()
454 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact()
457 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPropsVectors.java389 int indexOfRow1 = o1.intValue(); in compact()
390 int indexOfRow2 = o2.intValue(); in compact()
417 int start = v[indexArray[i].intValue()]; in compact()
421 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, v, in compact()
422 indexArray[i-1].intValue() + 2, valueColumns)) { in compact()
451 int start = v[indexArray[i].intValue()]; in compact()
452 int limit = v[indexArray[i].intValue() + 1]; in compact()
456 if (count < 0 || !areElementsSame(indexArray[i].intValue() + 2, in compact()
459 System.arraycopy(v, indexArray[i].intValue() + 2, temp, count, in compact()
/external/protobuf/objectivec/
DGPBExtensionInternals.m75 FIELD_CASE(Int32, intValue)
76 FIELD_CASE(SFixed32, intValue)
77 FIELD_CASE(SInt32, intValue)
78 FIELD_CASE(Enum, intValue)
108 FIELD_CASE(Int32, intValue)
109 FIELD_CASE(SFixed32, intValue)
110 FIELD_CASE(SInt32, intValue)
111 FIELD_CASE(Enum, intValue)
174 FIELD_CASE(Int32, intValue)
175 FIELD_CASE(SFixed32, intValue)
[all …]
/external/antlr/tool/src/main/java/org/antlr/codegen/
DPerl5Target.java85 final int intValue; in encodeIntAsCharEscape() local
87 intValue = v; in encodeIntAsCharEscape()
89 intValue = -(0x10000 - v); in encodeIntAsCharEscape()
92 return String.valueOf(intValue); in encodeIntAsCharEscape()

12345678910>>...25