Home
last modified time | relevance | path

Searched refs:path_parts (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/wsgiref/
Dutil.py93 path_parts = path_info.split('/')
94 path_parts[1:-1] = [p for p in path_parts[1:-1] if p and p != '.']
95 name = path_parts[1]
96 del path_parts[1]
106 environ['PATH_INFO'] = '/'.join(path_parts)
/external/python/cpython2/Lib/wsgiref/
Dutil.py93 path_parts = path_info.split('/')
94 path_parts[1:-1] = [p for p in path_parts[1:-1] if p and p != '.']
95 name = path_parts[1]
96 del path_parts[1]
106 environ['PATH_INFO'] = '/'.join(path_parts)
/external/chromium-trace/catapult/systrace/systrace/
D__init__.py7 def _JoinPath(*path_parts): argument
8 return os.path.abspath(os.path.join(*path_parts))
11 def _AddDirToPythonPath(*path_parts): argument
12 path = _JoinPath(*path_parts)
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc127 grpc_slice_buffer path_parts; in CreateSockaddrResolver() local
128 grpc_slice_buffer_init(&path_parts); in CreateSockaddrResolver()
129 grpc_slice_split(path_slice, ",", &path_parts); in CreateSockaddrResolver()
131 path_parts.count, nullptr /* user_data_vtable */); in CreateSockaddrResolver()
135 char* part_str = grpc_slice_to_c_string(path_parts.slices[i]); in CreateSockaddrResolver()
143 grpc_slice_buffer_destroy_internal(&path_parts); in CreateSockaddrResolver()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dshell_util.py33 def CallProgram(path_parts, *args, **kwargs): argument
36 args = [_os.path.join(*path_parts)] + list(args)
D__init__.py62 def _AddDirToPythonPath(*path_parts): argument
63 path = os.path.abspath(os.path.join(*path_parts))
/external/toolchain-utils/automation/clients/report/dejagnu/
Dsummary.py47 path_parts = path.split('/')
49 index = path_parts.index('testsuite')
50 path = '/'.join(path_parts[index + 1:])
52 path = '/'.join(path_parts)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
D__init__.py15 def _AddDirToPythonPath(*path_parts): argument
16 path = os.path.abspath(os.path.join(*path_parts))
/external/python/cpython2/Lib/
DCGIHTTPServer.py318 path_parts = path.split('/')
320 for part in path_parts[:-1]:
325 if path_parts:
326 tail_part = path_parts.pop()
/external/python/cpython2/Lib/test/
Dtest_site.py82 path_parts = ("Beginning", "End")
83 original_dir = os.path.join(*path_parts)
84 abs_dir, norm_dir = site.makepath(*path_parts)
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py56 def _path_join(*path_parts): argument
59 for part in path_parts if part])
964 path_parts = []
968 path_parts.append(part)
970 for part in reversed(path_parts):
/external/python/cpython3/Lib/http/
Dserver.py903 path_parts = path.split('/')
905 for part in path_parts[:-1]:
910 if path_parts:
911 tail_part = path_parts.pop()
/external/python/cpython3/Lib/test/
Dtest_site.py84 path_parts = ("Beginning", "End")
85 original_dir = os.path.join(*path_parts)
86 abs_dir, norm_dir = site.makepath(*path_parts)
/external/python/setuptools/pkg_resources/
D__init__.py2134 path_parts = path.split(os.sep)
2136 parts = path_parts[:-module_parts]