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

12

/bind-9.6-ESV-R11/lib/isc/unix/
H A Dfsaccess.c36 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
43 if (stat(path, &statb) != 0)
89 if (chmod(path, mode) < 0)
H A Dfile.c159 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
160 return (isc_file_template(path, TEMPLATE, buf, buflen));
164 isc_file_template(const char *path, const char *templet, char *buf, argument
168 REQUIRE(path != NULL);
176 s = strrchr(path, '/');
179 if ((s - path + 1 + strlen(templet) + 1) > buflen)
182 strncpy(buf, path, s - path + 1);
183 buf[s - path + 1] = '\0';
415 * appropriate path separato
444 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dgen-unix.h59 start_directory(const char *path, isc_dir_t *dir) { argument
60 dir->handle = opendir(path);
H A Dgen-win32.h225 start_directory(const char *path, isc_dir_t *dir) { argument
231 if (strlen(path) + 3 > sizeof(pattern))
234 strcpy(pattern, path);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dnscomm.c101 char path[MAX_PATHSIZE+1]; local
145 zp->conf->dist_cmd, zp->zone, path, view);
159 pathname (path, sizeof (path), zp->dir, zp->sfile, NULL);
163 snprintf (cmdline, sizeof (cmdline), "%s distribute %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
178 snprintf (cmdline, sizeof (cmdline), "%s reload %s %s %s", zp->conf->dist_cmd, zp->zone, path, view);
H A Dzone.c142 char path[MAX_PATHSIZE+1]; local
155 { /* check if file contains a path */
159 snprintf (path, sizeof (path), "%s/%.*s", dir, p-file, file);
160 dir = path;
180 snprintf (path, sizeof (path), "%s%s", file, signed_ext);
181 new->sfile = strdup (path);
198 char path[MAX_PATHSIZE+1]; local
226 pathname (path, sizeo
[all...]
H A Dlog.c104 ** lg_fileopen (path, name) -- open the log file
106 ** If path is given and name is a relative path name then path
110 static FILE *lg_fileopen (const char *path, const char *name) argument
120 else if ( *name == '/' || path == NULL )
123 snprintf (fname, MAXFNAME, "%s/%s", path, name);
248 ** lg_open (prog, facility, syslevel, path, file, filelevel)
254 int lg_open (const char *progname, const char *facility, const char *syslevel, const char *path, const char *file, const char *filelevel) argument
258 dbg_val6 ("lg_open (%s, %s, %s, %s, %s, %s)\n", progname, facility, syslevel, path, fil
[all...]
H A Dncparse.c200 char path[511+1]; local
234 snprintf (path, sizeof (path), "%s/%s", dir, strval);
236 snprintf (path, sizeof (path), "%s", strval);
241 snprintf (dir, dirsize, "%s%s%s", chroot_dir, *path == '/' ? "": "/", path);
245 snprintf (dir, dirsize, "%s", path);
254 snprintf (path, sizeof (path), "
[all...]
H A Drollover.c123 char path[MAX_PATHSIZE+1]; local
129 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE);
130 if ( fileexist (path) ) /* parent dir has local config file ? */
131 conf = loadconfig (path, NULL);
135 /* build the path of the .signed zone file */
136 snprintf (path, sizeof (path), "%s/../%s.signed", conf->dir, conf->zonefile);
150 snprintf (path, sizeof (path), "
226 char path[MAX_PATHSIZE+1]; local
[all...]
H A Dzkt-ls.c109 {"path", no_argument, NULL, 'p'},
237 case 'p': /* print path */
349 fprintf (stderr, "\t-p%s\t show path of keyfile / create key in current directory\n", loptstr (", --path", "\t"));
369 char path[MAX_PATHSIZE+1]; local
384 pathname (path, sizeof (path), dir, dentp->d_name, NULL);
385 if ( is_directory (path) && recflag )
387 dbg_val ("directory: recursive %s\n", path);
388 parsedirectory (path, list
407 char path[MAX_PATHSIZE+1]; local
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dfs.hpp57 // The "path" class.
61 //! \brief A class to represent a path to a file.
63 //! The path class represents the route to a file or directory in the
68 //! It is important to note that the file pointed to by a path need not
71 class path { class in namespace:atf::fs
73 //! \brief Internal representation of a path.
78 //! \brief Constructs a new path from a user-provided string.
81 //! code or by the user and constructs a new path object. The string
87 explicit path(const std::string&);
92 path(cons
[all...]
H A Dfs.cpp69 static bool safe_access(const impl::path&, int, int);
80 safe_access(const impl::path& p, int mode, int experr)
109 // The "path" class.
112 impl::path::path(const std::string& s) function in class:impl::path
119 impl::path::path(const path& p) function in class:impl::path
126 impl::path::path(cons function in class:impl::path
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/
H A Dutils.cpp40 atf::utils::cat_file(const std::string& path, const std::string& prefix) argument
42 atf_utils_cat_file(path.c_str(), prefix.c_str());
52 atf::utils::compare_file(const std::string& path, const std::string& contents) argument
54 return atf_utils_compare_file(path.c_str(), contents.c_str());
58 atf::utils::create_file(const std::string& path, const std::string& contents) argument
60 atf_utils_create_file(path.c_str(), "%s", contents.c_str());
64 atf::utils::file_exists(const std::string& path) argument
66 return atf_utils_file_exists(path.c_str());
78 atf::utils::grep_file(const std::string& regex, const std::string& path) argument
80 return atf_utils_grep_file("%s", path
90 redirect(const int fd, const std::string& path) argument
[all...]
H A Dcheck_test.cpp256 std::auto_ptr< atf::fs::path > out;
257 std::auto_ptr< atf::fs::path > err;
262 out.reset(new atf::fs::path(r->stdout_path()));
263 err.reset(new atf::fs::path(r->stderr_path()));
306 check_lines(const std::string& path, const char* outname, argument
309 std::ifstream f(path.c_str());
/bind-9.6-ESV-R11/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.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dtest_helpers.c48 build_check_c_o_aux(const char *path, const char *failmsg, argument
62 RE(atf_check_build_c_o(path, "test.o", optargs, &success));
74 atf_fs_path_t path; local
76 RE(atf_fs_path_init_fmt(&path, "%s/%s",
78 build_check_c_o_aux(atf_fs_path_cstring(&path), failmsg, expect_pass);
79 atf_fs_path_fini(&path);
101 atf_fs_path_t *path)
103 RE(atf_fs_path_init_fmt(path, "%s/%sprocess_helpers",
100 get_process_helpers_path(const atf_tc_t *tc, const bool is_detail, atf_fs_path_t *path) argument
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dmisc_helpers.cpp57 touch(const std::string& path) argument
59 std::ofstream os(path.c_str());
61 ATF_FAIL("Could not create file " + path);
155 atf::process::exec(atf::fs::path("env"),
171 atf::fs::path p(atf::env::get("HOME"));
173 atf::fs::file_info fi2(atf::fs::path("."));
228 atf::fs::remove(atf::fs::path(get_config_var("statedir") + "/to-delete"));
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/isc/
H A Dnetaddr.c302 isc_netaddr_frompath(isc_netaddr_t *netaddr, const char *path) { argument
304 if (strlen(path) > sizeof(netaddr->type.un) - 1)
309 strcpy(netaddr->type.un, path);
314 UNUSED(path);
H A Dsockaddr.c487 isc_sockaddr_frompath(isc_sockaddr_t *sockaddr, const char *path) { argument
489 if (strlen(path) >= sizeof(sockaddr->type.sunix.sun_path))
498 strcpy(sockaddr->type.sunix.sun_path, path);
502 UNUSED(path);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c46 gettemp(char *path, isc_boolean_t binary, int *doopen) { argument
55 trv = strrchr(path, 'X');
68 if (trv <= path)
72 if (stat(path, &sbuf))
86 open(path, flags, _S_IREAD | _S_IWRITE)) >= 0)
90 } else if (stat(path, &sbuf))
112 mkstemp(char *path, isc_boolean_t binary) { argument
115 return (gettemp(path, binary, &fd) ? fd : -1);
259 isc_file_mktemplate(const char *path, char *buf, size_t buflen) { argument
260 return (isc_file_template(path, TEMPLAT
264 isc_file_template(const char *path, const char *templet, char *buf, size_t buflen) argument
510 isc_file_absolutepath(const char *filename, char *path, size_t pathlen) argument
[all...]
H A Dfsaccess.c76 * Look for c:\path\... style, c:/path/... or \\computer\shar\path...
114 FAT_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
147 if (_chmod(path, mode) < 0)
282 NTFS_fsaccess_set(const char *path, isc_fsaccess_t access, argument
294 return (NTFS_Access_Control(path, username, access, isdir));
298 isc_fsaccess_set(const char *path, isc_fsaccess_t access) { argument
303 if (stat(path, &statb) != 0)
319 if (is_ntfs(path))
[all...]
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dcheck.c120 init_sb(const atf_fs_path_t *path, atf_process_stream_t *sb) argument
124 if (path == NULL)
127 err = atf_process_stream_init_redirect_path(sb, path);
H A Dcheck_test.c324 const char *path = atf_check_result_stdout(&result); local
325 int fd = open(path, O_RDONLY);
442 #define CHECK_LINES(path, outname, resname) \
444 int fd = open(path, O_RDONLY); \
H A Dutils.c203 * \param path Location of the file to check for.
207 atf_utils_file_exists(const char *path) argument
209 const int ret = access(path, F_OK);
212 atf_tc_fail("Failed to check the existence of %s: %s", path,

Completed in 44 milliseconds

12