Home
last modified time | relevance | path

Searched refs:rpartition (Results 1 – 25 of 71) sorted by relevance

123

/external/python/cpython3/Lib/urllib/
Dparse.py181 userinfo, have_info, hostinfo = netloc.rpartition('@')
193 _, _, hostinfo = netloc.rpartition('@')
211 userinfo, have_info, hostinfo = netloc.rpartition(b'@')
223 _, _, hostinfo = netloc.rpartition(b'@')
403 _, _, netloc = netloc.rpartition('@') # anything to the left of '@' is okay
996 user, delim, host = host.rpartition('@')
1024 host, delim, port = host.rpartition(':')
1037 path, delim, query = url.rpartition('?')
1044 path, delim, tag = url.rpartition('#')
/external/autotest/venv/lucifer/
Dautotest.py143 and fullname.rpartition('.')[-1] == 'common')
152 mod.__package__ = fullname.rpartition('.')[0]
/external/python/cpython3/Lib/importlib/
Dutil.py92 parent_name = fullname.rpartition('.')[0]
158 module.__package__ = module.__package__.rpartition('.')[0]
212 module.__package__ = fullname.rpartition('.')[0]
D_bootstrap.py420 return self.name.rpartition('.')[0]
653 module.__package__ = spec.name.rpartition('.')[0]
950 parent = name.rpartition('.')[0]
971 setattr(parent_module, name.rpartition('.')[2], module)
1070 package = package.rpartition('.')[0]
D_bootstrap_external.py65 front, _, tail = path.rpartition(path_sep)
298 base, sep, rest = tail.rpartition('.')
359 rest, _, extension = bytecode_path.rpartition('.')
716 tail_name = fullname.rpartition('.')[2]
1089 parent, dot, me = self._name.rpartition('.')
1362 tail_module = fullname.rpartition('.')[2]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_idioms.py141 prefix_lines = (btwn.rpartition("\n")[0], next_stmt[0].prefix)
152 end_line.prefix = btwn.rpartition("\n")[0]
/external/autotest/server/cros/update_engine/
Dupdate_engine_test.py331 archive_url, _, filename = payload_uri.rpartition('/')
386 regex = 'chromeos_%s*_full_*' % build.rpartition('/')[2]
389 regex = 'chromeos_%s*_delta_*' % build.rpartition('/')[2]
409 split_url = staged_url.rpartition('/static/')
443 payload_filename = payload_url.rpartition('/')[2]
Dchromiumos_test_platform.py79 archive_url, _, payload_file = payload_uri.rpartition('/')
88 build_name = build_name.rpartition('/')[0]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_idioms.py141 prefix_lines = (btwn.rpartition(u"\n")[0], next_stmt[0].prefix)
152 end_line.prefix = btwn.rpartition(u"\n")[0]
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_api.py83 fromlist=[SUBMOD_NAME.rpartition('.')[-1]])
96 fromlist=[SUBMOD_NAME.rpartition('.')[-1]])
/external/python/setuptools/setuptools/tests/
Dtest_msvc.py39 k.rpartition('\\')[2]
48 (k.rpartition('\\')[2], hive[k])
/external/python/cpython3/Tools/scripts/
Dsuff.py21 name, sep, suff = filename.rpartition('.')
/external/grpc-grpc/
Dgrpc.bzl30 elements = src.rpartition('/')
35 elements = src.rpartition('/')
/external/python/cpython3/Tools/stringbench/
Dstringbench.py447 s1_rpartition = s1.rpartition
455 s1_rpartition = s1.rpartition
464 s1_rpartition = s1.rpartition
472 s1_rpartition = s1.rpartition
480 s1_rpartition = s1.rpartition
492 s1_rpartition = s1.rpartition
799 s_rpartition = s.rpartition
/external/python/cpython3/Lib/test/
Dtest_runpy.py299 "__package__": mod_name.rpartition(".")[0],
333 pkg_name = mod_name.rpartition(".")[0]
405 pkg_name = mod_name.rpartition('.')[0]
545 "__package__": mod_name.rpartition(".")[0],
643 expected_ns["__package__"] = run_name.rpartition(".")[0]
Dtest___all__.py85 m = m.rpartition('.')[0]
/external/python/cpython2/Lib/
Drunpy.py169 pkg_name = mod_name.rpartition('.')[0]
185 pkg_name = mod_name.rpartition('.')[0]
/external/libchrome/third_party/markupsafe/
D__init__.py188 def rpartition(self, sep): member in Markup
190 text_type.rpartition(self, self.escape(sep))))
/external/autotest/server/site_tests/autoupdate_EndToEndTest/
Dautoupdate_EndToEndTest.py184 build_uri = payload_uri.rpartition('/')[0]
186 build_uri = build_uri.rpartition('/')[0]
/external/python/cpython3/Lib/
Drunpy.py105 pkg_name, _, _ = mod_name.rpartition(".")
251 pkg_name = run_name.rpartition(".")[0]
/external/python/oauth2client/scripts/
Dfetch_gae_sdk.py37 version_string = os.path.splitext(v['name'])[0].rpartition('_')[2]
/external/libcxx/utils/libcxx/android/
Dexecutors.py55 out, delim, rc_str = out.rpartition(delimiter)
/external/python/setuptools/setuptools/
Dnamespaces.py76 parent, sep, child = pkg.rpartition('.')
/external/python/setuptools/setuptools/command/
Dinstall_lib.py47 pkg_name, sep, child = pkg_name.rpartition('.')
/external/python/cpython2/Lib/test/
Dtest___all__.py97 m = m.rpartition('.')[0]

123