Home
last modified time | relevance | path

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

12345678910>>...19

/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/chromium_org/third_party/icu/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=T_CString_stricmp(NULL, "first string is null") )!= -1){ in TestAPI()
114 …T_CString_stricmp() where the first string is null failed. Expected: -1, returned %d\n", intValue); in TestAPI()
116 if((intValue=T_CString_stricmp("second string is null", NULL)) != 1){ in TestAPI()
[all …]
/external/guava/guava-tests/test/com/google/common/primitives/
DUnsignedIntegerTest.java52 .intValue()); in testAsUnsignedAndIntValueAreInverses()
110 int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue(); in testAdd()
112 assertEquals(expected, unsignedSum.intValue()); in testAdd()
123 force32(aUnsigned.bigIntegerValue().subtract(bUnsigned.bigIntegerValue()).intValue()); in testSubtract()
125 assertEquals(expected, unsignedSub.intValue()); in testSubtract()
137 force32(aUnsigned.bigIntegerValue().multiply(bUnsigned.bigIntegerValue()).intValue()); in testMultiply()
139 assertEquals(aUnsigned + " * " + bUnsigned, expected, unsignedMul.intValue()); in testMultiply()
151 aUnsigned.bigIntegerValue().divide(bUnsigned.bigIntegerValue()).intValue(); in testDivide()
153 assertEquals(expected, unsignedDiv.intValue()); in testDivide()
175 aUnsigned.bigIntegerValue().remainder(bUnsigned.bigIntegerValue()).intValue(); in testRemainder()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSValuePool.cpp106 int intValue = static_cast<int>(value); in createValue() local
107 if (value != intValue) in createValue()
112 if (!m_pixelValueCache[intValue]) in createValue()
113 m_pixelValueCache[intValue] = CSSPrimitiveValue::create(value, type); in createValue()
114 return m_pixelValueCache[intValue]; in createValue()
116 if (!m_percentValueCache[intValue]) in createValue()
117 m_percentValueCache[intValue] = CSSPrimitiveValue::create(value, type); in createValue()
118 return m_percentValueCache[intValue]; in createValue()
120 if (!m_numberValueCache[intValue]) in createValue()
121 m_numberValueCache[intValue] = CSSPrimitiveValue::create(value, type); in createValue()
[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/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/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/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfLzwdecodeAndFlatedecodeFiltersDictionary_autogen.cpp14 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Predictor()
26 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Colors()
38 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in BitsPerComponent()
50 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Columns()
62 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in EarlyChange()
DSkPdfType16HalftoneDictionary_autogen.cpp26 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in HalftoneType()
50 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Width()
62 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Height()
74 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Width2()
86 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Height2()
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfLzwdecodeAndFlatedecodeFiltersDictionary_autogen.cpp14 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Predictor()
26 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Colors()
38 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in BitsPerComponent()
50 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Columns()
62 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in EarlyChange()
DSkPdfType16HalftoneDictionary_autogen.cpp26 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in HalftoneType()
50 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Width()
62 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Height()
74 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Width2()
86 …&& ret->isInteger()) || (doc == NULL && ret != NULL && ret->isReference())) return ret->intValue(); in Height2()
/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/chromium_org/third_party/WebKit/Source/wtf/text/
DAtomicStringTest.cpp40 int intValue = 1234; in TEST() local
41 ASSERT_EQ(AtomicString::number(intValue), "1234"); in TEST()
42 intValue = -1234; in TEST()
43 ASSERT_EQ(AtomicString::number(intValue), "-1234"); in TEST()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp192 JSONTEST_ASSERT(!emptyObject_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
236 JSONTEST_ASSERT(!emptyArray_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
266 JSONTEST_ASSERT(null_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
306 JSONTEST_ASSERT(!string1_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
331 JSONTEST_ASSERT(true_.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
384 val = Json::Value(Json::intValue); in JSONTEST_FIXTURE()
386 JSONTEST_ASSERT_EQUAL(Json::intValue, val.type()); in JSONTEST_FIXTURE()
399 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
427 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
445 JSONTEST_ASSERT(val.isConvertibleTo(Json::intValue)); in JSONTEST_FIXTURE()
[all …]
/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/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/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/qphelper/
DqpXmlWriter.h48 int intValue; member
58 attrib.intValue = -678; in qpSetStringAttrib()
69 attrib.intValue = value; in qpSetIntAttrib()
80 attrib.intValue = -679; in qpSetBoolAttrib()
/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/smack/src/org/xbill/DNS/
DTypeBitmap.java83 array[n++] = ((Integer)it.next()).intValue(); in toArray()
91 int t = ((Integer)it.next()).intValue(); in toString()
101 int arraymax = (((Integer)map.last()).intValue()) & 0xFF; in mapToWire()
107 int typecode = ((Integer)it.next()).intValue(); in mapToWire()
123 int t = ((Integer)it.next()).intValue(); in toWire()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX9Curve.java62 intValue(); in X9Curve()
73 k1 = ASN1Integer.getInstance(parameters.getObjectAt(2)).getValue().intValue(); in X9Curve()
79 k1 = ASN1Integer.getInstance(pentanomial.getObjectAt(0)).getValue().intValue(); in X9Curve()
80 k2 = ASN1Integer.getInstance(pentanomial.getObjectAt(1)).getValue().intValue(); in X9Curve()
81 k3 = ASN1Integer.getInstance(pentanomial.getObjectAt(2)).getValue().intValue(); in X9Curve()

12345678910>>...19