Lines Matching refs:st_mode
205 stb2.st_mode = stb1.st_mode; in diffit()
207 if (stb1.st_mode == 0) in diffit()
208 stb1.st_mode = stb2.st_mode; in diffit()
209 if (S_ISLNK(stb1.st_mode) || S_ISLNK(stb2.st_mode)) { in diffit()
210 if (S_ISLNK(stb1.st_mode) && S_ISLNK(stb2.st_mode)) { in diffit()
236 path1, S_ISLNK(stb1.st_mode) ? "symbolic link" : in diffit()
237 (S_ISDIR(stb1.st_mode) ? "directory" : in diffit()
238 (S_ISREG(stb1.st_mode) ? "file" : "error")), in diffit()
239 path2, S_ISLNK(stb2.st_mode) ? "symbolic link" : in diffit()
240 (S_ISDIR(stb2.st_mode) ? "directory" : in diffit()
241 (S_ISREG(stb2.st_mode) ? "file" : "error"))); in diffit()
262 stb2.st_mode = stb1.st_mode; in diffit()
264 if (stb1.st_mode == 0) in diffit()
265 stb1.st_mode = stb2.st_mode; in diffit()
267 if (S_ISDIR(stb1.st_mode) && S_ISDIR(stb2.st_mode)) { in diffit()
275 if (!S_ISREG(stb1.st_mode) && !S_ISDIR(stb1.st_mode)) in diffit()
277 else if (!S_ISREG(stb2.st_mode) && !S_ISDIR(stb2.st_mode)) in diffit()