/third_party/python/Lib/test/ |
H A D | test_posixpath.py | 2 import posixpath namespace 5 from posixpath import realpath, abspath, dirname, basename 25 On Windows, posixpath.abspath still returns paths with backslashes 50 self.assertEqual(posixpath.join("/foo", "bar", "/bar", "baz"), 52 self.assertEqual(posixpath.join("/foo", "bar", "baz"), "/foo/bar/baz") 53 self.assertEqual(posixpath.join("/foo/", "bar/", "baz/"), 56 self.assertEqual(posixpath.join(b"/foo", b"bar", b"/bar", b"baz"), 58 self.assertEqual(posixpath.join(b"/foo", b"bar", b"baz"), 60 self.assertEqual(posixpath.join(b"/foo/", b"bar/", b"baz/"), 64 self.assertEqual(posixpath [all...] |
/third_party/skia/gn/ |
H A D | gn_to_cmake.py | 26 import posixpath namespace 169 return posixpath.join(self.root_path, path[2:]) 240 output_directory = posixpath.dirname(output_abs_path) 285 source_dir, source_file_part = posixpath.split(source) 286 source_name_part, _ = posixpath.splitext(source_file_part) 309 output_directory = posixpath.dirname(output_abs_path) 504 all_sources.append(posixpath.join(project.build_path, 'empty.cpp')) 508 _, ext = posixpath.splitext(source) 648 out = open(posixpath.join(project.build_path, 'CMakeLists.txt'), 'w+') 649 extName = posixpath [all...] |
/third_party/skia/infra/bots/ |
H A D | zip_utils.py | 16 import posixpath namespace 42 zi.filename = zi.filename.replace(ntpath.sep, posixpath.sep) 70 dst_subpath = dst_subpath.replace(posixpath.sep, ntpath.sep)
|
/third_party/skia/buildtools/reclient_cfgs/ |
H A D | fetch_reclient_cfgs.py | 11 import posixpath namespace 68 cipd_prefix = posixpath.join(args.cipd_prefix, args.rbe_project) 80 CipdEnsure(posixpath.join(cipd_prefix, toolchain),
|
/third_party/vk-gl-cts/scripts/ |
H A D | gen_android_bp.py | 24 import posixpath namespace 109 portablePath = posixpath.join(portablePath, component) 136 sourceDir = posixpath.dirname(sourceFile)
|
H A D | gen_android_mk.py | 24 import posixpath namespace 90 portablePath = posixpath.join(portablePath, component) 117 sourceDir = posixpath.dirname(sourceFile)
|
/third_party/skia/buildtools/checkdeps/ |
H A D | builddeps.py | 16 import posixpath namespace 49 return os.path.normcase(path).replace(os.path.sep, posixpath.sep) 73 dir_path_norm = posixpath.dirname(dir_path_norm) 149 relative_dir = posixpath.relpath(cur_dir_norm, base_dir_norm) 289 subdir_path_norm = posixpath.join(dir_path_norm, subdir)
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 144 import posixpath namespace 973 name = posixpath.basename(path) 1055 components = path.split(posixpath.sep) 1135 return posixpath.join(*components) 1152 path = posixpath.join(this_path, path) 1305 path = posixpath.normpath(path) 1316 parent = posixpath.dirname(path) 1317 grandparent = posixpath.dirname(parent) 1318 parent_basename = posixpath.basename(parent) 1319 (parent_root, parent_ext) = posixpath [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | xcodeproj_file.py | 144 import posixpath namespace 973 name = posixpath.basename(path) 1055 components = path.split(posixpath.sep) 1135 return posixpath.join(*components) 1152 path = posixpath.join(this_path, path) 1305 path = posixpath.normpath(path) 1316 parent = posixpath.dirname(path) 1317 grandparent = posixpath.dirname(parent) 1318 parent_basename = posixpath.basename(parent) 1319 (parent_root, parent_ext) = posixpath [all...] |
/third_party/skia/tools/skp/ |
H A D | webpages_playback.py | 60 import posixpath namespace 372 posixpath.join(self.gs.target_name(), dest_dir_name, 384 upload_dir = posixpath.join(SKPICTURES_DIR_NAME, timestamp) 392 posixpath.join(partner_gs.target_name(), upload_dir)) 466 wpr_source = posixpath.join(ROOT_PLAYBACK_DIR_NAME, 'webpages_archive', 468 page_set_source = posixpath.join(ROOT_PLAYBACK_DIR_NAME,
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 13 import posixpath namespace 533 basename = posixpath.basename(source) 534 (root, ext) = posixpath.splitext(basename) 1009 rule_source_dirname, rule_source_basename = posixpath.split(rule_source) 1010 (rule_source_root, rule_source_ext) = posixpath.splitext( 1127 concrete_output_dir = posixpath.dirname(concrete_output) 1223 (source_root, source_extension) = posixpath.splitext(source) 1235 (resource_root, resource_extension) = posixpath.splitext(resource) 1347 library_dir = posixpath.dirname(library)
|
H A D | analyzer.py | 69 import posixpath namespace 193 base_path = posixpath.dirname(_ToLocalPath(toplevel_dir, _ToGypPath(target)))
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | xcode.py | 13 import posixpath namespace 533 basename = posixpath.basename(source) 534 (root, ext) = posixpath.splitext(basename) 1009 rule_source_dirname, rule_source_basename = posixpath.split(rule_source) 1010 (rule_source_root, rule_source_ext) = posixpath.splitext( 1124 concrete_output_dir = posixpath.dirname(concrete_output) 1220 (source_root, source_extension) = posixpath.splitext(source) 1232 (resource_root, resource_extension) = posixpath.splitext(resource) 1344 library_dir = posixpath.dirname(library)
|
/third_party/python/Lib/ |
H A D | mimetypes.py | 28 import posixpath namespace 143 base, ext = posixpath.splitext(url) 145 base, ext = posixpath.splitext(base + self.suffix_map[ext_lower]) 149 base, ext = posixpath.splitext(base)
|
H A D | fnmatch.py | 13 import posixpath namespace 53 if os.path is posixpath:
|
H A D | zipfile.py | 11 import posixpath namespace 2189 posixpath.sep, generate all parents of that path. 2208 posixpath.sep, generate all elements of that path 2221 path = path.rstrip(posixpath.sep) 2222 while path and path != posixpath.sep: 2224 path, tail = posixpath.split(path) 2306 as_dirs = (p + posixpath.sep for p in parents) 2443 >>> str(c).replace(os.sep, posixpath.sep) 2453 >>> str(root.filename).replace(os.sep, posixpath.sep) 2524 return posixpath [all...] |
/third_party/python/Python/ |
H A D | frozen.c | 97 {"posixpath", NULL, 0, false, GET_CODE(posixpath)}, 98 {"os.path", NULL, 0, false, GET_CODE(posixpath)}, 130 {"os.path", "posixpath"},
|
/third_party/python/Lib/wsgiref/ |
H A D | util.py | 3 import posixpath namespace 93 script_name = posixpath.normpath(script_name+'/'+name)
|
/third_party/skia/infra/bots/recipe_modules/docker/ |
H A D | api.py | 7 import posixpath namespace 90 script = MOUNT_SRC + '/' + posixpath.relpath(str(script), str(self.m.path['start_dir']))
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | test_data_generation.py | 26 import posixpath namespace 166 return posixpath.join(self.test_suite_directory, basename + '.data')
|
/third_party/python/Tools/scripts/ |
H A D | freeze_modules.py | 10 import posixpath namespace 33 OS_PATH = 'ntpath' if os.name == 'nt' else 'posixpath' 63 'posixpath', 95 if os.path is posixpath: 108 return posixpath.relpath( 109 posixpath.join(*path.split(os.path.sep)), 110 posixpath.join(*base.split(os.path.sep)),
|
/third_party/skia/third_party/externals/angle2/third_party/logdog/logdog/ |
H A D | stream.py | 9 import posixpath namespace 418 name=posixpath.join(self._namespace, name), 463 name=posixpath.join(self._namespace, name), 506 name=posixpath.join(self._namespace, name),
|
/third_party/mesa3d/docs/_exts/ |
H A D | redirects.py | 38 dst = pathlib.posixpath.relpath(dst, start=os.path.dirname(src))
|
/third_party/jinja2/ |
H A D | loaders.py | 6 import posixpath namespace 197 # Use posixpath even on Windows to avoid "drive:" or UNC 199 filename = posixpath.join(searchpath, *pieces) 333 # Use posixpath even on Windows to avoid "drive:" or UNC 337 posixpath.join(self._template_root, *split_template_path(template))
|
/third_party/python/Lib/xml/dom/ |
H A D | xmlbuilder.py | 226 import posixpath, urllib.parse namespace 231 path = posixpath.dirname(path) + "/"
|