Searched refs:current_ (Results 1 - 3 of 3) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | filewritestream.h | 31 FileWriteStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferEnd_(buffer + bufferSize), current_(buffer_) {
36 if (current_ >= bufferEnd_)
39 *current_++ = c;
43 size_t avail = static_cast<size_t>(bufferEnd_ - current_);
45 std::memset(current_, c, avail);
46 current_ += avail;
49 avail = static_cast<size_t>(bufferEnd_ - current_);
53 std::memset(current_, c, n);
54 current_ += n;
59 if (current_ ! 84 char *current_; member in class:FileWriteStream [all...] |
H A D | filereadstream.h | 37 FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferSize_(bufferSize), bufferLast_(0), current_(buffer_), readCount_(0), count_(0), eof_(false) {
43 Ch Peek() const { return *current_; }
44 Ch Take() { Ch c = *current_; Read(); return c; }
45 size_t Tell() const { return count_ + static_cast<size_t>(current_ - buffer_); }
55 return (current_ + 4 <= bufferLast_) ? current_ : 0;
60 if (current_ < bufferLast_)
61 ++current_;
66 current_ = buffer_;
80 Ch *current_;
member in class:FileReadStream [all...] |
H A D | encodedstream.h | 39 current_ = Encoding::TakeBOM(is_);
42 Ch Peek() const { return current_; }
43 Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; }
57 Ch current_;
member in class:EncodedInputStream 116 current_ = takeFunc_(*is_);
122 Ch Peek() const { return current_; }
123 Ch Take() { Ch c = current_; current_ = takeFunc_(*is_); return c; }
188 Ch current_;
member in class:AutoUTFInputStream [all...] |
Completed in 47 milliseconds