/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | TestLocation.java | 12 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 …]
|
D | TestExceptions.java | 14 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/ |
D | JsonLocation.java | 15 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()
|
D | JsonProcessingException.java | 19 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()
|
D | JsonParseException.java | 21 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()
|
D | JsonGenerationException.java | 28 super(msg, (JsonLocation)null); in JsonGenerationException() 48 super(msg, (JsonLocation) null); in JsonGenerationException()
|
D | JsonStreamContext.java | 249 public JsonLocation getStartLocation(Object srcRef) { in getStartLocation() 250 return JsonLocation.NA; in getStartLocation()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | UnresolvedId.java | 3 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()
|
D | UnresolvedForwardReference.java | 7 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/ |
D | TestJacksonTypes.java | 21 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/ |
D | TokenBufferReadContext.java | 18 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/ |
D | UnrecognizedPropertyException.java | 5 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()
|
D | IgnoredPropertyException.java | 5 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()
|
D | PropertyBindingException.java | 7 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()
|
D | InvalidFormatException.java | 3 import com.fasterxml.jackson.core.JsonLocation; 46 public InvalidFormatException(String msg, JsonLocation loc, in InvalidFormatException()
|
D | MismatchedInputException.java | 3 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/ |
D | LocationOffsets455Test.java | 3 import com.fasterxml.jackson.core.JsonLocation; 15 JsonLocation loc = p.getCurrentLocation(); in testEOFLocationViaReader() 37 JsonLocation loc = p.getCurrentLocation(); in testEOFLocationViaStream()
|
D | LocationOffsetsTest.java | 15 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()
|
D | LocationDuringReaderParsingTest.java | 7 import com.fasterxml.jackson.core.JsonLocation; 53 JsonLocation loc = p.getCurrentLocation(); in testInitialLocation() 81 private void assertLocation(JsonLocation pLoc, LocData loc) in assertLocation()
|
D | LocationDuringStreamParsingTest.java | 7 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/ |
D | JsonLocationInstantiator.java | 3 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/ |
D | TreeTraversingParser.java | 179 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/ |
D | TestJacksonTypes.java | 19 JsonLocation loc = new JsonLocation(f, -1, 100, 13); in testLocation()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/exc/ |
D | StreamReadException.java | 37 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/ |
D | RouteGuideUtil.cs | 114 public JsonLocation location; 117 private class JsonLocation class in Routeguide.RouteGuideUtil
|