/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | NonStandardParserFeaturesTest.java | 173 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 …]
|
D | NumberCoercionTest.java | 88 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()
|
D | NumberParsingTest.java | 126 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 …]
|
D | ValueConversionsTest.java | 30 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()
|
D | NonStandardNumberParsingTest.java | 45 assertEquals(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingDotInDecimalAllowed()
|
D | NextNameParserTest.java | 86 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testBasicNextName()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncNaNHandlingTest.java | 53 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()
|
D | AsyncNumberCoercionTest.java | 50 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()
|
D | AsyncNonStdNumberHandlingTest.java | 101 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingZeroesFloat() 145 assertToken(JsonToken.VALUE_NUMBER_FLOAT, p.nextToken()); in _testLeadingPeriodFloat()
|
D | AsyncSimpleObjectTest.java | 154 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testNumbers() 161 assertToken(JsonToken.VALUE_NUMBER_FLOAT, r.nextToken()); in _testNumbers()
|
D | AsyncScalarArrayTest.java | 199 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/ |
D | TestTreeTraversingParser.java | 75 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()
|
D | NumberNodesTest.java | 153 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/ |
D | ParserMinimalBase.java | 367 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()
|
D | ParserBase.java | 556 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/ |
D | CoerceJDKScalarsTest.java | 204 _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/ |
D | TokenBuffer.java | 424 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/ |
D | ObjectWriteTest.java | 180 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/ |
D | TypeDeserializer.java | 160 case VALUE_NUMBER_FLOAT: in deserializeIfNatural()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | JsonToken.java | 99 VALUE_NUMBER_FLOAT(null, JsonTokenId.ID_NUMBER_FLOAT), enumConstant
|
/external/geojson-jackson/src/main/java/org/geojson/jackson/ |
D | LngLatAltDeserializer.java | 57 case VALUE_NUMBER_FLOAT: in extractDouble()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | DoubleNode.java | 38 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
|
D | FloatNode.java | 38 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
|
D | DecimalNode.java | 43 @Override public JsonToken asToken() { return JsonToken.VALUE_NUMBER_FLOAT; } in asToken()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/ |
D | TestTokenBuffer.java | 113 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()
|