/external/google-auth-library-java/oauth2_http/javatests/com/google/auth/oauth2/ |
D | GdchCredentialsTest.java | 91 GenericJson json = in fromJSON_getProjectId() local 107 GenericJson json = in fromJSON_getServiceIdentityName() local 123 GenericJson json = in fromJSON_getCaCertPath() local 139 GenericJson json = in fromJSON_getTokenServerUri() local 155 GenericJson json = in fromJSON_nullFormatVersion() local 181 GenericJson json = in fromJSON_nullProjectId() local 207 GenericJson json = in fromJSON_nullPrivateKeyId() local 233 GenericJson json = in fromJSON_nullPrivateKey() local 259 GenericJson json = in fromJSON_nullServiceIdentityName() local 285 GenericJson json = in fromJSON_nullCaCertPath() local [all …]
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | TrailingCommasTest.java | 50 String json = "[\"a\", \"b\"]"; in testArrayBasic() local 68 String json = "[\"a\",, \"b\"]"; in testArrayInnerComma() local 93 String json = "[,\"a\", \"b\"]"; in testArrayLeadingComma() local 119 String json = "[\"a\", \"b\",]"; in testArrayTrailingComma() local 147 String json = "[\"a\", \"b\",,]"; in testArrayTrailingCommas() local 178 String json = "[\"a\", \"b\",,,]"; in testArrayTrailingCommasTriple() local 211 String json = "{\"a\": true, \"b\": false}"; in testObjectBasic() local 232 String json = "{\"a\": true,, \"b\": false}"; in testObjectInnerComma() local 248 String json = "{,\"a\": true, \"b\": false}"; in testObjectLeadingComma() local 260 String json = "{\"a\": true, \"b\": false,}"; in testObjectTrailingComma() local [all …]
|
/external/gson/gson/src/test/java/com/google/gson/functional/ |
D | DefaultTypeAdaptersTest.java | 127 String json = "'http:\\/\\/google.com\\/'"; in testUrlDeserialization() local 143 String json = "{}"; in testUrlNullDeserialization() local 162 String json = '"' + uriValue + '"'; in testUriDeserialization() local 218 String json = '"' + uuidValue + '"'; in testUuidDeserialization() local 231 String json = "\"en\""; in testLocaleDeserializationWithLanguage() local 244 String json = "\"fr_CA\""; in testLocaleDeserializationWithLanguageCountry() local 252 String json = gson.toJson(target); in testLocaleSerializationWithLanguageCountryVariant() local 258 String json = "\"de_DE_EURO\""; in testLocaleDeserializationWithLanguageCountryVariant() local 268 String json = gson.toJson(target); in testBigDecimalFieldSerialization() local 276 String json = expected.getExpectedJson(); in testBigDecimalFieldDeserialization() local [all …]
|
D | ArrayTest.java | 66 String json = "[1, 2 3, 4, 5]"; in testInvalidArrayDeserialization() local 96 String json = gson.toJson(array); in testNullsInArraySerialization() local 102 String json = "[\"foo\",null,\"bar\"]"; in testNullsInArrayDeserialization() local 114 String json = gson.toJson(array); in testSingleNullInArraySerialization() local 129 String json = gson.toJson(array); in testNullsInArrayWithSerializeNullPropertySetSerialization() local 141 String json = "[\"Hello\",\"World\"]"; in testArrayOfStringsDeserialization() local 156 String json = "[\"hello\"]"; in testSingleStringArrayDeserialization() local 184 String json = gson.toJson(arrayOfCollection, typeToSerialize); in testArrayOfCollectionSerialization() local 185 assertEquals(sb.toString(), json); in testArrayOfCollectionSerialization() local 190 String json = "[[1,2],[3,4]]"; in testArrayOfCollectionDeserialization() local [all …]
|
D | CollectionTest.java | 67 String json = gson.toJson(target, targetType); in testTopLevelCollectionOfIntegersSerialization() local 73 String json = "[0,1,2,3,4,5,6,7,8,9]"; in testTopLevelCollectionOfIntegersDeserialization() local 82 String json = "[[1,2,3],[4,5,6],[7,8,9]]"; in testTopLevelListOfIntegerCollectionsDeserialization() local 104 String json = gson.toJson(list, linkedListType); in testLinkedListSerialization() local 111 String json = "['a1','a2']"; in testLinkedListDeserialization() local 124 String json = gson.toJson(queue, queueType); in testQueueSerialization() local 131 String json = "['a1','a2']"; in testQueueDeserialization() local 144 String json = gson.toJson(queue); in testPriorityQueue() local 159 String json = gson.toJson(target); in testVector() local 168 String json = gson.toJson(target); in testStack() local [all …]
|
D | MapTest.java | 73 String json = gson.toJson(map, typeOfMap); in testMapSerialization() local 80 String json = "{\"a\":1,\"b\":2}"; in testMapDeserialization() local 92 String json = gson.toJson(map); in testObjectMapSerialization() local 101 String json = gson.toJson(map, typeOfMap); in testMapSerializationEmpty() local 117 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullValue() local 137 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullValueButSerializeNulls() local 147 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithNullKey() local 171 String json = gson.toJson(map, typeOfMap); in testMapSerializationWithIntegerKeys() local 197 String json = String.format("{\"%d\":\"456\"}", longValue); in testMapDeserializationWithLongKeys() local 208 String json = String.format("{%d:\"456\"}", longKey); in testMapDeserializationWithUnquotedLongKeys() local [all …]
|
D | ParameterizedTypesTest.java | 62 String json = gson.toJson(src, typeOfSrc); in testParameterizedTypesSerialization() local 63 assertEquals(src.getExpectedJson(), json); in testParameterizedTypesSerialization() local 76 String json = expected.getExpectedJson(); in testParameterizedTypeDeserialization() local 87 String json = gson.toJson(src, typeOfSrc); in testTypesWithMultipleParametersSerialization() local 97 String json = "{\"a\":10,\"b\":1.0,\"c\":2.1,\"d\":\"abc\"," in testTypesWithMultipleParametersDeserialization() local 115 String json = gson.toJson(intTarget, ptIntegerType); in testParameterizedTypeWithCustomSerializer() local 116 assertEquals(MyParameterizedTypeAdapter.<Integer>getExpectedJson(intTarget), json); in testParameterizedTypeWithCustomSerializer() local 120 assertEquals(MyParameterizedTypeAdapter.<String>getExpectedJson(stringTarget), json); in testParameterizedTypeWithCustomSerializer() local 135 String json = MyParameterizedTypeAdapter.<Integer>getExpectedJson(src); in testParameterizedTypesWithCustomDeserializer() local 164 Reader json = new StringReader(expected.getExpectedJson()); in testParameterizedTypeWithReaderDeserialization() local [all …]
|
D | ObjectTest.java | 89 String json = "{'stringValue':'no message','intValue':10,'longValue':20}"; in testJsonInSingleQuotesDeserialization() local 98 String json = "{\"stringValue\":'no message','intValue':10,'longValue':20}"; in testJsonInMixedQuotesDeserialization() local 114 String json = src.getExpectedJson(); in testBagOfPrimitivesDeserialization() local 141 String json = "{\"longValue\":[1]}"; in testClassWithTransientFieldsDeserialization() local 149 String json = "{\"transientLongValue\":1,\"longValue\":[1]}"; in testClassWithTransientFieldsDeserializationTransientFieldsPassedInJsonAreIgnored() local 161 String json = "{}"; in testClassWithNoFieldsDeserialization() local 202 String json = "{\"primitive1\":{\"longValue\":10,\"intValue\":20,\"booleanValue\":false," in testNestedDeserialization() local 243 String json = "{\"primitive1\":{\"longValue\":10,\"intValue\":20,\"booleanValue\":false" in testNullFieldsDeserialization() local 257 String json = new ArrayOfObjects().getExpectedJson(); in testArrayOfObjectsDeserialization() local 270 String json = new ArrayOfArrays().getExpectedJson(); in testArrayOfArraysDeserialization() local [all …]
|
D | PrettyPrintingTest.java | 60 String json = gson.toJson(listOfB, typeOfSrc); in testPrettyPrintList() local 67 String json = gson.toJson(target); in testPrettyPrintArrayOfObjects() local 74 String json = gson.toJson(ints); in testPrettyPrintArrayOfPrimitives() local 82 String json = gson.toJson(ints); in testPrettyPrintArrayOfPrimitiveArrays() local 91 String json = gson.toJson(list); in testPrettyPrintListOfPrimitiveArrays() local 101 String json = gson.toJson(map); in testMap() local 110 String json = gson.toJson(obj); in testEmptyMapField() local 123 String json = gson.toJson(ints); in testMultipleArrays() local
|
D | JavaUtilConcurrentAtomicTest.java | 48 String json = gson.toJson(target); in testAtomicBoolean() local 56 String json = gson.toJson(target); in testAtomicInteger() local 64 String json = gson.toJson(target); in testAtomicLong() local 75 String json = gson.toJson(target); in testAtomicLongWithStringSerializationPolicy() local 86 String json = gson.toJson(target); in testAtomicIntegerArray() local 97 String json = gson.toJson(target); in testAtomicLongArray() local 111 String json = gson.toJson(target); in testAtomicLongArrayWithStringSerializationPolicy() local
|
D | StringTest.java | 46 String json = gson.toJson(value); in testEscapedCtrlNInStringSerialization() local 52 String json = "'a\\nb'"; in testEscapedCtrlNInStringDeserialization() local 60 String json = gson.toJson(value); in testEscapedCtrlRInStringSerialization() local 66 String json = "'a\\rb'"; in testEscapedCtrlRInStringDeserialization() local 74 String json = gson.toJson(value); in testEscapedBackslashInStringSerialization() local 117 String json = "'\\/'"; in testStringWithEscapedSlashDeserialization() local 128 String json = gson.toJson(value); in testAssignmentCharSerialization() local 137 String json = "\"abc=\""; in testAssignmentCharDeserialization() local 149 String json = gson.toJson(value); in testJavascriptKeywordsInStringSerialization() local 155 String json = "'null true false function'"; in testJavascriptKeywordsInStringDeserialization() local
|
D | TypeAdapterRuntimeTypeWrapperTest.java | 33 public Base deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) { in deserialize() 53 String json = gson.toJson(new Container()); in testJsonSerializer() local 68 String json = gson.toJson(new Container()); in testJsonDeserializer_ReflectiveSerializerDelegate() local 94 String json = gson.toJson(new Container()); in testJsonDeserializer_CustomSerializerDelegate() local 111 String json = gson.toJson(new Container()); in testJsonDeserializer_ReflectiveTreeSerializerDelegate() local 133 String json = gson.toJson(new Container()); in testJsonDeserializer_JsonSerializerDelegate() local 162 String json = gson.toJson(new Container()); in testJsonDeserializer_SubclassBackwardCompatibility() local 190 String json = new Gson().toJson(b); in testGsonFutureAdapter() local
|
/external/angle/src/libANGLE/capture/ |
D | serialize.cpp | 110 GroupScope(JsonSerializer *json, const std::string &name) : mJson(json) in GroupScope() 115 GroupScope(JsonSerializer *json, const std::string &name, int index) : mJson(json) in GroupScope() 123 GroupScope(JsonSerializer *json, int index) : GroupScope(json, "", index) {} in GroupScope() 131 void SerializeColorF(JsonSerializer *json, const ColorF &color) in SerializeColorF() 139 void SerializeColorFWithGroup(JsonSerializer *json, const char *groupName, const ColorF &color) in SerializeColorFWithGroup() 145 void SerializeColorI(JsonSerializer *json, const ColorI &color) in SerializeColorI() 153 void SerializeColorUI(JsonSerializer *json, const ColorUI &color) in SerializeColorUI() 161 void SerializeExtents(JsonSerializer *json, const gl::Extents &extents) in SerializeExtents() 170 JsonSerializer *json, in SerializeOffsetBindingPointerVector() 187 JsonSerializer *json, in SerializeBindingPointerVector() [all …]
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/spm-core-include/grpc/support/ |
D | json.h | 55 Json json; in FromBool() local 62 Json json; in FromNumber() local 67 Json json; in FromNumber() local 72 Json json; in FromNumber() local 77 Json json; in FromNumber() local 82 Json json; in FromNumber() local 87 Json json; in FromNumber() local 92 Json json; in FromNumber() local 97 Json json; in FromNumber() local 104 Json json; in FromString() local [all …]
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/include/grpc/support/ |
D | json.h | 55 Json json; in FromBool() local 62 Json json; in FromNumber() local 67 Json json; in FromNumber() local 72 Json json; in FromNumber() local 77 Json json; in FromNumber() local 82 Json json; in FromNumber() local 87 Json json; in FromNumber() local 92 Json json; in FromNumber() local 97 Json json; in FromNumber() local 104 Json json; in FromString() local [all …]
|
/external/grpc-grpc/include/grpc/support/ |
D | json.h | 55 Json json; in FromBool() local 62 Json json; in FromNumber() local 67 Json json; in FromNumber() local 72 Json json; in FromNumber() local 77 Json json; in FromNumber() local 82 Json json; in FromNumber() local 87 Json json; in FromNumber() local 92 Json json; in FromNumber() local 97 Json json; in FromNumber() local 104 Json json; in FromString() local [all …]
|
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 public void SkipValue(string json) in SkipValue() 376 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 388 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 408 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 public void SkipValue(string json) in SkipValue() 376 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 388 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 408 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 public void SkipValue(string json) in SkipValue() 376 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 388 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 408 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 372 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 392 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/cronet/stable/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 372 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 392 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/cronet/tot/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() 158 public void InvalidStringValue(string json) in InvalidStringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() 204 public void InvalidNumberValue(string json) in InvalidNumberValue() 214 public void InvalidLiterals(string json) in InvalidLiterals() 272 public void InvalidStructure(string json, int expectedValidTokens) in InvalidStructure() 360 private static void AssertTokens(string json, params JsonToken[] expectedTokens) in AssertTokens() 372 … private static void AssertTokensNoReplacement(string json, params JsonToken[] expectedTokens) in AssertTokensNoReplacement() 392 private static void AssertThrowsAfter(string json, params JsonToken[] expectedTokens) in AssertThrowsAfter()
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/ |
D | LenientTest.kt | 25 val json = """{"i":"1", "l":2, "b":true, "s":"string"}""" in <lambda>() constant 32 val json = """{"i":1, "l":"2", "b":true, "s":"string"}""" in testQuotedLong() constant 39 val json = """{"i":1, "l":2, "b":"true", "s":"string"}""" in <lambda>() constant 46 val json = """{"i":1, "l":2, "b":true, "s":string}""" in <lambda>() constant 53 val json = """{"i":1, "l":2, b:true, "s":"string"}""" in <lambda>() constant 60 val json = """{"l":[1, 2, ss]}""" in testUnquotedStringInArray() constant
|
/external/tink/java_src/src/main/java/com/google/crypto/tink/ |
D | JsonKeysetReader.java | 201 private Keyset keysetFromJson(JsonObject json) throws IOException { in keysetFromJson() 214 private EncryptedKeyset encryptedKeysetFromJson(JsonObject json) throws IOException { in encryptedKeysetFromJson() 234 private Keyset.Key keyFromJson(JsonObject json) throws IOException { in keyFromJson() 244 private static KeysetInfo keysetInfoFromJson(JsonObject json) throws IOException { in keysetInfoFromJson() 258 private static KeysetInfo.KeyInfo keyInfoFromJson(JsonObject json) throws IOException { in keyInfoFromJson() 267 private KeyData keyDataFromJson(JsonObject json) { in keyDataFromJson() 325 private static void validateKeyset(JsonObject json) { in validateKeyset() 331 private static void validateEncryptedKeyset(JsonObject json) { in validateEncryptedKeyset() 337 private static void validateKey(JsonObject json) { in validateKey() 346 private static void validateKeyData(JsonObject json) { in validateKeyData()
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/ |
D | PolymorphismWithAnyTest.kt | 52 val json = Json { in <lambda>() constant 68 val json = Json { serializersModule = BaseAndDerivedModule } in <lambda>() constant 90 val json = Json { serializersModule = baseAndDerivedModuleAtAny } in <lambda>() constant 104 val json = Json { serializersModule = baseAndDerivedModuleAtAny } in <lambda>() constant 122 val json = Json { serializersModule = (baseAndDerivedModuleAtAny + BaseAndDerivedModule) } in <lambda>() constant 139 val json = Json { serializersModule = (baseAndDerivedModuleAtAny + BaseAndDerivedModule) } in <lambda>() constant
|