Home
last modified time | relevance | path

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

/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/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/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/python/cpython2/Lib/
Dgenericpath.py76 def commonprefix(m): function
Dposixpath.py434 i = len(commonprefix([start_list, path_list]))
Durllib2.py836 common = posixpath.commonprefix((base[1], test[1]))
/external/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py22 if os.path.commonprefix([env_path_global, p]):
/external/jsoncpp/scons-tools/
Dtargz.py32 common_path = os.path.commonprefix( (base_dir, path) )
/external/libmojo/third_party/catapult/devil/devil/android/
Dmd5sum.py82 prefix = posixpath.commonprefix(paths)
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum.py82 prefix = posixpath.commonprefix(paths)
/external/python/cpython2/Lib/plat-riscos/
Driscospath.py171 def commonprefix(m): function
/external/harfbuzz_ng/src/
Dgen-arabic-table.py184 names[items[0]] = os.path.commonprefix ([names[items[0]], fields[1]]).strip ()
/external/python/cpython2/Lib/lib2to3/
Dmain.py235 input_base_dir = os.path.commonprefix(args)
/external/python/cpython2/Doc/library/
Dos.path.rst59 .. function:: commonprefix(list)
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py773 prefix = os.path.commonprefix([root_dir, project_dir])
788 prefix = os.path.commonprefix([root_dir, project_dir])
/external/libvpx/libvpx/tools/
Dcpplint.py898 prefix = os.path.commonprefix([root_dir, project_dir])
913 prefix = os.path.commonprefix([root_dir, project_dir])
/external/python/cpython2/Misc/
DHISTORY1759 - Patch #1105730: Apply the new implementation of commonprefix in posixpath
9117 os.path -- fix semantics of os.path.commonprefix