Home
last modified time | relevance | path

Searched refs:buffer_ (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilereadstream.h37 … buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), c… in FileReadStream()
45 size_t Tell() const { return count_ + static_cast<size_t>(current_ - buffer_); } in Tell()
64 readCount_ = fread(buffer_, 1, bufferSize_, fp_); in Read()
65 bufferLast_ = buffer_ + readCount_ - 1; in Read()
66 current_ = buffer_; in Read()
69 buffer_[readCount_] = '\0'; in Read()
77 Ch *buffer_; variable
Dfilewritestream.h31 …har* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer + bufferSize), curre… in FileWriteStream()
59 if (current_ != buffer_) { in Flush()
60 size_t result = fwrite(buffer_, 1, static_cast<size_t>(current_ - buffer_), fp_); in Flush()
61 if (result < static_cast<size_t>(current_ - buffer_)) { in Flush()
65 current_ = buffer_; in Flush()
82 char *buffer_; variable
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp18 CapitalizeFilter(OutputHandler& out) : out_(out), buffer_() {} in CapitalizeFilter()
28 buffer_.clear(); in String()
30 buffer_.push_back(std::toupper(str[i])); in String()
31 …return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the stri… in String()
40 std::vector<char> buffer_; member
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dsax.md412 CapitalizeFilter(OutputHandler& out) : out_(out), buffer_() {
423 buffer_.clear();
425 buffer_.push_back(std::toupper(str[i]));
426 …return out_.String(&buffer_.front(), length, true); // true = output handler need to copy the stri…
435 std::vector<char> buffer_;