/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 43 AssertTokens("{}", JsonToken.StartObject, JsonToken.EndObject); in EmptyObjectValue() 49 AssertTokens("[]", JsonToken.StartArray, JsonToken.EndArray); in EmptyArrayValue() 68 AssertTokensNoReplacement("\"" + json + "\"", JsonToken.Value(expectedValue)); in StringValue() 80 AssertTokens("'\\ud800\udc00'", JsonToken.Value(expected)); in MixedSurrogatePairs() 81 AssertTokens("'\ud800\\udc00'", JsonToken.Value(expected)); in MixedSurrogatePairs() 91 Assert.AreEqual(JsonToken.StartObject, tokenizer.Next()); in ObjectDepth() 93 Assert.AreEqual(JsonToken.Name("foo"), tokenizer.Next()); in ObjectDepth() 95 Assert.AreEqual(JsonToken.StartObject, tokenizer.Next()); in ObjectDepth() 97 Assert.AreEqual(JsonToken.Name("x"), tokenizer.Next()); in ObjectDepth() 99 Assert.AreEqual(JsonToken.Value(1), tokenizer.Next()); in ObjectDepth() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonToken.cs | 37 internal sealed class JsonToken : IEquatable<JsonToken> class 40 private static readonly JsonToken _true = new JsonToken(TokenType.True); 41 private static readonly JsonToken _false = new JsonToken(TokenType.False); 42 private static readonly JsonToken _null = new JsonToken(TokenType.Null); 43 private static readonly JsonToken startObject = new JsonToken(TokenType.StartObject); 44 private static readonly JsonToken endObject = new JsonToken(TokenType.EndObject); 45 private static readonly JsonToken startArray = new JsonToken(TokenType.StartArray); 46 private static readonly JsonToken endArray = new JsonToken(TokenType.EndArray); 47 private static readonly JsonToken endDocument = new JsonToken(TokenType.EndDocument); 49 internal static JsonToken Null { get { return _null; } } [all …]
|
D | JsonTokenizer.cs | 55 private JsonToken bufferedToken; 71 …internal static JsonTokenizer FromReplayedTokens(IList<JsonToken> tokens, JsonTokenizer continuati… in FromReplayedTokens() 84 internal void PushBack(JsonToken token) in PushBack() 91 if (token.Type == JsonToken.TokenType.StartObject) in PushBack() 95 else if (token.Type == JsonToken.TokenType.EndObject) in PushBack() 109 internal JsonToken Next() in Next() 111 JsonToken tokenToReturn; in Next() 121 if (tokenToReturn.Type == JsonToken.TokenType.StartObject) in Next() 125 else if (tokenToReturn.Type == JsonToken.TokenType.EndObject) in Next() 138 protected abstract JsonToken NextImpl(); in NextImpl() [all …]
|
D | JsonParser.cs | 135 if (lastToken != JsonToken.EndDocument) in Merge() 165 if (token.Type != JsonToken.TokenType.StartObject) in Merge() 178 if (token.Type == JsonToken.TokenType.EndObject) in Merge() 182 if (token.Type != JsonToken.TokenType.Name) in Merge() 216 if (token.Type == JsonToken.TokenType.Null) in MergeField() 248 if (token.Type != JsonToken.TokenType.StartArray) in MergeRepeatedField() 257 if (token.Type == JsonToken.TokenType.EndArray) in MergeRepeatedField() 262 if (token.Type == JsonToken.TokenType.Null) in MergeRepeatedField() 274 if (token.Type != JsonToken.TokenType.StartObject) in MergeMapField() 291 if (token.Type == JsonToken.TokenType.EndObject) in MergeMapField() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | JsonParser.java | 22 import com.google.gson.stream.JsonToken; 88 checkState(jr.peek() == JsonToken.END_OBJECT, "Bad token: " + jr.getPath()); in parseJsonObject() 100 checkState(jr.peek() == JsonToken.END_ARRAY, "Bad token: " + jr.getPath()); in parseJsonArray()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | AddAnnotation.java | 29 import com.google.gson.stream.JsonToken; 148 JsonToken token = reader.peek(); in fromJsonFile() 149 if (token == JsonToken.STRING) { in fromJsonFile()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | KeymanCheck.java | 27 import com.google.gson.stream.JsonToken; 59 JsonToken token = reader.peek(); in prettyprint()
|
/external/caliper/lib/ |
D | gson-2.2.2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/cldr/tools/java/libs/ |
D | gson.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/external/protobuf/ |
D | Makefile.am | 135 csharp/src/Google.Protobuf/JsonToken.cs \
|
/external/grpc-grpc-java/core/ |
D | grpc-core-1.14.0.jar | META-INF/
META-INF/MANIFEST.MF
io/
io/grpc/
io/ ... |
/external/v8/src/inspector/build/closure-compiler/ |
D | closure-compiler.jar | META-INF/MANIFEST.MF
META-INF/
com/
com/google/
com/ ... |
/external/conscrypt/benchmark-android/ |
D | vogar.jar | META-INF/
META-INF/MANIFEST.MF
vogar/
vogar/TestProperties.class
TestProperties ... |