Home
last modified time | relevance | path

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

12

/external/chromium_org/tools/gn/
Dvalue_extractors.cc67 current_dir(current_dir_in) { in RelativeFileConverter()
72 *out = current_dir.ResolveRelativeFile(v.string_value(), in operator ()()
84 const SourceDir& current_dir; member
91 current_dir(current_dir_in) { in RelativeDirConverter()
96 *out = current_dir.ResolveRelativeDir(v.string_value(), in operator ()()
101 const SourceDir& current_dir; member
108 : current_dir(current_dir_in), in LabelResolver()
113 *out = Label::Resolve(current_dir, current_toolchain, v, err); in operator ()()
116 const SourceDir& current_dir; member
124 : current_dir(current_dir_in), in LabelPtrResolver()
[all …]
Dfunction_get_path_info.cc29 SourceDir DirForInput(const SourceDir& current_dir, in DirForInput() argument
33 return current_dir.ResolveRelativeDir(input_string); in DirForInput()
37 return current_dir.ResolveRelativeFile(input_string).GetDir(); in DirForInput()
41 const SourceDir& current_dir, in GetOnePathInfo() argument
84 DirForInput(current_dir, input_string))); in GetOnePathInfo()
89 DirForInput(current_dir, input_string))); in GetOnePathInfo()
93 return current_dir.ResolveRelativeDir(input_string).value(); in GetOnePathInfo()
95 return current_dir.ResolveRelativeFile(input_string).value(); in GetOnePathInfo()
218 const SourceDir& current_dir = scope->GetSourceDir(); in RunGetPathInfo() local
220 return Value(function, GetOnePathInfo(scope->settings(), current_dir, what, in RunGetPathInfo()
[all …]
Dvalue_extractors.h29 const SourceDir& current_dir,
36 const SourceDir& current_dir,
43 const SourceDir& current_dir,
53 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()
Dvisibility.cc23 bool Visibility::Set(const SourceDir& current_dir, in Set() argument
35 patterns_.push_back(LabelPattern::GetPattern(current_dir, list[i], err)); in Set()
49 void Visibility::SetPrivate(const SourceDir& current_dir) { in SetPrivate() argument
52 LabelPattern(LabelPattern::DIRECTORY, current_dir, std::string(), in SetPrivate()
Dlabel_pattern.cc64 LabelPattern LabelPattern::GetPattern(const SourceDir& current_dir, in GetPattern() argument
80 Label label = Label::Resolve(current_dir, Label(), value, err); in GetPattern()
113 Label::Resolve(current_dir, Label(), value_for_toolchain, err); in GetPattern()
141 dir = current_dir; in GetPattern()
169 dir = current_dir.ResolveRelativeDir(path); in GetPattern()
Dfunction_rebase_path.cc231 const SourceDir& current_dir = scope->GetSourceDir(); in RunRebasePath() local
237 current_dir.ResolveRelativeDir(args[kArgIndexDest].string_value()); in RunRebasePath()
248 current_dir.ResolveRelativeDir(args[kArgIndexFrom].string_value()); in RunRebasePath()
251 from_dir = current_dir; in RunRebasePath()
Dvisibility.h29 bool Set(const SourceDir& current_dir, const Value& value, Err* err);
35 void SetPrivate(const SourceDir& current_dir);
Dfunction_set_default_toolchain.cc64 const SourceDir& current_dir = scope->GetSourceDir(); in RunSetDefaultToolchain() local
70 Label::Resolve(current_dir, default_toolchain, args[0], err)); in RunSetDefaultToolchain()
Dpath_output.h36 PathOutput(const SourceDir& current_dir, EscapingMode escaping);
42 const SourceDir& current_dir() const { return current_dir_; } in current_dir() function
Dpath_output.cc12 PathOutput::PathOutput(const SourceDir& current_dir, EscapingMode escaping) in PathOutput() argument
13 : current_dir_(current_dir) { in PathOutput()
14 CHECK(current_dir.is_source_absolute()) in PathOutput()
/external/valgrind/
Dmerge.upstream.sh24 current_dir=`realpath \`dirname $0\``
25 valgrind_dir=$current_dir/main
28 valgrind_revision=`cat $current_dir/upstream.revs.txt | grep "val: " | sed "s/val: //"`
29 vex_revision=`cat $current_dir/upstream.revs.txt | grep "vex: " | sed "s/vex: //"`
49 echo "Merging valgrind... (in $valgrind_dir)" | tee $current_dir/merge.log
51 …revision:$upstream_valgrind_revision $valgrind_svn_url | patch -Ep0 | tee -a $current_dir/merge.log
55 echo "Merging vex... (in $vex_dir)" | tee -a $current_dir/merge.log
57 …svn diff -r$vex_revision:$upstream_vex_revision $vex_svn_url | patch -Ep0 | tee -a $current_dir/me…
60 echo "val: $upstream_valgrind_revision" > $current_dir/upstream.revs.txt
61 echo "vex: $upstream_vex_revision" >> $current_dir/upstream.revs.txt
[all …]
/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/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/lldb/test/arm_emulation/
DTestEmulations.py15 current_dir = os.getcwd();
16 test_dir = os.path.join (current_dir, "new-test-files")
29 current_dir = os.getcwd();
30 test_dir = os.path.join (current_dir, "new-test-files")
/external/lldb/scripts/Python/
Dbuild-swig-Python.sh355 current_dir=`pwd`
356 if [ -f "${current_dir}/modify-python-lldb.py" ]
358 python ${current_dir}/modify-python-lldb.py ${CONFIG_BUILD_DIR}
363 if [ -f "${current_dir}/edit-swig-python-wrapper-file.py" ]
367 python ${current_dir}/edit-swig-python-wrapper-file.py "${TARGET_DIR}"
369 python ${current_dir}/edit-swig-python-wrapper-file.py
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
Dblacklist_load_analyzer_win_unittest.cc23 base::FilePath current_dir; in TEST() local
24 ASSERT_TRUE(PathService::Get(base::DIR_EXE, &current_dir)); in TEST()
27 base::ScopedNativeLibrary dll1(current_dir.Append(kTestDllName)); in TEST()
/external/chromium_org/tools/resources/
Dfind_unused_resources.py165 current_dir = os.getcwd()
166 if os.path.basename(current_dir) != 'src':
171 if not os.path.exists(current_dir + '/.git'):
173 print current_dir + '/.git', 'not found.'
/external/chromium_org/chrome_elf/blacklist/test/
Dblacklist_test.cc160 base::FilePath current_dir; in CheckBlacklistedDllsNotLoaded() local
161 ASSERT_TRUE(PathService::Get(base::DIR_EXE, &current_dir)); in CheckBlacklistedDllsNotLoaded()
168 current_dir.Append(test_data[i].dll_name)); in CheckBlacklistedDllsNotLoaded()
183 base::ScopedNativeLibrary dll(current_dir.Append(test_data[i].dll_name)); in CheckBlacklistedDllsNotLoaded()
195 current_dir.Append(test_data[i].dll_name)); in CheckBlacklistedDllsNotLoaded()
211 base::FilePath current_dir; in TEST_F() local
212 ASSERT_TRUE(PathService::Get(base::DIR_EXE, &current_dir)); in TEST_F()
218 base::ScopedNativeLibrary dll1(current_dir.Append(kTestDllName1)); in TEST_F()
/external/chromium_org/apps/
Dapp_load_service.cc63 const base::FilePath& current_dir) { in LoadAndLaunch() argument
76 action.current_dir = current_dir; in LoadAndLaunch()
109 profile_, extension, it->second.command_line, it->second.current_dir); in Observe()
Dapp_load_service.h43 base::FilePath current_dir; member
62 const base::FilePath& current_dir);
/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/net/base/
Dfilename_util.cc33 base::FilePath current_dir; in FilePathToFileURL() local
34 PathService::Get(base::DIR_CURRENT, &current_dir); in FilePathToFileURL()
35 url_string.append(current_dir.value()); in FilePathToFileURL()
/external/chromium_org/content/test/gpu/gpu_tests/
Dwebgl_conformance.py128 current_dir = os.path.dirname(path)
162 include_path = os.path.join(current_dir, test_name)
166 test = os.path.join(current_dir, test_name)
/external/chromium_org/ppapi/generators/
Dgenerator.py31 current_dir = os.path.abspath(os.getcwd())
33 if current_dir != script_dir:

12