Home
last modified time | relevance | path

Searched refs:getCharOffset (Results 1 – 10 of 10) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DLocationOffsetsTest.java25 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 …]
DLocationInObjectTest.java64 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 …]
DLocationOffsets455Test.java18 assertEquals(2, loc.getCharOffset()); in testEOFLocationViaReader()
26 assertEquals(2, loc.getCharOffset()); in testEOFLocationViaReader()
47 assertEquals(-1, loc.getCharOffset()); in testEOFLocationViaStream()
DLocationInArrayTest.java63 assertEquals(offset, loc.getCharOffset()); in _assertLocation()
DLocationDuringReaderParsingTest.java86 pLoc.getByteOffset() == -1 ? pLoc.getCharOffset() : pLoc.getByteOffset()); in assertLocation()
DLocationDuringStreamParsingTest.java86 pLoc.getByteOffset() == -1 ? pLoc.getCharOffset() : pLoc.getByteOffset()); in assertLocation()
DSimpleParserTest.java467 assertEquals(-1, loc.getCharOffset()); in testUtf8BOMHandling()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestJacksonTypes.java28 assertEquals(loc.getCharOffset(), result.getCharOffset()); in testJsonLocation()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncInvalidCharsTest.java61 assertEquals(-1, loc.getCharOffset()); in _testUTF8BomOk()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java95 public long getCharOffset() { return _totalChars; } in getCharOffset() method in JsonLocation