Searched refs:file_ (Results 1 – 6 of 6) sorted by relevance
80 Lexer::Lexer() : filePath_(), file_(nullptr), mode_(ParseMode::DECL_MODE), havePeek_(false), curTok… in Lexer()84 file_ = std::make_unique<File>(filePath, int(File::READ)); in Reset()85 if (file_ == nullptr || !file_->IsValid()) { in Reset()114 while (!file_->IsEof()) { in SkipCurrentLine()115 char c = file_->GetChar(); in SkipCurrentLine()117 file_->GetChar(); in SkipCurrentLine()127 while (!file_->IsEof()) { in SkipCurrentLine()128 int c = file_->GetChar(); in SkipCurrentLine()134 file_->GetChar(); in SkipCurrentLine()145 while (!file_->IsEof()) { in Skip()[all …]
37 return (file_ != nullptr) ? file_->GetPath() : ""; in GetFilePath()98 std::unique_ptr<File> file_; variable
19 file_(), in DecompileGen()27 file_.open(outPutFileName_, std::ostream::out | std::ostream::binary); in Init()28 if (!file_.is_open()) { in Init()37 file_ << str; in WriteFile()172 return file_.good() ? NOERR : EOUTPUT; in CloseBrace()191 return file_.good(); in OutPut()
21 file_.open(fileName_.data(), std::ios::binary); in InitDecompileFile()22 if (!file_.is_open()) { in InitDecompileFile()31 if (!file_.read(buffer, static_cast<std::streamsize>(readSize))) { in ReadFile()137 uint32_t nodeHash = static_cast<uint32_t>(file_.tellg()) - GetAlignSize(OPCODE_BYTE_WIDTH); in RebuildNode()151 int32_t pos = file_.tellg(); in RebuildNode()168 pos = file_.tellg(); in RebuildNode()
44 std::ofstream file_; variable
75 std::ifstream file_; variable