| /xsrc/external/mit/MesaLib/dist/src/drm-shim/ |
| H A D | drm_shim.c | 397 PUBLIC int stat(const char* path, struct stat* stat_buf) argument 405 return real_stat(path, stat_buf); 421 return real_stat(path, stat_buf); 423 memset(stat_buf, 0, sizeof(*stat_buf)); 424 stat_buf->st_rdev = makedev(DRM_MAJOR, render_node_minor); 425 stat_buf->st_mode = S_IFCHR; 430 PUBLIC int stat64(const char* path, struct stat64* stat_buf) argument 438 return real_stat64(path, stat_buf); 454 return real_stat64(path, stat_buf); 463 fstat(int fd,struct stat * stat_buf) argument 479 fstat64(int fd,struct stat64 * stat_buf) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/winsys/svga/drm/ |
| H A D | vmw_screen.c | 69 struct stat stat_buf; local in function:vmw_winsys_create 77 if (fstat(fd, &stat_buf)) 80 vws = util_hash_table_get(dev_hash, &stat_buf.st_rdev); 90 vws->device = stat_buf.st_rdev;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/winsys/svga/drm/ |
| H A D | vmw_screen.c | 129 struct stat stat_buf; local in function:vmw_winsys_create 138 if (fstat(fd, &stat_buf)) 141 vws = util_hash_table_get(dev_hash, &stat_buf.st_rdev); 151 vws->device = stat_buf.st_rdev;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/hud/ |
| H A D | hud_nic.c | 290 struct stat stat_buf; local in function:is_wireless_nic 295 if (stat(fn, &stat_buf) == 0) 304 struct stat stat_buf; local in function:query_nic_bitrate 309 if (stat(fn, &stat_buf) == 0) { 331 struct stat stat_buf; local in function:hud_get_num_nics 361 if (stat(name, &stat_buf) < 0) 364 if (!S_ISREG(stat_buf.st_mode))
|
| H A D | hud_diskstat.c | 247 struct stat stat_buf; local in function:hud_get_num_disks 276 if (stat(name, &stat_buf) < 0) 279 if (!S_ISREG(stat_buf.st_mode)) 302 if (stat(p, &stat_buf) < 0) 305 if (!S_ISREG(stat_buf.st_mode))
|
| H A D | hud_cpufreq.c | 188 struct stat stat_buf; local in function:hud_get_num_cpufreq 226 if (stat(fn, &stat_buf) < 0) 229 if (!S_ISREG(stat_buf.st_mode))
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/hud/ |
| H A D | hud_nic.c | 291 struct stat stat_buf; local in function:is_wireless_nic 296 if (stat(fn, &stat_buf) == 0) 305 struct stat stat_buf; local in function:query_nic_bitrate 310 if (stat(fn, &stat_buf) == 0) { 332 struct stat stat_buf; local in function:hud_get_num_nics 362 if (stat(name, &stat_buf) < 0) 365 if (!S_ISREG(stat_buf.st_mode))
|
| H A D | hud_diskstat.c | 248 struct stat stat_buf; local in function:hud_get_num_disks 277 if (stat(name, &stat_buf) < 0) 280 if (!S_ISREG(stat_buf.st_mode)) 303 if (stat(p, &stat_buf) < 0) 306 if (!S_ISREG(stat_buf.st_mode))
|
| H A D | hud_cpufreq.c | 188 struct stat stat_buf; local in function:hud_get_num_cpufreq 226 if (stat(fn, &stat_buf) < 0) 229 if (!S_ISREG(stat_buf.st_mode))
|
| /xsrc/external/mit/freetype/dist/builds/unix/ |
| H A D | ftsystem.c | 234 struct stat stat_buf; local in function:FT_Stream_Open 262 if ( fstat( file, &stat_buf ) < 0 ) 272 /* `stat_buf.st_size', however, is usually typedef'd to off_t */ 278 if ( stat_buf.st_size > LONG_MAX ) 283 else if ( stat_buf.st_size == 0 ) 290 stream->size = (unsigned long)stat_buf.st_size;
|
| /xsrc/external/mit/freetype/dist/builds/vms/ |
| H A D | ftsystem.c | 211 struct stat stat_buf; local in function:FT_Stream_Open 226 if ( fstat( file, &stat_buf ) < 0 ) 233 stream->size = stat_buf.st_size;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/loader/ |
| H A D | loadmod.c | 388 struct stat stat_buf; local in function:FindModuleInSubdir 401 if ((stat(tmpBuf, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) { 481 struct stat stat_buf; local in function:LoaderListDirs 507 if (stat(buf, &stat_buf) == 0 && S_ISDIR(stat_buf.st_mode) && 517 if (!(stat(buf, &stat_buf) == 0 && 518 S_ISREG(stat_buf.st_mode)))
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/loader/ |
| H A D | loadmod.c | 271 struct stat stat_buf; local in function:FindModuleInSubdir 284 if ((stat(tmpBuf, &stat_buf) == 0) && S_ISDIR(stat_buf.st_mode)) { 358 struct stat stat_buf; local in function:LoaderListDir 374 if (stat(buf, &stat_buf) == 0 && S_ISDIR(stat_buf.st_mode) && 384 if (!(stat(buf, &stat_buf) == 0 && S_ISREG(stat_buf.st_mode)))
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| H A D | xf86Config.c | 183 struct stat stat_buf; local in function:xf86ValidateFontPath 201 flag = stat(dir_elem, &stat_buf); 203 if (!S_ISDIR(stat_buf.st_mode)) 213 flag = stat(p1, &stat_buf); 215 if (!S_ISREG(stat_buf.st_mode))
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| H A D | xf86Config.c | 173 struct stat stat_buf; local in function:xf86ValidateFontPath 190 flag = stat(dir_elem, &stat_buf); 192 if (!S_ISDIR(stat_buf.st_mode)) 203 flag = stat(p1, &stat_buf); 205 if (!S_ISREG(stat_buf.st_mode))
|