Home
last modified time | relevance | path

Searched refs:JsonLocation (Results 1 – 25 of 48) sorted by relevance

12

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/
DTestLocation.java12 JsonLocation loc1 = new JsonLocation("src", 10L, 10L, 1, 2); in testBasics()
13 JsonLocation loc2 = new JsonLocation(null, 10L, 10L, 3, 2); in testBasics()
28 new JsonLocation(null, 10L, 10L, 3, 2).toString()); in testBasicToString()
32 new JsonLocation("string-source", 10L, 10L, 1, 2).toString()); in testBasicToString()
36 new JsonLocation("chars-source".toCharArray(), 10L, 10L, 1, 2).toString()); in testBasicToString()
40 new JsonLocation("bytes-source".getBytes("UTF-8"), 10L, 10L, 1, 2).toString()); in testBasicToString()
44 new JsonLocation(new ByteArrayInputStream(new byte[0]), 10L, 10L, 1, 2).toString()); in testBasicToString()
48 new JsonLocation(InputStream.class, 10L, 10L, 1, 2).toString()); in testBasicToString()
53 new JsonLocation(srcRef, 10L, 10L, 1, 2).toString()); in testBasicToString()
59 for (int i = 0; i < JsonLocation.MAX_CONTENT_SNIPPET; ++i) { in testTruncatedSource()
[all …]
DTestExceptions.java14 JsonProcessingException exc = new JsonParseException(null, "Foobar", JsonLocation.NA); in testOriginalMesssage()
22 JsonLocation.NA, exc); in testOriginalMesssage()
43 JsonLocation loc = e.getLocation(); in testAccessToParser()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonLocation.java15 public class JsonLocation class
36 public final static JsonLocation NA = new JsonLocation(null, -1L, -1L, -1, -1);
51 public JsonLocation(Object srcRef, long totalChars, int lineNr, int colNr) in JsonLocation() method in JsonLocation
61 public JsonLocation(Object sourceRef, long totalBytes, long totalChars, in JsonLocation() method in JsonLocation
141 if (!(other instanceof JsonLocation)) return false; in equals()
142 JsonLocation otherLoc = (JsonLocation) other; in equals()
DJsonProcessingException.java19 protected JsonLocation _location;
21 protected JsonProcessingException(String msg, JsonLocation loc, Throwable rootCause) { in JsonProcessingException()
33 protected JsonProcessingException(String msg, JsonLocation loc) { in JsonProcessingException()
51 public JsonLocation getLocation() { return _location; } in getLocation()
114 JsonLocation loc = getLocation(); in getMessage()
DJsonParseException.java21 public JsonParseException(String msg, JsonLocation loc) { in JsonParseException()
26 public JsonParseException(String msg, JsonLocation loc, Throwable root) { in JsonParseException()
51 public JsonParseException(JsonParser p, String msg, JsonLocation loc) { in JsonParseException()
58 public JsonParseException(JsonParser p, String msg, JsonLocation loc, Throwable root) { in JsonParseException()
DJsonGenerationException.java28 super(msg, (JsonLocation)null); in JsonGenerationException()
48 super(msg, (JsonLocation) null); in JsonGenerationException()
DJsonStreamContext.java249 public JsonLocation getStartLocation(Object srcRef) { in getStartLocation()
250 return JsonLocation.NA; in getStartLocation()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DUnresolvedId.java3 import com.fasterxml.jackson.core.JsonLocation;
13 private final JsonLocation _location;
16 public UnresolvedId(Object id, Class<?> type, JsonLocation where) { in UnresolvedId()
31 public JsonLocation getLocation() { return _location; } in getLocation()
DUnresolvedForwardReference.java7 import com.fasterxml.jackson.core.JsonLocation;
27 …public UnresolvedForwardReference(JsonParser p, String msg, JsonLocation loc, ReadableObjectId roi… in UnresolvedForwardReference()
44 public UnresolvedForwardReference(String msg, JsonLocation loc, ReadableObjectId roid) { in UnresolvedForwardReference()
72 public void addUnresolvedId(Object id, Class<?> type, JsonLocation where) { in addUnresolvedId()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestJacksonTypes.java21 JsonLocation loc = new JsonLocation("whatever", -1, -1, 100, 13); in testJsonLocation()
24 JsonLocation result = MAPPER.readValue(ser, JsonLocation.class); in testJsonLocation()
36 JsonLocation loc = new JsonLocation(null, -1, -1, 100, 13); in testJsonLocationProps()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DTokenBufferReadContext.java18 protected final JsonLocation _startLocation;
42 _startLocation = JsonLocation.NA; in TokenBufferReadContext()
46 protected TokenBufferReadContext(JsonStreamContext base, JsonLocation startLoc) { in TokenBufferReadContext()
61 _startLocation = JsonLocation.NA; in TokenBufferReadContext()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/exc/
DUnrecognizedPropertyException.java5 import com.fasterxml.jackson.core.JsonLocation;
20 public UnrecognizedPropertyException(JsonParser p, String msg, JsonLocation loc, in UnrecognizedPropertyException()
31 public UnrecognizedPropertyException(String msg, JsonLocation loc, in UnrecognizedPropertyException()
DIgnoredPropertyException.java5 import com.fasterxml.jackson.core.JsonLocation;
24 public IgnoredPropertyException(JsonParser p, String msg, JsonLocation loc, in IgnoredPropertyException()
35 public IgnoredPropertyException(String msg, JsonLocation loc, in IgnoredPropertyException()
DPropertyBindingException.java7 import com.fasterxml.jackson.core.JsonLocation;
48 protected PropertyBindingException(JsonParser p, String msg, JsonLocation loc, in PropertyBindingException()
62 protected PropertyBindingException(String msg, JsonLocation loc, in PropertyBindingException()
DInvalidFormatException.java3 import com.fasterxml.jackson.core.JsonLocation;
46 public InvalidFormatException(String msg, JsonLocation loc, in InvalidFormatException()
DMismatchedInputException.java3 import com.fasterxml.jackson.core.JsonLocation;
38 protected MismatchedInputException(JsonParser p, String msg, JsonLocation loc) { in MismatchedInputException()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DLocationOffsets455Test.java3 import com.fasterxml.jackson.core.JsonLocation;
15 JsonLocation loc = p.getCurrentLocation(); in testEOFLocationViaReader()
37 JsonLocation loc = p.getCurrentLocation(); in testEOFLocationViaStream()
DLocationOffsetsTest.java15 JsonLocation loc; in testSimpleInitialOffsets()
60 JsonLocation loc; in testOffsetWithInputOffset()
86 JsonLocation loc; in testOffsetWithoutInputOffset()
152 JsonLocation loc; in testUtf8Bom()
178 JsonLocation loc; in testUtf8BomWithPadding()
204 JsonLocation loc; in testUtf8BomWithInputOffset()
240 JsonLocation loc; in testBigPayload()
DLocationDuringReaderParsingTest.java7 import com.fasterxml.jackson.core.JsonLocation;
53 JsonLocation loc = p.getCurrentLocation(); in testInitialLocation()
81 private void assertLocation(JsonLocation pLoc, LocData loc) in assertLocation()
DLocationDuringStreamParsingTest.java7 import com.fasterxml.jackson.core.JsonLocation;
53 JsonLocation loc = p.getCurrentLocation(); in testInitialLocation()
81 private void assertLocation(JsonLocation pLoc, LocData loc) in assertLocation()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonLocationInstantiator.java3 import com.fasterxml.jackson.core.JsonLocation;
24 super(JsonLocation.class); in JsonLocationInstantiator()
50 return new JsonLocation(args[0], _long(args[1]), _long(args[2]), in createFromObjectWith()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DTreeTraversingParser.java179 public JsonLocation getTokenLocation() { in getTokenLocation()
180 return JsonLocation.NA; in getTokenLocation()
184 public JsonLocation getCurrentLocation() { in getCurrentLocation()
185 return JsonLocation.NA; in getCurrentLocation()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestJacksonTypes.java19 JsonLocation loc = new JsonLocation(f, -1, 100, 13); in testLocation()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/exc/
DStreamReadException.java37 public StreamReadException(JsonParser p, String msg, JsonLocation loc) { in StreamReadException()
42 protected StreamReadException(String msg, JsonLocation loc, Throwable rootCause) { in StreamReadException()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuideUtil.cs114 public JsonLocation location;
117 private class JsonLocation class in Routeguide.RouteGuideUtil

12