Searched refs:path_parts (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython3/Lib/wsgiref/ |
D | util.py | 93 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/ |
D | util.py | 93 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__.py | 7 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/ |
D | sockaddr_resolver.cc | 127 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/ |
D | shell_util.py | 33 def CallProgram(path_parts, *args, **kwargs): argument 36 args = [_os.path.join(*path_parts)] + list(args)
|
D | __init__.py | 62 def _AddDirToPythonPath(*path_parts): argument 63 path = os.path.abspath(os.path.join(*path_parts))
|
/external/toolchain-utils/automation/clients/report/dejagnu/ |
D | summary.py | 47 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__.py | 15 def _AddDirToPythonPath(*path_parts): argument 16 path = os.path.abspath(os.path.join(*path_parts))
|
/external/python/cpython2/Lib/ |
D | CGIHTTPServer.py | 318 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/ |
D | test_site.py | 82 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.py | 56 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/ |
D | server.py | 903 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/ |
D | test_site.py | 84 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__.py | 2134 path_parts = path.split(os.sep) 2136 parts = path_parts[:-module_parts]
|