Lines Matching refs:mode
19 #define FOPEN_FUNC(filename, mode) fopen(filename, mode) argument
23 #define FOPEN_FUNC(filename, mode) fopen64(filename, mode) argument
31 voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,const void*filename,int mode) in call_zopen64() argument
34 … return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode); in call_zopen64()
37 … return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode); in call_zopen64()
87 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode));
95 static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, int mode) in fopen_file_func() argument
99 if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) in fopen_file_func()
102 if (mode & ZLIB_FILEFUNC_MODE_EXISTING) in fopen_file_func()
105 if (mode & ZLIB_FILEFUNC_MODE_CREATE) in fopen_file_func()
113 static voidpf ZCALLBACK fopen64_file_func (voidpf opaque, const void* filename, int mode) in fopen64_file_func() argument
117 if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) in fopen64_file_func()
120 if (mode & ZLIB_FILEFUNC_MODE_EXISTING) in fopen64_file_func()
123 if (mode & ZLIB_FILEFUNC_MODE_CREATE) in fopen64_file_func()