Home
last modified time | relevance | path

Searched refs:current_dir (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/tools/gn/
Dvalue_extractors.cc21 current_dir(current_dir_in) { in RelativeFileConverter()
26 *out = current_dir.ResolveRelativeFile(v.string_value(), in operator ()()
38 const SourceDir& current_dir; member
45 current_dir(current_dir_in) { in RelativeDirConverter()
50 *out = current_dir.ResolveRelativeDir(v.string_value(), in operator ()()
55 const SourceDir& current_dir; member
62 : current_dir(current_dir_in), in LabelResolver()
67 out->label = Label::Resolve(current_dir, current_toolchain, v, err); in operator ()()
71 const SourceDir& current_dir; member
94 const SourceDir& current_dir, in ExtractListOfRelativeFiles() argument
[all …]
Dvalue_extractors.h44 const SourceDir& current_dir,
51 const SourceDir& current_dir,
58 const SourceDir& current_dir,
63 const SourceDir& current_dir,
70 const SourceDir& current_dir,
Dlabel.cc28 const SourceDir& current_dir, in ComputeBuildLocationFromDep() argument
34 *result = current_dir; in ComputeBuildLocationFromDep()
47 *result = current_dir.ResolveRelativeDir(input); in ComputeBuildLocationFromDep()
94 bool Resolve(const SourceDir& current_dir, in Resolve() argument
162 if (!ComputeBuildLocationFromDep(original_value, current_dir, location_piece, in Resolve()
180 return Resolve(current_dir, current_toolchain, in Resolve()
212 Label Label::Resolve(const SourceDir& current_dir, in Resolve() argument
227 if (!::Resolve(current_dir, current_toolchain, input, input_string, in Resolve()
Dfunction_set_default_toolchain.cc62 const SourceDir& current_dir = scope->GetSourceDir(); in RunSetDefaultToolchain() local
68 Label::Resolve(current_dir, default_toolchain, args[0], err)); in RunSetDefaultToolchain()
Dpath_output.cc12 PathOutput::PathOutput(const SourceDir& current_dir, in PathOutput() argument
15 : current_dir_(current_dir) { in PathOutput()
16 CHECK(current_dir.is_source_absolute()) in PathOutput()
Dpath_output.h36 PathOutput(const SourceDir& current_dir,
44 const SourceDir& current_dir() const { return current_dir_; } in current_dir() function
Dfunction_rebase_path.cc265 const SourceDir& current_dir = scope->GetSourceDir(); in RunRebasePath() local
266 SourceDir from_dir = current_dir.ResolveRelativeDir(args[1].string_value()); in RunRebasePath()
276 to_dir = current_dir.ResolveRelativeDir(args[2].string_value()); in RunRebasePath()
Dsetup.cc94 base::FilePath FindDotFile(const base::FilePath& current_dir) { in FindDotFile() argument
95 base::FilePath try_this_file = current_dir.Append(kGnFile); in FindDotFile()
99 base::FilePath with_no_slash = current_dir.StripTrailingSeparators(); in FindDotFile()
101 if (up_one_dir == current_dir) in FindDotFile()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/
Dwebkit_finder.py101 current_dir = fs.dirname(self._webkit_base)
102 while current_dir != prev_dir:
103 if fs.exists(fs.join(current_dir, 'depot_tools', 'pylint.py')):
104 return fs.join(current_dir, 'depot_tools')
105 prev_dir = current_dir
106 current_dir = fs.dirname(current_dir)
/external/chromium_org/webkit/tools/layout_tests/
DPRESUBMIT.py14 current_dir = str(input_api.PresubmitLocalPath())
17 current_dir,
18 input_api.os_path.join(current_dir, '..', '..', '..', 'tools', 'python')
26 input_api.os_path.join(current_dir, 'run_webkit_tests.py'),
31 cwd=current_dir,
/external/eigen/bench/spbench/
Dspbenchsolver.cpp70 string current_dir; in main() local
72 current_dir = matrix_dir + "/real"; in main()
73 Browse_Matrices<double>(current_dir, statFileExists, statFile,maxiters, tol); in main()
76 current_dir = matrix_dir + "/complex"; in main()
77 Browse_Matrices<std::complex<double> >(current_dir, statFileExists, statFile, maxiters, tol); in main()
/external/chromium/net/tools/flip_server/
Dmem_cache.cc83 DIR* current_dir = NULL; in AddFiles() local
85 while (current_dir == NULL && !paths.empty()) { in AddFiles()
88 current_dir = opendir(current_dir_name.c_str()); in AddFiles()
91 if (current_dir == NULL) { in AddFiles()
97 if (current_dir) { in AddFiles()
99 for (struct dirent* dir_data = readdir(current_dir); in AddFiles()
101 dir_data = readdir(current_dir)) { in AddFiles()
117 closedir(current_dir); in AddFiles()
118 current_dir = NULL; in AddFiles()
/external/chromium_org/net/tools/flip_server/
Dmem_cache.cc81 DIR* current_dir = NULL; in AddFiles() local
83 while (current_dir == NULL && !paths.empty()) { in AddFiles()
86 current_dir = opendir(current_dir_name.c_str()); in AddFiles()
89 if (current_dir == NULL) { in AddFiles()
95 if (current_dir) { in AddFiles()
97 for (struct dirent* dir_data = readdir(current_dir); dir_data != NULL; in AddFiles()
98 dir_data = readdir(current_dir)) { in AddFiles()
114 closedir(current_dir); in AddFiles()
115 current_dir = NULL; in AddFiles()
/external/chromium_org/tools/resources/
Dfind_unused_resources.py155 current_dir = os.getcwd()
156 if os.path.basename(current_dir) != 'src':
161 if not os.path.exists(current_dir + '/.git'):
163 print current_dir + '/.git', 'not found.'
/external/chromium_org/apps/
Dapp_load_service.cc55 const base::FilePath& current_dir) { in LoadAndLaunch() argument
68 action.current_dir = current_dir; in LoadAndLaunch()
103 it->second.current_dir); in Observe()
Dapp_load_service.h41 base::FilePath current_dir; member
57 const base::FilePath& current_dir);
/external/chromium_org/apps/shell/
Dshell_browser_main_parts.cc48 base::FilePath current_dir; in LoadAndLaunchApp() local
49 CHECK(file_util::GetCurrentDirectory(&current_dir)); in LoadAndLaunchApp()
61 app_dir, *CommandLine::ForCurrentProcess(), current_dir)) { in LoadAndLaunchApp()
/external/chromium_org/content/test/gpu/gpu_tests/
Dwebgl_conformance.py127 current_dir = os.path.dirname(path)
161 include_path = os.path.join(current_dir, test_name)
165 test = os.path.join(current_dir, test_name)
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dpython_unittest.py54 current_dir = os.path.dirname(__file__)
55 file_path = os.path.join(current_dir, "python_unittest_input.py")
/external/chromium_org/ppapi/generators/
Dgenerator.py31 current_dir = os.path.abspath(os.getcwd())
33 if current_dir != script_dir:
/external/chromium_org/tools/telemetry/telemetry/core/
Dbrowser_options_unittest.py74 current_dir = os.path.dirname(__file__)
75 parser.parse_args(['--browser', 'any', '--profile-dir', current_dir])
76 self.assertEquals(options.browser_options.profile_dir, current_dir)
/external/chromium_org/chrome_frame/
Dchrome_launcher_utils.cc34 base::FilePath current_dir = module_path.DirName(); in CreateChromeLauncherCommandLine() local
35 base::FilePath chrome_launcher = current_dir.Append( in CreateChromeLauncherCommandLine()
/external/chromium_org/sandbox/linux/services/
Dcredentials_unittest.cc34 char current_dir[PATH_MAX]; in WorkingDirectoryIsRoot() local
35 char* cwd = getcwd(current_dir, sizeof(current_dir)); in WorkingDirectoryIsRoot()
/external/chromium/chrome/browser/
Dprocess_singleton_linux.cc534 void HandleMessage(const std::string& current_dir,
602 const std::string& current_dir, const std::vector<std::string>& argv, in HandleMessage() argument
649 FilePath current_dir_file_path(current_dir); in HandleMessage()
714 std::string current_dir = tokens[1]; in OnFileCanReadWithoutBlocking() local
724 current_dir, in OnFileCanReadWithoutBlocking()
835 FilePath current_dir; in NotifyOtherProcessWithTimeout() local
836 if (!PathService::Get(base::DIR_CURRENT, &current_dir)) in NotifyOtherProcessWithTimeout()
838 to_send.append(current_dir.value()); in NotifyOtherProcessWithTimeout()
/external/chromium_org/chrome/browser/
Dprocess_singleton_linux.cc486 void HandleMessage(const std::string& current_dir,
560 const std::string& current_dir, const std::vector<std::string>& argv, in HandleMessage() argument
566 base::FilePath(current_dir))) { in HandleMessage()
638 std::string current_dir = tokens[1]; in OnFileCanReadWithoutBlocking() local
648 current_dir, in OnFileCanReadWithoutBlocking()
773 base::FilePath current_dir; in NotifyOtherProcessWithTimeout() local
774 if (!PathService::Get(base::DIR_CURRENT, &current_dir)) in NotifyOtherProcessWithTimeout()
776 to_send.append(current_dir.value()); in NotifyOtherProcessWithTimeout()

12