Home
last modified time | relevance | path

Searched refs:st_cur (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/bmake/
H A Dutil.c240 struct stat st_root, st_cur, st_next, st_dotdot; in getwd() local
256 if (lstat(".", &st_cur) == -1) { in getwd()
267 if (st_cur.st_ino == st_root.st_ino && in getwd()
268 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in getwd()
288 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in getwd()
291 if (d->d_fileno == st_cur.st_ino) in getwd()
310 if (st_next.st_ino == st_cur.st_ino && in getwd()
311 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in getwd()
321 st_cur = st_dotdot; in getwd()
/freebsd/contrib/tcsh/
H A Dtc.os.c1303 struct stat st_root, st_cur, st_next, st_dotdot; in xgetcwd() local
1321 if (lstat(".", &st_cur) == -1) { in xgetcwd()
1333 if (st_cur.st_ino == st_root.st_ino && in xgetcwd()
1334 DEV_DEV_COMPARE(st_cur.st_dev, st_root.st_dev)) { in xgetcwd()
1355 if (DEV_DEV_COMPARE(st_dotdot.st_dev, st_cur.st_dev)) { in xgetcwd()
1359 if (((unsigned long)d->d_ino & 0xffff) == st_cur.st_ino) in xgetcwd()
1362 if (d->d_ino == st_cur.st_ino) in xgetcwd()
1389 if (st_next.st_ino == st_cur.st_ino && in xgetcwd()
1390 DEV_DEV_COMPARE(st_next.st_dev, st_cur.st_dev)) in xgetcwd()
1403 st_cur = st_dotdot; in xgetcwd()