Searched refs:hasBOM_ (Results 1 – 1 of 1) sorted by relevance
111 …AutoUTFInputStream(InputByteStream& is, UTFType type = kUTF8) : is_(&is), type_(type), hasBOM_(fal…120 bool HasBOM() const { return hasBOM_; } in HasBOM()150 hasBOM_ = false; in DetectType()151 …if (bom == 0xFFFE0000) { type_ = kUTF32BE; hasBOM_ = true; is_->Take(); is_->Take… in DetectType()152 …else if (bom == 0x0000FEFF) { type_ = kUTF32LE; hasBOM_ = true; is_->Take(); is_->Take… in DetectType()153 …else if ((bom & 0xFFFF) == 0xFFFE) { type_ = kUTF16BE; hasBOM_ = true; is_->Take(); is_->Take… in DetectType()154 …else if ((bom & 0xFFFF) == 0xFEFF) { type_ = kUTF16LE; hasBOM_ = true; is_->Take(); is_->Take… in DetectType()155 …else if ((bom & 0xFFFFFF) == 0xBFBBEF) { type_ = kUTF8; hasBOM_ = true; is_->Take(); is_->Take… in DetectType()168 if (!hasBOM_) { in DetectType()190 bool hasBOM_; variable