Searched refs:S_IFMT (Results 1 – 9 of 9) sorted by relevance
24 def S_IFMT(mode): function41 return S_IFMT(mode) == S_IFDIR44 return S_IFMT(mode) == S_IFCHR47 return S_IFMT(mode) == S_IFBLK50 return S_IFMT(mode) == S_IFREG53 return S_IFMT(mode) == S_IFIFO56 return S_IFMT(mode) == S_IFLNK59 return S_IFMT(mode) == S_IFSOCK
59 return (stat.S_IFMT(st.st_mode),159 a_type = stat.S_IFMT(a_stat.st_mode)160 b_type = stat.S_IFMT(b_stat.st_mode)
398 #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) macro402 #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)406 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
413 #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) macro417 #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)421 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
397 #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) macro401 #define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)405 #define S_ISDIR(x) (((x) & S_IFMT) == S_IFDIR)
136 return ((st.st_mode & S_IFMT) == S_IFREG && fp->_seek == __sseek ? in __swhatbuf()
122 #define S_IFMT _S_IFMT macro