/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/conformance/ |
D | Proto3OneofTest.kt | 56 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in verify() constant 69 KTestMessageProto3Oneof(oneofUint32 = 150u).verify { self, restored -> in uint32() method 78 ).verify { self, restored -> in nestedMessage() method 85 KTestMessageProto3Oneof(oneofString = "150").verify { self, restored -> in string() method 92 KTestMessageProto3Oneof(oneofBytes = "150".toByteArray()).verify { self, restored -> in bytes() method 99 KTestMessageProto3Oneof(oneofBool = true).verify { self, restored -> in bool() method 106 KTestMessageProto3Oneof(oneofUint64 = 150uL).verify { self, restored -> in uint64() method 113 KTestMessageProto3Oneof(oneofFloat = 150f).verify { self, restored -> in float() method 120 KTestMessageProto3Oneof(oneofDouble = 150.0).verify { self, restored -> in double() method 127 …tMessageProto3Oneof(oneofEnum = KTestMessagesProto3Enum.KNestedEnum.BAR).verify { self, restored -> in enum() method
|
D | Proto3PackedTest.kt | 42 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 68 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant 91 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in unsigned() constant
|
D | Proto3RepeatedTest.kt | 64 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 99 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant 125 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in unsigned() constant
|
D | Proto3UnpackedTest.kt | 44 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 72 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
|
D | Proto3MapTest.kt | 78 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant 134 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
|
D | Proto3MessageTest.kt | 57 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
|
D | Proto3EnumTest.kt | 81 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in toProto() constant
|
D | Proto3PrimitiveTest.kt | 53 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/test/ |
D | TestingFramework.kt | 22 val restored = format.decodeFromString(serializer, string) in assertStringFormAndRestored() constant 36 val restored = this.decodeFromString(serializer, string) in assertStringFormAndRestored() constant 50 val restored = format.decodeFromString(serializer, string) in assertSerializedAndRestored() constant
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/ |
D | JsonGenericTest.kt | 29 val restored = default.decodeFromString(serializer, s, jsonTestingMode) in <lambda>() constant 43 val restored = default.decodeFromString(serializer, s, jsonTestingMode) in <lambda>() constant 52 val restored = default.decodeFromString(Array2DBox.serializer(), str, jsonTestingMode) in <lambda>() constant
|
D | JsonUnionEnumTest.kt | 24 val restored = default.decodeFromString(WithUnions.serializer(), json, jsonTestingMode) in <lambda>() constant
|
/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/ |
D | TestUtils.kt | 28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
|
/external/kotlinx.serialization/formats/cbor/commonTest/src/kotlinx/serialization/ |
D | TestUtilities.kt | 28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
|
/external/kotlinx.serialization/formats/hocon/src/test/kotlin/kotlinx/serialization/hocon/ |
D | HoconTesting.kt | 17 val restored = this.decodeFromConfig(serializer, config) in assertStringFormAndRestored() constant
|
/external/rust/android-crates-io/crates/mls-rs/src/extension/ |
D | built_in.rs | 268 let restored = ApplicationIdExt::from_extension(&as_extension).unwrap(); in test_application_id_extension() localVariable 281 let restored = RatchetTreeExt::from_extension(&as_extension).unwrap(); in test_ratchet_tree() localVariable 300 let restored = RequiredCapabilitiesExt::from_extension(&as_extension).unwrap(); in test_required_capabilities() localVariable 314 let restored = ExternalSendersExt::from_extension(&as_extension).unwrap(); in test_external_senders() localVariable 327 let restored = ExternalPubExt::from_extension(&as_extension).unwrap(); in test_external_pub() localVariable
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/features/ |
D | SerializableOnTypeUsageTest.kt | 25 val restored = Json.decodeFromString(SerializableOnArguments.serializer(), str) in testAnnotationIsApplied() constant
|
D | GenericCustomSerializerTest.kt | 126 val restored = Json.decodeFromString(DataWithString.serializer(), s) in testStringData() constant 135 val restored = Json.decodeFromString(DataWithInt.serializer(), s) in testIntData() constant
|
D | LongAsStringTest.kt | 21 val restored = default.decodeFromString(HasLong.serializer(), str, jsonTestingMode) in <lambda>() constant
|
D | InheritanceTest.kt | 106 val restored = json.decodeFromString(Derived2.serializer(), msgFull) in testWithOpenProperty() constant
|
/external/kotlinx.serialization/integration-test/src/commonTest/kotlin/sample/ |
D | JsonTest.kt | 38 val restored = jsonWithDefaults.decodeFromString(Data.serializer(), originalString) in testSerializeBack() constant 125 val restored = Json.decodeFromString(Derived2.serializer(), msgFull) in testWithOpenProperty() constant 253 val restored = format.decodeFromString(serializer, string) in assertStringFormAndRestored() constant
|
/external/rust/android-crates-io/crates/pest_meta/src/optimizer/ |
D | restorer.rs | 119 let restored = OptimizedRule { in restore_with_child_stack_ops() localVariable 139 let restored = OptimizedRule { in restore_choice_branch_with_and_branch_without() localVariable
|
/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/ |
D | PolymorphicWithJvmClassTest.kt | 42 val restored = protobuf.decodeFromHexString<DateWrapper>(bytes) in testPolymorphicWrappedOverride() constant
|
/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/ |
D | ProtobufEnumTest.kt | 23 val restored = ProtoBuf.decodeFromHexString(EnumWithUnion.serializer(), hex) in testEnumWithUnion() constant
|
/external/kotlinx.serialization/formats/properties/commonTest/src/kotlinx/serialization/properties/ |
D | PropertiesTest.kt | 160 val restored = Properties.decodeFromMap<Category>(Category.serializer(), map) in testLoadOptionalProps() constant 167 val restored = Properties.decodeFromMap<Category>(Category.serializer(), map) in testLoadOptionalNestedProps() constant 232 val restored = Properties.decodeFromMap(SharedPrefixNames.serializer(), map) in testSharedPrefixNames() constant
|
/external/kotlinx.serialization/formats/json-tests/jvmTest/src/kotlinx/serialization/ |
D | JavaCollectionsTest.kt | 51 val restored = Json.decodeFromString(deserializer = serializer, string = string) in testJavaCollectionsInsideClass() constant
|