Home
last modified time | relevance | path

Searched refs:writeContext_ (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/php/lib/Protocol/
DTSimpleJSONProtocol.php51 protected $writeContext_ = null; variable in Thrift\\Protocol\\TSimpleJSONProtocol
59 $this->writeContextStack_[] = $this->writeContext_;
60 $this->writeContext_ = $c;
68 $this->writeContext_ = array_pop($this->writeContextStack_);
76 if ($this->writeContext_->isMapKey()) {
86 $this->writeContext_->write();
93 $isMapKey = $this->writeContext_->isMapKey();
95 $this->writeContext_->write();
110 $isMapKey = $this->writeContext_->isMapKey();
112 $this->writeContext_->write();
[all …]
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/
DTSimpleJSONProtocol.java115 protected Context writeContext_ = BASE_CONTEXT; field in TSimpleJSONProtocol
119 writeContextStack_.push(writeContext_); in pushWriteContext()
120 writeContext_ = c; in pushWriteContext()
125 writeContext_ = writeContextStack_.pop(); in popWriteContext()
137 if (writeContext_.isMapKey()) { in assertContextIsNotMapKey()
166 writeContext_.write(); in writeStructBegin()
192 writeContext_.write(); in writeMapBegin()
207 writeContext_.write(); in writeListBegin()
222 writeContext_.write(); in writeSetBegin()
251 if (writeContext_.isMapKey()) { in writeI32()
[all …]