Home
last modified time | relevance | path

Searched refs:get_path (Results 1 – 25 of 3675) sorted by relevance

12345678910>>...147

/dports/devel/p5-File-Find-Object/File-Find-Object-v0.3.2/t/
H A D03traverse.t113 $t->get_path("./$test_dir/a/b.doc"),
114 $t->get_path("./$test_dir/foo"),
124 [(map { $t->get_path("$test_dir/$_") }
136 rmtree($t->get_path("./$test_dir"))
201 $t->get_path("./$test_dir/foo"),
203 $t->get_path("./$test_dir/bar"),
205 $t->get_path("./$test_dir/daps"),
215 [(map { $t->get_path("$test_dir/$_") }
229 rmtree($t->get_path("./$test_dir"))
291 chmod (0000, $t->get_path("$test_dir/bar"));
[all …]
H A D02tree-create.t25 is ($t->get_path("./t/file.txt"), File::Spec->catfile(File::Spec->curdir(), "t", "file.txt"));
28 is ($t->get_path("./t/mydir/"), File::Spec->catdir(File::Spec->curdir(), "t", "mydir"));
34 …is ($t->get_path("./one/two/three/four/"), File::Spec->catdir(File::Spec->curdir(), "one", "two", …
64 mkdir ($t->get_path("./t/sample-data/tree-create-ls-test"));
65 mkdir ($t->get_path("./t/sample-data/tree-create-ls-test/a"));
67 open my $out_fh, ">", $t->get_path("./t/sample-data/tree-create-ls-test/b.txt");
71 mkdir ($t->get_path("./t/sample-data/tree-create-ls-test/c"));
73 open my $out_fh, ">", $t->get_path("./t/sample-data/tree-create-ls-test/h.xls");
83 rmtree ($t->get_path("./t/sample-data/tree-create-ls-test"));
159 rmtree ($t->get_path("./t/sample-data/tree-create--tree-test-1"));
[all …]
H A D05prune.t77 $t->get_path("./t/sample-data/prune--traverse-2")
88 $t->get_path("t/sample-data/prune--traverse-2/foo/please-prune-me")
108 [(map { $t->get_path("t/sample-data/prune--traverse-2/$_") }
122 rmtree($t->get_path("./t/sample-data/prune--traverse-2"))
204 $t->get_path("./t/sample-data/prune--traverse-2")
211 $t->get_path("t/sample-data/prune--traverse-2/foo/please-prune-me")
225 [(map { $t->get_path("t/sample-data/prune--traverse-2/$_") }
241 rmtree($t->get_path("./t/sample-data/prune--traverse-2"))
/dports/www/newsboat/newsboat-2.22.1/test/
H A Dconfigpaths.cpp24 home.set(tmp.get_path());
55 home.set(tmp.get_path());
178 home.set(tmp.get_path());
495 home.set(tmp.get_path());
561 home.set(tmp.get_path());
749 home.set(tmp.get_path());
786 home.set(tmp.get_path());
893 home.set(tmp.get_path());
970 home.set(tmp.get_path());
1046 home.set(tmp.get_path());
[all …]
H A Dfslock.cpp79 const std::string non_existing_dir = test_directory.get_path() +
104 REQUIRE_FALSE(lock.try_lock(lock_location.get_path(), pid, error_message));
116 LockProcess lock_process(lock_location.get_path());
123 REQUIRE_FALSE(lock.try_lock(lock_location.get_path(), pid, error_message));
143 REQUIRE(lock.try_lock(lock_location.get_path(), pid, error_message));
146 REQUIRE(0 == ::access(lock_location.get_path().c_str(), F_OK));
150 REQUIRE(lock.try_lock(lock_location.get_path(), pid, error_message));
156 REQUIRE(0 == ::access(lock_location.get_path().c_str(), F_OK));
157 REQUIRE(lock.try_lock(new_lock_location.get_path(), pid, error_message));
158 REQUIRE(0 != ::access(lock_location.get_path().c_str(), F_OK));
[all …]
H A Dfileurlreader.cpp63 TestHelpers::copy_file(testDataPath, urlsFile.get_path());
65 FileUrlReader u(urlsFile.get_path());
70 std::ofstream urlsFileStream(urlsFile.get_path());
77 FileUrlReader u2(urlsFile.get_path());
106 FileUrlReader u(urlsFile.get_path());
114 REQUIRE(error_message.value().find(urlsFile.get_path()) != std::string::npos);
128 TestHelpers::copy_file(testDataPath, urlsFile.get_path());
136 TestHelpers::Chmod notReadable(urlsFile.get_path(), S_IWUSR);
155 TestHelpers::Chmod notWritable(urlsFile.get_path(), S_IRUSR);
180 std::ofstream f(urlsFile.get_path());
[all …]
/dports/devel/p5-Test-TrailingSpace/Test-TrailingSpace-0.0601/t/
H A Dobject-test.t57 rmtree( $t->get_path("./$test_dir") )
104 rmtree( $t->get_path("./$test_dir") )
160 rmtree( $t->get_path("./$test_dir") )
215 rmtree( $t->get_path("./$test_dir") )
281 rmtree( $t->get_path("./$test_dir") )
351 rmtree( $t->get_path("./$test_dir") )
417 rmtree( $t->get_path("./$test_dir") )
468 root => $t->get_path("./$test_dir"),
479 rmtree( $t->get_path("./$test_dir") )
532 rmtree( $t->get_path("./$test_dir") )
[all …]
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/object/
H A Dplatform.cpp55 if (!get_path()) in finish_construction()
61 if (m_starting_node >= static_cast<int>(get_path()->get_nodes().size())) in finish_construction()
75 result.add_walk_mode(_("Path Mode"), &get_path()->m_mode, {}, {}); in get_settings()
76 result.add_bool(_("Adapt Speed"), &get_path()->m_adapt_speed, {}, {}); in get_settings()
97 if (!get_path()) return; in update()
98 if (!get_path()->is_valid()) return; in update()
140 if (!get_path()) return; in editor_update()
141 if (!get_path()->is_valid()) return; in editor_update()
146 set_pos(get_path()->get_nodes()[m_starting_node].position); in editor_update()
177 if (get_path()) { in move_to()
[all …]
H A Dcoin.cpp65 if (get_path()) in finish_construction()
74 m_add_path = get_walker() && get_path() && get_path()->is_valid(); in finish_construction()
93 if (get_path()->is_valid()) { in update()
108 if (!get_path()) return; in editor_update()
109 if (!get_path()->is_valid()) return; in editor_update()
275 if (get_path()) { in move_to()
276 get_path()->move_by(shift); in move_to()
287 m_add_path = get_walker() && get_path() && get_path()->is_valid(); in get_settings()
290 if (get_walker() && get_path()->is_valid()) { in get_settings()
308 if (get_walker() && get_path()->is_valid()) { in after_editor_set()
[all …]
/dports/devel/p5-List-Objects-WithUtils/List-Objects-WithUtils-2.028003/t/02_hash/
H A Dget_path.t27 cmp_ok $hr->get_path('scalar'), '==', 1,
28 'shallow get_path ok';
30 cmp_ok $hr->get_path(qw/hash b x/), '==', 10,
31 'deep get_path ok';
34 'hash obj get_path ok';
36 ok !defined $hr->get_path(qw/hashobj c foo/),
39 ok !defined $hr->get_path(qw/foo bar baz/),
42 my @item = $hr->get_path(qw/foo bar baz/);
44 'get_path returned explicit undef';
47 'get_path with array elements ok';
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/cookie_store-0.7.0/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/cookie_store-0.12.0/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/cookie_store-0.15.1/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/www/xh/xh-0.14.1/cargo-crates/cookie_store-0.15.0/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/cookie_store-0.15.1/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/sysutils/rsfetch/rsfetch-2.0.0/cargo-crates/cookie_store-0.7.0/src/
H A Dcookie_path.rs125 fn get_path(url: &str) -> String { in default_path() function
129 assert_eq!(get_path("data:foobusbar"), "/"); in default_path()
130 assert_eq!(get_path("http://example.com"), "/"); in default_path()
131 assert_eq!(get_path("http://example.com/"), "/"); in default_path()
132 assert_eq!(get_path("http://example.com/foo"), "/"); in default_path()
133 assert_eq!(get_path("http://example.com/foo/"), "/foo"); in default_path()
134 assert_eq!(get_path("http://example.com//foo/"), "//foo"); in default_path()
135 assert_eq!(get_path("http://example.com/foo//"), "/foo/"); in default_path()
169 fn get_path(cp: &str, url: &str) -> String { in bad_path_defaults() function
176 assert_eq!(get_path("", "http://example.com/"), "/"); in bad_path_defaults()
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ansible/utils/tests/integration/targets/utils_get_path/tasks/include/
H A Dsimple.yaml14 - result: "{{ vars|ansible.utils.get_path('a') }}"
16 - result: "{{ a|ansible.utils.get_path('b') }}"
18 - result: "{{ a|ansible.utils.get_path('b.c') }}"
20 - result: "{{ a|ansible.utils.get_path('b.c.d') }}"
22 - result: "{{ a|ansible.utils.get_path('b.c.d[0]') }}"
24 - result: "{{ a|ansible.utils.get_path('b.c.d[1]') }}"
26 - result: "{{ a|ansible.utils.get_path('b[\"c\"]') }}"
28 - result: "{{ lookup('ansible.utils.get_path', vars, 'a') }}"
30 - result: "{{ lookup('ansible.utils.get_path', a, 'b') }}"
32 - result: "{{ lookup('ansible.utils.get_path', a, 'b.c') }}"
[all …]
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/
H A Dfs_path.h99 std::string get_path() const in get_path() function
338 this->set_path(path_to_native(this->get_path())); in to_native()
354 std::string p = this->get_path(); in go_up()
365 std::string p = this->get_path(); in append()
382 this->set_path(path_compress(this->get_path())); in compress()
391 set_path(FsPath(base_path).append(get_path()).get_path()); in make_absolute()
400 return path_get_dirname(this->get_path()); in get_dirname()
407 return path_get_basename(this->get_path()); in get_basename()
414 return path_get_root(this->get_path()); in get_root()
469 return path_is_absolute(this->get_path()); in is_absolute()
[all …]
H A Dfs_file.h179 this->set_path(path.get_path()); in File()
194 this->set_path(path.get_path()); in File()
364 + HZ__("Another file is open already. Close it first."), 0, this->get_path()); in open()
463 + HZ__("Unexpected number of bytes read."), 0, this->get_path()); in get_contents_noalloc()
660 + HZ__("Destination path is empty."), 0, this->get_path()); in move()
663 if (this->get_path() == to) { // this is not bulletproof in move()
665 + HZ__("Source path is the same as destination path."), 0, this->get_path()); in move()
707 + HZ__("Destination path is empty."), 0, this->get_path()); in copy()
710 if (this->get_path() == to) { in copy()
712 + HZ__("Source path is the same as destination path."), 0, this->get_path()); in copy()
[all …]
/dports/sysutils/fusefs-funionfs/funionfs-0.4.3/
H A Dpath.c363 *get_path = NULL; in funionfs_realpath()
399 free(*get_path); in funionfs_realpath()
400 *get_path = NULL; in funionfs_realpath()
410 free(*get_path); in funionfs_realpath()
411 *get_path = NULL; in funionfs_realpath()
491 **get_path = '\0'; in funionfs_realpath()
516 *get_path = NULL; in old_funionfs_realpath()
552 free(*get_path); in old_funionfs_realpath()
553 *get_path = NULL; in old_funionfs_realpath()
563 free(*get_path); in old_funionfs_realpath()
[all …]
/dports/devel/p5-File-TreeCreate/File-TreeCreate-0.0.1/t/
H A Dtree-create.t19 is( $t->get_path("./t/file.txt"),
23 is( $t->get_path("./t/mydir/"),
28 $t->get_path("./t/hello/there/world.jpg"),
36 $t->get_path("./one/two/three/four/"),
69 mkdir( $t->get_path("./t/sample-data/tree-create-ls-test") );
70 mkdir( $t->get_path("./t/sample-data/tree-create-ls-test/a") );
73 $t->get_path("./t/sample-data/tree-create-ls-test/b.txt");
77 mkdir( $t->get_path("./t/sample-data/tree-create-ls-test/c") );
80 $t->get_path("./t/sample-data/tree-create-ls-test/h.xls");
93 rmtree( $t->get_path("./t/sample-data/tree-create-ls-test") );
[all …]
/dports/sysutils/py-rdiff-backup/rdiff-backup-2.0.5/testing/
H A Derrorsrecovertest.py36 rdiff_backup(1, 1, source_rp.get_path(), target_rp.get_path(),
51 rdiff_backup(1, 1, target_rp.get_path(), None,
55 rdiff_backup(1, 1, source_rp.get_path(), target_rp.get_path(),
58 rdiff_backup(1, 1, target_rp.get_path(), None, expected_ret_val=1,
61 rdiff_backup(1, 1, target_rp.get_path(), None,
66 rdiff_backup(1, 1, target_rp.get_path(), None,
70 rdiff_backup(1, 1, source_rp.get_path(), target_rp.get_path(),
/dports/devel/p5-Config-Merge/Config-Merge-1.04/t/
H A D30_errors.t16 eval { $config = Config::Merge->new(get_path('none'))};
21 eval { $config = Config::Merge->new(get_path('bad'))};
26 $config = Config::Merge->new(get_path('perl'));
42 eval {Config::Merge->import(get_path('perl'))};
52 eval { $config = Config::Merge->new(path => get_path('errors','array_merge'))};
57 eval { $config = Config::Merge->new(path => get_path('errors','array_delete_ref'))};
62 ok ($config = Config::Merge->new(path => get_path('errors','array_delete_int')),
71 ok ($config = Config::Merge->new(path => get_path('errors','array_insert_int')),
75 eval { $config = Config::Merge->new(path => get_path('empty'), load_as =>{})};
80 eval { $config = Config::Merge->new(path => get_path('empty'), load_as => [])};
[all …]
/dports/devel/py-pysdl2/PySDL2-0.9.9/sdl2/test/
H A Dsdl2ext_font_test.py37 fontpath = byteify(RESOURCES.get_path("font.bmp"), "utf-8")
59 fontpath = byteify(RESOURCES.get_path("font.bmp"), "utf-8")
76 fontpath = byteify(RESOURCES.get_path("font.bmp"), "utf-8")
124 fm = sdl2ext.FontManager(RESOURCES.get_path("tuffy.ttf"),
132 fm = sdl2ext.FontManager(RESOURCES.get_path("tuffy.ttf"))
137 fm.add(RESOURCES.get_path("tuffy.copy.ttf"), size = 10)
148 fm = sdl2ext.FontManager(RESOURCES.get_path("tuffy.ttf"))
159 fm.add(RESOURCES.get_path("tuffy.ttf"), size=12)
171 fm.add(RESOURCES.get_path("tuffy.ttf"), size=12)
175 fm = sdl2ext.FontManager(RESOURCES.get_path("tuffy.ttf"))
[all …]
/dports/astro/oskar/OSKAR-2.8.0/oskar/telescope/src/
H A Dprivate_TelescopeLoaderLayout.cpp31 get_path(cwd, layout_file).c_str(), in load()
40 get_path(cwd, layout_enu_file).c_str(), in load()
49 get_path(cwd, layout_ecef_file).c_str(), in load()
58 get_path(cwd, layout_wgs84_file).c_str(), in load()
94 get_path(cwd, layout_file).c_str(), status); in load()
99 get_path(cwd, layout_enu_file).c_str(), status); in load()
105 get_path(cwd, layout_x_file).c_str(), status); in load()
110 get_path(cwd, layout_enu_x_file).c_str(), status); in load()
116 get_path(cwd, layout_y_file).c_str(), status); in load()
121 get_path(cwd, layout_enu_y_file).c_str(), status); in load()

12345678910>>...147