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

1234

/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_test.cpp66 // Test cases for the "path" class.
72 set_md_var("descr", "Tests the path's normalization");
76 using atf::fs::path;
78 ATF_REQUIRE_EQ(path(".").str(), ".");
79 ATF_REQUIRE_EQ(path("..").str(), "..");
81 ATF_REQUIRE_EQ(path("foo").str(), "foo");
82 ATF_REQUIRE_EQ(path("foo/bar").str(), "foo/bar");
83 ATF_REQUIRE_EQ(path("foo/bar/").str(), "foo/bar");
85 ATF_REQUIRE_EQ(path("/foo").str(), "/foo");
86 ATF_REQUIRE_EQ(path("/fo
[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...]
H A Dtest_helpers.cpp44 build_check_cxx_o_aux(const atf::fs::path& sfile, const char* failmsg,
62 const atf::fs::path sfilepath =
63 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
77 build_check_cxx_o_aux(atf::fs::path("test.c"), failmsg.c_str(), true);
80 atf::fs::path
83 return atf::fs::path(tc.get_config_var("srcdir")) /
H A Dprocess.hpp119 status exec(const atf::fs::path&, const argv_array&,
131 status exec(const atf::fs::path&, const argv_array&,
143 status exec(const atf::fs::path&, const argv_array&,
155 status exec(const atf::fs::path&, const argv_array&,
167 status exec(const atf::fs::path&, const argv_array&,
171 stream_redirect_path(const fs::path&);
183 status exec(const atf::fs::path&, const argv_array&,
250 exec(const atf::fs::path& prog, const argv_array& argv,
270 exec(const atf::fs::path& prog, const argv_array& argv,
/bind-9.6-ESV-R11/unit/atf-src/atf-run/
H A Dfs.hpp41 std::auto_ptr< atf::fs::path > m_path;
44 temp_dir(const atf::fs::path&);
47 const atf::fs::path& get_path(void) const;
50 atf::fs::path change_directory(const atf::fs::path&);
51 void cleanup(const atf::fs::path&);
52 atf::fs::path get_current_dir(void);
H A Dfs_test.cpp71 atf::fs::path t1("non-existent");
72 atf::fs::path t2("non-existent");
75 atf::fs::path tmpl("testdir.XXXXXX");
136 atf::fs::path p("root");
160 cleanup(atf::fs::path("aux/root"));
184 const atf::fs::path p("root");
203 const atf::fs::path old = get_current_dir();
206 change_directory(atf::fs::path("files/reg")));
209 atf::fs::path old2 = change_directory(atf::fs::path("file
[all...]
H A Dfs.cpp61 static void cleanup_aux(const atf::fs::path&, dev_t, bool);
62 static void cleanup_aux_dir(const atf::fs::path&, const atf::fs::file_info&,
64 static void do_unmount(const atf::fs::path&);
86 cleanup_aux(const atf::fs::path& p, dev_t parent_device, bool erase)
111 cleanup_aux_dir(const atf::fs::path& p, const atf::fs::file_info& fi,
160 do_unmount(const atf::fs::path& in_path)
162 // At least, FreeBSD's unmount(2) requires the path to be absolute.
165 const atf::fs::path& abs_path = in_path.is_absolute() ?
188 const atf::fs::path prog("umount");
202 impl::temp_dir::temp_dir(const atf::fs::path
[all...]
H A Dtest-program.hpp142 metadata get_metadata(const atf::fs::path&, const atf::tests::vars_map&);
143 test_case_result read_test_case_result(const atf::fs::path&);
145 const atf::fs::path&, const std::string&, const std::string&,
147 const atf::fs::path&, const atf::fs::path&, atf_tps_writer&);
/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...]
/bind-9.6-ESV-R11/contrib/zkt/
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 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 Dzkt-signer.c310 *p = '\0'; /* remove trailing path seperator */
432 char path[MAX_PATHSIZE+1]; local
450 pathname (path, sizeof (path), dir, dentp->d_name, NULL);
451 if ( !is_directory (path) )
454 dbg_val ("parsedir: recursive %s\n", path);
455 parsedir (path, zp, conf);
463 char path[MAX_PATHSIZE+1]; local
475 pathname (path, sizeof (path), z
752 char path[MAX_PATHSIZE+1]; local
[all...]
H A Ddnssec-zkt.c112 {"path", no_argument, NULL, 'p'},
273 case 'p': /* print path */
471 fprintf (stderr, "\t-p%s\t show path of keyfile / create key in current directory\n", loptstr (", --path", "\t"));
498 char path[MAX_PATHSIZE+1]; local
502 pathname (path, sizeof (path), dir, LOCALCONF_FILE, NULL);
503 if ( fileexist (path) ) /* load local config file */
505 dbg_val ("Load local config file \"%s\"\n", path);
507 conf = loadconfig (path,
540 char path[MAX_PATHSIZE+1]; local
736 char path[MAX_PATHSIZE+1]; local
774 char path[MAX_PATHSIZE+1]; local
[all...]
H A Dzkt-keyman.c405 char path[MAX_PATHSIZE+1]; local
409 pathname (path, sizeof (path), dir, LOCALCONF_FILE, NULL);
410 if ( fileexist (path) ) /* load local config file */
412 dbg_val ("Load local config file \"%s\"\n", path);
414 conf = loadconfig (path, &localconf);
447 char path[MAX_PATHSIZE+1]; local
503 pathname (path, sizeof (path), dir, LOCALCONF_FILE, NULL);
504 if ( fileexist (path) ) /* loa
643 char path[MAX_PATHSIZE+1]; local
681 char path[MAX_PATHSIZE+1]; local
[all...]
H A Ddki.c161 static int dki_writeinfo (const dki_t *dkp, const char *path) argument
166 assert (path != NULL && path[0] != '\0');
168 if ( (fp = fopen (path, "w")) == NULL )
170 dbg_val1 ("dki_writeinfo %s\n", path);
174 touch (path, dkp->time); /* restore time of key file */
297 char path[MAX_PATHSIZE+1]; local
331 pathname (path, sizeof (path), dkp->dname, dkp->fname, DKI_KEY_FILEEXT);
332 dbg_val ("dki_read: path \"
400 char path[MAX_PATHSIZE+1]; local
559 char path[MAX_PATHSIZE+1]; local
598 char path[MAX_PATHSIZE+1]; local
950 char path[MAX_PATHSIZE+1]; local
974 char path[MAX_PATHSIZE+1]; local
[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...]
/bind-9.6-ESV-R11/win32utils/
H A Dupdateopenssl.pl24 $path = "..\\..\\";
55 opendir(DIR,$path) || die "No Directory: $!";
66 if (-d $path.$file) {
/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-sh/
H A Datf-check.cpp111 std::auto_ptr< atf::fs::path > m_path;
115 temp_file(const atf::fs::path& p) :
128 m_path.reset(new atf::fs::path(buf.get()));
141 const atf::fs::path&
359 cat_file(const atf::fs::path& path) argument
361 std::ifstream stream(path.c_str());
363 throw std::runtime_error("Failed to open " + path.str());
375 grep_file(const atf::fs::path& path, cons argument
591 run_output_check(const output_check oc, const atf::fs::path& path, const std::string& stdxxx) argument
612 print_diff(atf::fs::path(oc.value), path); local
677 run_output_checks(const std::vector< output_check >& checks, const atf::fs::path& path, const std::string& stdxxx) 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);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/include/idn/
H A Daliaslist.h81 idn__aliaslist_aliasfile(idn__aliaslist_t list, const char *path);
/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dfile.h57 * The path specified was not usable by the operating system.
60 * permission was denied to some part of the file's path.
69 isc_file_mktemplate(const char *path, char *buf, size_t buflen);
77 *\li The path is prepended to an implementation-defined string and
78 * placed into buf. The string has no path characters in it,
80 * buflen should be at least strlen(path) + 15 characters or
97 * of the path with the internal template string.
151 * The path specified was not usable by the operating system.
154 * to some part of the file's path.
178 * to search the entire path
[all...]
/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)
/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...]

Completed in 313 milliseconds

1234