/external/python/cpython2/Lib/test/ |
D | test_genericpath.py | 34 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/ |
D | test_genericpath.py | 33 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/ |
D | test_report.py | 132 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/ |
D | util.py | 4 from os.path import commonprefix 30 prefix = commonprefix(args)
|
/external/clang/tools/scan-build-py/libscanbuild/ |
D | report.py | 516 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/ |
D | tarball.py | 20 common_path = os.path.commonprefix( (base_dir, path) )
|
/external/angle/third_party/jsoncpp/source/devtools/ |
D | tarball.py | 25 common_path = os.path.commonprefix((base_dir, path))
|
/external/python/cpython2/Lib/ |
D | genericpath.py | 76 def commonprefix(m): function
|
D | posixpath.py | 434 i = len(commonprefix([start_list, path_list]))
|
/external/perfetto/tools/ |
D | gen_merged_sql_metrics.py | 80 root_path = os.path.commonprefix([os.path.abspath(x) for x in args.sql_files])
|
D | install-build-deps | 380 assert (os.path.commonprefix((ROOT_DIR, zip_target_dir)) == ROOT_DIR)
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 32 common_path = os.path.commonprefix( (base_dir, path) )
|
/external/libcxx/test/support/ |
D | filesystem_dynamic_test_helper.py | 24 if os.path.commonprefix([env_path_global, p]):
|
/external/python/cpython3/Lib/ |
D | genericpath.py | 69 def commonprefix(m): function
|
D | posixpath.py | 474 i = len(commonprefix([start_list, path_list]))
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum.py | 82 prefix = posixpath.commonprefix(paths)
|
/external/autotest/site_utils/lxc/ |
D | utils.py | 240 return os.path.commonprefix([parent, subdir]) == parent
|
/external/python/cpython2/Lib/plat-riscos/ |
D | riscospath.py | 171 def commonprefix(m): function
|
/external/harfbuzz_ng/src/ |
D | gen-arabic-table.py | 185 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
|
/external/autotest/client/common_lib/cros/ |
D | test_webrtc_peer_connection.py | 170 base_dir = os.path.commonprefix(
|
/external/python/cpython3/Lib/lib2to3/ |
D | main.py | 234 input_base_dir = os.path.commonprefix(args)
|
/external/python/cpython2/Lib/lib2to3/ |
D | main.py | 235 input_base_dir = os.path.commonprefix(args)
|
/external/python/cpython3/Doc/library/ |
D | os.path.rst | 92 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/ |
D | error_interpolation.py | 425 return os.path.split(os.path.commonprefix(list(files)))[0]
|
/external/autotest/server/cros/tradefed/ |
D | generate_controlfiles_common.py | 930 prefix = os.path.commonprefix(d[key])
|