Home
last modified time | relevance | path

Searched refs:current_ (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dfilewritestream.h31 …ize_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer + bufferSize), current_(buffer_) { in FileWriteStream()
36 if (current_ >= bufferEnd_) in Put()
39 *current_++ = c; in Put()
43 size_t avail = static_cast<size_t>(bufferEnd_ - current_); in PutN()
45 std::memset(current_, c, avail); in PutN()
46 current_ += avail; in PutN()
49 avail = static_cast<size_t>(bufferEnd_ - current_); in PutN()
53 std::memset(current_, c, n); in PutN()
54 current_ += n; in PutN()
59 if (current_ != buffer_) { in Flush()
[all …]
Dfilereadstream.h37 …e) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCou… in FileReadStream()
43 Ch Peek() const { return *current_; } in Peek()
44 Ch Take() { Ch c = *current_; Read(); return c; } in Take()
45 size_t Tell() const { return count_ + static_cast<size_t>(current_ - buffer_); } in Tell()
55 return (current_ + 4 <= bufferLast_) ? current_ : 0; in Peek4()
60 if (current_ < bufferLast_) in Read()
61 ++current_; in Read()
66 current_ = buffer_; in Read()
80 Ch *current_; variable
Dencodedstream.h39 current_ = Encoding::TakeBOM(is_); in EncodedInputStream()
42 Ch Peek() const { return current_; } in Peek()
43 Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; } in Take()
57 Ch current_; variable
116 current_ = takeFunc_(*is_);
122 Ch Peek() const { return current_; } in Peek()
123 Ch Take() { Ch c = current_; current_ = takeFunc_(*is_); return c; } in Take()
188 Ch current_; variable