Home
last modified time | relevance | path

Searched refs:Int16 (Results 1 – 14 of 14) sorted by relevance

/thrift-3.4.0/lib/swift/Sources/
DTProtocol.swift68 func read() throws -> Int16 in readMessageBegin()
95 func write(_ value: Int16) throws in readMessageBegin()
139 case .i16: _ = try read() as Int16 in readMessageBegin()
DTBinaryProtocol.swift116 fieldID = Int32(try read() as Int16) in readFieldBegin()
204 public func read() throws -> Int16 { in read()
209 var ret = Int16(buff[0] & 0xff) << 8 in read()
210 ret |= Int16(buff[1] & 0xff) in read()
303 try write(Int16(fieldID)) in writeFieldBegin()
367 public func write(_ value: Int16) throws { in write()
DTSerializable.swift72 extension Int16 : TSerializable { extension
75 public static func read(from proto: TProtocol) throws -> Int16 { in read()
DTCompactProtocol.swift296 var fieldId: Int16 = 0 in readFieldBegin()
305 fieldId = Int16(lastFieldId + modifier) in readFieldBegin()
366 public func read() throws -> Int16 { in read()
368 return Int16(zigZagToi32(v)) in read()
504 try write(Int16(fieldID))
574 public func write(_ value: Int16) throws { in write()
DTWrappedProtocol.swift108 public func read() throws -> Int16 { in read()
201 public func write(_ value: Int16) throws { in write()
DTProtocolDecorator.swift100 func read() throws -> Int16 { in read()
192 func write(_ value: Int16) throws { in write()
/thrift-3.4.0/lib/go/thrift/
Dserializer_test.go42 case m.Int16 != m1.Int16:
142 m.Int16 = 1
183 m.Int16 = 1
Dnumeric.go30 Int16() int16 methodSpec
130 func (p *numeric) Int16() int16 { func
Dserializer_types_test.go103 Int16 int16 `thrift:"int16,3" json:"int16"` member
128 return p.Int16
265 p.Int16 = v
476 if err := oprot.WriteI16(ctx, int16(p.Int16)); err != nil {
/thrift-3.4.0/lib/swift/Tests/ThriftTests/
DTBinaryProtocolTests.swift45 let writeVal: Int16 = 12312 in testInt16WriteRead()
48 let readVal: Int16 = (try? proto.read()) ?? 0 in testInt16WriteRead()
DTFramedTransportTests.swift56 let writeVal: Int16 = 12312 in testInt16WriteRead()
60 let readVal: Int16 = (try? proto.read()) ?? 0 in testInt16WriteRead()
DTCompactProtocolTests.swift42 let writeVal: Int16 = 12312 in testInt16WriteRead()
46 let readVal: Int16 = (try? proto.read()) ?? 0 in testInt16WriteRead()
/thrift-3.4.0/test/swift/CrossTests/Sources/TestServer/
DThriftTestService.swift307 …func testMulti(arg0: Int8, arg1: Int32, arg2: Int64, arg3: TMap<Int16, String>, arg4: Numberz, arg… in testMulti()
/thrift-3.4.0/lib/delphi/src/
DThrift.Protocol.pas1212 TType.I16: result := SizeOf(Int16);