Home
last modified time | relevance | path

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

1234

/external/autotest/server/cros/update_engine/
Dupdate_engine_test.py333 archive_url, _, filename = payload_uri.rpartition('/')
415 regex = 'chromeos_%s*_full_*' % build.rpartition('/')[2]
418 regex = 'chromeos_%s*_delta_*' % build.rpartition('/')[2]
482 build_uri = payload_uri.rpartition('/')[0]
484 build_uri = build_uri.rpartition('/')[0]
497 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/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/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.py393 return self.name.rpartition('.')[0]
640 module.__package__ = spec.name.rpartition('.')[0]
958 parent = name.rpartition('.')[0]
979 setattr(parent_module, name.rpartition('.')[2], module)
1077 package = package.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/autotest/venv/lucifer/
Dautotest.py144 and fullname.rpartition('.')[-1] == 'common')
153 mod.__package__ = fullname.rpartition('.')[0]
/external/autotest/client/site_tests/autoupdate_StartOOBEUpdate/
Dautoupdate_StartOOBEUpdate.py99 base_url = ''.join(image_url.rpartition('/')[0:2])
134 base_url = ''.join(image_url.rpartition('/')[0:2])
/external/python/cpython3/Lib/urllib/
Dparse.py186 userinfo, have_info, hostinfo = netloc.rpartition('@')
198 _, _, hostinfo = netloc.rpartition('@')
216 userinfo, have_info, hostinfo = netloc.rpartition(b'@')
228 _, _, hostinfo = netloc.rpartition(b'@')
1027 user, delim, host = host.rpartition('@')
1079 host, delim, port = host.rpartition(':')
1100 path, delim, query = url.rpartition('?')
1115 path, delim, tag = url.rpartition('#')
/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/tensorflow/tensorflow/python/tpu/
Dtpu.bzl92 name = src.rpartition(":")[-1].rpartition("/")[-1] # Get basename.
/external/grpc-grpc/
Dgrpc.bzl30 elements = src.rpartition('/')
35 elements = src.rpartition('/')
/external/autotest/client/site_tests/autoupdate_UrlSwitch/
Dautoupdate_UrlSwitch.py26 base_url = ''.join(image_url.rpartition('/')[0:2])
/external/libchrome/third_party/markupsafe/
D__init__.py188 def rpartition(self, sep): member in Markup
190 text_type.rpartition(self, self.escape(sep))))
/external/python/cpython2/Lib/
Drunpy.py169 pkg_name = mod_name.rpartition('.')[0]
185 pkg_name = mod_name.rpartition('.')[0]
/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.py297 "__package__": mod_name.rpartition(".")[0],
331 pkg_name = mod_name.rpartition(".")[0]
403 pkg_name = mod_name.rpartition('.')[0]
543 "__package__": mod_name.rpartition(".")[0],
641 expected_ns["__package__"] = run_name.rpartition(".")[0]
/external/autotest/client/site_tests/autoupdate_BadMetadata/
Dautoupdate_BadMetadata.py46 base_url = ''.join(image_url.rpartition('/')[0:2])
/external/python/oauth2client/scripts/
Dfetch_gae_sdk.py37 version_string = os.path.splitext(v['name'])[0].rpartition('_')[2]
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py64 base_url = ''.join(image_url.rpartition('/')[0:2])
/external/python/cpython3/Lib/
Drunpy.py106 pkg_name, _, _ = mod_name.rpartition(".")
252 pkg_name = run_name.rpartition(".")[0]
/external/libcxx/utils/libcxx/android/
Dexecutors.py55 out, delim, rc_str = out.rpartition(delimiter)
/external/autotest/client/site_tests/policy_DeviceTargetVersionPrefix/
Dpolicy_DeviceTargetVersionPrefix.py104 base_url = ''.join(image_url.rpartition('/')[0:2])

1234