Home
last modified time | relevance | path

Searched defs:restored (Results 1 – 25 of 43) sorted by relevance

12

/external/kotlinx.serialization/formats/protobuf/jvmTest/src/kotlinx/serialization/protobuf/conformance/
DProto3OneofTest.kt56 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
DProto3PackedTest.kt42 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
DProto3RepeatedTest.kt64 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
DProto3UnpackedTest.kt44 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
72 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
DProto3MapTest.kt78 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
134 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in signedAndFixed() constant
DProto3MessageTest.kt57 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
DProto3EnumTest.kt81 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in toProto() constant
DProto3PrimitiveTest.kt53 val restored = TestMessagesProto3.TestAllTypesProto3.parseFrom(bytes) in default() constant
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/test/
DTestingFramework.kt22 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/
DJsonGenericTest.kt29 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
DJsonUnionEnumTest.kt24 val restored = default.decodeFromString(WithUnions.serializer(), json, jsonTestingMode) in <lambda>() constant
/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/
DTestUtils.kt28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
/external/kotlinx.serialization/formats/cbor/commonTest/src/kotlinx/serialization/
DTestUtilities.kt28 val restored = format.decodeFromByteArray(serializer, bytes) in assertSerializedToBinaryAndRestored() constant
/external/kotlinx.serialization/formats/hocon/src/test/kotlin/kotlinx/serialization/hocon/
DHoconTesting.kt17 val restored = this.decodeFromConfig(serializer, config) in assertStringFormAndRestored() constant
/external/rust/android-crates-io/crates/mls-rs/src/extension/
Dbuilt_in.rs268 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/
DSerializableOnTypeUsageTest.kt25 val restored = Json.decodeFromString(SerializableOnArguments.serializer(), str) in testAnnotationIsApplied() constant
DGenericCustomSerializerTest.kt126 val restored = Json.decodeFromString(DataWithString.serializer(), s) in testStringData() constant
135 val restored = Json.decodeFromString(DataWithInt.serializer(), s) in testIntData() constant
DLongAsStringTest.kt21 val restored = default.decodeFromString(HasLong.serializer(), str, jsonTestingMode) in <lambda>() constant
DInheritanceTest.kt106 val restored = json.decodeFromString(Derived2.serializer(), msgFull) in testWithOpenProperty() constant
/external/kotlinx.serialization/integration-test/src/commonTest/kotlin/sample/
DJsonTest.kt38 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/
Drestorer.rs119 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/
DPolymorphicWithJvmClassTest.kt42 val restored = protobuf.decodeFromHexString<DateWrapper>(bytes) in testPolymorphicWrappedOverride() constant
/external/kotlinx.serialization/formats/protobuf/commonTest/src/kotlinx/serialization/protobuf/
DProtobufEnumTest.kt23 val restored = ProtoBuf.decodeFromHexString(EnumWithUnion.serializer(), hex) in testEnumWithUnion() constant
/external/kotlinx.serialization/formats/properties/commonTest/src/kotlinx/serialization/properties/
DPropertiesTest.kt160 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/
DJavaCollectionsTest.kt51 val restored = Json.decodeFromString(deserializer = serializer, string = string) in testJavaCollectionsInsideClass() constant

12