Home
last modified time | relevance | path

Searched refs:FilePathToUTF8 (Results 1 – 25 of 26) sorted by relevance

12

/third_party/gn/src/gn/
Dsetup_unittest.cc34 cmdline.AppendSwitchASCII(switches::kRoot, FilePathToUTF8(in_path)); in TEST_F()
43 setup.DoSetup(FilePathToUTF8(build_temp_dir.GetPath()), true, cmdline)); in TEST_F()
63 cmdline.AppendSwitchASCII(switches::kRoot, FilePathToUTF8(in_path)); in TEST_F()
72 EXPECT_TRUE(setup.DoSetupWithErr(FilePathToUTF8(build_temp_dir.GetPath()), in TEST_F()
91 cmdline.AppendSwitchASCII(switches::kRoot, FilePathToUTF8(in_path)); in TEST_F()
100 EXPECT_FALSE(setup.DoSetupWithErr(FilePathToUTF8(build_temp_dir.GetPath()), in TEST_F()
122 cmdline.AppendSwitchASCII(switches::kRoot, FilePathToUTF8(in_path)); in RunExtensionCheckTest()
132 setup.DoSetupWithErr(FilePathToUTF8(build_temp_dir.GetPath()), true, in RunExtensionCheckTest()
Dfunction_exec_script.cc242 "I was trying to execute \"" + FilePathToUTF8(interpreter_path) + in RunExecScript()
258 "Current dir: " + FilePathToUTF8(startup_dir) +
259 "\nCommand: " + FilePathToUTF8(cmdline.GetCommandLineString()) +
Dqt_creator_writer.cc48 FilePathToUTF8(project_dir) + in RunAndWriteFile()
114 FilePathToUTF8(build_settings_->GetFullPath(file)); in AddToSources()
227 sources_.insert(FilePathToUTF8(build_settings_->GetFullPath(build_file))); in HandleTarget()
235 sources_.insert(FilePathToUTF8(build_settings_->GetFullPath(input))); in HandleTarget()
240 FilePathToUTF8(build_settings_->GetFullPath(precompiled_source))); in HandleTarget()
245 FilePathToUTF8(build_settings_->GetFullPath(include_dir))); in HandleTarget()
Dsetup.cc614 "The file is \"" + FilePathToUTF8(build_arg_file) + "\"") in SaveArgsToFile()
637 "The path \"" + FilePathToUTF8(relative_root_path) + in FillSourceDir()
653 "The file \"" + FilePathToUTF8(dotfile_path) + in FillSourceDir()
680 FilePathToUTF8(root_path) + "\"."); in FillSourceDir()
684 scheduler_.Log("Using source root", FilePathToUTF8(root_realpath)); in FillSourceDir()
705 FilePathToUTF8(build_dir_path) + "\"."); in FillBuildDir()
713 FilePathToUTF8(build_dir_path) + "\"."); in FillBuildDir()
728 build_dir + "\" as:\n " + FilePathToUTF8(build_dir_path) + in FillBuildDir()
819 scheduler_.Log("Got dotfile", FilePathToUTF8(dotfile_name_)); in RunConfigFile()
824 "The file \"" + FilePathToUTF8(dotfile_name_) + in RunConfigFile()
[all …]
Dfilesystem_utils.h19 std::string FilePathToUTF8(const base::FilePath::StringType& str);
20 inline std::string FilePathToUTF8(const base::FilePath& path) { in FilePathToUTF8() function
21 return FilePathToUTF8(path.value()); in FilePathToUTF8()
Drust_project_writer.cc208 FilePathToUTF8(rebased_out_dir) + std::string(current_sysroot) + in AddSysrootCrate()
371 FilePathToUTF8(build_settings->GetFullPath(crate.root())); in WriteCrates()
380 << FilePathToUTF8( in WriteCrates()
385 auto gen_dir_path = FilePathToUTF8( in WriteCrates()
438 auto so_location = FilePathToUTF8(build_settings->GetFullPath( in WriteCrates()
Dstring_output_buffer.cc91 "I was using \"" + FilePathToUTF8(file_path.DirName()) + "\"."); in WriteToFile()
114 "I was writing \"" + FilePathToUTF8(file_path) + "\"."); in WriteToFile()
Dninja_toolchain_writer.cc66 ScopedTrace trace(TraceItem::TRACE_FILE_WRITE, FilePathToUTF8(ninja_file)); in RunAndWriteFile()
71 file.open(FilePathToUTF8(ninja_file).c_str(), in RunAndWriteFile()
Dinput_file_manager.cc70 "Unable to load:\n " + FilePathToUTF8(primary_path) + in DoLoadFile()
73 FilePathToUTF8(secondary_path)); in DoLoadFile()
78 "Unable to load \"" + FilePathToUTF8(primary_path) + "\"."); in DoLoadFile()
Declipse_writer.cc59 file_out.open(FilePathToUTF8(file).c_str(), in RunAndWriteFile()
87 FilePathToUTF8(build_settings_->GetFullPath(include_dir))); in GetAllIncludeDirs()
Dcommand_args.cc295 "Just edit \"" + FilePathToUTF8(file_to_edit) + "\" manually instead.") in RunEditor()
302 OutputString("\"" + FilePathToUTF8(file_to_edit) + in RunEditor()
306 OutputString("Waiting for editor on \"" + FilePathToUTF8(file_to_edit) + in RunEditor()
Dfunction_read_file.cc70 "I resolved this to \"" + FilePathToUTF8(file_path) + "\"."); in RunReadFile()
Djson_project_writer.cc115 "I was trying to execute \"" + FilePathToUTF8(python_path) + "\"."); in InvokePython()
410 std::string build_path = FilePathToUTF8(build_settings->root_path()); in GenerateJSON()
415 build_path, FilePathToUTF8(input_file), &file)) { in GenerateJSON()
Dninja_tools.cc38 FilePathToUTF8(cmdline.GetProgram()) + "\"."); in RunNinja()
Dfilesystem_utils.cc216 std::string FilePathToUTF8(const base::FilePath::StringType& str) { in FilePathToUTF8() function
821 FilePathToUTF8(ResolvePath(value, as_file, UTF8ToFilePath(source_root)) in ResolveRelative()
903 result_str.append(FilePathToUTF8(path_comp[i])); in SourceDirForPath()
950 "I was using \"" + FilePathToUTF8(file_path.DirName()) + "\"."); in WriteFile()
962 "I was writing \"" + FilePathToUTF8(file_path) + "\"."); in WriteFile()
Dbuild_settings.cc33 root_path_utf8_ = FilePathToUTF8(root_path_); in SetRootPath()
Dcommand_clean.cc63 FilePathToUTF8(build_ninja_d_file.DirName().value()).c_str())) in CleanOneDir()
Dscope_per_file_provider.cc80 FilePathToUTF8(scope_->settings()->build_settings()->python_path())); in GetPythonPath()
Dcommand_format.cc1366 FilePathToUTF8(to_format) + std::string("\".")) in RunFormat()
1372 FilePathToUTF8(to_format).c_str()); in RunFormat()
1393 std::string("Couldn't read \"") + FilePathToUTF8(to_format)) in RunFormat()
1421 FilePathToUTF8(to_format) + std::string("\".")) in RunFormat()
1428 FilePathToUTF8(to_format).c_str()); in RunFormat()
Dpath_output.cc128 EscapeStringToStream(out, FilePathToUTF8(file), options_); in WriteFile()
Dninja_build_writer.cc112 EscapeString(FilePathToUTF8(i->second), escape_shell, nullptr); in GetSelfInvocationCommandLine()
332 FilePathToUTF8(file.NormalizePathSeparatorsTo('/')), in WriteNinjaRules()
Dfunction_rebase_path.cc88 result = Value(function, FilePathToUTF8(system_path)); in ConvertOnePath()
Dvisual_studio_writer.cc420 std::string vcxproj_path_str = FilePathToUTF8(vcxproj_path); in WriteProjectFiles()
425 FilePathToUTF8(build_settings_->GetFullPath(target->label().dir())), in WriteProjectFiles()
774 SourceDir solution_dir(FilePathToUTF8(solution_dir_path)); in WriteSolutionFileContents()
Dtrace.cc156 item_->set_cmdline(FilePathToUTF8(cmdline.GetArgumentsString())); in SetCommandLine()
Dcommands.cc210 unique_files.insert(FilePathToUTF8(BuildFileForItem(target))); in PrintTargetsAsBuildfiles()

12