/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/ |
D | GeneratorDupHandlingTest.java | 82 g.writeNumberField(name, 1); in _writeSimple0() 83 g.writeNumberField(name, 2); in _writeSimple0() 93 g.writeNumberField("foo", 1); in _writeSimple1() 94 g.writeNumberField("bar", 1); in _writeSimple1() 95 g.writeNumberField(name, 1); in _writeSimple1() 96 g.writeNumberField("bar2", 1); in _writeSimple1() 97 g.writeNumberField(name, 2); in _writeSimple1()
|
D | ObjectWriteTest.java | 122 gen.writeNumberField("short", (short) -12345); in testConvenienceMethods() 123 gen.writeNumberField("int", Integer.MIN_VALUE + 1707); in testConvenienceMethods() 124 gen.writeNumberField("long", Integer.MIN_VALUE - 1707L); in testConvenienceMethods() 125 …gen.writeNumberField("big", BigInteger.valueOf(Long.MIN_VALUE).subtract(BigInteger.valueOf(1707))); in testConvenienceMethods() 126 gen.writeNumberField("float", 17.07F); in testConvenienceMethods() 127 gen.writeNumberField("double", 17.07); in testConvenienceMethods() 128 gen.writeNumberField("dec", new BigDecimal("0.1")); in testConvenienceMethods() 226 gen.writeNumberField("big", (BigInteger) null); in testConvenienceMethodsWithNulls() 227 gen.writeNumberField("dec", (BigDecimal) null); in testConvenienceMethodsWithNulls()
|
D | WriteTypeIdTest.java | 45 gen.writeNumberField("value", 13); in testBasicTypeIdWriteForObject() 56 gen.writeNumberField("value", 13); in testBasicTypeIdWriteForObject() 68 gen.writeNumberField("value", 13); in testBasicTypeIdWriteForObject() 82 gen.writeNumberField("number", 42); in testBasicTypeIdWriteForObject()
|
D | GeneratorBasicTest.java | 188 gen.writeNumberField("short", (short) 3); in _testFieldValueWrites() 189 gen.writeNumberField("int", 3); in _testFieldValueWrites() 190 gen.writeNumberField("long", 3L); in _testFieldValueWrites() 191 gen.writeNumberField("big", new BigInteger("1707")); in _testFieldValueWrites() 192 gen.writeNumberField("double", 0.25); in _testFieldValueWrites() 193 gen.writeNumberField("float", -0.25f); in _testFieldValueWrites() 194 gen.writeNumberField("decimal", new BigDecimal("17.07")); in _testFieldValueWrites()
|
D | PrettyPrinterTest.java | 59 gen.writeNumberField("a", 1); in testObjectCount() 60 gen.writeNumberField("b", 2); in testObjectCount()
|
/external/jackson-core/src/test/java/perf/ |
D | MediaItem.java | 111 gen.writeNumberField("width", _width); in write() 112 gen.writeNumberField("height", _height); in write() 144 gen.writeNumberField("width", _width); in write() 145 gen.writeNumberField("height", _height); in write() 149 gen.writeNumberField("duration", _duration); in write() 150 gen.writeNumberField("size", _size); in write() 151 gen.writeNumberField("bitrate", _bitrate); in write()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | JsonGenerator.java | 1748 public void writeNumberField(String fieldName, short value) throws IOException { in writeNumberField() method in JsonGenerator 1761 public void writeNumberField(String fieldName, int value) throws IOException { in writeNumberField() method in JsonGenerator 1774 public void writeNumberField(String fieldName, long value) throws IOException { in writeNumberField() method in JsonGenerator 1789 public void writeNumberField(String fieldName, BigInteger value) throws IOException { in writeNumberField() method in JsonGenerator 1802 public void writeNumberField(String fieldName, float value) throws IOException { in writeNumberField() method in JsonGenerator 1815 public void writeNumberField(String fieldName, double value) throws IOException { in writeNumberField() method in JsonGenerator 1829 public void writeNumberField(String fieldName, BigDecimal value) throws IOException { in writeNumberField() method in JsonGenerator
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncSimpleObjectTest.java | 116 g.writeNumberField("i1", NUMBER_EXP_I); in testNumbers() 117 g.writeNumberField("doubley", NUMBER_EXP_D); in testNumbers()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/filter/ |
D | BasicGeneratorFilteringTest.java | 212 gen.writeNumberField("value0", 2); in _testSingleMatchFilteringWithPathAlternate1() 465 gen.writeNumberField("f1", 1); in testRawValueDelegationWithObject() 468 gen.writeNumberField("f3", 3); in testRawValueDelegationWithObject()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/deftyping/ |
D | TestDefaultForObject.java | 291 buf.writeNumberField("num", 42); in testTokenBuffer()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/ |
D | TestTokenBuffer.java | 283 buf.writeNumberField("num", 1.25); in testSimpleObject()
|
/external/jackson-core/release-notes/ |
D | VERSION-2.x | 38 #565: Synchronize variants of `JsonGenerator#writeNumberField` with `JsonGenerator#writeNumber`
|