Searched refs:posixpath (Results 1 - 25 of 76) sorted by relevance

1234

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dfile_system_util.py5 import posixpath namespace
13 url = posixpath.join(urlprefix, root, f)
14 yield url, posixpath.join(directory, root, f)
H A Dredirector.py5 import posixpath namespace
30 dirname, filename = posixpath.split(url)
34 posixpath.join(dirname, 'redirects.json')).Get()
45 return posixpath.normpath(posixpath.join(dirname, redirect))
59 return 'https://developer.chrome.com/' + posixpath.join(*path)
68 self._cache.GetFromFile(posixpath.join(root, 'redirects.json')))
H A Ddirectory_zipper.py6 import posixpath namespace
32 self._file_system.ReadSingle(posixpath.join(base_dir, file_name)))
42 dir_name = posixpath.basename(base_dir)
43 zip_file.writestr(posixpath.join(dir_name, file_name), file_contents)
H A Dpath_util.py5 import posixpath namespace
34 return posixpath.join(*paths)
42 parent, base = posixpath.split(path.rstrip('/'))
H A Dapi_categorizer.py6 import posixpath namespace
24 posixpath.join(PUBLIC_TEMPLATES, platform) + '/').Get()
30 public_templates.extend(posixpath.join(root, name) for name in files)
H A Dchroot_file_system.py5 import posixpath namespace
32 prefixed = posixpath.join(self._root, path)
47 return self._file_system.Stat(posixpath.join(self._root, path))
H A Dtemplate_data_source.py6 import posixpath namespace
41 posixpath.join(self._dir, root, FormatKey(f)))
43 if posixpath.splitext(f)[1] == '.html']
H A Dapi_models.py5 import posixpath namespace
54 name, ext = posixpath.splitext(api_name)
69 basename = posixpath.basename(file_name)
71 file_name = posixpath.join(
76 posixpath.join(path, '%s%s' % (file_name, ext)))
H A Dpath_canonicalizer.py6 import posixpath namespace
15 normalized = posixpath.splitext(file_name)[0]
20 return posixpath.commonprefix((_Normalize(first_file),
60 path_without_ext, ext = posixpath.splitext(path)
61 canonical_path = posixpath.join(base, path_without_ext)
H A Dpreview.py36 import posixpath namespace
46 if not posixpath.abspath(self.path.lstrip('/')).startswith(
47 posixpath.abspath('')):
H A Dsidenav_data_source.py7 import posixpath namespace
96 posixpath.join(JSON_TEMPLATES, 'chrome_sidenav.json'))
102 posixpath.join(JSON_TEMPLATES, 'chrome_sidenav.json')).Get()
H A Dlocal_file_system_test.py8 import posixpath namespace
H A Dappengine_url_fetcher.py6 import posixpath namespace
50 url = posixpath.join(self._base_path, url) if url else self._base_path
H A Drietveld_patcher_test.py7 import posixpath namespace
22 return [posixpath.join(prefix, item) for item in lst]
H A Dcontent_provider.py7 import posixpath namespace
84 _, ext = posixpath.splitext(path)
124 base, ext = posixpath.splitext(path)
135 base, ext = posixpath.splitext(path)
180 base, ext = posixpath.splitext(f)
/external/chromium_org/third_party/skia/tools/pyutils/
H A Dgs_utils.py16 import posixpath namespace
41 source_http_url = posixpath.join(
/external/skia/tools/pyutils/
H A Dgs_utils.py16 import posixpath namespace
41 source_http_url = posixpath.join(
/external/chromium_org/third_party/skia/gm/rebaseline_server/
H A Dimagepair.py12 import posixpath namespace
65 expected_image_url=posixpath.join(base_url, imageA_relative_url),
67 actual_image_url=posixpath.join(base_url, imageB_relative_url))
/external/skia/gm/rebaseline_server/
H A Dimagepair.py12 import posixpath namespace
65 expected_image_url=posixpath.join(base_url, imageA_relative_url),
67 actual_image_url=posixpath.join(base_url, imageB_relative_url))
/external/chromium_org/native_client_sdk/src/tools/
H A Dnacl_config.py13 import posixpath namespace
162 return posixpath.join(root, 'toolchain', subdir)
170 return posixpath.join(toolchain_dir, arch_dir)
175 return posixpath.join(GetToolchainDir(toolchain, arch), 'bin')
180 base_include = posixpath.join(root, 'include')
181 return [base_include, posixpath.join(base_include, toolchain)]
185 return posixpath.join(GetPosixSDKPath(), 'lib')
195 return posixpath.join(GetToolchainBinDir('newlib', 'x86_64'),
207 return posixpath.join(GetToolchainBinDir(toolchain, arch), full_tool_name)
/external/chromium_org/build/android/pylib/symbols/mock_addr2line/
H A Dmock_addr2line14 import posixpath namespace
27 lib_file_name = posixpath.basename(options.exe)
/external/chromium_org/third_party/skia/gm/
H A Dgm_json.py18 import posixpath namespace
129 return posixpath.join(
/external/skia/gm/
H A Dgm_json.py18 import posixpath namespace
129 return posixpath.join(
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/
H A Dnative_heap_classifier.py28 import posixpath namespace
89 posixpath.commonprefix implementation would do)
91 parts = posixpath.commonprefix(args).rpartition(posixpath.sep)[0]
92 return parts + posixpath.sep if parts else ''
122 src_dir = posixpath.dirname(src_file.replace('\\', '/')) + '/'
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Dcompute_interfaces_info_individual.py47 import posixpath namespace
96 relative_dir_posix = relative_dir_local.replace(os.path.sep, posixpath.sep)
102 return posixpath.join(relative_dir_posix, cpp_class_name + '.h')

Completed in 431 milliseconds

1234