Home
last modified time | relevance | path

Searched refs:parent_path (Results 1 – 25 of 3214) sorted by relevance

12345678910>>...129

/dports/www/seahub/seahub-8.0.7-server/seahub/tags/
H A Dmodels.py35 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path)
38 uuid = self.model(repo_id=repo_id, parent_path=parent_path,
53 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path)
65 repo_id, parent_path = self.model.get_origin_repo_id_and_parent_path(repo_id, parent_path)
66 parent_path = FileUUIDMap.normalize_path(parent_path)
68 repo_id=repo_id, parent_path=parent_path
191 parent_path = models.TextField() variable in FileUUIDMap
198 parent_path = parent_path.rstrip('/') if parent_path != '/' else '/'
210 parent_path = posixpath.join(repo.origin_path, parent_path.strip('/'))
211 return repo_id, parent_path
[all …]
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc32 VERIFY( p0.parent_path() == p0 ); in test01()
34 VERIFY( p1.parent_path() == p0 ); in test01()
36 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
40 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p4.parent_path() == p4 ); in test01()
62 VERIFY( p.parent_path() == p ); in test02()
76 auto pp = p.parent_path(); in test03()
78 pp = pp.parent_path().parent_path(); in test03()
82 pp = from_lval.parent_path(); in test03()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc32 VERIFY( p0.parent_path() == p0 ); in test01()
34 VERIFY( p1.parent_path() == p0 ); in test01()
36 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
40 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p4.parent_path() == p4 ); in test01()
62 VERIFY( p.parent_path() == p ); in test02()
76 auto pp = p.parent_path(); in test03()
78 pp = pp.parent_path().parent_path(); in test03()
82 pp = from_lval.parent_path(); in test03()
[all …]
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc32 VERIFY( p0.parent_path() == p0 ); in test01()
34 VERIFY( p1.parent_path() == p0 ); in test01()
36 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
40 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p4.parent_path() == p4 ); in test01()
62 VERIFY( p.parent_path() == p ); in test02()
76 auto pp = p.parent_path(); in test03()
78 pp = pp.parent_path().parent_path(); in test03()
82 pp = from_lval.parent_path(); in test03()
[all …]
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
63 VERIFY( p.parent_path() == p ); in test02()
77 auto pp = p.parent_path(); in test03()
79 pp = pp.parent_path().parent_path(); in test03()
83 pp = from_lval.parent_path(); in test03()
[all …]
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc32 VERIFY( p0.parent_path() == p0 ); in test01()
34 VERIFY( p1.parent_path() == p0 ); in test01()
36 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
40 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p4.parent_path() == p4 ); in test01()
62 VERIFY( p.parent_path() == p ); in test02()
76 auto pp = p.parent_path(); in test03()
78 pp = pp.parent_path().parent_path(); in test03()
82 pp = from_lval.parent_path(); in test03()
[all …]
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
63 VERIFY( p.parent_path() == p ); in test02()
77 auto pp = p.parent_path(); in test03()
79 pp = pp.parent_path().parent_path(); in test03()
83 pp = from_lval.parent_path(); in test03()
[all …]
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
63 VERIFY( p.parent_path() == p ); in test02()
77 auto pp = p.parent_path(); in test03()
79 pp = pp.parent_path().parent_path(); in test03()
83 pp = from_lval.parent_path(); in test03()
[all …]
/dports/sysutils/py-pytsk/pytsk3-20210419/sleuthkit/tsk/auto/
H A Dtsk_db.cpp48 parent_path[0] = '\0'; in getParentPathAndName()
72 sprintf(parent_path, "%s", "/"); in getParentPathAndName()
75 strncat(parent_path, path, MAX_PATH_LENGTH); in getParentPathAndName()
78 if (parent_path[strlen(parent_path)-1] == '/') { in getParentPathAndName()
79 parent_path[strlen(parent_path)-1] = '\0'; in getParentPathAndName()
83 tsk_cleanupUTF8(parent_path, '^'); in getParentPathAndName()
88 char *chptr = strrchr(parent_path, '/'); in getParentPathAndName()
91 size_t position = chptr - parent_path; in getParentPathAndName()
96 parent_path[position + 1] = '\0'; // add terminating null after last "/" in getParentPathAndName()
97 *ret_parent_path = parent_path; in getParentPathAndName()
[all …]
/dports/sysutils/sleuthkit/sleuthkit-4.7.0/tsk/auto/
H A Dtsk_db.cpp56 parent_path[0] = '\0'; in getParentPathAndName()
80 sprintf(parent_path, "%s", "/"); in getParentPathAndName()
83 strncat(parent_path, path, MAX_PATH_LENGTH); in getParentPathAndName()
86 if (parent_path[strlen(parent_path)-1] == '/') { in getParentPathAndName()
87 parent_path[strlen(parent_path)-1] = '\0'; in getParentPathAndName()
91 tsk_cleanupUTF8(parent_path, '^'); in getParentPathAndName()
96 char *chptr = strrchr(parent_path, '/'); in getParentPathAndName()
99 size_t position = chptr - parent_path; in getParentPathAndName()
104 parent_path[position + 1] = '\0'; // add terminating null after last "/" in getParentPathAndName()
105 *ret_parent_path = parent_path; in getParentPathAndName()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path() == path("/foo") ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
60 VERIFY( p.parent_path() == pp ); in test02()
63 VERIFY( p.parent_path() == p ); in test02()
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path() == path("/foo") ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
60 VERIFY( p.parent_path() == pp ); in test02()
63 VERIFY( p.parent_path() == p ); in test02()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc34 VERIFY( p0.parent_path() == p0 ); in test01()
36 VERIFY( p1.parent_path() == p0 ); in test01()
38 VERIFY( p2.parent_path() == p1 ); in test01()
40 VERIFY( p3.parent_path() == path("/foo") ); in test01()
41 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
42 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
44 VERIFY( p4.parent_path() == p4 ); in test01()
61 VERIFY( p.parent_path() == pp ); in test02()
64 VERIFY( p.parent_path() == p ); in test02()
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/27_io/filesystem/path/decompose/
H A Dparent_path.cc33 VERIFY( p0.parent_path() == p0 ); in test01()
35 VERIFY( p1.parent_path() == p0 ); in test01()
37 VERIFY( p2.parent_path() == p1 ); in test01()
39 VERIFY( p3.parent_path() == path("/foo") ); in test01()
40 VERIFY( p3.parent_path().parent_path() == path("/") ); in test01()
41 VERIFY( p3.parent_path().parent_path().parent_path() == path("/") ); in test01()
43 VERIFY( p4.parent_path() == p4 ); in test01()
60 VERIFY( p.parent_path() == pp ); in test02()
63 VERIFY( p.parent_path() == p ); in test02()
/dports/lang/parrot/parrot-8.1.0/lib/Parrot/IO/
H A DPath.pm63 my $parent_path = File::Spec->catpath( $volume, $directories, '' );
66 $parent_path = File::Spec->canonpath($parent_path);
69 undef $parent_path if $parent_path eq $path;
74 PARENT_PATH => $parent_path,
98 return 1 unless $self->parent_path;
100 unless ( -e $self->parent_path ) {
103 mkpath( [ $self->parent_path ], 0, 0777 );
106 return -e $self->parent_path;
198 sub parent_path { subroutine
/dports/science/chrono/chrono-7.0.1/src/chrono_thirdparty/filesystem/
H A Dpath_demo.cpp19 cout << (path1/path2).parent_path() << endl; in main()
20 cout << (path1/path2).parent_path().parent_path() << endl; in main()
21 cout << (path1/path2).parent_path().parent_path().parent_path() << endl; in main()
22 cout << (path1/path2).parent_path().parent_path().parent_path().parent_path() << endl; in main()
23 cout << path().parent_path() << endl; in main()
/dports/devel/viewvc-devel/viewvc-c93d9da79c31457ecb0a771ff52d28353dc6e878/lib/vclib/ccvs/
H A D__init__.py30 def expand_root_parent(parent_path): argument
35 assert os.path.isabs(parent_path)
37 subpaths = os.listdir(parent_path)
39 rootpath = os.path.join(parent_path, rootname)
40 if _is_cvsroot(parent_path) or _is_cvsroot(rootpath):
45 def find_root_in_parent(parent_path, rootname): argument
52 assert os.path.isabs(parent_path)
53 rootpath = os.path.join(parent_path, rootname)
54 if (_is_cvsroot(parent_path) and os.path.exists(rootpath)) \
/dports/science/orthanc-webviewer/OrthancWebViewer-2.7/ThirdPartyDownloads/Orthanc-1.8.1/OrthancFramework/Sources/FileStorage/
H A DFilesystemStorage.cpp134 if (boost::filesystem::exists(path.parent_path())) in Create()
136 if (!boost::filesystem::is_directory(path.parent_path())) in Create()
143 if (!boost::filesystem::create_directories(path.parent_path())) in Create()
191 fs::path p0 = d.parent_path().parent_path().parent_path(); in ListAllFiles()
192 std::string p1 = ToString(d.parent_path().parent_path()); in ListAllFiles()
193 std::string p2 = ToString(d.parent_path()); in ListAllFiles()
253 fs::remove(p.parent_path(), err); in Remove()
254 fs::remove(p.parent_path().parent_path(), err); in Remove()
256 fs::remove(p.parent_path()); in Remove()
257 fs::remove(p.parent_path().parent_path()); in Remove()
/dports/graphics/py-plotly/plotly-4.14.3/plotly/
H A Dvalidator_cache.py9 def get_validator(parent_path, prop_name): argument
11 key = (parent_path, prop_name)
14 if "." not in parent_path and prop_name == "type":
16 validator = LiteralValidator("type", parent_path, parent_path)
19 if parent_path == "layout":
29 importlib.import_module("plotly.validators." + parent_path),
/dports/science/orthanc-mysql/OrthancMySQL-4.3/MySQL/ThirdPartyDownloads/Orthanc-1.9.3/OrthancFramework/Sources/FileStorage/
H A DFilesystemStorage.cpp138 if (boost::filesystem::exists(path.parent_path())) in Create()
140 if (!boost::filesystem::is_directory(path.parent_path())) in Create()
147 if (!boost::filesystem::create_directories(path.parent_path())) in Create()
218 fs::path p0 = d.parent_path().parent_path().parent_path(); in ListAllFiles()
219 std::string p1 = ToString(d.parent_path().parent_path()); in ListAllFiles()
220 std::string p2 = ToString(d.parent_path()); in ListAllFiles()
280 fs::remove(p.parent_path(), err); in Remove()
281 fs::remove(p.parent_path().parent_path(), err); in Remove()
283 fs::remove(p.parent_path()); in Remove()
284 fs::remove(p.parent_path().parent_path()); in Remove()

12345678910>>...129