Home
last modified time | relevance | path

Searched refs:VALUE_NUMBER_FLOAT (Results 1 – 25 of 36) sorted by relevance

12

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNonStandardParserFeaturesTest.java173 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowNaN()
193 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowNaN()
220 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
226 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
232 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
238 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
244 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
257 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
258 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
259 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
[all …]
DNumberCoercionTest.java88 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToIntFailing()
95 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, e.getInputType()); in testToIntFailing()
99 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToIntFailing()
106 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, e.getInputType()); in testToIntFailing()
221 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToBigIntegerCoercion()
235 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToBigIntegerCoercion()
256 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToDoubleCoercion()
DNumberParsingTest.java126 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testSimpleInt()
132 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testSimpleInt()
377 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testSimpleDouble()
396 assertToken(JsonToken.VALUE_NUMBER_FLOAT, t); in testSimpleDouble()
418 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testFloatBoundary146Chars()
435 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testFloatBoundary146Bytes()
480 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testNumbers()
486 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testNumbers()
492 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testNumbers()
554 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testParsingOfLongerSequences()
[all …]
DValueConversionsTest.java30 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAsInt()
118 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAsLong()
163 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAsDouble()
DNonStandardNumberParsingTest.java45 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingDotInDecimalAllowed()
DNextNameParserTest.java86 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testBasicNextName()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncNaNHandlingTest.java53 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowNaN()
75 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowNaN()
147 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
153 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
159 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
175 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
176 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
177 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testAllowInf()
DAsyncNumberCoercionTest.java50 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToIntCoercion()
96 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToIntFailing()
103 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, e.getInputType()); in testToIntFailing()
107 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToIntFailing()
114 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, e.getInputType()); in testToIntFailing()
222 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToBigIntegerCoercion()
236 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToBigIntegerCoercion()
255 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testToDoubleCoercion()
DAsyncNonStdNumberHandlingTest.java101 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingZeroesFloat()
145 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingPeriodFloat()
DAsyncSimpleObjectTest.java154 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testNumbers()
161 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testNumbers()
DAsyncScalarArrayTest.java199 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testFloats()
241 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testDoubles()
359 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testBigDecimals()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeTraversingParser.java75 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testSimple()
128 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testArray()
154 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testNested()
155 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testNested()
303 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testNumberOverflowInt()
344 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testNumberOverflowLong()
DNumberNodesTest.java153 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, n.asToken()); in testDouble()
211 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, n.asToken()); in testFloat()
249 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, n.asToken()); in testDecimalNode()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/
DParserMinimalBase.java367 if ((t == JsonToken.VALUE_NUMBER_INT) || (t == JsonToken.VALUE_NUMBER_FLOAT)) { in getValueAsInt()
377 if ((t == JsonToken.VALUE_NUMBER_INT) || (t == JsonToken.VALUE_NUMBER_FLOAT)) { in getValueAsInt()
408 if ((t == JsonToken.VALUE_NUMBER_INT) || (t == JsonToken.VALUE_NUMBER_FLOAT)) { in getValueAsLong()
418 if ((t == JsonToken.VALUE_NUMBER_INT) || (t == JsonToken.VALUE_NUMBER_FLOAT)) { in getValueAsLong()
650 || (type == JsonToken.VALUE_NUMBER_FLOAT)) { in _reportInvalidEOFInValue()
DParserBase.java556 return JsonToken.VALUE_NUMBER_FLOAT; in resetFloat()
564 return JsonToken.VALUE_NUMBER_FLOAT; in resetAsNaN()
569 if (_currToken == JsonToken.VALUE_NUMBER_FLOAT) { in isNaN()
820 if (_currToken == JsonToken.VALUE_NUMBER_FLOAT) { in _parseNumericValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoerceJDKScalarsTest.java204 _verifyBooleanCoerceFail("1.25", true, JsonToken.VALUE_NUMBER_FLOAT, "1.25", Boolean.TYPE); in testToBooleanCoercionFailBytes()
205 _verifyBooleanCoerceFail("1.25", true, JsonToken.VALUE_NUMBER_FLOAT, "1.25", Boolean.class); in testToBooleanCoercionFailBytes()
216 _verifyBooleanCoerceFail("1.25", false, JsonToken.VALUE_NUMBER_FLOAT, "1.25", Boolean.TYPE); in testToBooleanCoercionFailChars()
217 … _verifyBooleanCoerceFail("1.25", false, JsonToken.VALUE_NUMBER_FLOAT, "1.25", Boolean.class); in testToBooleanCoercionFailChars()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBuffer.java424 case VALUE_NUMBER_FLOAT: in serialize()
869 _appendValue(JsonToken.VALUE_NUMBER_FLOAT, Double.valueOf(d)); in writeNumber()
874 _appendValue(JsonToken.VALUE_NUMBER_FLOAT, Float.valueOf(f)); in writeNumber()
882 _appendValue(JsonToken.VALUE_NUMBER_FLOAT, dec); in writeNumber()
900 _appendValue(JsonToken.VALUE_NUMBER_FLOAT, encodedValue); in writeNumber()
1069 case VALUE_NUMBER_FLOAT: in copyCurrentEvent()
1227 case VALUE_NUMBER_FLOAT: in _copyBufferValue()
1234 _appendValue(JsonToken.VALUE_NUMBER_FLOAT, n); in _copyBufferValue()
1696 case VALUE_NUMBER_FLOAT: in getText()
1733 if (_currToken == JsonToken.VALUE_NUMBER_FLOAT) { in isNaN()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DObjectWriteTest.java180 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, jp.nextToken()); in testConvenienceMethods()
186 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, jp.nextToken()); in testConvenienceMethods()
192 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, jp.nextToken()); in testConvenienceMethods()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DTypeDeserializer.java160 case VALUE_NUMBER_FLOAT: in deserializeIfNatural()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonToken.java99 VALUE_NUMBER_FLOAT(null, JsonTokenId.ID_NUMBER_FLOAT), enumConstant
/external/geojson-jackson/src/main/java/org/geojson/jackson/
DLngLatAltDeserializer.java57 case VALUE_NUMBER_FLOAT: in extractDouble()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DDoubleNode.java38 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
DFloatNode.java38 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
DDecimalNode.java43 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DTestTokenBuffer.java113 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testSimpleNumberWrites()
120 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testSimpleNumberWrites()
153 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testNumberOverflowInt()
296 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in testSimpleObject()

12