Searched refs:real_filepath (Results 1 – 3 of 3) sorted by relevance
311 auto real_filepath = Common::CreatePrefixPath(filename); in ExportFuncGraph() local312 if (!real_filepath.has_value()) { in ExportFuncGraph()316 ChangeFileMode(real_filepath.value(), S_IWUSR); in ExportFuncGraph()317 std::ofstream ofs(real_filepath.value()); in ExportFuncGraph()319 MS_LOG(ERROR) << "Open file '" << real_filepath.value() << "' failed!" << ErrnoToString(errno); in ExportFuncGraph()361 ChangeFileMode(real_filepath.value(), S_IRUSR); in ExportFuncGraph()
190 auto real_filepath = Common::CreatePrefixPath(filepath); in Draw() local191 if (!real_filepath.has_value()) { in Draw()195 DrawByOpt(real_filepath.value(), func_graph, false); in Draw()201 auto real_filepath = Common::CreatePrefixPath(filepath); in DrawUserFuncGraph() local202 if (!real_filepath.has_value()) { in DrawUserFuncGraph()206 DrawByOpt(real_filepath.value(), func_graph, true); in DrawUserFuncGraph()
646 auto real_filepath = Common::CreatePrefixPath(filepath); in ExportIR() local647 if (!real_filepath.has_value()) { in ExportIR()651 ChangeFileMode(real_filepath.value(), S_IWUSR); in ExportIR()653 exporter.ExportFuncGraph(real_filepath.value(), func_graph); in ExportIR()655 ChangeFileMode(real_filepath.value(), S_IRUSR); in ExportIR()