/freebsd-11-stable/contrib/groff/src/preproc/pic/ |
H A D | object.cpp | 790 graphic_object *object_spec::make_box(position *curpos, direction *dirp) argument 824 if (!position_rectangle(p, curpos, dirp)) { 834 position *curpos, direction *dirp) 837 dir = *dirp; // ignore any direction in attribute list 944 graphic_object *object_spec::make_block(position *curpos, direction *dirp) argument 962 if (!position_rectangle(block, curpos, dirp)) { 982 graphic_object *object_spec::make_text(position *curpos, direction *dirp) argument 994 if (!position_rectangle(p, curpos, dirp)) { 1032 graphic_object *object_spec::make_ellipse(position *curpos, direction *dirp) argument 1053 if (!position_rectangle(p, curpos, dirp)) { 833 position_rectangle(rectangle_object *p, position *curpos, direction *dirp) argument 1081 make_circle(position *curpos, direction *dirp) argument 1129 make_move(position *curpos, direction *dirp) argument 1416 make_line(position *curpos, direction *dirp) argument 1732 make_arc(position *curpos, direction *dirp) argument 1794 make_linear(position *curpos, direction *dirp) argument 1824 make_object(position *curpos, direction *dirp) argument [all...] |
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 81 vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, 87 vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, 507 vnode_t vp, dirp = NULL; local 538 nd->nd_repstat = nfsvno_namei(nd, &named, dp, 0, exp, p, &dirp); 544 if (dirp) { 546 dattr_ret = nfsvno_getattr(dirp, &dattr, 548 vrele(dirp); 573 if (dirp) { 575 dattr_ret = nfsvno_getattr(dirp, &dattr, nd->nd_cred, 577 vrele(dirp); 995 vnode_t vp = NULL, dirp = NULL; local 1165 vnode_t vp, dirp = NULL; local 1378 vnode_t dirp = NULL; local 1632 vnode_t dirp = NULL, dp = NULL; local 1736 vnode_t dirp = NULL; local 1804 nfsrvd_symlinksub(struct nfsrv_descript *nd, struct nameidata *ndp, struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, int *diraft_retp, nfsattrbit_t *attrbitp, NFSACL_T *aclp, NFSPROC_T *p, struct nfsexstuff *exp, char *pathcp, int pathlen) argument 1857 vnode_t dirp = NULL; local 1937 nfsrvd_mkdirsub(struct nfsrv_descript *nd, struct nameidata *ndp, struct nfsvattr *nvap, fhandle_t *fhp, vnode_t *vpp, vnode_t dirp, struct nfsvattr *dirforp, struct nfsvattr *diraftp, int *diraft_retp, nfsattrbit_t *attrbitp, NFSACL_T *aclp, NFSPROC_T *p, struct nfsexstuff *exp) argument 2596 vnode_t vp = NULL, dirp = NULL; local 3386 vnode_t dirp = NULL, vp; local [all...] |
/freebsd-11-stable/usr.bin/rwho/ |
H A D | rwho.c | 71 static DIR *dirp; variable 124 if ((dirp = opendir(".")) == NULL) 126 dfd = dirfd(dirp); 141 while ((dp = readdir(dirp)) != NULL) {
|
/freebsd-11-stable/stand/powerpc/kboot/ |
H A D | host_syscall.h | 58 int host_getdents(int fd, void *dirp, int count);
|
/freebsd-11-stable/sbin/ldconfig/ |
H A D | elfhints.c | 109 DIR *dirp; local 112 if ((dirp = opendir(dirs[i])) == NULL) 114 while ((dp = readdir(dirp)) != NULL) { 140 closedir(dirp);
|
/freebsd-11-stable/usr.bin/ruptime/ |
H A D | ruptime.c | 68 static DIR *dirp; variable 110 if (chdir(_PATH_RWHODIR) || (dirp = opendir(".")) == NULL) 199 rewinddir(dirp); 207 for (nhosts = hspace = 0; (dp = readdir(dirp)) != NULL;) {
|
/freebsd-11-stable/contrib/opie/ |
H A D | glob.c | 366 DIR *dirp; local 368 dirp = opendir(*gpath == '\0' ? "." : gpath); 369 if (dirp == NULL) { 375 if (fstat(dirp->dd_fd, &stb) < 0) 382 while ((dp = readdir(dirp)) != NULL) { 390 closedir(dirp); 394 closedir(dirp);
|
/freebsd-11-stable/usr.sbin/cpucontrol/ |
H A D | cpucontrol.c | 371 DIR *dirp; local 400 dirp = opendir(dir->path); 401 if (dirp == NULL) { 405 while ((direntry = readdir(dirp)) != NULL) { 419 error = closedir(dirp);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_pragma.c | 213 dt_dirpath_t *dirp; local 217 for (dirp = dt_list_next(&dtp->dt_lib_path); dirp != NULL; 218 dirp = dt_list_next(dirp)) { 219 (void) snprintf(lib, len, "%s/%s", dirp->dir_path, lname);
|
/freebsd-11-stable/usr.sbin/lpr/common_source/ |
H A D | common.c | 124 DIR *dirp; local 128 if ((dirp = opendir(pp->spool_dir)) == NULL) { 132 if (fstat(dirfd(dirp), &stbuf) < 0) 148 while ((d = readdir(dirp)) != NULL) { 180 closedir(dirp); 187 closedir(dirp);
|
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_dirhash.c | 800 * Insert information into the hash about a new directory entry. dirp 805 ufsdirhash_add(struct inode *ip, struct direct *dirp, doff_t offset) argument 825 slot = ufsdirhash_hash(dh, dirp->d_name, dirp->d_namlen); 836 ufsdirhash_adjfree(dh, offset, -DIRSIZ(0, dirp)); 842 * is defined by the name in `dirp', which must exist at the specified 846 ufsdirhash_remove(struct inode *ip, struct direct *dirp, doff_t offset) argument 857 slot = ufsdirhash_findslot(dh, dirp->d_name, dirp->d_namlen, offset); 863 ufsdirhash_adjfree(dh, offset, DIRSIZ(0, dirp)); 872 ufsdirhash_move(struct inode *ip, struct direct *dirp, doff_t oldoff, doff_t newoff) argument 1147 ufsdirhash_getprev(struct direct *dirp, doff_t offset) argument [all...] |
H A D | ufs_lookup.c | 855 * that it left in nameidata. The argument dirp is the new directory 863 ufs_direnter(dvp, tvp, dirp, cnp, newdirbp, isrename) 866 struct direct *dirp; 886 newentrysize = DIRSIZ(OFSFMT(dvp), dirp); 920 dirp->d_reclen = DIRBLKSIZ; 923 bcopy((caddr_t)dirp, (caddr_t)bp->b_data + blkoff,newentrysize); 927 ufsdirhash_add(dp, dirp, dp->i_offset); 946 dirp->d_ino, newdirbp, 1)) 1080 (ep->d_ino == WINO && namlen == dirp->d_namlen && 1081 bcmp(ep->d_name, dirp [all...] |
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | inode.c | 567 struct direct *dirp = idesc->id_dirp; local 569 if (dirp->d_ino != idesc->id_parent || idesc->id_entryno < 2) { 573 memmove(idesc->id_name, dirp->d_name, (size_t)dirp->d_namlen + 1); 580 struct direct *dirp = idesc->id_dirp; local 582 if (dirp->d_ino == 0) 584 if (strcmp(dirp->d_name, idesc->id_name) == 0 && 585 dirp->d_ino >= ROOTINO && dirp->d_ino <= maxino) { 586 idesc->id_parent = dirp 595 struct direct *dirp = idesc->id_dirp; local [all...] |
/freebsd-11-stable/sbin/fsdb/ |
H A D | fsdb.c | 411 struct direct *dirp = idesc->id_dirp; local 414 slot++, diroff, dirp->d_ino, dirp->d_reclen, 415 typename[dirp->d_type], dirp->d_namlen, dirp->d_name); 416 diroff += dirp->d_reclen; 790 struct direct *dirp = idesc->id_dirp; local 793 dirp->d_ino = idesc->id_parent; 833 struct direct *dirp local [all...] |
/freebsd-11-stable/contrib/nvi/common/ |
H A D | recover.c | 512 DIR *dirp; local 523 if (chdir(p) || (dirp = opendir(".")) == NULL) { 529 for (found = 0; (dp = readdir(dirp)) != NULL;) { 604 (void)closedir(dirp); 621 DIR *dirp; local 634 if ((dirp = opendir(rp)) == NULL) { 642 for (found = requested = 0; (dp = readdir(dirp)) != NULL;) { 742 (void)closedir(dirp);
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | compat_fts.c | 361 DIR *dirp; local 375 if ((dirp = opendir(cur->fts_accpath)) == NULL) { 407 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { 430 (void)closedir(dirp); 455 (void)closedir(dirp); 478 if (dirp) 479 (void)closedir(dirp);
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tw.init.c | 159 struct dirent *dirp; local 164 if ((dirp = readdir(dfd)) != NULL) { 165 Strbuf_append(res, str2short(dirp->d_name)); 202 DIR *dirp; local 220 if ((dirp = opendir(short2str(*pv))) == NULL) 223 cleanup_push(dirp, opendir_cleanup); 228 while ((dp = readdir(dirp)) != NULL) { 255 cleanup_until(dirp);
|
/freebsd-11-stable/usr.bin/locale/ |
H A D | locale.c | 400 DIR *dirp; local 419 dirp = opendir(_PathLocale); 420 if (dirp == NULL) 424 while ((dp = readdir(dirp)) != NULL) { 434 closedir(dirp);
|
/freebsd-11-stable/usr.sbin/mountd/ |
H A D | mountd.c | 206 static void del_mlist(char *hostp, char *dirp); 1306 xdr_dir(XDR *xdrsp, char *dirp) argument 1308 return (xdr_string(xdrsp, &dirp, MNTPATHLEN)); 1506 char *cp, *endcp, *dirp, *hst, *usr, *dom, savedc; local 1528 dirp = NULL; 1575 if (dirp != NULL) { 1590 if (dirp != NULL) { 1604 dirp = cp; 1644 dirp = add_expdir(&dirhead, cp, len); 1728 getexp_err(ep, tgrp, "V4:root, no dirp, ignore 2541 dirp_search(struct dirlist *dp, char *dirp) argument 2994 do_mount(struct exportlist *ep, struct grouplist *grp, int exflags, struct xucred *anoncrp, char *dirp, int dirplen, struct statfs *fsb, int numsecflavors, int *secflavors) argument 3532 char *host, *dirp, *cp; local 3564 del_mlist(char *hostp, char *dirp) argument 3591 add_mlist(char *hostp, char *dirp) argument 3687 check_dirpath(char *dirp) argument [all...] |
/freebsd-11-stable/bin/rcp/ |
H A D | rcp.c | 441 DIR *dirp; local 445 if (!(dirp = opendir(name))) { 460 closedir(dirp); 468 closedir(dirp); 471 while ((dp = readdir(dirp))) { 484 (void)closedir(dirp);
|
/freebsd-11-stable/crypto/heimdal/appl/rcp/ |
H A D | rcp.c | 363 DIR *dirp; local 367 if (!(dirp = opendir(name))) { 382 closedir(dirp); 391 closedir(dirp); 394 while ((dp = readdir(dirp)) != NULL) { 407 closedir(dirp);
|
/freebsd-11-stable/usr.bin/msgs/ |
H A D | msgs.c | 277 DIR *dirp; local 279 dirp = opendir(_PATH_MSGS); 280 if (dirp == NULL) 286 for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)){ 319 closedir(dirp);
|
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_denode.c | 291 struct direntry *dirp; local 308 error = readde(dep, &bp, &dirp); 312 if (bcmp(dirp, &dir, sizeof(dir)) == 0) { 318 *dirp = dir;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.h | 48 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | fts-compat.c | 633 DIR *dirp; local 655 if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) { 705 if (fts_safe_changedir(sp, cur, _dirfd(dirp), NULL)) { 741 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { 760 (void)closedir(dirp); 784 (void)closedir(dirp); 841 if (dirp) 842 (void)closedir(dirp);
|