/thrift-3.4.0/lib/rb/lib/thrift/protocol/ |
D | compact_protocol.rb | 23 PROTOCOL_ID = [0x82].pack('c').unpack('c').first constant in Thrift.CompactProtocol 108 write_byte(PROTOCOL_ID) 225 if protocol_id != PROTOCOL_ID 226 raise ProtocolException.new("Expected protocol id #{PROTOCOL_ID} but got #{protocol_id}")
|
/thrift-3.4.0/lib/rb/ext/ |
D | compact_protocol.c | 45 static int PROTOCOL_ID; variable 205 write_byte_direct(transport, PROTOCOL_ID); in rb_thrift_compact_proto_write_message_begin() 438 if (protocol_id != PROTOCOL_ID) { in rb_thrift_compact_proto_read_message_begin() 440 int len = sprintf(buf, "Expected protocol id %d but got %d", PROTOCOL_ID, protocol_id); in rb_thrift_compact_proto_read_message_begin() 577 PROTOCOL_ID = FIX2INT(rb_const_get(thrift_compact_protocol_class, rb_intern("PROTOCOL_ID"))); in Init_constants()
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/ |
D | TCompactProtocol.java | 88 private static final byte PROTOCOL_ID = (byte) 0x82; field in TCompactProtocol 199 writeByteDirect(PROTOCOL_ID); in writeMessageBegin() 490 if (protocolId != PROTOCOL_ID) { in readMessageBegin() 493 + Integer.toHexString(PROTOCOL_ID) in readMessageBegin()
|
/thrift-3.4.0/lib/dart/lib/src/protocol/ |
D | t_compact_protocol.dart | 36 static const int PROTOCOL_ID = 0x82; 88 writeByte(PROTOCOL_ID); 277 if (protocolId != PROTOCOL_ID) { 279 'Expected protocol id $PROTOCOL_ID but got $protocolId');
|
/thrift-3.4.0/lib/php/lib/Protocol/ |
D | TCompactProtocol.php | 61 const PROTOCOL_ID = 0x82; define in Thrift\\Protocol\\TCompactProtocol 168 $this->writeUByte(TCompactProtocol::PROTOCOL_ID) + 443 if ($protoId != TCompactProtocol::PROTOCOL_ID) {
|
/thrift-3.4.0/lib/d/src/thrift/protocol/ |
D | compact.d | 135 writeByte(cast(byte)PROTOCOL_ID); in writeMessageBegin() 250 if (protocolId != cast(byte)PROTOCOL_ID) { in readMessageBegin() 588 enum PROTOCOL_ID = 0x82; variable
|
/thrift-3.4.0/lib/py/src/protocol/ |
D | TCompactProtocol.py | 127 PROTOCOL_ID = 0x82 variable in TCompactProtocol 158 self.__writeUByte(self.PROTOCOL_ID) 335 if proto_id != self.PROTOCOL_ID:
|
/thrift-3.4.0/lib/delphi/src/ |
D | Thrift.Protocol.Compact.pas | 58 PROTOCOL_ID = Byte( $82); 363 WriteByteDirect( PROTOCOL_ID); 668 if (protocolId <> PROTOCOL_ID) 669 then raise TProtocolExceptionBadVersion.Create( 'Expected protocol id ' + IntToHex(PROTOCOL_ID,2)
|
/thrift-3.4.0/lib/nodejs/lib/thrift/ |
D | compact_protocol.js | 71 TCompactProtocol.PROTOCOL_ID = -126; //1000 0010 244 this.writeByte(TCompactProtocol.PROTOCOL_ID); 579 if (protocolId != TCompactProtocol.PROTOCOL_ID) {
|
D | header_transport.js | 206 return protocolId === TCompactProtocol.PROTOCOL_ID &&
|
/thrift-3.4.0/lib/py/src/transport/ |
D | THeaderTransport.py | 187 elif (byte_index(first_word, 0) == TCompactProtocol.PROTOCOL_ID and 221 elif (byte_index(second_word, 0) == TCompactProtocol.PROTOCOL_ID and
|
/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | THeaderTransport.cpp | 107 } else if (static_cast<int8_t>(sz >> 24) == TCompactProtocol::PROTOCOL_ID in readFrame() 135 } else if (static_cast<int8_t>(magic >> 24) == TCompactProtocol::PROTOCOL_ID in readFrame()
|
/thrift-3.4.0/lib/cpp/src/thrift/protocol/ |
D | TCompactProtocol.tcc | 95 wsize += writeByte(PROTOCOL_ID); in writeMessageBegin() 429 if (protocolId != PROTOCOL_ID) { in readMessageBegin()
|
D | TCompactProtocol.h | 38 static const int8_t PROTOCOL_ID = (int8_t)0x82u;
|
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/protocol/ |
D | TCompactProtocol.hx | 47 private static inline var PROTOCOL_ID : Int = 0x82; 163 WriteByteDirect( PROTOCOL_ID); 414 if (protocolId != PROTOCOL_ID) { 415 …tocolException.INVALID_DATA, "Expected protocol id " + StringTools.hex(PROTOCOL_ID,2) + " but got …
|
/thrift-3.4.0/lib/c_glib/src/thrift/c_glib/protocol/ |
D | thrift_compact_protocol.c | 52 static const gint8 PROTOCOL_ID = (gint8)0x82u; 451 if ((ret = thrift_protocol_write_byte (protocol, PROTOCOL_ID, error)) < 0) { in thrift_compact_protocol_write_message_begin() 873 if (protocol_id != PROTOCOL_ID) { in thrift_compact_protocol_read_message_begin()
|
/thrift-3.4.0/lib/erl/src/ |
D | thrift_compact_protocol.erl | 50 -define(PROTOCOL_ID, 16#82). macro
|