Searched refs:dirname (Results 1 - 25 of 33) sorted by relevance

12

/bind-9.11.3/lib/isc/win32/
H A Dlibgen.h15 char *dirname(const char *);
H A Ddir.c41 dir->dirname[0] = '\0';
58 isc_dir_open(isc_dir_t *dir, const char *dirname) { argument
62 REQUIRE(dirname != NULL);
69 if (strlen(dirname) + 3 > sizeof(dir->dirname))
72 strlcpy(dir->dirname, dirname, sizeof(dir->dirname));
77 p = dir->dirname + strlen(dir->dirname);
220 isc_dir_chdir(const char *dirname) argument
234 isc_dir_chroot(const char *dirname) argument
[all...]
H A Dfile.c696 isc_file_splitpath(isc_mem_t *mctx, const char *path, char **dirname, argument
731 *dirname = dir;
/bind-9.11.3/contrib/dlz/modules/filesystem/
H A Ddir.c37 dir_open(dir_t *dir, const char *dirname) { argument
41 if (strlen(dirname) + 3 > sizeof(dir->dirname))
43 strcpy(dir->dirname, dirname);
45 p = dir->dirname + strlen(dir->dirname);
46 if (dir->dirname < p && *(p - 1) != '/')
51 dir->handle = opendir(dirname);
H A Ddir.h29 char dirname[DIR_PATHMAX]; member in struct:dir
38 dir_open(dir_t *dir, const char *dirname);
H A Ddlz_filesystem_dynamic.c364 strcpy(tmp, dir->dirname);
366 /* dir->dirname will always have '*' as the last char. */
367 astPos = strlen(dir->dirname) - 1;
403 strcpy(tmp, dir->dirname);
439 dir->dirname, dir->entry.name);
/bind-9.11.3/lib/isc/unix/
H A Ddir.c50 isc_dir_open(isc_dir_t *dir, const char *dirname) { argument
55 REQUIRE(dirname != NULL);
61 if (strlen(dirname) + 3 > sizeof(dir->dirname)) {
65 strlcpy(dir->dirname, dirname, sizeof(dir->dirname));
70 p = dir->dirname + strlen(dir->dirname);
71 if (dir->dirname <
149 isc_dir_chdir(const char *dirname) argument
163 isc_dir_chroot(const char *dirname) argument
[all...]
H A Dfile.c529 * Put the absolute name of the current directory into 'dirname', which is
535 dir_current(char *dirname, size_t length) { argument
539 REQUIRE(dirname != NULL);
542 cwd = getcwd(dirname, length);
551 if (strlen(dirname) + 1 == length) {
553 } else if (dirname[1] != '\0') {
554 strlcat(dirname, "/", length);
619 isc_file_splitpath(isc_mem_t *mctx, const char *path, char **dirname, argument
651 *dirname = dir;
/bind-9.11.3/lib/isc/unix/include/isc/
H A Ddir.h46 char dirname[ISC_DIR_PATHMAX]; member in struct:isc_dir
57 isc_dir_open(isc_dir_t *dir, const char *dirname);
69 isc_dir_chdir(const char *dirname);
72 isc_dir_chroot(const char *dirname);
/bind-9.11.3/lib/isc/win32/include/isc/
H A Ddir.h34 char dirname[ISC_DIR_PATHMAX]; member in struct:__anon297
46 isc_dir_open(isc_dir_t *dir, const char *dirname);
58 isc_dir_chdir(const char *dirname);
61 isc_dir_chroot(const char *dirname);
/bind-9.11.3/bin/python/
H A Ddnssec-checkds.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
H A Ddnssec-coverage.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
H A Ddnssec-keymgr.py.in13 sys.path.insert(0, os.path.dirname(sys.argv[0]))
/bind-9.11.3/lib/dns/
H A Dgen.c147 char dirname[DIRNAMESIZE]; /* XXX Should be max path length */ member in struct:tt
368 const char *dirname)
377 INSIST(strlen(dirname) < DIRNAMESIZE);
396 if (strncmp(dirname, "./", 2) == 0)
397 dirname += 2;
398 strncpy(newtt->dirname, dirname, sizeof(newtt->dirname));
399 newtt->dirname[sizeof(newtt->dirname)
367 add(int rdclass, const char *classname, int type, const char *typename, const char *dirname) argument
460 sd(int rdclass, const char *classname, const char *dirname, char filetype) argument
[all...]
H A Ddst_api.c113 const char *dirname, const char *ofilename,
606 dst_key_fromnamedfile(const char *filename, const char *dirname, argument
624 dirname = NULL;
627 dirname = NULL;
631 if (dirname != NULL)
632 newfilenamelen += strlen(dirname) + 1;
637 dirname, filename, ".key");
675 if (dirname != NULL)
676 newfilenamelen += strlen(dirname) + 1;
681 dirname, filenam
[all...]
/bind-9.11.3/bin/dnssec/
H A Ddnssectool.h72 try_dir(const char *dirname);
H A Ddnssec-dsfromkey.c140 loadkeyset(char *dirname, dns_rdataset_t *rdataset) { argument
148 if (dirname != NULL) {
150 if (strlen(dirname) >= isc_buffer_availablelength(&buf))
152 isc_buffer_putstr(&buf, dirname);
153 if (dirname[strlen(dirname) - 1] != '/')
/bind-9.11.3/lib/isc/include/isc/
H A Dfile.h309 char **dirname, char const **basename);
311 * Split a path into dirname and basename. If 'path' contains no slash
312 * (or, on windows, backslash), then '*dirname' is set to ".".
314 * Allocates memory for '*dirname', which can be freed with isc_mem_free().
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c385 strcpy(tmp, dir->dirname);
387 /* dir->dirname will always have '*' as the last char. */
388 astPos = strlen(dir->dirname) - 1;
424 strcpy(tmp, dir->dirname);
462 dir->dirname, dir->entry.name);
/bind-9.11.3/unit/atf-src/admin/
H A Dinstall-sh285 dstdir=`dirname "$dst"`
/bind-9.11.3/lib/dns/include/dst/
H A Ddst.h348 dst_key_fromnamedfile(const char *filename, const char *dirname,
355 * If 'dirname' is not NULL, and 'filename' is a relative path,
357 * If 'filename' is an absolute path, 'dirname' is ignored.
/bind-9.11.3/lib/isc/
H A Dlog.c1136 const char *dirname; local
1161 dirname = file->name;
1164 dirname = ".";
1169 result = isc_dir_open(&dir, dirname);
/bind-9.11.3/bin/win32/BINDInstall/
H A DBINDInstallDlg.cpp291 char dirname[MAX_PATH]; local
296 strncpy(dirname, filename, index);
297 dirname[index] = '\0';
298 CString Dirname(dirname);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/config/
H A Didnconf.tcl166 file dirname $prg
341 set dir [file dirname $file]
364 set dir [file dirname $file]
858 set dir [file dirname $_logFile]
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dfs.c404 dirname(atf_dynstr_cstring(&p->m_data))));

Completed in 77 milliseconds

12