Searched refs:isdir (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-10.0-release/gnu/usr.bin/grep/
H A Disdir.c0 /* isdir.c -- determine whether a directory exists
37 isdir (const char *path) function
H A Dsystem.h81 int isdir PARAMS ((char const *));
87 || ((e) == EACCES && isdir (f) && ((e) = EISDIR, 1)))
89 # define is_EISDIR(e, f) ((e) == EACCES && isdir (f))
H A DMakefile13 isdir.c kwset.c obstack.c quotearg.c savedir.c search.c xmalloc.c \
H A Dsavedir.c94 status = isdir (path);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/acl/
H A Dacl_common.h56 extern int acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir,
61 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count);
62 void acl_trivial_access_masks(mode_t mode, boolean_t isdir,
H A Dacl_common.c380 mode_to_ace_access(mode_t mode, boolean_t isdir, int isowner, int isallow) argument
419 if (isdir)
435 ace_make_deny(ace_t *allow, ace_t *deny, int isdir, int isowner) argument
443 if (isdir)
508 ln_aent_to_ace(aclent_t *aclent, int n, ace_t **acepp, int *rescount, int isdir) argument
580 isdir, 0, 0);
586 isdir, aclent[i].a_type & USER_OBJ, 1);
605 ace_make_deny(acep, acep + 1, isdir, B_TRUE);
609 ace_make_deny(acep, acep + 1, isdir, B_FALSE);
640 ace_make_deny(acep, acep + skip, isdir, B_FALS
674 convert_aent_to_ace(aclent_t *aclentp, int aclcnt, boolean_t isdir, ace_t **retacep, int *retacecnt) argument
738 ace_mask_to_mode(uint32_t mask, o_mode_t *modep, boolean_t isdir) argument
1035 ace_allow_to_mode(uint32_t mask, o_mode_t *modep, boolean_t isdir) argument
1047 acevals_to_aent(acevals_t *vals, aclent_t *dest, ace_list_t *list, uid_t owner, gid_t group, boolean_t isdir) argument
1087 ace_list_to_aent(ace_list_t *list, aclent_t **aclentp, int *aclcnt, uid_t owner, gid_t group, boolean_t isdir) argument
1266 ln_ace_to_aent(ace_t *ace, int n, uid_t owner, gid_t group, aclent_t **aclentp, int *aclcnt, aclent_t **dfaclentp, int *dfaclcnt, boolean_t isdir) argument
1463 convert_ace_to_aent(ace_t *acebufp, int acecnt, boolean_t isdir, uid_t owner, gid_t group, aclent_t **retaclentp, int *retaclcnt) argument
1505 acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir, uid_t owner, gid_t group) argument
1577 acl_trivial_access_masks(mode_t mode, boolean_t isdir, trivial_acl_t *masks) argument
1639 acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count) argument
[all...]
/freebsd-10.0-release/contrib/tcsh/
H A Dsvn13 if os.path.isdir(line.strip()):
/freebsd-10.0-release/tools/regression/security/open_to_operation/
H A Dopen_to_operation.c636 check_getdents(const char *testname, const char *path, int isdir, argument
654 if (isdir && ((mode & O_ACCMODE) == O_RDONLY))
657 else if (isdir)
663 if (isdir && ((mode & O_ACCMODE) == O_RDONLY))
666 else if (isdir)
676 check_sendfile(const char *testname, const char *path, int isdir, argument
698 if (isdir)
707 if (isdir)
892 check_mmap_read(const char *testname, const char *path, int isdir, argument
912 if (isdir)
980 check_mmap_exec(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
1026 check_mmap_write_private(const char *testname, const char *path, int isdir, const int *modes, int modes_count) argument
[all...]
/freebsd-10.0-release/sys/boot/userboot/
H A Duserboot.h79 int (*isdir)(void *arg, void *h); member in struct:loader_callbacks
/freebsd-10.0-release/sys/fs/fuse/
H A Dfuse_file.c103 int isdir = 0; local
121 isdir = 1;
163 int isdir = 0; local
180 isdir = 1;
/freebsd-10.0-release/usr.sbin/pkg_install/add/
H A Dfutil.c46 if (!isdir(dir)) {
/freebsd-10.0-release/usr.sbin/pkg_install/lib/
H A Dpkgwrap.c74 if (!isdir(buffer))
H A Dplist.c465 if (isdir(tmp) && fexists(tmp) && !issymlink(tmp)) {
521 if (!isdir(tmp) && fexists(tmp)) {
561 isdir(dir) ? "directory" : "file", dir);
568 else if (isdir(dir) && !issymlink(dir)) {
H A Dlib.h174 Boolean isdir(const char *);
H A Dpen.c49 if (pen[0] && isdir(dirname(pen)) == TRUE && (min_free(dirname(pen)) >= sz))
H A Dfile.c45 isdir(const char *fname) function
61 if (isdir(fname)) {
H A Dmatch.c78 if (!isdir(paths[0])) {
382 if (!isdir(buf) || access(buf, R_OK) == FAIL) {
/freebsd-10.0-release/usr.sbin/cpucontrol/
H A Dcpucontrol.c100 static int isdir(const char *path);
120 isdir(const char *path) function
337 if (isdir(buf) != 0) {
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/examples/
H A Dwps-nfc.py24 if os.path.isdir(wpas_ctrl):
/freebsd-10.0-release/bin/ln/
H A Dln.c223 linkit(const char *source, const char *target, int isdir) argument
250 if (isdir ||
/freebsd-10.0-release/contrib/opie/
H A Dglob.c86 #define isdir(d) (((d.st_mode) & S_IFMT) == S_IFDIR) macro
377 if (!isdir(stb)) {
627 if (stat(gpath, &stb) == 0 && isdir(stb))
/freebsd-10.0-release/contrib/less/
H A Dfilename.c994 int isdir = 0; local
1003 isdir = (r >= 0 && S_ISDIR(statbuf.st_mode));
1013 isdir = (f >= 0);
1018 return (isdir);
/freebsd-10.0-release/usr.bin/mail/
H A Dextern.h151 int isdir(char []);
/freebsd-10.0-release/games/fortune/fortune/
H A Dfortune.c464 bool isdir; local
477 if ((isdir = is_dir(path)) && parent != NULL) {
483 if (!isdir && parent == NULL && (All_forts || Offend) &&
550 if ((isdir && !add_dir(fp)) ||
551 (!isdir &&
/freebsd-10.0-release/sbin/dump/
H A Dtraverse.c255 int i, isdir, nodump; local
262 isdir = 0; /* XXX just to get gcc to shut up */
265 isdir = *map++;
267 isdir >>= 1;
276 if ((isdir & 1) == 0 || (TSTINO(ino, dumpinomap) && !nodump))

Completed in 192 milliseconds

12