Searched defs:dir (Results 1 - 25 of 486) sorted by relevance

1234567891011>>

/freebsd-head/stand/libsa/
H A Dreaddir.c36 static struct dirent dir; /* XXX not thread safe */ local
47 errno = (f->f_ops->fo_readdir)(f, &dir);
50 return (&dir);
/freebsd-head/share/examples/sunrpc/dir/
H A Drls.c7 #include "dir.h" /* need this too: will be generated by rpcgen*/
17 char *dir; local
31 dir = argv[2];
51 result = readdir_1(&dir, cl);
70 perror(dir);
/freebsd-head/contrib/tcpdump/
H A Dgmt2local.c43 register int dt, dir; local
60 dir = loc->tm_year - gmt->tm_year;
61 if (dir == 0)
62 dir = loc->tm_yday - gmt->tm_yday;
63 dt += dir * 24 * 60 * 60;
/freebsd-head/lib/libc/stdio/
H A Dtempnam.c52 tempnam(const char *dir, const char *pfx) argument
70 if ((f = (char *)dir)) {
/freebsd-head/sys/contrib/openzfs/lib/libuutil/
H A Duu_open.c47 uu_open_tmp(const char *dir, uint_t uflags) argument
56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime());
/freebsd-head/usr.sbin/etcupdate/tests/
H A Dalways_test.sh113 mkdir $NEW/second/second/difftype/dir
114 mkfifo $TEST/second/second/difftype/dir
302 dir() function
426 New file mismatch: /second/second/difftype/dir (directory vs fifo file)
443 fifo /second/second/difftype/dir
489 dir /rmdir/extra
493 dir /rmdir/conflict/difftype
537 D /second/second/difftype/dir
564 missing /second/second/difftype/dir
610 dir /rmdi
[all...]
H A Dignore_test.sh117 dir() function
274 dir /rmdir
H A Dtests_test.sh111 mkdir $i/equal/equal/equal/dir
120 mkdir $i/equal/first/first/dir
165 mkdir $OLD/first/first/equal/dir
219 mkdir $i/second/second/equal/dir
232 mkdir $NEW/second/second/difftype/dir
233 mkfifo $TEST/second/second/difftype/dir
680 dir() function
757 dir /equal/equal/equal/dir
763 missing /equal/first/first/dir
[all...]
/freebsd-head/sys/dev/sound/isa/
H A Dsndbuf_dma.c53 sndbuf_dmasetdir(struct snd_dbuf *b, int dir) argument
58 b->dir = (dir == PCMDIR_PLAY)? ISADMA_WRITE : ISADMA_READ;
71 isa_dmastart(b->dir | ISADMA_RAW, b->buf, b->bufsize, b->dmachan);
77 isa_dmadone(b->dir | ISADMA_RAW, b->buf, b->bufsize, b->dmachan);
/freebsd-head/crypto/openssh/regress/
H A Dmkdtemp.c43 char *dir; local
54 dir = mkdtemp(template);
55 if (dir == NULL) {
59 puts(dir);
/freebsd-head/tests/sys/fs/fusefs/
H A Dreleasedir.cc58 DIR *dir, *dir2; local
75 dir = opendir(FULLPATH);
76 ASSERT_NE(nullptr, dir) << strerror(errno);
78 dir2 = fdopendir(dup(dirfd(dir)));
81 ASSERT_EQ(0, closedir(dir)) << strerror(errno);
90 DIR *dir; local
96 dir = opendir(FULLPATH);
97 ASSERT_NE(nullptr, dir) << strerror(errno);
99 ASSERT_EQ(0, closedir(dir)) << strerror(errno);
/freebsd-head/contrib/apr/file_io/unix/
H A Dtempdir.c22 /* Try to open a temporary file in the temporary dir, write to it,
46 const char *dir; local
75 dir = value;
84 dir = "C:\\TEMP";
91 dir = "SYS:/TMP";
99 dir = try_dirs[i];
110 dir = P_tmpdir;
118 dir = cwd;
123 /* We didn't find a suitable temp dir anywhere */
127 *temp_dir = apr_pstrdup(p, dir);
[all...]
/freebsd-head/lib/libc/tests/gen/
H A Dftw_test.c51 static char dir[PATH_MAX]; variable
86 ATF_REQUIRE_MSG(realpath(template, dir) != NULL,
89 fd = open(dir, O_DIRECTORY|O_RDONLY);
95 ATF_REQUIRE_MSG(symlinkat(dir, fd, "d1/looper") == 0,
100 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1,
105 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1,
110 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1,
115 ATF_REQUIRE_MSG(nftw(dir, cb, 10, ftwflags) != -1,
/freebsd-head/contrib/libarchive/libarchive/test/
H A Dtest_write_format_iso9660.c37 char dir[6]; local
116 * "dir*" has a bunch of attributes.
119 strcpy(dir, "/dir0");
121 dir[4] = "0123456789ABCDEF"[i];
123 strcat(dirname, dir+1);
125 strcat(dirname, dir);
/freebsd-head/lib/libpam/modules/pam_chroot/
H A Dpam_chroot.c57 const char *dir, *end, *cwd, *user; local
75 dir = buf;
77 } else if ((dir = openpam_get_option(pamh, "dir")) != NULL) {
89 openpam_log(PAM_LOG_DEBUG, "chrooting %s to %s", dir, user);
91 if (chroot(dir) == -1) {
/freebsd-head/contrib/ofed/libibverbs/
H A Dsysfs.c78 int ibv_read_sysfs_file(const char *dir, const char *file, argument
85 if (asprintf(&path, "%s/%s", dir, file) < 0)
/freebsd-head/sys/gnu/gcov/
H A Dgcov.h95 } dir; member in struct:gcov_link
/freebsd-head/sys/dev/xdma/
H A Dxdma_bio.c77 enum xdma_direction dir)
88 xr->direction = dir;
93 if (dir == XDMA_MEM_TO_DEV) {
75 xdma_enqueue_bio(xdma_channel_t *xchan, struct bio **bp, bus_addr_t addr, uint8_t src_width, uint8_t dst_width, enum xdma_direction dir) argument
H A Dxdma_queue.c76 enum xdma_direction dir, void *user)
89 xr->direction = dir;
74 xdma_enqueue(xdma_channel_t *xchan, uintptr_t src, uintptr_t dst, uint8_t src_width, uint8_t dst_width, bus_size_t len, enum xdma_direction dir, void *user) argument
/freebsd-head/contrib/less/
H A Dposition.c185 int dir; local
191 i = 0; dir = +1; last = sc_height-2;
194 i = sc_height-2; dir = -1; last = 0;
202 /* Values of dir and last don't matter after this. */
210 for (;; i += dir)
/freebsd-head/crypto/openssl/crypto/
H A DLPdir_unix.c77 DIR *dir; member in struct:LP_dir_context_st
112 (*ctx)->dir = opendir(directory);
113 if ((*ctx)->dir == NULL) {
129 direntry = readdir((*ctx)->dir);
154 int ret = closedir((*ctx)->dir);
/freebsd-head/usr.sbin/bhyve/
H A Dkernemu_dev.c49 apic_handler(struct vmctx *ctx, int vcpu, int dir, uint64_t addr, int size, argument
52 if (vm_readwrite_kernemu_device(ctx, vcpu, addr, (dir == MEM_F_WRITE),
/freebsd-head/sys/xen/xenbus/
H A Dxenbusb_front.c110 const char **dir; local
115 error = xs_directory(XST_NIL, xbs->xbs_node, type, &count, &dir);
119 xenbusb_add_device(dev, type, dir[i]);
121 free(dir, M_XENSTORE);
/freebsd-head/contrib/nvi/ex/
H A Dex_cd.c38 char *dir, *p, *t; local
58 if ((dir = getenv("HOME")) == NULL) {
65 dir = pw->pw_dir;
70 dir, dlen);
81 if (!chdir(dir))
105 if ((buf = join(t, dir)) == NULL) {
125 err: msgq_str(sp, M_SYSERR, dir, "%s");
/freebsd-head/contrib/nvi/vi/
H A Dv_mark.c103 dir_t dir; local
168 dir = BACKWARD;
170 dir = FORWARD;

Completed in 117 milliseconds

1234567891011>>