Searched refs:getCharOffset (Results 1 – 10 of 10) sorted by relevance
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | LocationOffsetsTest.java | 25 assertEquals(0L, loc.getCharOffset()); in testSimpleInitialOffsets() 31 assertEquals(1L, loc.getCharOffset()); in testSimpleInitialOffsets() 44 assertEquals(-1L, loc.getCharOffset()); in testSimpleInitialOffsets() 50 assertEquals(-1L, loc.getCharOffset()); in testSimpleInitialOffsets() 71 assertEquals(-1L, loc.getCharOffset()); in testOffsetWithInputOffset() 77 assertEquals(-1L, loc.getCharOffset()); in testOffsetWithInputOffset() 97 assertEquals(-1L, loc.getCharOffset()); in testOffsetWithoutInputOffset() 103 assertEquals(-1L, loc.getCharOffset()); in testOffsetWithoutInputOffset() 163 assertEquals(-1L, loc.getCharOffset()); in testUtf8Bom() 169 assertEquals(-1L, loc.getCharOffset()); in testUtf8Bom() [all …]
|
D | LocationInObjectTest.java | 64 assertEquals(1L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 66 assertEquals(6L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 69 assertEquals(11L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 71 assertEquals(16L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 74 assertEquals(17L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 76 assertEquals(22L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 80 assertEquals(28L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 82 assertEquals(33L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 85 assertEquals(34L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() 88 assertEquals(39L, p.getTokenLocation().getCharOffset()); in testOffsetWithObjectFieldsUsingReader() [all …]
|
D | LocationOffsets455Test.java | 18 assertEquals(2, loc.getCharOffset()); in testEOFLocationViaReader() 26 assertEquals(2, loc.getCharOffset()); in testEOFLocationViaReader() 47 assertEquals(-1, loc.getCharOffset()); in testEOFLocationViaStream()
|
D | LocationInArrayTest.java | 63 assertEquals(offset, loc.getCharOffset()); in _assertLocation()
|
D | LocationDuringReaderParsingTest.java | 86 pLoc.getByteOffset() == -1 ? pLoc.getCharOffset() : pLoc.getByteOffset()); in assertLocation()
|
D | LocationDuringStreamParsingTest.java | 86 pLoc.getByteOffset() == -1 ? pLoc.getCharOffset() : pLoc.getByteOffset()); in assertLocation()
|
D | SimpleParserTest.java | 467 assertEquals(-1, loc.getCharOffset()); in testUtf8BOMHandling()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | TestJacksonTypes.java | 28 assertEquals(loc.getCharOffset(), result.getCharOffset()); in testJsonLocation()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncInvalidCharsTest.java | 61 assertEquals(-1, loc.getCharOffset()); in _testUTF8BomOk()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | JsonLocation.java | 95 public long getCharOffset() { return _totalChars; } in getCharOffset() method in JsonLocation
|