/external/chromium_org/tools/checkperms/ |
D | checkperms.py | 236 def is_ignored(rel_path): argument 238 rel_path = rel_path.lower() 240 os.path.basename(rel_path) in IGNORED_FILENAMES or 241 rel_path.lower().startswith(IGNORED_PATHS)) 244 def must_be_executable(rel_path): argument 248 return (os.path.splitext(rel_path)[1][1:] in EXECUTABLE_EXTENSIONS or 249 rel_path.lower() in EXECUTABLE_PATHS) 252 def must_not_be_executable(rel_path): argument 256 return (os.path.splitext(rel_path)[1][1:] in NON_EXECUTABLE_EXTENSIONS or 257 rel_path.lower() in NON_EXECUTABLE_PATHS) [all …]
|
/external/chromium_org/tools/gyp/test/make_global_settings/ar/ |
D | gyptest-make_global_settings_ar.py | 26 def verify_ar_target(test, ar=None, rel_path=False): argument 27 if rel_path: 52 def verify_ar_host(test, ar=None, rel_path=False): argument 53 if rel_path: 89 verify_ar_target(test, ar='my_ar', rel_path=True) 97 verify_ar_target(test, ar='my_ar_target1', rel_path=True) 98 verify_ar_host(test, ar='my_ar_host1', rel_path=True) 109 verify_ar_target(test, ar='lib.exe', rel_path=False) 111 verify_ar_target(test, ar='my_ar_target2', rel_path=False) 112 verify_ar_host(test, ar='my_ar_host2', rel_path=False) [all …]
|
/external/chromium_org/tools/gyp/test/make_global_settings/ld/ |
D | gyptest-make_global_settings_ld.py | 26 def verify_ld_target(test, ld=None, rel_path=False): argument 27 if rel_path: 52 def verify_ld_host(test, ld=None, rel_path=False): argument 53 if rel_path: 99 verify_ld_target(test, ld='my_ld', rel_path=True) 107 verify_ld_target(test, ld='my_ld_target1', rel_path=True) 108 verify_ld_host(test, ld='my_ld_host1', rel_path=True)
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | path_util.py | 87 rel_path = posixpath.relpath(path, last_path) 90 if rel_path == '.': 91 rel_path = '' 95 yield (last_path, rel_path)
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/ |
D | upload_chromevox_to_webstore.py | 99 rel_path = os.path.join(os.path.relpath(root, extension_path), '') 100 if rel_path in EXCLUDE_PATHS: 110 new_file.name, os.path.join(rel_path, extension_file)) 114 os.path.join(rel_path, extension_file))
|
/external/chromium_org/third_party/closure_compiler/ |
D | compile_modules.py | 87 rel_path = lambda f: f function 92 rel_path = lambda f: os.path.join(here_to_module_dir, f) function 100 depends = [rel_path(d) for d in m.depends] 101 externs = [rel_path(e) for e in m.externs] 102 exit_code, _ = self._checker.check(rel_path(s), depends=depends,
|
D | compiler_customization_test.py | 20 def rel_to_abs(rel_path): argument 22 return os.path.join(script_path, rel_path)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
D | filereader_unittest.py | 64 def _create_file(self, rel_path, text): argument 67 file_path = self.filesystem.join(self._temp_dir, rel_path) 144 rel_path = self.filesystem.join('foo_dir', 'file2.txt') 145 file_path2 = self._create_file(rel_path, 'bar')
|
D | main.py | 70 rel_path = filesystem.relpath(path, checkout_root) 71 if rel_path.startswith(filesystem.pardir): 93 rel_paths.append(rel_path)
|
/external/chromium_org/tools/gyp/pylib/gyp/generator/ |
D | cmake.py | 93 def NormjoinPathForceCMakeSource(base_path, rel_path): argument 101 if os.path.isabs(rel_path): 102 return rel_path 103 if any([rel_path.startswith(var) for var in FULL_PATH_VARS]): 104 return rel_path 107 os.path.normpath(os.path.join(base_path, rel_path))) 110 def NormjoinPath(base_path, rel_path): argument 116 if rel_path.startswith('$') and not rel_path.startswith('${configuration}'): 117 return rel_path 118 return os.path.normpath(os.path.join(base_path, rel_path)) [all …]
|
/external/chromium_org/testing/gtest/scripts/ |
D | common.py | 62 rel_path = m.group(2) 63 root = os.path.realpath(rel_path.count('/') * '../')
|
/external/wpa_supplicant_8/src/utils/ |
D | os_internal.c | 146 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 151 if (rel_path[0] == '/') in os_rel2abs_path() 152 return os_strdup(rel_path); in os_rel2abs_path() 171 rel_len = strlen(rel_path); in os_rel2abs_path() 177 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|
D | os_unix.c | 248 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 254 if (!rel_path) in os_rel2abs_path() 257 if (rel_path[0] == '/') in os_rel2abs_path() 258 return os_strdup(rel_path); in os_rel2abs_path() 280 rel_len = os_strlen(rel_path); in os_rel2abs_path() 286 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
|
D | os_win32.c | 153 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 155 return _strdup(rel_path); in os_rel2abs_path()
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
D | writable_expectations.py | 135 for rel_path in meta_dict.keys(): 136 full_path = os.path.join(root, rel_path) 137 gm_json.WriteToFile(meta_dict[rel_path], full_path)
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
D | Main.py | 163 rel_path = module_name.replace('.', os.sep) + os.path.splitext(pxd_pathname)[1] 164 if not pxd_pathname.endswith(rel_path): 165 rel_path = pxd_pathname # safety measure to prevent printing incorrect paths 166 source_desc = FileSourceDescriptor(pxd_pathname, rel_path) 407 rel_path = full_module_name.replace('.', os.sep) + source_ext 408 if not abs_path.endswith(rel_path): 409 rel_path = source # safety measure to prevent printing incorrect paths 411 rel_path = abs_path 412 source_desc = FileSourceDescriptor(abs_path, rel_path)
|
/external/chromium_org/tools/android/checkstyle/ |
D | checkstyle.py | 67 rel_path = os.path.relpath(full_path, local_path) 68 output.append(' %s:%s' % (rel_path, end))
|
/external/chromium_org/native_client_sdk/src/build_tools/tests/ |
D | sdktools_test.py | 100 def _BuildUpdaterArchive(self, rel_path, revision): argument 110 self._BuildUpdater(os.path.join(self.basedir, rel_path), revision) 112 new_sdk_tools_tgz = os.path.join(self.basedir, rel_path, 'sdk_tools.tgz') 118 archive.url = self.server.GetURL('%s/sdk_tools.tgz' % (rel_path,))
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/ |
D | run_tests.py | 13 def rel_to_abs(rel_path): argument 14 return os.path.join(script_path, rel_path)
|
D | build_jsdoc_validator_jar.py | 13 def rel_to_abs(rel_path): argument 14 return os.path.join(script_path, rel_path)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/ |
D | build_compiler_runner_jar.py | 10 def rel_to_abs(rel_path): argument 11 return os.path.join(script_path, rel_path)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
D | filesystem_mock.py | 358 rel_path = path[len(common_root):] 360 if not rel_path: 363 if rel_path[0] == self.sep: 367 rel_path = rel_path.lstrip(self.sep) 373 rel_path = path[len(common_root) + 1:] 375 return dot_dot + rel_path
|
/external/chromium_org/third_party/closure_compiler/runner/ |
D | build_runner_jar.py | 13 def rel_to_abs(rel_path): argument 15 return os.path.join(script_path, rel_path)
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
D | perf_profiler.py | 40 rel_path = os.path.relpath(path, os.curdir) 41 return rel_path if len(rel_path) < len(path) else path
|
/external/skia/gm/rebaseline_server/ |
D | results.py | 235 rel_path = os.path.join(rel_dirpath, matching_filename) 236 meta_dict[rel_path] = gm_json.LoadFromFile(abs_path)
|