/third_party/grpc/src/csharp/Grpc.Core.Api/ |
D | Marshaller.cs | 29 readonly Func<T, byte[]> serializer; field in Grpc.Core.Marshaller 40 public Marshaller(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Marshaller() argument 42 this.serializer = GrpcPreconditions.CheckNotNull(serializer, nameof(serializer)); in Marshaller() 58 …public Marshaller(Action<T, SerializationContext> serializer, Func<DeserializationContext, T> dese… in Marshaller() argument 60 … this.contextualSerializer = GrpcPreconditions.CheckNotNull(serializer, nameof(serializer)); in Marshaller() 64 this.serializer = (msg) => { throw new NotImplementedException(); }; in Marshaller() 71 public Func<T, byte[]> Serializer => this.serializer; 93 var payload = this.serializer(message); in EmulateContextualSerializer() 112 … public static Marshaller<T> Create<T>(Func<T, byte[]> serializer, Func<byte[], T> deserializer) in Create() argument 114 return new Marshaller<T>(serializer, deserializer); in Create() [all …]
|
/third_party/typescript_eslint/packages/scope-manager/tests/util/serializers/ |
D | index.ts | 11 DefinitionBase.serializer, 12 Reference.serializer, 13 ScopeBase.serializer, 14 ScopeManager.serializer, 15 TSESTreeNode.serializer, 16 Variable.serializer, 20 for (const serializer of serializers) { constant 22 expect.addSnapshotSerializer(serializer); 23 addSerializer(serializer);
|
/third_party/flatbuffers/tests/union_vector/ |
D | Character.cs | 51 …eJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 55 foreach (var _o in _olist) { this.WriteJson(writer, _o, serializer); } in WriteJson() 58 this.WriteJson(writer, value as CharacterUnion, serializer); in WriteJson() 61 …(Newtonsoft.Json.JsonWriter writer, CharacterUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 63 serializer.Serialize(writer, _o.Value); in WriteJson() 65 … reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 70 _olist[_j] = this.ReadJson(reader, _olist[_j], serializer); in ReadJson() 75 return this.ReadJson(reader, existingValue as CharacterUnion, serializer); in ReadJson() 78 …(Newtonsoft.Json.JsonReader reader, CharacterUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 82 case Character.MuLan: _o.Value = serializer.Deserialize<AttackerT>(reader); break; in ReadJson() [all …]
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Any.cs | 45 …eJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 49 foreach (var _o in _olist) { this.WriteJson(writer, _o, serializer); } in WriteJson() 52 this.WriteJson(writer, value as AnyUnion, serializer); in WriteJson() 55 …teJson(Newtonsoft.Json.JsonWriter writer, AnyUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 57 serializer.Serialize(writer, _o.Value); in WriteJson() 59 … reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 64 _olist[_j] = this.ReadJson(reader, _olist[_j], serializer); in ReadJson() 69 return this.ReadJson(reader, existingValue as AnyUnion, serializer); in ReadJson() 72 …adJson(Newtonsoft.Json.JsonReader reader, AnyUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 76 case Any.Monster: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); break; in ReadJson() [all …]
|
D | AnyUniqueAliases.cs | 45 …eJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 49 foreach (var _o in _olist) { this.WriteJson(writer, _o, serializer); } in WriteJson() 52 this.WriteJson(writer, value as AnyUniqueAliasesUnion, serializer); in WriteJson() 55 …soft.Json.JsonWriter writer, AnyUniqueAliasesUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 57 serializer.Serialize(writer, _o.Value); in WriteJson() 59 … reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 64 _olist[_j] = this.ReadJson(reader, _olist[_j], serializer); in ReadJson() 69 return this.ReadJson(reader, existingValue as AnyUniqueAliasesUnion, serializer); in ReadJson() 72 …soft.Json.JsonReader reader, AnyUniqueAliasesUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 76 …case AnyUniqueAliases.M: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); break; in ReadJson() [all …]
|
D | AnyAmbiguousAliases.cs | 45 …eJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 49 foreach (var _o in _olist) { this.WriteJson(writer, _o, serializer); } in WriteJson() 52 this.WriteJson(writer, value as AnyAmbiguousAliasesUnion, serializer); in WriteJson() 55 …t.Json.JsonWriter writer, AnyAmbiguousAliasesUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 57 serializer.Serialize(writer, _o.Value); in WriteJson() 59 … reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 64 _olist[_j] = this.ReadJson(reader, _olist[_j], serializer); in ReadJson() 69 return this.ReadJson(reader, existingValue as AnyAmbiguousAliasesUnion, serializer); in ReadJson() 72 …t.Json.JsonReader reader, AnyAmbiguousAliasesUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 76 …case AnyAmbiguousAliases.M1: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson() [all …]
|
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
D | UnionInNestedNS.cs | 39 …eJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 43 foreach (var _o in _olist) { this.WriteJson(writer, _o, serializer); } in WriteJson() 46 this.WriteJson(writer, value as UnionInNestedNSUnion, serializer); in WriteJson() 49 …nsoft.Json.JsonWriter writer, UnionInNestedNSUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in WriteJson() argument 51 serializer.Serialize(writer, _o.Value); in WriteJson() 53 … reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 58 _olist[_j] = this.ReadJson(reader, _olist[_j], serializer); in ReadJson() 63 return this.ReadJson(reader, existingValue as UnionInNestedNSUnion, serializer); in ReadJson() 66 …nsoft.Json.JsonReader reader, UnionInNestedNSUnion _o, Newtonsoft.Json.JsonSerializer serializer) { in ReadJson() argument 70 …case UnionInNestedNS.TableInNestedNS: _o.Value = serializer.Deserialize<NamespaceA.NamespaceB.Tabl… in ReadJson()
|
/third_party/node/test/parallel/ |
D | test-stream-transform-split-objectmode.js | 56 const serializer = new Transform({ writableObjectMode: true }); constant 58 assert(!serializer._readableState.objectMode); 59 assert(serializer._writableState.objectMode); 60 assert.strictEqual(serializer.readableHighWaterMark, 16 * 1024); 61 assert.strictEqual(serializer.writableHighWaterMark, 16); 67 serializer._transform = function(obj, _, callback) { 73 serializer.on('data', function(chunk) { 77 serializer.write({ val: 42 });
|
/third_party/boost/libs/beast/test/beast/http/ |
D | serializer.cpp | 64 BOOST_STATIC_ASSERT(std::is_const< serializer< 67 BOOST_STATIC_ASSERT(! std::is_const<serializer< 71 serializer<true, const_body>, 75 serializer<true, const_body>, 79 serializer<true, mutable_body>, 83 serializer<true, mutable_body>, 107 serializer<false, string_body> sr{res}; in testWriteLimit() 126 BEAST_DEFINE_TESTSUITE(beast,http,serializer);
|
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/ |
D | standard_codec.cc | 285 StandardCodecSerializer serializer; in DecodeMessageInternal() local 287 return std::make_unique<EncodableValue>(serializer.ReadValue(&stream)); in DecodeMessageInternal() 293 StandardCodecSerializer serializer; in EncodeMessageInternal() local 296 serializer.WriteValue(message, &stream); in EncodeMessageInternal() 311 StandardCodecSerializer serializer; in DecodeMethodCallInternal() local 313 EncodableValue method_name = serializer.ReadValue(&stream); in DecodeMethodCallInternal() 320 std::make_unique<EncodableValue>(serializer.ReadValue(&stream)); in DecodeMethodCallInternal() 328 StandardCodecSerializer serializer; in EncodeMethodCallInternal() local 331 serializer.WriteValue(EncodableValue(method_call.method_name()), &stream); in EncodeMethodCallInternal() 333 serializer.WriteValue(*method_call.arguments(), &stream); in EncodeMethodCallInternal() [all …]
|
/third_party/boost/boost/beast/http/ |
D | serializer.hpp | 56 class serializer class 193 serializer(serializer&&) = default; 196 serializer(serializer const&) = default; 199 serializer& operator=(serializer const&) = delete; 216 serializer(value_type& msg); 358 using request_serializer = serializer<true, Body, Fields>; 362 using response_serializer = serializer<false, Body, Fields>;
|
D | write.hpp | 71 serializer<isRequest, Body, Fields>& sr); 113 serializer<isRequest, Body, Fields>& sr, 175 serializer<isRequest, Body, Fields>& sr, 215 serializer<isRequest, Body, Fields>& sr); 250 serializer<isRequest, Body, Fields>& sr, 305 serializer<isRequest, Body, Fields>& sr, 342 serializer<isRequest, Body, Fields>& sr); 374 serializer<isRequest, Body, Fields>& sr, 426 serializer<isRequest, Body, Fields>& sr,
|
/third_party/boost/libs/beast/include/boost/beast/http/ |
D | serializer.hpp | 56 class serializer class 193 serializer(serializer&&) = default; 196 serializer(serializer const&) = default; 199 serializer& operator=(serializer const&) = delete; 216 serializer(value_type& msg); 358 using request_serializer = serializer<true, Body, Fields>; 362 using response_serializer = serializer<false, Body, Fields>;
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-math-table.hh | 207 auto *out = c->serializer->start_embed (*this); in subset() 208 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 213 … | hb_filter (serialize_math_record_array (c->serializer, out->italicsCorrection, this), hb_second) in subset() 219 out->coverage.serialize_serialize (c->serializer, new_coverage.iter ()); in subset() 260 auto *out = c->serializer->start_embed (*this); in subset() 261 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 266 …| hb_filter (serialize_math_record_array (c->serializer, out->topAccentAttachment, this), hb_secon… in subset() 272 out->topAccentCoverage.serialize_serialize (c->serializer, new_coverage.iter ()); in subset() 443 auto *out = c->serializer->start_embed (*this); in subset() 444 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() [all …]
|
D | hb-ot-color-sbix-table.hh | 145 auto* out = c->serializer->start_embed<SBIXStrike> (); in subset() 147 auto snap = c->serializer->snapshot (); in subset() 148 if (unlikely (!c->serializer->extend (out, num_output_glyphs + 1))) return_trace (false); in subset() 171 if (!(this+imageOffsetsZ[old_gid]).copy (c->serializer, glyph_data_length)) in subset() 179 c->serializer->revert (snap); in subset() 355 auto *out = c->serializer->start_embed<Array32OfOffset32To<SBIXStrike>> (); in serialize_strike_offsets() 357 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in serialize_strike_offsets() 363 auto* o = out->serialize_append (c->serializer); in serialize_strike_offsets() 366 auto snap = c->serializer->snapshot (); in serialize_strike_offsets() 367 c->serializer->push (); in serialize_strike_offsets() [all …]
|
D | hb-ot-color-colr-table.hh | 180 return_trace (c->serializer->embed (varIdxBase)); in subset() 235 auto *out = c->serializer->embed (*this); in subset() 237 …return_trace (c->serializer->check_assign (out->paletteIndex, c->plan->colr_palettes->get (palette… in subset() 277 auto *out = c->serializer->start_embed (this); in subset() 279 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 281 …if (!c->serializer->check_assign (out->extend, extend, HB_SERIALIZE_ERROR_INT_OVERFLOW)) return_tr… in subset() 282 …if (!c->serializer->check_assign (out->stops.len, stops.len, HB_SERIALIZE_ERROR_ARRAY_OVERFLOW)) r… in subset() 378 auto *out = c->serializer->embed (this); in subset() 380 …return_trace (c->serializer->check_assign (out->firstLayerIndex, c->plan->colrv1_layers->get (firs… in subset() 407 auto *out = c->serializer->embed (*this); in subset() [all …]
|
D | hb-ot-layout-gdef-table.hh | 50 auto *out = c->serializer->start_embed (*this); in subset() 53 return_trace (out->serialize (c->serializer, + iter ())); in subset() 90 auto *out = c->serializer->start_embed (*this); in subset() 91 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 101 out->coverage.serialize_serialize (c->serializer, new_coverage.iter ()); in subset() 132 auto *out = c->serializer->embed (this); in subset() 162 auto *out = c->serializer->embed (this); in subset() 203 auto *out = c->serializer->embed (this); in subset() 206 …return_trace (out->deviceTable.serialize_copy (c->serializer, deviceTable, this, c->serializer->to… in subset() 319 auto *out = c->serializer->start_embed (*this); in subset() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-color-sbix-table.hh | 145 auto* out = c->serializer->start_embed<SBIXStrike> (); in subset() 147 auto snap = c->serializer->snapshot (); in subset() 148 if (unlikely (!c->serializer->extend (*out, num_output_glyphs + 1))) return_trace (false); in subset() 171 if (!(this+imageOffsetsZ[old_gid]).copy (c->serializer, glyph_data_length)) in subset() 179 c->serializer->revert (snap); in subset() 361 auto *out = c->serializer->start_embed<Array32OfOffset32To<SBIXStrike>> (); in serialize_strike_offsets() 363 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in serialize_strike_offsets() 369 auto* o = out->serialize_append (c->serializer); in serialize_strike_offsets() 372 auto snap = c->serializer->snapshot (); in serialize_strike_offsets() 373 c->serializer->push (); in serialize_strike_offsets() [all …]
|
D | hb-ot-layout-gdef-table.hh | 50 auto *out = c->serializer->start_embed (*this); in subset() 53 return_trace (out->serialize (c->serializer, + iter ())); in subset() 90 auto *out = c->serializer->start_embed (*this); in subset() 91 if (unlikely (!c->serializer->extend_min (out))) return_trace (false); in subset() 101 out->coverage.serialize (c->serializer, out) in subset() 102 .serialize (c->serializer, new_coverage.iter ()); in subset() 133 auto *out = c->serializer->embed (this); in subset() 163 auto *out = c->serializer->embed (this); in subset() 204 auto *out = c->serializer->embed (this); in subset() 207 …return_trace (out->deviceTable.serialize_copy (c->serializer, deviceTable, this, c->serializer->to… in subset() [all …]
|
/third_party/parse5/packages/parse5-serializer-stream/docs/ |
D | index.md | 3 Streaming AST node to an HTML serializer. A [readable stream](https://nodejs.org/api/stream.html#st… 9 const SerializerStream = require('parse5-serializer-stream'); 16 const serializer = new SerializerStream(document); 18 serializer.pipe(file); 37 …node: *Node*, options?: *[SerializerOptions](../../parse5/docs/options/serializer-options.md)*): [… 39 Streaming AST node to an HTML serializer. A readable stream. 46 | `Optional` options | [SerializerOptions](../../parse5/docs/options/serializer-options.md) | Seri…
|
/third_party/boost/libs/beast/doc/qbk/04_http/ |
D | 04_serializer_streams.qbk | 21 These tasks may be performed by using the serializer stream interfaces. 22 To use these interfaces, first construct an appropriate serializer 37 class serializer; 44 /// A serializer for HTTP/1 requests 49 using request_serializer = serializer<true, Body, Fields>; 56 /// A serializer for HTTP/1 responses 61 using response_serializer = serializer<false, Body, Fields>; 67 This code creates an HTTP response and the corresponding serializer: 107 Here is an example of using a serializer to send a message on a stream
|
/third_party/flutter/skia/src/core/ |
D | SkRemoteGlyphCache.cpp | 205 void writePendingGlyphs(Serializer* serializer); 236 void writeGlyphPath(const SkPackedGlyphID& glyphID, Serializer* serializer) const; 442 Serializer serializer(memory); in writeStrikeData() local 443 serializer.emplace<uint64_t>(fTypefacesToSend.size()); in writeStrikeData() 444 for (const auto& tf : fTypefacesToSend) serializer.write<WireTypeface>(tf); in writeStrikeData() 447 serializer.emplace<uint64_t>(fLockedDescs.size()); in writeStrikeData() 451 it->second->writePendingGlyphs(&serializer); in writeStrikeData() 561 static void writeGlyph(SkGlyph* glyph, Serializer* serializer) { in writeGlyph() argument 562 serializer->write<SkPackedGlyphID>(glyph->getPackedID()); in writeGlyph() 563 serializer->write<float>(glyph->advanceX()); in writeGlyph() [all …]
|
/third_party/skia/src/core/ |
D | SkRemoteGlyphCache.cpp | 244 void writePendingGlyphs(Serializer* serializer); 322 void writeGlyphPath(const SkGlyph& glyph, Serializer* serializer) const; 371 static void writeGlyph(const SkGlyph& glyph, Serializer* serializer) { in writeGlyph() argument 372 serializer->write<SkPackedGlyphID>(glyph.getPackedID()); in writeGlyph() 373 serializer->write<float>(glyph.advanceX()); in writeGlyph() 374 serializer->write<float>(glyph.advanceY()); in writeGlyph() 375 serializer->write<uint16_t>(glyph.width()); in writeGlyph() 376 serializer->write<uint16_t>(glyph.height()); in writeGlyph() 377 serializer->write<int16_t>(glyph.top()); in writeGlyph() 378 serializer->write<int16_t>(glyph.left()); in writeGlyph() [all …]
|
/third_party/boost/boost/beast/http/impl/ |
D | write.hpp | 42 serializer<isRequest,Body, Fields>& sr_; 79 serializer<isRequest, Body, Fields>& sr) in write_some_op() 148 serializer<isRequest, Body, Fields>& sr) const in operator ()() 160 serializer<isRequest, Body, Fields>& sr) const in operator ()() 179 serializer<isRequest, Body, Fields>& sr_; 187 serializer<isRequest, Body, Fields>& sr) in write_op() 252 serializer<isRequest, Body, Fields>& sr_; 267 serializer<isRequest, Body, Fields>>( in write_msg_op() 301 serializer<isRequest, Body, Fields>* sr) in operator ()() 332 serializer<isRequest, Body, Fields>* sr) in operator ()() [all …]
|
/third_party/boost/libs/beast/include/boost/beast/http/impl/ |
D | write.hpp | 42 serializer<isRequest,Body, Fields>& sr_; 79 serializer<isRequest, Body, Fields>& sr) in write_some_op() 148 serializer<isRequest, Body, Fields>& sr) const in operator ()() 160 serializer<isRequest, Body, Fields>& sr) const in operator ()() 179 serializer<isRequest, Body, Fields>& sr_; 187 serializer<isRequest, Body, Fields>& sr) in write_op() 252 serializer<isRequest, Body, Fields>& sr_; 267 serializer<isRequest, Body, Fields>>( in write_msg_op() 301 serializer<isRequest, Body, Fields>* sr) in operator ()() 332 serializer<isRequest, Body, Fields>* sr) in operator ()() [all …]
|