Home
last modified time | relevance | path

Searched refs:Serializer (Results 1 – 25 of 181) sorted by relevance

12345678

/external/rust/crates/serde/src/ser/
Dimpls.rs3 use ser::{Error, Serialize, SerializeTuple, Serializer};
13 S: Serializer,
47 S: Serializer, in serialize() argument
58 S: Serializer, in serialize() argument
67 S: Serializer, in serialize() argument
80 S: Serializer, in serialize() argument
91 S: Serializer, in serialize() argument
106 S: Serializer, in serialize() argument
121 S: Serializer, in serialize() argument
134 S: Serializer, in serialize() argument
[all …]
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/serializer/impl/
DImmutableMapSerializerExtension.java20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
44 public Optional<Serializer> getSerializer( in getSerializer()
53 Serializer keyTypeSerializer = factory.getSerializer(keyType); in getSerializer()
54 Serializer valueTypeSerializer = factory.getSerializer(valueType); in getSerializer()
66 private static class ImmutableMapSerializer implements Serializer {
72 private final Serializer keyTypeSerializer;
73 private final Serializer valueTypeSerializer;
79 Serializer keyTypeSerializer, in ImmutableMapSerializer()
80 Serializer valueTypeSerializer, in ImmutableMapSerializer()
DOptionalSerializerExtension.java20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
42 public Optional<Serializer> getSerializer( in getSerializer()
50 Serializer containedTypeSerializer = factory.getSerializer(containedType); in getSerializer()
55 private static class OptionalSerializer implements Serializer {
57 private final Serializer containedTypeSerializer;
59 OptionalSerializer(Serializer containedTypeSerializer) { in OptionalSerializer()
DImmutableListSerializerExtension.java20 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
43 public Optional<Serializer> getSerializer( in getSerializer()
51 Serializer containedTypeSerializer = factory.getSerializer(containedType); in getSerializer()
61 private static class ImmutableListSerializer implements Serializer {
63 private final Serializer containedTypeSerializer;
67 Serializer containedTypeSerializer, ProcessingEnvironment processingEnv) { in ImmutableListSerializer()
DIdentitySerializerFactory.java18 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
26 public static Serializer getSerializer(TypeMirror typeMirror) { in getSerializer()
30 private static class IdentitySerializer implements Serializer {
/external/dynamic_depth/internal/xmpmeta/xml/
Dserializer.h39 class Serializer {
41 virtual ~Serializer() {} in ~Serializer()
44 virtual std::unique_ptr<Serializer> CreateItemSerializer(
48 virtual std::unique_ptr<Serializer> CreateListSerializer(
57 virtual std::unique_ptr<Serializer> CreateSerializer(
Dserializer_impl.h100 class SerializerImpl : public Serializer {
121 std::unique_ptr<Serializer> CreateItemSerializer(
129 std::unique_ptr<Serializer> CreateListSerializer(
135 std::unique_ptr<Serializer> CreateSerializer(
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DSerializerSwitcher.java30 import org.apache.xml.serializer.Serializer;
86 Serializer oldSerializer = null; in switchSerializerIfHTML()
90 Serializer serializer = in switchSerializerIfHTML()
149 public static Serializer switchSerializerIfHTML( in switchSerializerIfHTML()
150 String ns, String localName, Properties props, Serializer oldSerializer) in switchSerializerIfHTML()
153 Serializer newSerializer = oldSerializer; in switchSerializerIfHTML()
180 Serializer serializer = in switchSerializerIfHTML()
/external/auto/value/src/test/java/com/google/auto/value/extension/serializable/serializer/impl/
DImmutableListSerializerExtensionTest.java21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
54 Optional<Serializer> actualSerializer = in getSerializer_nonImmutableList_emptyReturned()
65 Optional<Serializer> actualSerializer = in getSerializer_immutableListWithSerializableContainedType_emptyReturned()
75 Serializer actualSerializer = in getSerializer_immutableList_serializerReturned()
86 Serializer serializer = in proxyFieldType()
97 Serializer serializer = in toProxy()
112 Serializer serializer = in fromProxy()
DImmutableMapSerializerExtensionTest.java21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
56 Optional<Serializer> actualSerializer = in getSerializer_nonImmutableMap_emptyReturned()
67 Optional<Serializer> actualSerializer = in getSerializer_immutableMapWithSerializableContainedTypes_emptyReturned()
77 Serializer actualSerializer = in getSerializer_immutableMap_serializerReturned()
88 Serializer serializer = in proxyFieldType()
99 Serializer serializer = in toProxy()
122 Serializer serializer = in fromProxy()
DOptionalSerializerExtensionTest.java21 import com.google.auto.value.extension.serializable.serializer.interfaces.Serializer;
48 Optional<Serializer> actualSerializer = in getSerializer_nonOptional_emptyReturned()
58 Serializer actualSerializer = in getSerializer_optional_serializerReturned()
69 Serializer serializer = in proxyFieldType()
80 Serializer serializer = in toProxy()
91 Serializer serializer = in fromProxy()
/external/rust/crates/serde_cbor/src/
Dser.rs25 value.serialize(&mut Serializer::new(&mut vec))?; in to_vec()
36 value.serialize(&mut Serializer::new(&mut IoWrite::new(&mut vec)).packed_format())?; in to_vec_packed()
47 value.serialize(&mut Serializer::new(&mut IoWrite::new(writer))) in to_writer()
52 pub struct Serializer<W> { struct
58 impl<W> Serializer<W> argument
67 Serializer { in new()
210 impl<'a, W> ser::Serializer for &'a mut Serializer<W> implementation
218 type SerializeTuple = &'a mut Serializer<W>;
219 type SerializeTupleStruct = &'a mut Serializer<W>;
220 type SerializeTupleVariant = &'a mut Serializer<W>;
[all …]
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/userguide/
Dserializer-extension.md1 # Serializer Extensions
27 property's type. If a `SerializerExtension` is available, a [`Serializer`] is
28 returned. The `Serializer` does three things:
78 // When this extension can handle a type (i.e. Bar), we return a Serializer.
81 public Optional<Serializer> getSerializer(
94 private static class BarSerializer implements Serializer {
184 public Optional<Serializer> getSerializer(
196 Serializer containedTypeSerializer = factory.getSerializer(containedType);
209 private static class BazSerializer implements Serializer {
211 private Serializer serializer;
[all …]
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp134 class Serializer { class
137 explicit Serializer(spirv::ModuleOp module, bool emitDebugInfo = false);
528 Serializer::Serializer(spirv::ModuleOp module, bool emitDebugInfo) in Serializer() function in Serializer
532 LogicalResult Serializer::serialize() { in serialize()
556 void Serializer::collect(SmallVectorImpl<uint32_t> &binary) { in collect()
581 void Serializer::printValueIDMap(raw_ostream &os) { in printValueIDMap()
603 uint32_t Serializer::getOrCreateFunctionID(StringRef fnName) { in getOrCreateFunctionID()
612 void Serializer::processCapability() { in processCapability()
618 void Serializer::processDebugInfo() { in processDebugInfo()
631 void Serializer::processExtension() { in processExtension()
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Dcamera.cc8 using ::dynamic_depth::xmpmeta::xml::Serializer;
192 bool Camera::Serialize(Serializer* serializer) const { in Serialize()
205 std::unique_ptr<Serializer> image_serializer = serializer->CreateSerializer( in Serialize()
214 std::unique_ptr<Serializer> depth_map_serializer = in Serialize()
223 std::unique_ptr<Serializer> light_estimate_serializer = in Serialize()
233 std::unique_ptr<Serializer> pose_serializer = serializer->CreateSerializer( in Serialize()
241 std::unique_ptr<Serializer> imaging_model_serializer = in Serialize()
251 std::unique_ptr<Serializer> point_cloud_serializer = in Serialize()
260 std::unique_ptr<Serializer> vendor_info_serializer = in Serialize()
269 std::unique_ptr<Serializer> app_info_serializer = in Serialize()
Dcontainer.cc8 using ::dynamic_depth::xmpmeta::xml::Serializer;
88 bool Container::Serialize(Serializer* serializer) const { in Serialize()
94 std::unique_ptr<Serializer> container_serializer = in Serialize()
104 std::unique_ptr<Serializer> directory_serializer = in Serialize()
113 std::unique_ptr<Serializer> item_serializer = in Serialize()
Dprofiles.cc7 using ::dynamic_depth::xmpmeta::xml::Serializer;
65 bool Profiles::Serialize(Serializer* serializer) const { in Serialize()
72 std::unique_ptr<Serializer> profiles_serializer = in Serialize()
81 std::unique_ptr<Serializer> profile_serializer = in Serialize()
Dcameras.cc7 using ::dynamic_depth::xmpmeta::xml::Serializer;
72 bool Cameras::Serialize(Serializer* serializer) const { in Serialize()
77 std::unique_ptr<Serializer> cameras_serializer = in Serialize()
85 std::unique_ptr<Serializer> camera_serializer = in Serialize()
/external/rust/crates/serde_cbor/tests/
Dser.rs2 use serde_cbor::ser::{Serializer, SliceWrite};
36 let mut serializer = Serializer::new(writer); in serialize_and_compare()
46 use serde::Serializer;
180 let mut serializer = ser::Serializer::new(&mut vec); in test_self_describing()
205 serde_cbor::Serializer::new(&mut short_s) in test_byte_string()
215 serde_cbor::Serializer::new(&mut medium_s) in test_byte_string()
229 serde_cbor::Serializer::new(&mut long_s) in test_byte_string()
238 serde_cbor::Serializer::new(&mut very_long_s) in test_byte_string()
/external/llvm-project/llvm/lib/Remarks/
DYAMLRemarkSerializer.cpp59 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
61 assert(Serializer->StrTab.hasValue() && in mapping()
63 StringTable &StrTab = *Serializer->StrTab; in mapping()
84 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
86 assert(Serializer->StrTab.hasValue() && in mapping()
88 StringTable &StrTab = *Serializer->StrTab; in mapping()
139 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
141 assert(Serializer->StrTab.hasValue() && in mapping()
143 StringTable &StrTab = *Serializer->StrTab; in mapping()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
DYAMLRemarkSerializer.cpp59 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
61 assert(Serializer->StrTab.hasValue() && in mapping()
63 StringTable &StrTab = *Serializer->StrTab; in mapping()
84 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
86 assert(Serializer->StrTab.hasValue() && in mapping()
88 StringTable &StrTab = *Serializer->StrTab; in mapping()
139 if (auto *Serializer = dyn_cast<YAMLStrTabRemarkSerializer>( in mapping() local
141 assert(Serializer->StrTab.hasValue() && in mapping()
143 StringTable &StrTab = *Serializer->StrTab; in mapping()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DSymbolSerializer.h56 SymbolSerializer Serializer(Storage, Container); in writeOneSymbol()
57 consumeError(Serializer.visitSymbolBegin(Result)); in writeOneSymbol()
58 consumeError(Serializer.visitKnownRecord(Result, Sym)); in writeOneSymbol()
59 consumeError(Serializer.visitSymbolEnd(Result)); in writeOneSymbol()
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DSymbolSerializer.h56 SymbolSerializer Serializer(Storage, Container); in writeOneSymbol()
57 consumeError(Serializer.visitSymbolBegin(Result)); in writeOneSymbol()
58 consumeError(Serializer.visitKnownRecord(Result, Sym)); in writeOneSymbol()
59 consumeError(Serializer.visitSymbolEnd(Result)); in writeOneSymbol()
/external/rust/crates/serde_test/src/
Dser.rs9 pub struct Serializer<'a> { struct
13 impl<'a> Serializer<'a> { impl
16 Serializer { tokens: tokens } in new()
78 impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> { implementation
318 ser: &'s mut Serializer<'a>,
322 impl<'s, 'a> ser::SerializeSeq for &'s mut Serializer<'a> { implementation
339 impl<'s, 'a> ser::SerializeTuple for &'s mut Serializer<'a> { implementation
356 impl<'s, 'a> ser::SerializeTupleStruct for &'s mut Serializer<'a> { implementation
394 impl<'s, 'a> ser::SerializeMap for &'s mut Serializer<'a> { implementation
418 impl<'s, 'a> ser::SerializeStruct for &'s mut Serializer<'a> { implementation
/external/perfetto/src/trace_processor/db/
Dtyped_column.h66 using Serializer = tc_internal::Serializer<non_optional_type>; member
71 using serialized_type = typename Serializer::serialized_type;
74 return Serializer::Deserialize(
88 auto serialized = Serializer::Serialize(v); in Set()
94 mutable_nullable_vector()->Append(Serializer::Serialize(v)); in Append()

12345678