Lines Matching defs:typ
47 register int typ;
64 op = num = who = typ = 0;
107 typ |= S_IRUSR|S_IRGRP|S_IROTH;
110 typ |= S_IWUSR|S_IWGRP|S_IWOTH;
117 typ |= S_IXUSR|S_IXGRP|S_IXOTH;
120 typ |= S_ISUID|S_ISGID;
123 typ |= S_ISVTX;
132 typ |= S_ISGID;
143 typ &= who;
158 typ &= mask;
171 perm |= typ;
172 typ = 0;
175 perm &= ~typ;
176 typ = 0;
179 perm &= typ;
180 typ = 0;
183 if (typ &= perm)
189 if (typ & S_IXOTH)
191 if (typ & S_IWOTH)
193 if (typ & S_IROTH)
195 if (typ & S_IXGRP)
197 if (typ & S_IWGRP)
199 if (typ & S_IRGRP)
206 if ((typ |= perm) & (S_IXUSR|S_IXGRP|S_IXOTH))
208 if (typ & S_IRUSR)
210 if (typ & S_IRGRP)
212 if (typ & S_IROTH)
215 typ = 0;
228 typ = 0;
239 if (typ)
243 typ &= who;
246 perm |= typ;
255 typ |= modei(num);