Searched refs:cpuInfoFile (Results 1 - 3 of 3) sorted by relevance
| /xsrc/external/mit/xf86-video-openchrome/dist/src/ |
| H A D | via_memcpy.c | 529 FILE *cpuInfoFile; local in function:viaVidCopyInit 532 if (NULL == (cpuInfoFile = fopen("/proc/cpuinfo", "r"))) { 535 count = fread(buf, 1, BSIZ, cpuInfoFile); 536 if (ferror(cpuInfoFile)) { 537 fclose(cpuInfoFile); 540 fclose(cpuInfoFile);
|
| /xsrc/external/mit/xf86-video-sis/dist/src/ |
| H A D | sis_memcpy.c | 795 FILE *cpuInfoFile; local in function:SiS_ReadProc 798 if((cpuInfoFile = fopen(filename, "r")) == NULL) { 802 count = fread(buf, 1, CPUBUFFERSIZE, cpuInfoFile); 803 if(ferror(cpuInfoFile)) { 804 fclose(cpuInfoFile); 808 fclose(cpuInfoFile);
|
| /xsrc/external/mit/xf86-video-xgi/dist/src/ |
| H A D | xgi_memcpy.c | 904 FILE *cpuInfoFile; local in function:XGI_ReadProc 907 if((cpuInfoFile = fopen(filename, "r")) == NULL) { 911 count = fread(buf, 1, CPUBUFFERSIZE, cpuInfoFile); 912 if(ferror(cpuInfoFile)) { 913 fclose(cpuInfoFile); 917 fclose(cpuInfoFile);
|
Completed in 8 milliseconds