Searched refs:statbuf (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xmessage/dist/
H A Dreadfile.c52 struct stat statbuf; local in function:get_data_from_file
56 if (stat (filename, &statbuf) != 0 || statbuf.st_size < 0) {
61 cp = malloc (statbuf.st_size + 1);
74 count = fread (cp, 1, statbuf.st_size, fp);
75 if (count == 0 && statbuf.st_size != 0) {
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Dcatalogue.c137 struct stat statbuf; local in function:CatalogueRescan
145 if (stat(path, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
148 if ((forceScan == FALSE) && (statbuf.st_mtime <= cat->mtime))
231 cat->mtime = statbuf.st_mtime;
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Dcatalogue.c140 struct stat statbuf; local in function:CatalogueRescan
148 if (stat(path, &statbuf) < 0 || !S_ISDIR(statbuf.st_mode))
151 if ((forceScan == FALSE) && (statbuf.st_mtime <= cat->mtime))
232 cat->mtime = statbuf.st_mtime;
/xsrc/external/mit/brotli/dist/c/tools/
H A Dbrotli.c650 struct stat statbuf; local in function:CopyStat
656 if (stat(input_path, &statbuf) != 0) {
659 times.actime = statbuf.st_atime;
660 times.modtime = statbuf.st_mtime;
662 res = chmod(output_path, statbuf.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO));
667 res = chown(output_path, (uid_t)-1, statbuf.st_gid);
672 res = chown(output_path, statbuf.st_uid, (gid_t)-1);
/xsrc/external/mit/xdm/dist/xdm/
H A Dkrb5auth.c96 struct stat statbuf; local in function:Krb5GetAuthFor
/xsrc/external/mit/xf86-input-mouse/dist/src/
H A Dsun_mouse.c338 struct stat statbuf; local in function:CheckRelToAbs
348 if (lstat(device, &statbuf) == 0 &&
349 (statbuf.st_mode & S_IFMT) == S_IFLNK) {
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.c58 struct stat statbuf; local in function:filesize
60 ret = stat(path, &statbuf);
63 return statbuf.st_size;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/
H A Dnv84_video.c58 struct stat statbuf; local in function:filesize
60 ret = stat(path, &statbuf);
63 return statbuf.st_size;

Completed in 10 milliseconds