Home
last modified time | relevance | path

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

12345678910>>...34

/dports/lang/spidermonkey60/firefox-60.9.0/python/mozlint/mozlint/formatters/
H A Dsummary.py19 commonprefix = mozpath.commonprefix([mozpath.abspath(p) for p in result])
20 commonprefix = commonprefix.rsplit('/', 1)[0] + '/'
25 assert path.startswith(commonprefix)
27 if path == commonprefix:
31 parts = mozpath.split(mozpath.relpath(path, commonprefix))[:self.depth]
32 path = mozpath.join(commonprefix, *parts)
/dports/www/firefox-esr/firefox-91.8.0/python/mozlint/mozlint/formatters/
H A Dsummary.py22 commonprefix = mozpath.commonprefix([mozpath.abspath(p) for p in paths])
23 commonprefix = commonprefix.rsplit("/", 1)[0] + "/"
28 assert abspath.startswith(commonprefix)
30 if abspath != commonprefix:
31 parts = mozpath.split(mozpath.relpath(abspath, commonprefix))[
34 abspath = mozpath.join(commonprefix, *parts)
/dports/www/firefox/firefox-99.0/python/mozlint/mozlint/formatters/
H A Dsummary.py22 commonprefix = mozpath.commonprefix([mozpath.abspath(p) for p in paths])
23 commonprefix = commonprefix.rsplit("/", 1)[0] + "/"
28 assert abspath.startswith(commonprefix)
30 if abspath != commonprefix:
31 parts = mozpath.split(mozpath.relpath(abspath, commonprefix))[
34 abspath = mozpath.join(commonprefix, *parts)
/dports/mail/thunderbird/thunderbird-91.8.0/python/mozlint/mozlint/formatters/
H A Dsummary.py22 commonprefix = mozpath.commonprefix([mozpath.abspath(p) for p in paths])
23 commonprefix = commonprefix.rsplit("/", 1)[0] + "/"
28 assert abspath.startswith(commonprefix)
30 if abspath != commonprefix:
31 parts = mozpath.split(mozpath.relpath(abspath, commonprefix))[
34 abspath = mozpath.join(commonprefix, *parts)
/dports/lang/spidermonkey78/firefox-78.9.0/python/mozlint/mozlint/formatters/
H A Dsummary.py21 commonprefix = mozpath.commonprefix([mozpath.abspath(p) for p in paths])
22 commonprefix = commonprefix.rsplit('/', 1)[0] + '/'
27 assert abspath.startswith(commonprefix)
29 if abspath != commonprefix:
30 parts = mozpath.split(mozpath.relpath(abspath, commonprefix))[:self.depth]
31 abspath = mozpath.join(commonprefix, *parts)
/dports/devel/py-mypy/mypy-0.910/test-data/stdlib-samples/3.2/test/
H A Dtest_genericpath.py39 commonprefix = self.pathmodule.commonprefix
41 commonprefix([]),
45 commonprefix(["/home/swenson/spam", "/home/swen/spam"]),
49 commonprefix(["/home/swen/spam", "/home/swen/eggs"]),
53 commonprefix(["/home/swen/spam", "/home/swen/spam"]),
57 commonprefix(["home:swenson:spam", "home:swen:spam"]),
61 commonprefix([":home:swen:spam", ":home:swen:eggs"]),
65 commonprefix([":home:swen:spam", ":home:swen:spam"]),
74 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
78 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A 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])
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A 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])
/dports/lang/python27/Python-2.7.18/Lib/test/
H A 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])
/dports/lang/python37/Python-3.7.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/sysutils/bulk_extractor/bulk_extractor-2.0.0-beta2/python/
H A Dbulk_extractor_reader.py146 self.commonprefix=''
171 self.commonprefix = os.path.commonprefix(self.zipfile.namelist())
172 while len(self.commonprefix)>0 and self.commonprefix[-1]!='/':
173 self.commonprefix=self.commonprefix[0:-1]
261 if fn.startswith(self.commonprefix):
262 return fn[len(self.commonprefix):]
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stdlib/@python2/
H A Dgenericpath.pyi9 def commonprefix(m: Sequence[str]) -> Union[str, Literal[""]]: ... # type: ignore
11 def commonprefix(m: Sequence[Text]) -> Text: ... # type: ignore
13 def commonprefix(m: Sequence[List[SupportsLessThanT]]) -> Sequence[SupportsLessThanT]: ...
15 def commonprefix(m: Sequence[Tuple[SupportsLessThanT, ...]]) -> Sequence[SupportsLessThanT]: ...
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A 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"]),
69 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
73 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A 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"]),
69 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
73 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A 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"]),
68 commonprefix([b"/home/swen/spam", b"/home/swen/eggs"]),
72 commonprefix([b"/home/swen/spam", b"/home/swen/spam"]),
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py131 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
135 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
139 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
143 sut.commonprefix(['/tmp/a.c']), '/tmp')
147 sut.commonprefix([]), '')
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py131 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
135 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
139 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
143 sut.commonprefix(['/tmp/a.c']), '/tmp')
147 sut.commonprefix([]), '')
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py131 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
135 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
139 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
143 sut.commonprefix(['/tmp/a.c']), '/tmp')
147 sut.commonprefix([]), '')
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py131 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
135 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
139 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
143 sut.commonprefix(['/tmp/a.c']), '/tmp')
147 sut.commonprefix([]), '')
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/tools/scan-build-py/tests/unit/
H A Dtest_report.py131 sut.commonprefix(['/tmp/a.c', '/tmp/b.c']), '/tmp')
135 sut.commonprefix(['/tmp/abs/a.c', '/tmp/ack/b.c']), '/tmp')
139 sut.commonprefix(['/tmp/abs/a.c', '/usr/ack/b.c']), '/')
143 sut.commonprefix(['/tmp/a.c']), '/tmp')
147 sut.commonprefix([]), '')

12345678910>>...34