/external/quake/quake/src/WinQuake/ |
sys_sun.cpp | 56 MEMFILE sys_handles[MAX_HANDLES]; variable 63 if (!sys_handles[i].hFile) 100 sys_handles[i].hFile = f; 101 sys_handles[i].nLen = filelength(f); 102 sys_handles[i].nPos = 0; 103 sys_handles[i].pMap = mmap( 0, sys_handles[i].nLen, PROT_READ, MAP_SHARED, fileno( sys_handles[i].hFile ), 0 ); 104 if (!sys_handles[i].pMap || (sys_handles[i].pMap == (char *)-1) [all...] |
sys_null.cpp | 34 FILE *sys_handles[MAX_HANDLES];
variable 41 if (!sys_handles[i])
78 sys_handles[i] = f;
94 sys_handles[i] = f;
101 fclose (sys_handles[handle]);
102 sys_handles[handle] = NULL;
107 fseek (sys_handles[handle], position, SEEK_SET);
112 return fread (dest, 1, count, sys_handles[handle]);
117 return fwrite (data, 1, count, sys_handles[handle]);
|
sys_wind.cpp | 38 FILE *sys_handles[MAX_HANDLES];
variable 45 if (!sys_handles[i])
82 sys_handles[i] = f;
98 sys_handles[i] = f;
105 fclose (sys_handles[handle]);
106 sys_handles[handle] = NULL;
111 fseek (sys_handles[handle], position, SEEK_SET);
116 return fread (dest, 1, count, sys_handles[handle]);
121 return fwrite (data, 1, count, sys_handles[handle]);
|
sys_win.cpp | 98 FILE *sys_handles[MAX_HANDLES];
variable 105 if (!sys_handles[i])
153 sys_handles[i] = f;
176 sys_handles[i] = f;
188 fclose (sys_handles[handle]);
189 sys_handles[handle] = NULL;
198 fseek (sys_handles[handle], position, SEEK_SET);
207 x = fread (dest, 1, count, sys_handles[handle]);
217 x = fwrite (data, 1, count, sys_handles[handle]);
|