Rizin
unix-like reverse engineering framework and cli tools
|
#include "ioapi.h"
Go to the source code of this file.
Macros | |
#define | FOPEN_FUNC(filename, mode) fopen64(filename, mode) |
#define | FTELLO_FUNC(stream) ftello64(stream) |
#define | FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin) |
voidpf call_zopen64 | ( | const zlib_filefunc64_32_def * | pfilefunc, |
const void * | filename, | ||
int | mode | ||
) |
Definition at line 31 of file ioapi.c.
References NULL, zlib_filefunc64_def_s::opaque, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zopen32_file, and zlib_filefunc64_def_s::zopen64_file.
long call_zseek64 | ( | const zlib_filefunc64_32_def * | pfilefunc, |
voidpf | filestream, | ||
ZPOS64_T | offset, | ||
int | origin | ||
) |
Definition at line 41 of file ioapi.c.
References NULL, zlib_filefunc64_def_s::opaque, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zseek32_file, and zlib_filefunc64_def_s::zseek64_file.
ZPOS64_T call_ztell64 | ( | const zlib_filefunc64_32_def * | pfilefunc, |
voidpf | filestream | ||
) |
Definition at line 55 of file ioapi.c.
References MAXU32, NULL, zlib_filefunc64_def_s::opaque, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc64_32_def_s::ztell32_file, and zlib_filefunc64_def_s::ztell64_file.
Definition at line 218 of file ioapi.c.
References benchmark::FILE.
Referenced by fill_fopen64_filefunc(), and fill_fopen_filefunc().
Definition at line 226 of file ioapi.c.
References benchmark::FILE.
Referenced by fill_fopen64_filefunc(), and fill_fopen_filefunc().
void fill_fopen64_filefunc | ( | zlib_filefunc64_def * | pzlib_filefunc_def | ) |
Definition at line 247 of file ioapi.c.
References fclose_file_func(), ferror_file_func(), fopen64_file_func(), fread_file_func(), fseek64_file_func(), ftell64_file_func(), fwrite_file_func(), NULL, zlib_filefunc64_def_s::opaque, zlib_filefunc64_def_s::zclose_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc64_def_s::ztell64_file, and zlib_filefunc64_def_s::zwrite_file.
Referenced by unzOpenInternal(), and zipOpen3().
void fill_fopen_filefunc | ( | zlib_filefunc_def* | pzlib_filefunc_def | ) |
Definition at line 234 of file ioapi.c.
References fclose_file_func(), ferror_file_func(), fopen_file_func(), fread_file_func(), fseek_file_func(), ftell_file_func(), fwrite_file_func(), NULL, and zlib_filefunc_def_s::zopen_file.
void fill_zlib_filefunc64_32_def_from_filefunc32 | ( | zlib_filefunc64_32_def * | p_filefunc64_32, |
const zlib_filefunc_def * | p_filefunc32 | ||
) |
Definition at line 69 of file ioapi.c.
References NULL, zlib_filefunc_def_s::opaque, zlib_filefunc64_def_s::opaque, zlib_filefunc_def_s::zclose_file, zlib_filefunc64_def_s::zclose_file, zlib_filefunc_def_s::zerror_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zopen32_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc_def_s::zopen_file, zlib_filefunc_def_s::zread_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_32_def_s::zseek32_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc_def_s::zseek_file, zlib_filefunc64_32_def_s::ztell32_file, zlib_filefunc64_def_s::ztell64_file, zlib_filefunc_def_s::ztell_file, zlib_filefunc_def_s::zwrite_file, and zlib_filefunc64_def_s::zwrite_file.
Referenced by unzOpen2(), and zipOpen2().
Definition at line 114 of file ioapi.c.
References file, benchmark::FILE, FOPEN_FUNC, NULL, ZLIB_FILEFUNC_MODE_CREATE, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, and ZLIB_FILEFUNC_MODE_READWRITEFILTER.
Referenced by fill_fopen64_filefunc().
Definition at line 95 of file ioapi.c.
References file, benchmark::FILE, NULL, ZLIB_FILEFUNC_MODE_CREATE, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, and ZLIB_FILEFUNC_MODE_READWRITEFILTER.
Referenced by fill_fopen_filefunc().
|
static |
Definition at line 134 of file ioapi.c.
References benchmark::FILE.
Referenced by fill_fopen64_filefunc(), and fill_fopen_filefunc().
|
static |
Definition at line 191 of file ioapi.c.
References benchmark::FILE, FSEEKO_FUNC, SEEK_CUR, SEEK_END, SEEK_SET, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_END, and ZLIB_FILEFUNC_SEEK_SET.
Referenced by fill_fopen64_filefunc().
|
static |
Definition at line 167 of file ioapi.c.
References benchmark::FILE, SEEK_CUR, SEEK_END, SEEK_SET, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_END, and ZLIB_FILEFUNC_SEEK_SET.
Referenced by fill_fopen_filefunc().
Definition at line 159 of file ioapi.c.
References benchmark::FILE, and FTELLO_FUNC.
Referenced by fill_fopen64_filefunc().
Definition at line 150 of file ioapi.c.
References benchmark::FILE.
Referenced by fill_fopen_filefunc().
|
static |
Definition at line 142 of file ioapi.c.
References benchmark::FILE.
Referenced by fill_fopen64_filefunc(), and fill_fopen_filefunc().
|
static |
|
static |
|
static |