Lines Matching refs:fname
65 void Compiler::CheckOptionsAndFileForAbcInput(const std::string &fname, const CompilerOptions &options)
68 throw Error(ErrorType::GENERIC, "\"--enable-abc-input\" is not enabled, abc file " + fname +
80 if (!abcToAsmCompiler_->OpenAbcFile(fname)) {
81 throw Error(ErrorType::GENERIC, "Open abc file " + fname + " failed.");
85 throw Error(ErrorType::GENERIC, "The input abc file '" + fname + "' owns a higher api version or a higher " +
90 panda::pandasm::Program *Compiler::CompileAbcFile(const std::string &fname, const CompilerOptions &options)
93 CheckOptionsAndFileForAbcInput(fname, options);
97 std::cerr << " [" << fname << "]" << std::endl;
137 std::string fname(input.fileName);
145 if (fname.substr(fname.find_last_of(".") + 1) == "json") {
150 panda::Timer::timerStart(panda::EVENT_PARSE, fname);
163 panda::Timer::timerEnd(panda::EVENT_PARSE, fname);
165 panda::Timer::timerStart(panda::EVENT_COMPILE_TO_PROGRAM, fname);
169 panda::Timer::timerEnd(panda::EVENT_COMPILE_TO_PROGRAM, fname);