Home
last modified time | relevance | path

Searched refs:fshandle_t (Results 1 – 25 of 35) sorted by relevance

12

/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/
H A Dquakefs.h154 } fshandle_t; typedef
156 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh);
157 int FS_fseek(fshandle_t *fh, long offset, int whence);
158 long FS_ftell(fshandle_t *fh);
159 void FS_rewind(fshandle_t *fh);
160 int FS_feof(fshandle_t *fh);
161 int FS_ferror(fshandle_t *fh);
162 int FS_fclose(fshandle_t *fh);
163 int FS_fgetc(fshandle_t *fh);
164 char *FS_fgets(char *s, int size, fshandle_t *fh);
[all …]
H A Dcfgfile.c26 static fshandle_t *cfg_file;
167 cfg_file = (fshandle_t *) Z_Malloc(sizeof(fshandle_t), Z_MAINZONE); in CFG_OpenConfig()
H A Dsnd_opus.c54 ret = (int) FS_fread(buf, 1, (size_t)size, (fshandle_t *)f); in opc_fread()
63 return FS_fseek((fshandle_t *)f, (long) off, whence); in opc_fseek()
68 return (opus_int64) FS_ftell((fshandle_t *)f); in opc_ftell()
H A Dsnd_umx.c127 static int get_objtype (fshandle_t *f, int32_t ofs, int type) in get_objtype()
183 static int read_export (fshandle_t *f, const struct upkg_hdr *hdr, in read_export()
204 static int read_typname(fshandle_t *f, const struct upkg_hdr *hdr, in read_typname()
230 static int probe_umx (fshandle_t *f, const struct upkg_hdr *hdr, in probe_umx()
328 static int process_upkg (fshandle_t *f, int32_t *ofs, int32_t *objsize) in process_upkg()
H A Dsnd_mpg123.c51 ssize_t ret = (ssize_t) FS_fread(buf, 1, size, (fshandle_t *)f); in mp3_read()
60 if (FS_fseek((fshandle_t *)f, (long) offset, whence) < 0) in mp3_seek()
62 return (off_t) FS_ftell((fshandle_t *)f); in mp3_seek()
H A Dsnd_timidity.c53 return FS_fread (ptr, size, nmemb, (fshandle_t *) ctx); in timidity_fread()
58 return FS_fseek ((fshandle_t *) ctx, offset, whence); in timidity_fseek()
63 return FS_ftell ((fshandle_t *) ctx); in timidity_ftell()
H A Dquakefs.c1526 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh) in FS_fread()
1562 int FS_fseek(fshandle_t *fh, long offset, int whence) in FS_fseek()
1606 int FS_fclose(fshandle_t *fh) in FS_fclose()
1615 long FS_ftell(fshandle_t *fh) in FS_ftell()
1624 void FS_rewind(fshandle_t *fh) in FS_rewind()
1632 int FS_feof(fshandle_t *fh) in FS_feof()
1643 int FS_ferror(fshandle_t *fh) in FS_ferror()
1652 int FS_fgetc(fshandle_t *fh) in FS_fgetc()
1664 char *FS_fgets(char *s, int size, fshandle_t *fh) in FS_fgets()
1680 long FS_filelength (fshandle_t *fh) in FS_filelength()
H A Dsnd_codec.h53 fshandle_t fh;
H A Dsnd_vorbis.c58 return FS_fseek((fshandle_t *)f, (long) off, whence); in ovc_fseek()
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/
H A Dcommon.h314 } fshandle_t; typedef
316 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh);
317 int FS_fseek(fshandle_t *fh, long offset, int whence);
318 long FS_ftell(fshandle_t *fh);
319 void FS_rewind(fshandle_t *fh);
320 int FS_feof(fshandle_t *fh);
321 int FS_ferror(fshandle_t *fh);
322 int FS_fclose(fshandle_t *fh);
323 int FS_fgetc(fshandle_t *fh);
324 char *FS_fgets(char *s, int size, fshandle_t *fh);
[all …]
H A Dsnd_opus.c53 ret = (int) FS_fread(buf, 1, (size_t)size, (fshandle_t *)f); in opc_fread()
62 return FS_fseek((fshandle_t *)f, (long) off, whence); in opc_fseek()
67 return (opus_int64) FS_ftell((fshandle_t *)f); in opc_ftell()
H A Dsnd_umx.c126 static int get_objtype (fshandle_t *f, int32_t ofs, int type) in get_objtype()
182 static int read_export (fshandle_t *f, const struct upkg_hdr *hdr, in read_export()
203 static int read_typname(fshandle_t *f, const struct upkg_hdr *hdr, in read_typname()
229 static int probe_umx (fshandle_t *f, const struct upkg_hdr *hdr, in probe_umx()
327 static int process_upkg (fshandle_t *f, int32_t *ofs, int32_t *objsize) in process_upkg()
H A Dsnd_mpg123.c51 ssize_t ret = (ssize_t) FS_fread(buf, 1, size, (fshandle_t *)f); in mp3_read()
60 if (FS_fseek((fshandle_t *)f, (long) offset, whence) < 0) in mp3_seek()
62 return (off_t) FS_ftell((fshandle_t *)f); in mp3_seek()
H A Dcommon.c2401 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh) in FS_fread()
2437 int FS_fseek(fshandle_t *fh, long offset, int whence) in FS_fseek()
2481 int FS_fclose(fshandle_t *fh) in FS_fclose()
2490 long FS_ftell(fshandle_t *fh) in FS_ftell()
2499 void FS_rewind(fshandle_t *fh) in FS_rewind()
2507 int FS_feof(fshandle_t *fh) in FS_feof()
2518 int FS_ferror(fshandle_t *fh) in FS_ferror()
2527 int FS_fgetc(fshandle_t *fh) in FS_fgetc()
2539 char *FS_fgets(char *s, int size, fshandle_t *fh) in FS_fgets()
2555 long FS_filelength (fshandle_t *fh) in FS_filelength()
H A Dsnd_codec.h54 fshandle_t fh;
H A Dsnd_vorbis.c60 return FS_fseek((fshandle_t *)f, (long) off, whence); in ovc_fseek()
H A Dsnd_mikmod.c53 fshandle_t *fh;
/dports/games/vkquake/vkQuake-1.12.2/Quake/
H A Dcommon.h317 } fshandle_t; typedef
319 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh);
320 int FS_fseek(fshandle_t *fh, long offset, int whence);
321 long FS_ftell(fshandle_t *fh);
322 void FS_rewind(fshandle_t *fh);
323 int FS_feof(fshandle_t *fh);
324 int FS_ferror(fshandle_t *fh);
325 int FS_fclose(fshandle_t *fh);
326 int FS_fgetc(fshandle_t *fh);
327 char *FS_fgets(char *s, int size, fshandle_t *fh);
[all …]
H A Dsnd_umx.c119 static int get_objtype (fshandle_t *f, int32_t ofs, int type) in get_objtype()
175 static int read_export (fshandle_t *f, const struct upkg_hdr *hdr, in read_export()
196 static int read_typname(fshandle_t *f, const struct upkg_hdr *hdr, in read_typname()
222 static int probe_umx (fshandle_t *f, const struct upkg_hdr *hdr, in probe_umx()
278 static int32_t probe_header (fshandle_t *f, struct upkg_hdr *hdr) in probe_header()
327 static int process_upkg (fshandle_t *f, int32_t *ofs, int32_t *objsize) in process_upkg()
H A Dcfgfile.c25 static fshandle_t *cfg_file;
166 cfg_file = (fshandle_t *) Z_Malloc(sizeof(fshandle_t)); in CFG_OpenConfig()
H A Dsnd_opus.c52 ret = (int) FS_fread(buf, 1, (size_t)size, (fshandle_t *)f); in opc_fread()
61 return FS_fseek((fshandle_t *)f, (long) off, whence); in opc_fseek()
66 return (opus_int64) FS_ftell((fshandle_t *)f); in opc_ftell()
H A Dsnd_mpg123.c45 ssize_t ret = (ssize_t) FS_fread(buf, 1, size, (fshandle_t *)f); in mp3_read()
53 if (FS_fseek((fshandle_t *)f, (long) offset, whence) < 0) in mp3_seek()
55 return (off_t) FS_ftell((fshandle_t *)f); in mp3_seek()
H A Dsnd_codec.h51 fshandle_t fh;
H A Dcommon.c2665 size_t FS_fread(void *ptr, size_t size, size_t nmemb, fshandle_t *fh) in FS_fread()
2701 int FS_fseek(fshandle_t *fh, long offset, int whence) in FS_fseek()
2745 int FS_fclose(fshandle_t *fh) in FS_fclose()
2754 long FS_ftell(fshandle_t *fh) in FS_ftell()
2763 void FS_rewind(fshandle_t *fh) in FS_rewind()
2771 int FS_feof(fshandle_t *fh) in FS_feof()
2782 int FS_ferror(fshandle_t *fh) in FS_ferror()
2791 int FS_fgetc(fshandle_t *fh) in FS_fgetc()
2803 char *FS_fgets(char *s, int size, fshandle_t *fh) in FS_fgets()
2819 long FS_filelength (fshandle_t *fh) in FS_filelength()
H A Dsnd_vorbis.c56 return FS_fseek((fshandle_t *)f, (long) off, whence); in ovc_fseek()

12