Searched refs:path (Results 1 - 25 of 91) sorted by relevance

1234

/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dfs.hpp53 // The "path" class.
57 //! \brief A class to represent a path to a file.
59 //! The path class represents the route to a file or directory in the
64 //! It is important to note that the file pointed to by a path need not
67 class path { class in namespace:atf::fs
69 //! \brief Internal representation of a path.
74 //! \brief Constructs a new path from a user-provided string.
77 //! code or by the user and constructs a new path object. The string
83 explicit path(const std::string&);
88 path(cons
[all...]
H A Dfs_test.cpp63 // Test cases for the "path" class.
69 set_md_var("descr", "Tests the path's normalization");
73 using atf::fs::path;
75 ATF_REQUIRE_EQ(path(".").str(), ".");
76 ATF_REQUIRE_EQ(path("..").str(), "..");
78 ATF_REQUIRE_EQ(path("foo").str(), "foo");
79 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
80 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
82 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
83 ATF_REQUIRE_EQ(path("/fo
[all...]
H A Dfs.cpp65 static bool safe_access(const impl::path&, int, int);
76 safe_access(const impl::path& p, int mode, int experr)
105 // The "path" class.
108 impl::path::path(const std::string& s) function in class:impl::path
115 impl::path::path(const path& p) function in class:impl::path
122 impl::path::path(cons function in class:impl::path
[all...]
H A Dtest_helpers.cpp42 // relative path. Otherwise, the provided path will be used; this is so
67 const atf::fs::path sfilepath =
68 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
86 atf::fs::path
92 return atf::fs::path(tc.get_config_var("srcdir")) /
95 return atf::fs::path(tc.get_config_var("srcdir")) /
98 return atf::fs::path(atf_c_tests_base) / helper;
H A Dprocess.hpp114 status exec(const atf::fs::path&, const argv_array&,
126 status exec(const atf::fs::path&, const argv_array&,
138 status exec(const atf::fs::path&, const argv_array&,
150 status exec(const atf::fs::path&, const argv_array&,
162 status exec(const atf::fs::path&, const argv_array&,
166 stream_redirect_path(const fs::path&);
178 status exec(const atf::fs::path&, const argv_array&,
245 exec(const atf::fs::path& prog, const argv_array& argv,
265 exec(const atf::fs::path& prog, const argv_array& argv,
/bind-9.11.3/unit/atf-src/tools/
H A Dfs.hpp49 // The "path" class.
53 //! \brief A class to represent a path to a file.
55 //! The path class represents the route to a file or directory in the
60 //! It is important to note that the file pointed to by a path need not
63 class path { class in namespace:tools::fs
65 //! \brief Internal representation of a path.
70 //! \brief Constructs a new path from a user-provided string.
73 //! code or by the user and constructs a new path object. The string
79 explicit path(const std::string&);
82 //! \brief Destructor for the path clas
[all...]
H A Dfs_test.cpp75 // Test cases for the "path" class.
81 set_md_var("descr", "Tests the path's normalization");
85 using tools::fs::path;
87 ATF_REQUIRE_EQ(path(".").str(), ".");
88 ATF_REQUIRE_EQ(path("..").str(), "..");
90 ATF_REQUIRE_EQ(path("foo").str(), "foo");
91 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
92 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
94 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
95 ATF_REQUIRE_EQ(path("/fo
[all...]
H A Dfs.cpp66 static void cleanup_aux(const impl::path&, dev_t, bool);
67 static void cleanup_aux_dir(const impl::path&, const impl::file_info&,
69 static void do_unmount(const impl::path&);
70 static bool safe_access(const impl::path&, int, int);
84 eaccess(const tools::fs::path& p, int mode)
145 safe_access(const impl::path& p, int mode, int experr)
178 cleanup_aux(const impl::path& p, dev_t parent_device, bool erase)
203 cleanup_aux_dir(const impl::path& p, const impl::file_info& fi,
252 do_unmount(const impl::path& in_path)
254 // At least, FreeBSD's unmount(2) requires the path t
323 impl::path::path(const std::string& s) : function in class:impl::path
[all...]
H A Dtest-program.hpp145 metadata get_metadata(const tools::fs::path&,
147 test_case_result read_test_case_result(const tools::fs::path&);
149 const tools::fs::path&, const std::string&, const std::string&,
152 const tools::fs::path&, const tools::fs::path&, atf_tps_writer&);
/bind-9.11.3/bin/python/
H A Ddnssec-checkds.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
16 sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
18 sys.path.insert(1, os.path.join('@prefix@', 'lib',
H A Ddnssec-coverage.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
16 sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
18 sys.path.insert(1, os.path.join('@prefix@', 'lib',
H A Ddnssec-keymgr.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
16 sys.path.insert(1, '@PYTHON_INSTALL_DIR@')
18 sys.path.insert(1, os.path.join('@prefix@', 'lib',
/bind-9.11.3/bin/tests/system/tsiggss/
H A Dauthsock.pl18 my $path;
23 GetOptions("path=s" => \$path,
28 if (!defined($path)) {
29 print("Usage: authsock.pl --path=<sockpath> --type=type --pidfile=pidfile\n");
33 unlink($path);
34 my $server = IO::Socket::UNIX->new(Local => $path, Type => SOCK_STREAM, Listen => 8) or
35 die "unable to create socket $path";
36 chmod 0777, $path;
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.cpp36 atf::utils::cat_file(const std::string& path, const std::string& prefix) argument
38 atf_utils_cat_file(path.c_str(), prefix.c_str());
48 atf::utils::compare_file(const std::string& path, const std::string& contents) argument
50 return atf_utils_compare_file(path.c_str(), contents.c_str());
54 atf::utils::create_file(const std::string& path, const std::string& contents) argument
56 atf_utils_create_file(path.c_str(), "%s", contents.c_str());
60 atf::utils::file_exists(const std::string& path) argument
62 return atf_utils_file_exists(path.c_str());
74 atf::utils::grep_file(const std::string& regex, const std::string& path) argument
76 return atf_utils_grep_file("%s", path
86 redirect(const int fd, const std::string& path) argument
[all...]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dtest_helpers.c44 build_check_c_o(const char *path) argument
58 RE(atf_check_build_c_o(path, "test.o", optargs, &success));
68 atf_fs_path_t path; local
70 RE(atf_fs_path_init_fmt(&path, "%s/%s",
72 const bool result = build_check_c_o(atf_fs_path_cstring(&path));
73 atf_fs_path_fini(&path);
97 atf_fs_path_t *path)
99 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers",
96 get_process_helpers_path(const atf_tc_t *tc, const bool is_detail, atf_fs_path_t *path) argument
/bind-9.11.3/bin/tests/system/statschannel/
H A Dfetch.pl18 print ("Usage: fetch.pl [-s address] [-p port] [path]\n");
28 my $path = 'xml/v3';
30 $path = shift @ARGV;
36 my $ff = File::Fetch->new(uri => "http://$addr:$port/$path");
/bind-9.11.3/unit/atf-src/atf-sh/
H A Datf-check.cpp106 std::auto_ptr< atf::fs::path > m_path;
114 const atf::fs::path file = atf::fs::path(
126 m_path.reset(new atf::fs::path(buf.get()));
139 const atf::fs::path&
360 cat_file(const atf::fs::path& path) argument
362 std::ifstream stream(path.c_str());
364 throw std::runtime_error("Failed to open " + path.str());
376 grep_file(const atf::fs::path argument
592 run_output_check(const output_check oc, const atf::fs::path& path, const std::string& stdxxx) argument
613 print_diff(atf::fs::path(oc.value), path); local
676 run_output_checks(const std::vector< output_check >& checks, const atf::fs::path& path, const std::string& stdxxx) argument
[all...]
H A Datf-sh.cpp50 const atf::fs::path filepath(filename);
111 atf::fs::path m_shell;
128 m_shell(atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)))
139 INV(m_shell == atf::fs::path(atf::env::get("ATF_SHELL", ATF_SHELL)));
151 m_shell = atf::fs::path(arg);
165 const atf::fs::path script(m_argv[0]);
/bind-9.11.3/lib/isc/win32/
H A Dfile.c45 gettemp(char *path, isc_boolean_t binary, int *doopen) { argument
53 trv = strrchr(path, 'X');
67 if (trv <= path)
71 if (stat(path, &sbuf))
85 open(path, flags, _S_IREAD | _S_IWRITE)) >= 0)
89 } else if (stat(path, &sbuf))
111 mkstemp(char *path, isc_boolean_t binary) { argument
114 return (gettemp(path, binary, &fd) ? fd : -1);
313 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
314 return (isc_file_template(path, TEMPLAT
318 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
623 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
696 isc_file_splitpath(isc_mem_t *mctx, const char *path, char **dirname, char const ** basename) argument
780 isc_file_sanitize(const char *dir, const char *base, const char *ext, char *path, size_t length) argument
847 isc_file_isdirwritable(const char *path) argument
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dfile.h52 * The path specified was not usable by the operating system.
55 * permission was denied to some part of the file's path.
64 isc_file_mktemplate(const char *path, char *buf, size_t buflen);
72 *\li The path is prepended to an implementation-defined string and
73 * placed into buf. The string has no path characters in it,
75 * buflen should be at least strlen(path) + 15 characters or
92 * of the path with the internal template string.
154 * The path specified was not usable by the operating system.
157 * to some part of the file's path.
181 * to search the entire path
[all...]
/bind-9.11.3/lib/dns/
H A Dgen-unix.h50 start_directory(const char *path, isc_dir_t *dir) { argument
51 dir->handle = opendir(path);
/bind-9.11.3/bin/tools/
H A Dnamed-nzd2nzf.c26 const char *path; local
34 fprintf(stderr, "Usage: named-nzd2nzf <nzd-path>\n");
38 path = argv[1];
47 status = mdb_env_open(env, path, DNS_LMDB_FLAGS, 0600);
84 "database '%s'", path);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/
H A Daliaslist.h81 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path);
/bind-9.11.3/bin/tests/system/keymgr/
H A Dtestpolicy.py10 sys.path.insert(0, '../../../python')
/bind-9.11.3/lib/isc/unix/
H A Dfsaccess.c27 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
34 if (stat(path, &statb) != 0)
80 if (chmod(path, mode) < 0)

Completed in 4911 milliseconds

1234