Searched refs:stat_buf (Results 1 - 15 of 15) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/drm-shim/
H A Ddrm_shim.c397 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 Dvmw_screen.c69 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 Dvmw_screen.c129 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 Dhud_nic.c290 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 Dhud_diskstat.c247 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 Dhud_cpufreq.c188 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 Dhud_nic.c291 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 Dhud_diskstat.c248 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 Dhud_cpufreq.c188 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 Dftsystem.c234 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 Dftsystem.c211 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 Dloadmod.c388 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 Dloadmod.c271 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 Dxf86Config.c183 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 Dxf86Config.c173 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))

Completed in 20 milliseconds