Home
last modified time | relevance | path

Searched refs:writeJSONString (Results 1 – 9 of 9) sorted by relevance

/thrift-3.4.0/lib/py/test/
Dthrift_json.py56 protocol.writeJSONString("software")
57 protocol.writeJSONString("thrift")
58 protocol.writeJSONString("1")
66 protocol.writeJSONString("base64")
68 protocol.writeJSONString("bool")
/thrift-3.4.0/lib/php/lib/Protocol/
DTSimpleJSONProtocol.php84 private function writeJSONString($b) function in Thrift\\Protocol\\TSimpleJSONProtocol
145 $this->writeJSONString($name);
182 $this->writeJSONString($fieldName);
269 $this->writeJSONString($str);
DTJSONProtocol.php262 private function writeJSONString($b) function in Thrift\\Protocol\\TJSONProtocol
533 $this->writeJSONString($name);
573 $this->writeJSONString($this->getTypeNameForTypeID($fieldType));
588 $this->writeJSONString($this->getTypeNameForTypeID($keyType));
589 $this->writeJSONString($this->getTypeNameForTypeID($valType));
603 $this->writeJSONString($this->getTypeNameForTypeID($elemType));
615 $this->writeJSONString($this->getTypeNameForTypeID($elemType));
656 $this->writeJSONString($str);
/thrift-3.4.0/lib/py/src/protocol/
DTJSONProtocol.py209 def writeJSONString(self, string): member in TJSONProtocolBase
498 self.writeJSONString(name)
514 self.writeJSONString(CTYPES[ttype])
524 self.writeJSONString(CTYPES[ktype])
525 self.writeJSONString(CTYPES[vtype])
535 self.writeJSONString(CTYPES[etype])
543 self.writeJSONString(CTYPES[etype])
574 self.writeJSONString(string)
624 self.writeJSONString(name)
668 self.writeJSONString(string)
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/
DTJSONProtocol.java369 private void writeJSONString(byte[] b) throws TException { in writeJSONString() method in TJSONProtocol
496 writeJSONString(b); in writeMessageBegin()
524 writeJSONString(getTypeNameForTypeID(field.type)); in writeFieldBegin()
538 writeJSONString(getTypeNameForTypeID(map.keyType)); in writeMapBegin()
539 writeJSONString(getTypeNameForTypeID(map.valueType)); in writeMapBegin()
553 writeJSONString(getTypeNameForTypeID(list.elemType)); in writeListBegin()
565 writeJSONString(getTypeNameForTypeID(set.elemType)); in writeSetBegin()
601 writeJSONString(uuid.toString().getBytes(StandardCharsets.UTF_8)); in writeUuid()
612 writeJSONString(b); in writeString()
/thrift-3.4.0/lib/javame/src/org/apache/thrift/protocol/
DTJSONProtocol.java394 private void writeJSONString(byte[] b) throws TException { in writeJSONString() method in TJSONProtocol
530 writeJSONString(b); in writeMessageBegin()
553 writeJSONString(getTypeNameForTypeID(field.type)); in writeFieldBegin()
564 writeJSONString(getTypeNameForTypeID(map.keyType)); in writeMapBegin()
565 writeJSONString(getTypeNameForTypeID(map.valueType)); in writeMapBegin()
577 writeJSONString(getTypeNameForTypeID(list.elemType)); in writeListBegin()
587 writeJSONString(getTypeNameForTypeID(set.elemType)); in writeSetBegin()
622 writeJSONString(b); in writeString()
/thrift-3.4.0/lib/lua/
DTJsonProtocol.lua210 function TJSONProtocol:writeJSONString(str)
309 self:writeJSONString(name)
329 self:writeJSONString(TTypeToString[ttype])
341 self:writeJSONString(TTypeToString[ktype])
342 self:writeJSONString(TTypeToString[vtype])
354 self:writeJSONString(TTypeToString[etype])
364 self:writeJSONString(TTypeToString[etype])
409 self:writeJSONString(str)
/thrift-3.4.0/lib/cpp/src/thrift/protocol/
DTJSONProtocol.cpp457 uint32_t TJSONProtocol::writeJSONString(const std::string& str) { in writeJSONString() function in apache::thrift::protocol::TJSONProtocol
603 result += writeJSONString(name); in writeMessageBegin()
628 result += writeJSONString(getTypeNameForTypeID(fieldType)); in writeFieldBegin()
644 result += writeJSONString(getTypeNameForTypeID(keyType)); in writeMapBegin()
645 result += writeJSONString(getTypeNameForTypeID(valType)); in writeMapBegin()
659 result += writeJSONString(getTypeNameForTypeID(elemType)); in writeListBegin()
670 result += writeJSONString(getTypeNameForTypeID(elemType)); in writeSetBegin()
706 return writeJSONString(str); in writeString()
DTJSONProtocol.h112 uint32_t writeJSONString(const std::string& str);