/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | BeanDeserializerModifier.java | 93 BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyDeserializer() argument 94 return deserializer; in modifyDeserializer() 110 JavaType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyEnumDeserializer() argument 111 return deserializer; in modifyEnumDeserializer() 121 ReferenceType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyReferenceDeserializer() argument 122 return deserializer; in modifyReferenceDeserializer() 143 ArrayType valueType, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyArrayDeserializer() argument 144 return deserializer; in modifyArrayDeserializer() 154 CollectionType type, BeanDescription beanDesc, JsonDeserializer<?> deserializer) { in modifyCollectionDeserializer() argument 155 return deserializer; in modifyCollectionDeserializer() [all …]
|
/external/llvm-project/lldb/unittests/Utility/ |
D | ReproducerInstrumentationTest.cpp | 62 TestInstrumentationData(Deserializer &deserializer, Registry ®istry) in TestInstrumentationData() argument 63 : InstrumentationData(deserializer, registry) {} in TestInstrumentationData() 402 Deserializer deserializer(""); in TEST() local 403 EXPECT_FALSE(deserializer.HasData(1)); in TEST() 407 Deserializer deserializer("a"); in TEST() local 408 EXPECT_TRUE(deserializer.HasData(1)); in TEST() 409 EXPECT_FALSE(deserializer.HasData(2)); in TEST() 422 Deserializer deserializer(buffer); in TEST() local 424 EXPECT_EQ(p.a, deserializer.Deserialize<bool>()); in TEST() 425 EXPECT_EQ(p.b, deserializer.Deserialize<bool>()); in TEST() [all …]
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | ReproducerInstrumentation.h | 437 static Result doit(Deserializer &deserializer, 442 deserializer, f, d..., deserializer.Deserialize<Head>()); 449 static Result doit(Deserializer &deserializer, Result (*f)(Deserialized...), 459 virtual void operator()(Deserializer &deserializer) const = 0; 468 void operator()(Deserializer &deserializer) const override { 469 Replay(deserializer); 472 Result Replay(Deserializer &deserializer) const { 473 return deserializer.HandleReplayResult( 475 deserializer, f)); 487 void operator()(Deserializer &deserializer) const override { [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
D | Marshaller.cs | 30 readonly Func<byte[], T> deserializer; field in Grpc.Core.Marshaller 37 public Marshaller(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Marshaller() argument 40 this.deserializer = GrpcPreconditions.CheckNotNull(deserializer, "deserializer"); in Marshaller() 61 return this.deserializer; 74 … public static Marshaller<T> Create<T>(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Create() argument 76 return new Marshaller<T>(serializer, deserializer); in Create()
|
/external/dynamic_depth/internal/dynamic_depth/ |
D | imaging_model.cc | 31 std::unique_ptr<ImagingModel> ParseFields(const Deserializer& deserializer) { in ParseFields() argument 39 if (!deserializer.ParseDouble(prefix, kFocalLengthX, &focal_length.x) || in ParseFields() 40 !deserializer.ParseDouble(prefix, kFocalLengthY, &focal_length.y) || in ParseFields() 41 !deserializer.ParseInt(prefix, kImageWidth, &image_size.width) || in ParseFields() 42 !deserializer.ParseInt(prefix, kImageHeight, &image_size.height)) { in ParseFields() 48 if (deserializer.ParseDouble(prefix, kPrincipalPointX, &temp1) && in ParseFields() 49 deserializer.ParseDouble(prefix, kPrincipalPointY, &temp2)) { in ParseFields() 54 if (deserializer.ParseDouble(prefix, kSkew, &temp1)) { in ParseFields() 58 if (deserializer.ParseDouble(prefix, kPixelAspectRatio, &temp1)) { in ParseFields() 64 if (deserializer.ParseInt(DynamicDepthConst::ImagingModel(), kDistortionCount, in ParseFields() [all …]
|
D | earth_pose.cc | 79 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 83 if (deserializer == nullptr) { in FromDeserializer() 87 if (!earth_pose->ParseEarthPoseFields(*deserializer)) { in FromDeserializer() 147 bool EarthPose::ParseEarthPoseFields(const Deserializer& deserializer) { in ParseEarthPoseFields() argument 150 if (deserializer.ParseDouble(DynamicDepthConst::EarthPose(), kLatitude, in ParseEarthPoseFields() 152 if (!deserializer.ParseDouble(DynamicDepthConst::EarthPose(), kLongitude, in ParseEarthPoseFields() 156 if (!deserializer.ParseDouble(DynamicDepthConst::EarthPose(), kAltitude, in ParseEarthPoseFields() 165 if (deserializer.ParseFloat(DynamicDepthConst::EarthPose(), kRotationX, &x)) { in ParseEarthPoseFields() 166 if (!deserializer.ParseFloat(DynamicDepthConst::EarthPose(), kRotationY, in ParseEarthPoseFields() 170 if (!deserializer.ParseFloat(DynamicDepthConst::EarthPose(), kRotationZ, in ParseEarthPoseFields() [all …]
|
D | pose.cc | 77 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 80 if (deserializer == nullptr) { in FromDeserializer() 84 if (!pose->ParsePoseFields(*deserializer)) { in FromDeserializer() 140 bool Pose::ParsePoseFields(const Deserializer& deserializer) { in ParsePoseFields() argument 144 if (deserializer.ParseFloat(prefix, kPositionX, &x)) { in ParsePoseFields() 145 if (!deserializer.ParseFloat(prefix, kPositionY, &y)) { in ParsePoseFields() 148 if (!deserializer.ParseFloat(prefix, kPositionZ, &z)) { in ParsePoseFields() 155 if (deserializer.ParseFloat(prefix, kRotationX, &x)) { in ParsePoseFields() 156 if (!deserializer.ParseFloat(prefix, kRotationY, &y)) { in ParsePoseFields() 159 if (!deserializer.ParseFloat(prefix, kRotationZ, &z)) { in ParsePoseFields() [all …]
|
D | vendor_info.cc | 53 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 55 if (deserializer == nullptr) { in FromDeserializer() 60 if (!vendor_info->ParseFields(*deserializer)) { in FromDeserializer() 93 bool VendorInfo::ParseFields(const Deserializer& deserializer) { in ParseFields() argument 95 if (!deserializer.ParseString(DynamicDepthConst::VendorInfo(), kManufacturer, in ParseFields() 101 deserializer.ParseString(DynamicDepthConst::VendorInfo(), kModel, &model_); in ParseFields() 102 deserializer.ParseString(DynamicDepthConst::VendorInfo(), kNotes, ¬es_); in ParseFields()
|
D | plane.cc | 69 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 73 if (deserializer == nullptr) { in FromDeserializer() 78 if (!plane->ParsePlaneFields(*deserializer)) { in FromDeserializer() 140 bool Plane::ParsePlaneFields(const Deserializer& deserializer) { in ParsePlaneFields() argument 142 Pose::FromDeserializer(deserializer, DynamicDepthConst::Plane()); in ParsePlaneFields() 152 if (deserializer.ParseFloatArrayBase64(DynamicDepthConst::Plane(), kBoundary, in ParsePlaneFields() 154 if (!deserializer.ParseInt(DynamicDepthConst::Plane(), kBoundaryVertexCount, in ParsePlaneFields() 161 deserializer.ParseDouble(DynamicDepthConst::Plane(), kExtentX, &extent_x); in ParsePlaneFields() 164 deserializer.ParseDouble(DynamicDepthConst::Plane(), kExtentZ, &extent_z); in ParsePlaneFields()
|
D | depth_map.cc | 150 const Deserializer& deserializer) { in ParseFields() argument 159 if (!deserializer.ParseString(prefix, kItemSemantic, &item_semantic_str) || in ParseFields() 160 !deserializer.ParseString(prefix, kFormat, &format_str) || in ParseFields() 161 !deserializer.ParseFloat(prefix, kNear, &near) || in ParseFields() 162 !deserializer.ParseFloat(prefix, kFar, &far) || in ParseFields() 163 !deserializer.ParseString(prefix, kUnits, &units_str) || in ParseFields() 164 !deserializer.ParseString(prefix, kDepthUri, &depth_uri)) { in ParseFields() 173 if (deserializer.ParseString(prefix, kConfidenceUri, &confidence_uri)) { in ParseFields() 178 if (deserializer.ParseString(prefix, kMeasureType, &measure_type_str)) { in ParseFields() 183 if (deserializer.ParseString(prefix, kSoftware, &software)) { in ParseFields() [all …]
|
D | camera.cc | 50 std::unique_ptr<Camera> ParseFields(const Deserializer& deserializer) { in ParseFields() argument 52 deserializer.ParseString(DynamicDepthConst::Camera(), kTrait, &trait_str); in ParseFields() 55 std::unique_ptr<Image> image = Image::FromDeserializer(deserializer); in ParseFields() 62 LightEstimate::FromDeserializer(deserializer); in ParseFields() 65 Pose::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields() 68 DepthMap::FromDeserializer(deserializer); in ParseFields() 71 ImagingModel::FromDeserializer(deserializer); in ParseFields() 74 PointCloud::FromDeserializer(deserializer); in ParseFields() 77 VendorInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields() 80 AppInfo::FromDeserializer(deserializer, DynamicDepthConst::Camera()); in ParseFields() [all …]
|
D | point_cloud.cc | 60 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 63 if (deserializer == nullptr) { in FromDeserializer() 68 if (!point_cloud->ParseFields(*deserializer)) { in FromDeserializer() 120 bool PointCloud::ParseFields(const Deserializer& deserializer) { in ParseFields() argument 123 if (!deserializer.ParseFloatArrayBase64(DynamicDepthConst::PointCloud(), in ParseFields() 129 if (!deserializer.ParseInt(DynamicDepthConst::PointCloud(), kPointCount, in ParseFields() 152 if (!deserializer.ParseBoolean(DynamicDepthConst::PointCloud(), kMetric, in ParseFields()
|
D | app_info.cc | 84 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 86 if (deserializer == nullptr) { in FromDeserializer() 92 if (!vendor_info->ParseFields(*deserializer)) { in FromDeserializer() 128 bool AppInfo::ParseFields(const Deserializer& deserializer) { in ParseFields() argument 130 if (!deserializer.ParseString(DynamicDepthConst::AppInfo(), kApplication, in ParseFields() 136 bool success = deserializer.ParseString(DynamicDepthConst::AppInfo(), in ParseFields() 138 success |= deserializer.ParseString(DynamicDepthConst::AppInfo(), kItemUri, in ParseFields()
|
D | light_estimate.cc | 68 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 72 if (deserializer == nullptr) { in FromDeserializer() 78 if (!deserializer->ParseFloat(DynamicDepthConst::LightEstimate(), in FromDeserializer() 87 if (deserializer->ParseFloat(DynamicDepthConst::LightEstimate(), in FromDeserializer() 89 deserializer->ParseFloat(DynamicDepthConst::LightEstimate(), in FromDeserializer() 91 deserializer->ParseFloat(DynamicDepthConst::LightEstimate(), in FromDeserializer()
|
D | item.cc | 70 std::unique_ptr<Deserializer> deserializer = in FromDeserializer() local 74 if (deserializer == nullptr) { in FromDeserializer() 83 if (!deserializer->ParseString(DynamicDepthConst::Item(), kMime, &mime) || in FromDeserializer() 84 !deserializer->ParseInt(DynamicDepthConst::Item(), kLength, &length)) { in FromDeserializer() 88 deserializer->ParseInt(DynamicDepthConst::Item(), kPadding, &padding); in FromDeserializer() 89 deserializer->ParseString(DynamicDepthConst::Item(), kDataUri, &data_uri); in FromDeserializer()
|
D | device.cc | 45 const DeserializerImpl deserializer(description_node); in ParseFields() local 46 auto cameras = Cameras::FromDeserializer(deserializer); in ParseFields() 52 auto container = Container::FromDeserializer(deserializer); in ParseFields() 56 auto planes = Planes::FromDeserializer(deserializer); in ParseFields() 57 auto earth_pose = EarthPose::FromDeserializer(deserializer); in ParseFields() 58 auto pose = Pose::FromDeserializer(deserializer, DynamicDepthConst::Device()); in ParseFields() 59 auto profiles = Profiles::FromDeserializer(deserializer); in ParseFields() 61 VendorInfo::FromDeserializer(deserializer, DynamicDepthConst::Device()); in ParseFields() 63 AppInfo::FromDeserializer(deserializer, DynamicDepthConst::Device()); in ParseFields()
|
/external/rust/crates/serde/src/de/ |
D | impls.rs | 35 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 39 deserializer.deserialize_unit(UnitVisitor) in deserialize() 73 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 77 deserializer.deserialize_bool(BoolVisitor) in deserialize() 87 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> 103 deserializer.$deserialize(PrimitiveVisitor) 353 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 357 deserializer.deserialize_char(CharVisitor) in deserialize() 472 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 476 deserializer.deserialize_string(StringVisitor) in deserialize() [all …]
|
D | ignored_any.rs | 176 fn visit_some<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in visit_some() 180 IgnoredAny::deserialize(deserializer) in visit_some() 184 fn visit_newtype_struct<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in visit_newtype_struct() 188 IgnoredAny::deserialize(deserializer) in visit_newtype_struct() 237 fn deserialize<D>(deserializer: D) -> Result<IgnoredAny, D::Error> in deserialize() 241 deserializer.deserialize_ignored_any(IgnoredAny) in deserialize()
|
/external/rust/crates/lazycell/src/ |
D | serde_impl.rs | 44 fn visit_some<D: Deserializer<'de>>(self, deserializer: D) -> Result<Self::Value, D::Error> { in visit_some() 46 cell.replace(T::deserialize(deserializer)?); in visit_some() 56 fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 57 deserializer.deserialize_option(LazyCellVisitor(PhantomData)) in deserialize() 70 fn visit_some<D: Deserializer<'de>>(self, deserializer: D) -> Result<Self::Value, D::Error> { in visit_some() 72 cell.replace(T::deserialize(deserializer)?); in visit_some() 83 fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error> { in deserialize() 84 deserializer.deserialize_option(AtomicLazyCellVisitor(PhantomData)) in deserialize()
|
/external/skqp/src/core/ |
D | SkRemoteGlyphCache.cpp | 166 bool read_path(Deserializer* deserializer, SkGlyph* glyph, SkStrike* cache) { in read_path() argument 168 if (!deserializer->read<uint64_t>(&pathSize)) return false; in read_path() 172 auto* path = deserializer->read(pathSize, kPathAlignment); in read_path() 596 static bool readGlyph(SkTLazy<SkGlyph>& glyph, Deserializer* deserializer) { in readGlyph() argument 598 if (!deserializer->read<SkPackedGlyphID>(&glyphID)) return false; in readGlyph() 600 if (!deserializer->read<float>(&glyph->fAdvanceX)) return false; in readGlyph() 601 if (!deserializer->read<float>(&glyph->fAdvanceY)) return false; in readGlyph() 602 if (!deserializer->read<uint16_t>(&glyph->fWidth)) return false; in readGlyph() 603 if (!deserializer->read<uint16_t>(&glyph->fHeight)) return false; in readGlyph() 604 if (!deserializer->read<int16_t>(&glyph->fTop)) return false; in readGlyph() [all …]
|
/external/javaparser/javaparser-core-serialization/src/test/java/com/github/javaparser/serialization/ |
D | JavaParserJsonDeserializerTest.java | 49 private final JavaParserJsonDeserializer deserializer = new JavaParserJsonDeserializer(); field in JavaParserJsonDeserializerTest 56 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in simpleTest() 67 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testRawType() 78 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testDiamondType() 89 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testGenerics() 100 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testOperator() 111 …Node deserialized = deserializer.deserializeObject(Json.createReader(new StringReader(serialized))… in testPrimitiveType() 122 …CompilationUnit deserialized = (CompilationUnit) deserializer.deserializeObject(Json.createReader(… in testComment() 148 …CompilationUnit deserialized = (CompilationUnit) deserializer.deserializeObject(Json.createReader(… in testJavaDocComment() 168 …CompilationUnit deserialized = (CompilationUnit) deserializer.deserializeObject(Json.createReader(… in testNonMetaProperties() [all …]
|
/external/libchrome/base/json/ |
D | json_value_serializer_unittest.cc | 205 JSONStringValueDeserializer deserializer(kTestWithCommas, in TEST() local 208 std::unique_ptr<Value> root = deserializer.Deserialize(nullptr, nullptr); in TEST() 219 JSONStringValueDeserializer deserializer(kOriginalSerialization); in TEST() local 221 DictionaryValue::From(deserializer.Deserialize(nullptr, nullptr)); in TEST() 327 JSONStringValueDeserializer deserializer(kExpected); in TEST() local 329 deserializer.Deserialize(nullptr, nullptr); in TEST() 352 JSONStringValueDeserializer deserializer(kExpected); in TEST() local 354 deserializer.Deserialize(nullptr, nullptr); in TEST() 412 JSONFileValueDeserializer deserializer(original_file_path); in TEST_F() local 414 DictionaryValue::From(deserializer.Deserialize(nullptr, nullptr)); in TEST_F() [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | ReproducerInstrumentation.cpp | 96 Deserializer deserializer(buffer); in Replay() local 97 return Replay(deserializer); in Replay() 100 bool Registry::Replay(Deserializer &deserializer) { in Replay() argument 109 while (deserializer.HasData(1)) { in Replay() 110 unsigned id = deserializer.Deserialize<unsigned>(); in Replay() 118 GetReplayer(id)->operator()(deserializer); in Replay() 214 void InstrumentationData::Initialize(Deserializer &deserializer, in Initialize() argument 216 InstanceImpl().emplace(deserializer, registry); in Initialize()
|
/external/rust/crates/serde_json/src/ |
D | raw.rs | 292 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 317 deserializer.deserialize_newtype_struct(TOKEN, ReferenceVisitor) in deserialize() 322 fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> in deserialize() 347 deserializer.deserialize_newtype_struct(TOKEN, BoxedVisitor) in deserialize() 354 fn deserialize<D>(deserializer: D) -> Result<RawKey, D::Error> in deserialize() 379 deserializer.deserialize_identifier(FieldVisitor)?; in deserialize() 389 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() 393 deserializer.deserialize_str(self) in deserialize() 417 fn deserialize<D>(self, deserializer: D) -> Result<Self::Value, D::Error> in deserialize() 421 deserializer.deserialize_str(self) in deserialize()
|
/external/rust/crates/serde_cbor/tests/ |
D | de.rs | 394 let mut deserializer = Deserializer::from_slice(slice); in from_slice_stream() localVariable 395 let value = serde_de::Deserialize::deserialize(&mut deserializer)?; in from_slice_stream() 396 let rest = &slice[deserializer.byte_offset()..]; in from_slice_stream() 470 let deserializer = Deserializer::from_slice(slice); in from_slice_stream_options() localVariable 471 let deserializer = if !options.packed { in from_slice_stream_options() localVariable 472 deserializer.disable_packed_format() in from_slice_stream_options() 474 deserializer in from_slice_stream_options() 476 let deserializer = if !options.named { in from_slice_stream_options() localVariable 477 deserializer.disable_named_format() in from_slice_stream_options() 479 deserializer in from_slice_stream_options() [all …]
|