Lines Matching refs:is_
44 EncodedInputStream(InputByteStream& is) : is_(is) { in RAPIDJSON_DIAG_OFF()
45 current_ = Encoding::TakeBOM(is_); in RAPIDJSON_DIAG_OFF()
49 Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; } in RAPIDJSON_DIAG_OFF()
50 size_t Tell() const { return is_.Tell(); } in RAPIDJSON_DIAG_OFF()
62 InputByteStream& is_; in RAPIDJSON_DIAG_OFF() local
72 EncodedInputStream(MemoryStream& is) : is_(is) { in EncodedInputStream()
73 if (static_cast<unsigned char>(is_.Peek()) == 0xEFu) is_.Take(); in EncodedInputStream()
74 if (static_cast<unsigned char>(is_.Peek()) == 0xBBu) is_.Take(); in EncodedInputStream()
75 if (static_cast<unsigned char>(is_.Peek()) == 0xBFu) is_.Take(); in EncodedInputStream()
77 Ch Peek() const { return is_.Peek(); } in Peek()
78 Ch Take() { return is_.Take(); } in Take()
79 size_t Tell() const { return is_.Tell(); } in Tell()
87 MemoryStream& is_; variable
145 …AutoUTFInputStream(InputByteStream& is, UTFType type = kUTF8) : is_(&is), type_(type), hasBOM_(fal…
150 current_ = takeFunc_(*is_);
157 Ch Take() { Ch c = current_; current_ = takeFunc_(*is_); return c; } in Take()
158 size_t Tell() const { return is_->Tell(); } in Tell()
179 const unsigned char* c = reinterpret_cast<const unsigned char *>(is_->Peek4()); in DetectType()
185 …) { type_ = kUTF32BE; hasBOM_ = true; is_->Take(); is_->Take(); is_->Take(); is_-… in DetectType()
186 …0FEFF) { type_ = kUTF32LE; hasBOM_ = true; is_->Take(); is_->Take(); is_->Take(); is_-… in DetectType()
187 …((bom & 0xFFFF) == 0xFFFE) { type_ = kUTF16BE; hasBOM_ = true; is_->Take(); is_->Take(); … in DetectType()
188 …((bom & 0xFFFF) == 0xFEFF) { type_ = kUTF16LE; hasBOM_ = true; is_->Take(); is_->Take(); … in DetectType()
189 …& 0xFFFFFF) == 0xBFBBEF) { type_ = kUTF8; hasBOM_ = true; is_->Take(); is_->Take(); is_->Take(… in DetectType()
220 InputByteStream* is_; variable