Home
last modified time | relevance | path

Searched refs:TBinaryProtocol (Results 1 – 25 of 174) sorted by relevance

1234567

/thrift-3.4.0/lib/lua/
DTBinaryProtocol.lua24 TBinaryProtocol = __TObject.new(TProtocolBase, {
33 function TBinaryProtocol:writeMessageBegin(name, ttype, seqid)
35 self:writeI32(libluabitwise.bor(TBinaryProtocol.VERSION_1, ttype))
45 function TBinaryProtocol:writeMessageEnd()
48 function TBinaryProtocol:writeStructBegin(name)
51 function TBinaryProtocol:writeStructEnd()
54 function TBinaryProtocol:writeFieldBegin(name, ttype, id)
59 function TBinaryProtocol:writeFieldEnd()
62 function TBinaryProtocol:writeFieldStop()
66 function TBinaryProtocol:writeMapBegin(ktype, vtype, size)
[all …]
/thrift-3.4.0/lib/nodejs/lib/thrift/
Dbinary_protocol.js26 module.exports = TBinaryProtocol;
36 TBinaryProtocol.VERSION_MASK = VERSION_MASK;
37 TBinaryProtocol.VERSION_1 = VERSION_1;
38 TBinaryProtocol.TYPE_MASK = TYPE_MASK
40 function TBinaryProtocol(trans, strictRead, strictWrite) { class
47 TBinaryProtocol.prototype.flush = function() {
51 TBinaryProtocol.prototype.writeMessageBegin = function(name, type, seqid) {
70 TBinaryProtocol.prototype.writeMessageEnd = function() {
78 TBinaryProtocol.prototype.writeStructBegin = function(name) {
81 TBinaryProtocol.prototype.writeStructEnd = function() {
[all …]
/thrift-3.4.0/lib/go/thrift/
Dbinary_protocol.go31 type TBinaryProtocol struct { struct
43 func NewTBinaryProtocolTransport(t TTransport) *TBinaryProtocol {
50 func NewTBinaryProtocol(t TTransport, strictRead, strictWrite bool) *TBinaryProtocol {
59 func NewTBinaryProtocolConf(t TTransport, conf *TConfiguration) *TBinaryProtocol {
61 p := &TBinaryProtocol{
108 func (p *TBinaryProtocol) WriteMessageBegin(ctx context.Context, name string, typeId TMessageType, … argument
135 func (p *TBinaryProtocol) WriteMessageEnd(ctx context.Context) error { argument
139 func (p *TBinaryProtocol) WriteStructBegin(ctx context.Context, name string) error { argument
143 func (p *TBinaryProtocol) WriteStructEnd(ctx context.Context) error { argument
147 func (p *TBinaryProtocol) WriteFieldBegin(ctx context.Context, name string, typeId TType, id int16)… argument
[all …]
/thrift-3.4.0/lib/cpp/test/
DRecursiveTest.cpp33 using apache::thrift::protocol::TBinaryProtocol;
38 shared_ptr<TBinaryProtocol> prot(new TBinaryProtocol(buf)); in BOOST_AUTO_TEST_CASE()
53 shared_ptr<TBinaryProtocol> prot(new TBinaryProtocol(buf)); in BOOST_AUTO_TEST_CASE()
69 shared_ptr<TBinaryProtocol> prot(new TBinaryProtocol(buf)); in BOOST_AUTO_TEST_CASE()
84 shared_ptr<TBinaryProtocol> prot(new TBinaryProtocol(buf)); in BOOST_AUTO_TEST_CASE()
/thrift-3.4.0/lib/swift/Tests/ThriftTests/
DTSocketServerTests.swift45 let _: TSocketServer<TBinaryProtocol, TBinaryProtocol, CalculatorProcessor> = in testInit()
46 …try TSocketServer(port: 9090, inProtocol: TBinaryProtocol.self, outProtocol: TBinaryProtocol.self,… in testInit()
/thrift-3.4.0/lib/php/test/Validator/
DBaseValidatorTest.php25 use Thrift\Protocol\TBinaryProtocol; alias
63 $protocol = new TBinaryProtocol($transport);
71 $protocol = new TBinaryProtocol($transport);
84 $protocol = new TBinaryProtocol($transport);
96 $protocol = new TBinaryProtocol($transport);
105 $protocol = new TBinaryProtocol($transport);
/thrift-3.4.0/test/py/
DTestEof.py24 from thrift.protocol import TBinaryProtocol
36 prot = TBinaryProtocol.TBinaryProtocol(trans)
105 self.eofTestHelper(TBinaryProtocol.TBinaryProtocolFactory())
106 self.eofTestHelperStress(TBinaryProtocol.TBinaryProtocolFactory())
110 self.eofTestHelper(TBinaryProtocol.TBinaryProtocolAcceleratedFactory(fallback=False))
111 self.eofTestHelperStress(TBinaryProtocol.TBinaryProtocolAcceleratedFactory(fallback=False))
/thrift-3.4.0/lib/py/src/
DTSerialization.py20 from .protocol import TBinaryProtocol
25 protocol_factory=TBinaryProtocol.TBinaryProtocolFactory()):
34 protocol_factory=TBinaryProtocol.TBinaryProtocolFactory()):
/thrift-3.4.0/contrib/zeromq/
Dtest-sender.cpp11 using apache::thrift::protocol::TBinaryProtocol;
23 shared_ptr<TBinaryProtocol> protocol(new TBinaryProtocol(transport)); in main()
Dtest-client.cpp11 using apache::thrift::protocol::TBinaryProtocol;
27 shared_ptr<TBinaryProtocol> protocol(new TBinaryProtocol(transport)); in main()
/thrift-3.4.0/lib/netstd/Tests/Thrift.IntegrationTests/Protocols/
DProtocolsOperationsTests.cs39 [DataRow(typeof(TBinaryProtocol), TMessageType.Call)]
40 [DataRow(typeof(TBinaryProtocol), TMessageType.Exception)]
41 [DataRow(typeof(TBinaryProtocol), TMessageType.Oneway)]
42 [DataRow(typeof(TBinaryProtocol), TMessageType.Reply)]
81 [DataRow(typeof(TBinaryProtocol))]
116 [DataRow(typeof(TBinaryProtocol))]
150 [DataRow(typeof(TBinaryProtocol))]
184 [DataRow(typeof(TBinaryProtocol))]
217 [DataRow(typeof(TBinaryProtocol))]
250 [DataRow(typeof(TBinaryProtocol))]
[all …]
/thrift-3.4.0/lib/st/
Dthrift.st95 inProtocol: (TBinaryProtocol new transport: sock);
199 TProtocol subclass: #TBinaryProtocol
205 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 11/1/2007 04:24'!
212 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/24/2007 18:46'!
216 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/25/2007 00:02'!
220 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/28/2007 16:24'!
228 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/24/2007 20:02'!
237 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/24/2007 19:15'!
241 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/24/2007 19:20'!
245 !TBinaryProtocol methodsFor: 'reading' stamp: 'pc 10/24/2007 19:20'!
[all …]
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/protocol/
DTestTProtocolUtil.java57 assertTrue(factory instanceof TBinaryProtocol.Factory); in testGuessProtocolFactory_Binary()
64 assertTrue(factory instanceof TBinaryProtocol.Factory); in testGuessProtocolFactory_Binary()
73 TProtocolUtil.guessProtocolFactory(buf, new TBinaryProtocol.Factory()); in testGuessProtocolFactory_Compact()
80 factory = TProtocolUtil.guessProtocolFactory(buf, new TBinaryProtocol.Factory()); in testGuessProtocolFactory_Compact()
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/
DTestFullCamel.java25 import org.apache.thrift.protocol.TBinaryProtocol;
36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testCamelCaseSyntax()
37 TDeserializer binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in testCamelCaseSyntax()
DTestReuse.java26 import org.apache.thrift.protocol.TBinaryProtocol;
36 TSerializer binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in testReuseObject()
37 TDeserializer binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in testReuseObject()
/thrift-3.4.0/test/features/
Dutil.py8 from thrift.protocol.TBinaryProtocol import TBinaryProtocol
37 'binary': TBinaryProtocol,
Dtheader_binary.py12 from thrift.protocol.TBinaryProtocol import TBinaryProtocol
57 proto = TBinaryProtocol(trans)
/thrift-3.4.0/tutorial/swift/Sources/TutorialServer/
Dmain.swift26 …server = try TSocketServer(port: 9090, inProtocol: TBinaryProtocol.self, outProtocol: TBinaryProto…
/thrift-3.4.0/tutorial/py/
DPythonClient.py33 from thrift.protocol import TBinaryProtocol
44 protocol = TBinaryProtocol.TBinaryProtocol(transport)
/thrift-3.4.0/lib/py/test/
Dthrift_TBinaryProtocol.py23 from thrift.protocol.TBinaryProtocol import TBinaryProtocol
30 protocol = TBinaryProtocol(transport)
59 protocol = TBinaryProtocol(transport)
89 protocol = TBinaryProtocol(transport)
124 protocol = TBinaryProtocol(transport)
163 protocol = TBinaryProtocol(transport)
172 protocol = TBinaryProtocol(transport)
Dthrift_TNonblockingServer.py31 from thrift.protocol import TBinaryProtocol
64 protocol = TBinaryProtocol.TBinaryProtocol(trans)
/thrift-3.4.0/lib/php/lib/Factory/
DTBinaryProtocolFactory.php25 use Thrift\Protocol\TBinaryProtocol; alias
43 return new TBinaryProtocol($trans, $this->strictRead_, $this->strictWrite_);
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/partial/
DThriftSerDe.java26 import org.apache.thrift.protocol.TBinaryProtocol;
36 this.binarySerializer = new TSerializer(new TBinaryProtocol.Factory()); in ThriftSerDe()
38 this.binaryDeserializer = new TDeserializer(new TBinaryProtocol.Factory()); in ThriftSerDe()
/thrift-3.4.0/contrib/async-test/
Dtest-leaf.py6 from thrift.protocol import TBinaryProtocol
23 pfactory = TBinaryProtocol.TBinaryProtocolFactory()
/thrift-3.4.0/lib/py/src/protocol/
DTBinaryProtocol.py24 class TBinaryProtocol(TProtocolBase): class
54 self.writeI32(TBinaryProtocol.VERSION_1 | type)
136 version = sz & TBinaryProtocol.VERSION_MASK
137 if version != TBinaryProtocol.VERSION_1:
141 type = sz & TBinaryProtocol.TYPE_MASK
246 prot = TBinaryProtocol(trans, self.strictRead, self.strictWrite,
252 class TBinaryProtocolAccelerated(TBinaryProtocol):

1234567