Lines Matching refs:stat
203 struct stat b1, b2; in test_eval()
234 return stat(opnd1, &b1) == 0; in test_eval()
239 return stat(opnd1, &b1) == 0; in test_eval()
241 return stat(opnd1, &b1) == 0 && S_ISREG(b1.st_mode); in test_eval()
243 return stat(opnd1, &b1) == 0 && S_ISDIR(b1.st_mode); in test_eval()
245 return stat(opnd1, &b1) == 0 && S_ISCHR(b1.st_mode); in test_eval()
247 return stat(opnd1, &b1) == 0 && S_ISBLK(b1.st_mode); in test_eval()
249 return stat(opnd1, &b1) == 0 && S_ISFIFO(b1.st_mode); in test_eval()
253 return stat(opnd1, &b1) == 0 && S_ISSOCK(b1.st_mode); in test_eval()
257 return stat(opnd1, &b1) == 0 && in test_eval()
260 return stat(opnd1, &b1) == 0 && in test_eval()
263 return stat(opnd1, &b1) == 0 && in test_eval()
266 return stat(opnd1, &b1) == 0 && b1.st_size > 0L; in test_eval()
274 return stat(opnd1, &b1) == 0 && b1.st_uid == ksheuid; in test_eval()
276 return stat(opnd1, &b1) == 0 && b1.st_gid == getegid(); in test_eval()
328 return stat(opnd1, &b1) == 0 && in test_eval()
329 (((s2 = stat(opnd2, &b2)) == 0 && in test_eval()
338 return stat(opnd2, &b2) == 0 && in test_eval()
339 (((s1 = stat(opnd1, &b1)) == 0 && in test_eval()
343 return stat (opnd1, &b1) == 0 && stat (opnd2, &b2) == 0 && in test_eval()
363 struct stat statb; in test_eaccess()
365 if (stat(path, &statb) == -1) in test_eaccess()