Home
last modified time | relevance | path

Searched refs:ProtocolWriter (Results 1 – 25 of 62) sorted by relevance

123

/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/rust/src/
H A Dserialize.rs28 P: ProtocolWriter,
35 P: ProtocolWriter,
45 P: ProtocolWriter,
56 P: ProtocolWriter,
66 P: ProtocolWriter,
74 P: ProtocolWriter,
84 P: ProtocolWriter,
94 P: ProtocolWriter,
104 P: ProtocolWriter,
114 P: ProtocolWriter,
[all …]
H A Dprotocol.rs47 type Sizer: ProtocolWriter<Final = usize>;
51 type Serializer: ProtocolWriter<Final = <<Self::Frame as Framing>::EncBuf as BufMutExt>::Final>;
58 fn serializer<SZ, SER>(sz: SZ, ser: SER) -> <Self::Serializer as ProtocolWriter>::Final in serializer()
191 pub trait ProtocolWriter { interface
H A Dapplication_exception.rs19 use crate::protocol::{Field, ProtocolReader, ProtocolWriter};
221 P: ProtocolWriter,
H A Dbinary_protocol.rs22 use crate::protocol::{Field, Protocol, ProtocolReader, ProtocolWriter};
76 fn serializer<SZ, SER>(size: SZ, ser: SER) -> <Self::Serializer as ProtocolWriter>::Final in serializer()
138 impl<B: BufMutExt> ProtocolWriter for BinaryProtocolSerializer<B> {
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/gen/
H A Dmodule_types_tcc.h80 template <TType type, int16_t id, int16_t prevId, class ProtocolWriter>
82 ProtocolWriter& prot, const char* name, bool previousFieldHasValue)
91 template <TType type, int16_t id, int16_t /* prevId */, class ProtocolWriter>
92 FOLLY_ERASE auto writeFieldBegin(ProtocolWriter& prot, const char* name, ...) { in writeFieldBegin()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/
H A DGeneratedCodeHelper.cpp56 template <typename ProtocolReader, typename ProtocolWriter>
57 std::unique_ptr<folly::IOBuf> helper<ProtocolReader, ProtocolWriter>::write_exn( in write_exn()
60 ProtocolWriter* prot, in write_exn()
82 template <typename ProtocolReader, typename ProtocolWriter>
83 void helper<ProtocolReader, ProtocolWriter>::process_exn( in process_exn()
91 ProtocolWriter oprot; in process_exn()
96 helper_w<ProtocolWriter>::write_exn( in process_exn()
H A DGeneratedCodeHelper.h617 typename ProtocolWriter,
627 ProtocolWriter,
645 typename ProtocolWriter,
675 ProtocolWriter,
695 typename ProtocolWriter,
722 ProtocolWriter,
754 ProtocolWriter* prot,
762 ProtocolWriter* prot,
781 template <typename ProtocolWriter>
787 using helper_w = helper<reader_of<ProtocolWriter>, ProtocolWriter>;
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/protocol/test/
H A DContainerSkippingTest.cpp51 template <class ProtocolWriter, class ProtocolReader>
55 ProtocolWriter protocolWriter; in testSkipMap()
69 template <class ProtocolWriter, class ProtocolReader>
73 ProtocolWriter protocolWriter; in testSkipListAndSet()
H A DProtocolReaderStructReadStateTest.cpp28 template <class ProtocolWriter>
31 ProtocolWriter writer; in createTestInput()
68 auto input = createTestInput<typename ProtocolReader::ProtocolWriter>(); in testAdvanceToNextFieldSuccess()
123 auto input = createTestInput<typename ProtocolReader::ProtocolWriter>(); in testAdvanceToNextFieldFail()
H A DInterfaceTest.cpp106 typename Reader::ProtocolWriter writer;
122 using type = typename Reader::ProtocolWriter;
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/util/
H A DDebugString.h81 template <class ProtocolWriter>
82 void fromDebugString(folly::StringPiece text, ProtocolWriter& outProtoWriter);
H A DDebugString.cpp430 template <class ProtocolWriter>
435 ProtocolWriter* outProtoWriter) { in parseField()
611 static_cast<ProtocolWriter*>(nullptr)); in parseField()
676 static_cast<ProtocolWriter*>(nullptr)); in parseField()
685 static_cast<ProtocolWriter*>(nullptr)); in parseField()
729 template <class ProtocolWriter>
730 void fromDebugString(folly::StringPiece text, ProtocolWriter& outProtoWriter) { in fromDebugString()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-newtype-typedef/gen-rust/
H A Dlib.rs44 P: ::fbthrift::ProtocolWriter,
66 P: ::fbthrift::ProtocolWriter,
89 P: ::fbthrift::ProtocolWriter,
141 P: ::fbthrift::ProtocolWriter,
230 P: ::fbthrift::ProtocolWriter, in write() argument
247 P: ::fbthrift::ProtocolWriter,
277 P: ::fbthrift::ProtocolWriter,
307 P: ::fbthrift::ProtocolWriter,
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/async/
H A DRpcTypes.cpp33 template <typename ProtocolWriter>
39 ProtocolWriter writer; in addEnvelope()
95 template <typename ProtocolWriter>
98 ProtocolWriter writer; in makeEnvelope()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/generate/templates/rust/lib/
H A Dmod.impl.mustache29 P: ::fbthrift::ProtocolWriter,
49 P: ::fbthrift::ProtocolWriter,
101 P: ::fbthrift::ProtocolWriter,
158 P: ::fbthrift::ProtocolWriter,
H A Dtypedefimpl.mustache26 P: ::fbthrift::ProtocolWriter,
47 P: ::fbthrift::ProtocolWriter,
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/complex-union/gen-rust/
H A Dlib.rs100 P: ::fbthrift::ProtocolWriter,
217 P: ::fbthrift::ProtocolWriter,
294 P: ::fbthrift::ProtocolWriter,
389 P: ::fbthrift::ProtocolWriter,
456 P: ::fbthrift::ProtocolWriter,
533 P: ::fbthrift::ProtocolWriter,
624 P: ::fbthrift::ProtocolWriter,
677 P: ::fbthrift::ProtocolWriter,
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/empty-struct/gen-rust/
H A Dlib.rs55 P: ::fbthrift::ProtocolWriter,
101 P: ::fbthrift::ProtocolWriter,
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/types/gen-rust/
H A Dlib.rs435 P: ::fbthrift::ProtocolWriter,
545 P: ::fbthrift::ProtocolWriter,
655 P: ::fbthrift::ProtocolWriter,
771 P: ::fbthrift::ProtocolWriter,
819 P: ::fbthrift::ProtocolWriter,
900 P: ::fbthrift::ProtocolWriter,
1016 P: ::fbthrift::ProtocolWriter,
1083 P: ::fbthrift::ProtocolWriter,
1152 P: ::fbthrift::ProtocolWriter,
1228 P: ::fbthrift::ProtocolWriter,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/refs/gen-rust/
H A Dlib.rs356 P: ::fbthrift::ProtocolWriter,
466 P: ::fbthrift::ProtocolWriter,
497 P: ::fbthrift::ProtocolWriter,
604 P: ::fbthrift::ProtocolWriter,
737 P: ::fbthrift::ProtocolWriter,
824 P: ::fbthrift::ProtocolWriter,
905 P: ::fbthrift::ProtocolWriter,
984 P: ::fbthrift::ProtocolWriter,
1090 P: ::fbthrift::ProtocolWriter,
1171 P: ::fbthrift::ProtocolWriter,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/rust/src/tests/
H A Dcompact.rs22 use crate::{CompactProtocol, Protocol, ProtocolReader, ProtocolWriter};
516 use crate::protocol::{ProtocolReader, ProtocolWriter}; in skip_i32_ok()
539 use crate::protocol::{ProtocolReader, ProtocolWriter}; in skip_stop()
566 use crate::protocol::{ProtocolReader, ProtocolWriter}; in skip_stop_in_container()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/basic-enum/gen-rust/
H A Dlib.rs120 P: ::fbthrift::ProtocolWriter,
230 P: ::fbthrift::ProtocolWriter,
448 P: ::fbthrift::ProtocolWriter,
495 P: ::fbthrift::ProtocolWriter,
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/rust-noserver/gen-rust/
H A Dlib.rs139 P: ::fbthrift::ProtocolWriter,
190 P: ::fbthrift::ProtocolWriter,
276 P: ::fbthrift::ProtocolWriter,
322 P: ::fbthrift::ProtocolWriter,
459 P: ::fbthrift::ProtocolWriter,
575 P: ::fbthrift::ProtocolWriter,
697 P: ::fbthrift::ProtocolWriter,
819 P: ::fbthrift::ProtocolWriter,
941 P: ::fbthrift::ProtocolWriter,
1057 P: ::fbthrift::ProtocolWriter,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/compiler/test/fixtures/constants/gen-rust/
H A Dlib.rs509 P: ::fbthrift::ProtocolWriter,
631 P: ::fbthrift::ProtocolWriter,
753 P: ::fbthrift::ProtocolWriter,
810 P: ::fbthrift::ProtocolWriter,
913 P: ::fbthrift::ProtocolWriter,
989 P: ::fbthrift::ProtocolWriter,
1069 P: ::fbthrift::ProtocolWriter,
1161 P: ::fbthrift::ProtocolWriter,
1246 P: ::fbthrift::ProtocolWriter,
1317 P: ::fbthrift::ProtocolWriter,
[all …]
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/lib/cpp2/server/
H A DCpp2Connection.h103 template <class ProtocolWriter>
106 ProtocolWriter w; in upgradeToRocketReply()

123