Home
last modified time | relevance | path

Searched refs:commonprefix (Results 1 – 25 of 36) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_genericpath.py34 commonprefix = self.pathmodule.commonprefix
36 commonprefix([]),
40 commonprefix(["/home/swenson/spam", "/home/swen/spam"]),
44 commonprefix(["/home/swen/spam", "/home/swen/eggs"]),
48 commonprefix(["/home/swen/spam", "/home/swen/spam"]),
52 commonprefix(["home:swenson:spam", "home:swen:spam"]),
56 commonprefix([":home:swen:spam", ":home:swen:eggs"]),
60 commonprefix([":home:swen:spam", ":home:swen:spam"]),
68 p = commonprefix([s1, s2])
/external/python/cpython3/Lib/test/
Dtest_genericpath.py33 commonprefix = self.pathmodule.commonprefix
35 commonprefix([]),
39 commonprefix(["/home/swenson/spam", "/home/swen/spam"]),
43 commonprefix(["/home/swen/spam", "/home/swen/eggs"]),
47 commonprefix(["/home/swen/spam", "/home/swen/spam"]),
51 commonprefix(["home:swenson:spam", "home:swen:spam"]),
55 commonprefix([":home:swen:spam", ":home:swen:eggs"]),
59 commonprefix([":home:swen:spam", ":home:swen:spam"]),
64 commonprefix([b"/home/swenson/spam", b"/home/swen/spam"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
[all …]
/external/clang/tools/scan-build-py/tests/unit/
Dtest_report.py132 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
136 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
140 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
144 sut.commonprefix(['/tmp/a.c']), '/tmp')
148 sut.commonprefix([]), '')
/external/python/cpython3/Lib/unittest/
Dutil.py4 from os.path import commonprefix
30 prefix = commonprefix(args)
/external/clang/tools/scan-build-py/libscanbuild/
Dreport.py516 return commonprefix(item['file'] for item in json.load(handle))
519 def commonprefix(files): function
526 result = os.path.commonprefix([result, current])
/external/jsoncpp/devtools/
Dtarball.py20 common_path = os.path.commonprefix( (base_dir, path) )
/external/angle/third_party/jsoncpp/source/devtools/
Dtarball.py25 common_path = os.path.commonprefix((base_dir, path))
/external/python/cpython2/Lib/
Dgenericpath.py76 def commonprefix(m): function
Dposixpath.py434 i = len(commonprefix([start_list, path_list]))
/external/perfetto/tools/
Dgen_merged_sql_metrics.py80 root_path = os.path.commonprefix([os.path.abspath(x) for x in args.sql_files])
Dinstall-build-deps380 assert (os.path.commonprefix((ROOT_DIR, zip_target_dir)) == ROOT_DIR)
/external/jsoncpp/scons-tools/
Dtargz.py32 common_path = os.path.commonprefix( (base_dir, path) )
/external/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py24 if os.path.commonprefix([env_path_global, p]):
/external/python/cpython3/Lib/
Dgenericpath.py69 def commonprefix(m): function
Dposixpath.py474 i = len(commonprefix([start_list, path_list]))
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum.py82 prefix = posixpath.commonprefix(paths)
/external/autotest/site_utils/lxc/
Dutils.py240 return os.path.commonprefix([parent, subdir]) == parent
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py171 def commonprefix(m): function
/external/harfbuzz_ng/src/
Dgen-arabic-table.py185 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
/external/autotest/client/common_lib/cros/
Dtest_webrtc_peer_connection.py170 base_dir = os.path.commonprefix(
/external/python/cpython3/Lib/lib2to3/
Dmain.py234 input_base_dir = os.path.commonprefix(args)
/external/python/cpython2/Lib/lib2to3/
Dmain.py235 input_base_dir = os.path.commonprefix(args)
/external/python/cpython3/Doc/library/
Dos.path.rst92 if *paths* is empty. Unlike :func:`commonprefix`, this returns a
103 .. function:: commonprefix(list)
117 >>> os.path.commonprefix(['/usr/lib', '/usr/local/lib'])
/external/tensorflow/tensorflow/python/framework/
Derror_interpolation.py425 return os.path.split(os.path.commonprefix(list(files)))[0]
/external/autotest/server/cros/tradefed/
Dgenerate_controlfiles_common.py930 prefix = os.path.commonprefix(d[key])

12