Searched refs:commonprefix (Results 1 – 18 of 18) sorted by relevance
/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/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/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/python/cpython2/Lib/ |
D | genericpath.py | 76 def commonprefix(m): function
|
D | posixpath.py | 434 i = len(commonprefix([start_list, path_list]))
|
D | urllib2.py | 836 common = posixpath.commonprefix((base[1], test[1]))
|
/external/libcxx/test/support/ |
D | filesystem_dynamic_test_helper.py | 22 if os.path.commonprefix([env_path_global, p]):
|
/external/jsoncpp/scons-tools/ |
D | targz.py | 32 common_path = os.path.commonprefix( (base_dir, path) )
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | md5sum.py | 82 prefix = posixpath.commonprefix(paths)
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum.py | 82 prefix = posixpath.commonprefix(paths)
|
/external/python/cpython2/Lib/plat-riscos/ |
D | riscospath.py | 171 def commonprefix(m): function
|
/external/harfbuzz_ng/src/ |
D | gen-arabic-table.py | 184 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
|
/external/python/cpython2/Lib/lib2to3/ |
D | main.py | 235 input_base_dir = os.path.commonprefix(args)
|
/external/python/cpython2/Doc/library/ |
D | os.path.rst | 59 .. function:: commonprefix(list)
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 773 prefix = os.path.commonprefix([root_dir, project_dir]) 788 prefix = os.path.commonprefix([root_dir, project_dir])
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 898 prefix = os.path.commonprefix([root_dir, project_dir]) 913 prefix = os.path.commonprefix([root_dir, project_dir])
|
/external/python/cpython2/Misc/ |
D | HISTORY | 1759 - Patch #1105730: Apply the new implementation of commonprefix in posixpath 9117 os.path -- fix semantics of os.path.commonprefix
|