/external/chromium_org/tools/gyp/test/make_global_settings/ar/ |
gyptest-make_global_settings_ar.py | 26 def verify_ar_target(test, ar=None, rel_path=False): 27 if rel_path: 52 def verify_ar_host(test, ar=None, rel_path=False): 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/ |
gyptest-make_global_settings_ld.py | 26 def verify_ld_target(test, ld=None, rel_path=False): 27 if rel_path: 52 def verify_ld_host(test, ld=None, rel_path=False): 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/tools/checkperms/ |
checkperms.py | 236 def is_ignored(rel_path): 237 """Returns True if rel_path is in our whitelist of files to ignore.""" 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): 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) [all...] |
/external/chromium_org/testing/gtest/scripts/ |
common.py | 62 rel_path = m.group(2) 63 root = os.path.realpath(rel_path.count('/') * '../')
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/ |
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/tools/gyp/pylib/gyp/generator/ |
cmake.py | 93 def NormjoinPathForceCMakeSource(base_path, rel_path): 94 """Resolves rel_path against base_path and returns the result. 96 If rel_path is an absolute path it is returned unchanged. 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): 111 """Resolves rel_path against base_path and returns the result [all...] |
/external/chromium_org/third_party/closure_compiler/ |
compile_modules.py | 87 rel_path = lambda f: f 92 rel_path = lambda f: os.path.join(here_to_module_dir, f) 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,
|
compiler_customization_test.py | 20 def rel_to_abs(rel_path): 22 return os.path.join(script_path, rel_path)
|
checker.py | 185 rel_path = lambda f: os.path.join(os.path.relpath(os.getcwd(), tmp_dir), f) 187 includes = [rel_path(f) for f in depends + [source_file]]
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
main.py | 70 rel_path = filesystem.relpath(path, checkout_root) 71 if rel_path.startswith(filesystem.pardir): 93 rel_paths.append(rel_path)
|
filereader_unittest.py | 64 def _create_file(self, rel_path, text): 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')
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/ |
build_compiler_runner_jar.py | 10 def rel_to_abs(rel_path): 11 return os.path.join(script_path, rel_path)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/ |
run_tests.py | 13 def rel_to_abs(rel_path): 14 return os.path.join(script_path, rel_path)
|
build_jsdoc_validator_jar.py | 13 def rel_to_abs(rel_path): 14 return os.path.join(script_path, rel_path)
|
/external/chromium_org/third_party/closure_compiler/runner/ |
build_runner_jar.py | 13 def rel_to_abs(rel_path): 15 return os.path.join(script_path, rel_path)
|
/external/chromium_org/tools/android/checkstyle/ |
checkstyle.py | 67 rel_path = os.path.relpath(full_path, local_path) 68 output.append(' %s:%s' % (rel_path, end))
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
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)
|
results.py | 256 rel_path = os.path.join(rel_dirpath, matching_filename) 257 meta_dict[rel_path] = gm_json.LoadFromFile(abs_path)
|
/development/testrunner/coverage/ |
coverage_targets.py | 120 rel_path = src_element.getAttribute(self._PATH_ATTR) 121 target.AddPath(os.path.join(target.GetBuildPath(), rel_path))
|
/external/chromium_org/native_client_sdk/src/build_tools/tests/ |
sdktools_test.py | 100 def _BuildUpdaterArchive(self, rel_path, revision): 104 rel_path: The relative path to build the updater. 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/native_client_sdk/src/libraries/nacl_io/ |
kernel_object.h | 56 // Assumes |out_fs| and |rel_path| are non-NULL. 59 Path* rel_path);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
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) 370 # path = "/tmp/foobar", start = "/tmp/foo" -> rel_path = "bar" 373 rel_path = path[len(common_root) + 1:] 375 return dot_dot + rel_path
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
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/chromium_org/third_party/cython/src/Cython/Compiler/ |
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/remoting/host/installer/ |
build-installer-archive.py | 69 rel_path = os.path.relpath(full_path, directory) 70 zip.write(full_path, os.path.join(zipfile_base, rel_path))
|