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

/bind-9.6-ESV-R11/lib/isc/unix/
H A Ddir.c59 isc_dir_open(isc_dir_t *dir, const char *dirname) { argument
64 REQUIRE(dirname != NULL);
70 if (strlen(dirname) + 3 > sizeof(dir->dirname))
73 strcpy(dir->dirname, dirname);
78 p = dir->dirname + strlen(dir->dirname);
79 if (dir->dirname < p && *(p - 1) != '/')
87 dir->handle = opendir(dirname);
156 isc_dir_chdir(const char *dirname) argument
170 isc_dir_chroot(const char *dirname) argument
[all...]
H A Dfile.c413 * Put the absolute name of the current directory into 'dirname', which is
419 dir_current(char *dirname, size_t length) { argument
423 REQUIRE(dirname != NULL);
426 cwd = getcwd(dirname, length);
434 if (strlen(dirname) + 1 == length)
436 else if (dirname[1] != '\0')
437 strcat(dirname, "/");
/bind-9.6-ESV-R11/lib/isc/unix/include/isc/
H A Ddir.h55 char dirname[ISC_DIR_PATHMAX]; member in struct:isc_dir
66 isc_dir_open(isc_dir_t *dir, const char *dirname);
78 isc_dir_chdir(const char *dirname);
81 isc_dir_chroot(const char *dirname);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Ddir.c48 dir->dirname[0] = '\0';
65 isc_dir_open(isc_dir_t *dir, const char *dirname) { argument
69 REQUIRE(dirname != NULL);
76 if (strlen(dirname) + 3 > sizeof(dir->dirname))
79 strcpy(dir->dirname, dirname);
84 p = dir->dirname + strlen(dir->dirname);
85 if (dir->dirname <
225 isc_dir_chdir(const char *dirname) argument
239 isc_dir_chroot(const char *dirname) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/
H A Ddir.h43 char dirname[ISC_DIR_PATHMAX]; member in struct:__anon201
55 isc_dir_open(isc_dir_t *dir, const char *dirname);
67 isc_dir_chdir(const char *dirname);
70 isc_dir_chroot(const char *dirname);
/bind-9.6-ESV-R11/bin/dnssec/
H A Ddnssec-dsfromkey.c63 loadkeys(char *dirname, char *setname) argument
80 if (dirname != NULL) {
81 if (isc_buffer_availablelength(&buf) < strlen(dirname))
82 fatal("directory name '%s' too long", dirname);
83 isc_buffer_putstr(&buf, dirname);
84 if (dirname[strlen(dirname) - 1] != '/') {
86 fatal("directory name '%s' too long", dirname);
92 fatal("directory name '%s' too long", dirname);
251 char *algname = NULL, *classname = NULL, *dirname local
[all...]
/bind-9.6-ESV-R11/lib/dns/
H A Dgen.c163 char dirname[DIRNAMESIZE]; /* XXX Should be max path length */ member in struct:tt
375 const char *dirname)
384 INSIST(strlen(dirname) < DIRNAMESIZE);
398 if (strncmp(dirname, "./", 2) == 0)
399 dirname += 2;
400 strncpy(newtt->dirname, dirname, sizeof(newtt->dirname));
460 sd(int rdclass, const char *classname, const char *dirname, char filetype) { argument
466 if (!start_directory(dirname,
374 add(int rdclass, const char *classname, int type, const char *typename, const char *dirname) argument
[all...]
/bind-9.6-ESV-R11/contrib/dlz/drivers/
H A Ddlz_filesystem_driver.c394 strcpy(tmp, dir->dirname);
396 /* dir->dirname will always have '*' as the last char. */
397 astPos = strlen(dir->dirname) - 1;
433 strcpy(tmp, dir->dirname);
471 dir->dirname, dir->entry.name);
/bind-9.6-ESV-R11/bin/win32/BINDInstall/
H A DBINDInstallDlg.cpp230 char dirname[MAX_PATH]; local
235 strncpy(dirname, filename, index);
236 dirname[index] = '\0';
237 CString Dirname(dirname);
/bind-9.6-ESV-R11/contrib/zkt/
H A Dzkt-signer.c118 static const char *dirname = NULL; variable
199 dirname = optarg;
302 if ( dirname ) /* option -D ? */
304 char *dir = strdup (dirname);
H A Ddki.c289 dki_t *dki_read (const char *dirname, const char *filename) argument
318 assert (strlen (dirname)+1 < sizeof (dkp->dname));
319 strcpy (dkp->dname, dirname);
H A Dconfigure460 # (the dirname of $[0] is not the place where we might find the
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
2686 bind_util_path=`dirname "$SIGNZONE_PROG"`
6409 # (the dirname of $[0] is not the place where we might find the
6417 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6418 as_dirname=dirname
/bind-9.6-ESV-R11/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.6-ESV-R11/lib/isc/
H A Dlog.c1146 const char *dirname; local
1173 dirname = FILE_NAME(channel);
1176 dirname = ".";
1181 result = isc_dir_open(&dir, dirname);
/bind-9.6-ESV-R11/unit/atf-src/atf-c/detail/
H A Dfs.c408 dirname(atf_dynstr_cstring(&p->m_data))));
/bind-9.6-ESV-R11/contrib/queryperf/
H A Dconfigure395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_dirname=dirname
452 # (the dirname of $[0] is not the place where we might find the
3339 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3340 as_dirname=dirname
/bind-9.6-ESV-R11/contrib/query-loc-0.4.0/
H A Dconfigure179 # (the dirname of $[0] is not the place where we might find the
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
5600 # (the dirname of $[0] is not the place where we might find the
6000 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6019 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6358 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6377 as_dir=`(dirname "$as_dir") 2>/dev/null ||
/bind-9.6-ESV-R11/
H A Dltmain.sh160 dirname="s,/[^/]*$,,"
164 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
168 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
187 # dirname: Compute the dirname of FILE. If nonempty,
199 func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
532 my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
H A Dconfigure456 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
457 as_dirname=dirname
517 # (the dirname of $[0] is not the place where we might find the
9837 dldir=$destdir/`dirname \$dlpath`~
9914 dldir=$destdir/`dirname \$dlpath`~
11546 # Not all systems have dirname.
19411 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19412 as_dirname=dirname
/bind-9.6-ESV-R11/unit/atf-src/admin/
H A Dltmain.sh144 dirname="s,/[^/]*$,,"
150 # dirname: Compute the dirname of FILE. If nonempty,
162 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
329 my_directory_path=`$ECHO "X$my_directory_path" | $Xsed -e "$dirname"`
/bind-9.6-ESV-R11/unit/atf-src/bootstrap/
H A Dtestsuite423 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
424 as_dirname=dirname
465 # (the dirname of $[0] is not the place where we might find the
/bind-9.6-ESV-R11/unit/atf-src/
H A Dconfigure437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_dirname=dirname
498 # (the dirname of $[0] is not the place where we might find the
9542 dldir=$destdir/`dirname \$dlpath`~
14757 dldir=$destdir/`dirname \$dlpath`~
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether dirname takes a constant pointer" >&5
16148 $as_echo_n "checking whether dirname takes a constant pointer... " >&6; }
16157 (void)::dirname(s);
17055 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17056 as_dirname=dirname
[all...]

Completed in 488 milliseconds