Searched defs:path (Results 1 - 25 of 45) sorted by relevance

12

/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)
/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/lib/dns/
H A Dgen-unix.h50 start_directory(const char *path, isc_dir_t *dir) { argument
51 dir->handle = opendir(path);
H A Dgen-win32.h216 start_directory(const char *path, isc_dir_t *dir) { argument
222 if (strlen(path) + 3 > sizeof(pattern))
225 strcpy(pattern, path);
H A Dssu_external.c59 ux_socket_connect(const char *path) { argument
64 REQUIRE(path != NULL);
66 if (strlen(path) > sizeof(addr.sun_path)) {
67 ssu_e_log(3, "ssu_external: socket path '%s' "
69 path, sizeof(addr.sun_path));
75 strlcpy(addr.sun_path, path, sizeof(addr.sun_path));
91 path, strbuf);
135 /* The identity contains local:/path/to/socket */
140 ssu_e_log(3, "ssu_external: invalid socket path '%s'",
/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.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...]
/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 Dmisc_helpers.cpp56 touch(const std::string& path) argument
58 std::ofstream os(path.c_str());
60 ATF_FAIL("Could not create file " + path);
154 tools::process::exec(tools::fs::path("env"),
170 tools::fs::path p(tools::env::get("HOME"));
172 tools::fs::file_info fi2(tools::fs::path("."));
227 tools::fs::remove(tools::fs::path(get_config_var("statedir") + "/to-delete"));
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...]
/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...]
H A Dcheck_test.cpp251 std::auto_ptr< atf::fs::path > out;
252 std::auto_ptr< atf::fs::path > err;
257 out.reset(new atf::fs::path(r->stdout_path()));
258 err.reset(new atf::fs::path(r->stderr_path()));
301 check_lines(const std::string& path, const char* outname, argument
304 std::ifstream f(path.c_str());
H A Dutils_test.cpp46 read_file(const std::string& path) argument
50 const int fd = open(path.c_str(), O_RDONLY);
52 ATF_FAIL("Cannot open " + path);
/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/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c129 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path) { argument
135 assert(path != NULL);
137 TRACE(("idn__aliaslist_aliasfile(path=%s)\n", path));
139 if ((fp = fopen(path, "r")) == NULL) {
156 path, line_no));
/bind-9.11.3/lib/isc/
H A Dnetaddr.c293 isc_netaddr_frompath(isc_netaddr_t *netaddr, const char *path) { argument
295 if (strlen(path) > sizeof(netaddr->type.un) - 1)
300 strlcpy(netaddr->type.un, path, sizeof(netaddr->type.un));
305 UNUSED(path);
H A Dsockaddr.c485 isc_sockaddr_frompath(isc_sockaddr_t *sockaddr, const char *path) { argument
487 if (strlen(path) >= sizeof(sockaddr->type.sunix.sun_path))
496 strlcpy(sockaddr->type.sunix.sun_path, path,
501 UNUSED(path);
/bind-9.11.3/lib/isc/win32/
H A Dfsaccess.c68 * Look for c:\path\... style, c:/path/... or \\computer\shar\path...
103 FAT_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
136 if (_chmod(path, mode) < 0)
271 NTFS_fsaccess_set(const char *path, isc_fsaccess_t access, argument
283 return (NTFS_Access_Control(path, username, access, isdir));
287 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
292 if (stat(path, &statb) != 0)
308 if (is_ntfs(path))
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dcheck.c116 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) argument
120 if (path == NULL)
123 err = atf_process_stream_init_redirect_path(sb, path);
H A Dcheck_test.c319 const char *path = atf_check_result_stdout(&result); local
320 int fd = open(path, O_RDONLY);
437 #define CHECK_LINES(path, outname, resname) \
439 int fd = open(path, O_RDONLY); \
H A Dutils.c227 * \param path Location of the file to check for.
231 atf_utils_file_exists(const char *path) argument
233 const int ret = access(path, F_OK);
236 atf_tc_fail("Failed to check the existence of %s: %s", path,
H A Dutils_test.c50 * \param path The file to be read, which must exist.
56 read_file(const char *path, void *const buffer, const size_t buflen) argument
58 const int fd = open(path, O_RDONLY);
59 ATF_REQUIRE_MSG(fd != -1, "Cannot open %s", path);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c88 shared_obj_open(const char *path) { argument
90 return (dlopen(path, RTLD_LAZY));
/bind-9.11.3/unit/atf-src/test-programs/
H A Dc_helpers.c50 safe_remove(const char* path) argument
52 if (unlink(path) == -1)
53 atf_tc_fail("unlink(2) of %s failed", path);
58 touch(const char *path) argument
61 fd = open(path, O_WRONLY | O_TRUNC | O_CREAT, 0644);
63 atf_tc_fail("Could not create file %s", path);
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c216 * hashes zone and host strings to build a path. If zone / host
222 config_data_t *cd, char **path)
234 /* require path to be a pointer to NULL */
235 REQUIRE(path != NULL && *path == NULL);
292 * build path string.
306 * path to see if a zone is supported. We require that a zone
307 * path have the "data dir" directory contained within it so
321 * path /base-dir/com/domain/long/.datadir does exist!
341 /* return the path w
221 create_path(const char *zone, const char *host, const char *client, config_data_t *cd, char **path) argument
593 char *path; local
748 char *path; local
790 char *path; local
[all...]

Completed in 38 milliseconds

12