Lines Matching defs:file
3 // found in the LICENSE file.
48 HANDLE file = 0;
64 file = CreateFileW(
70 if (file == INVALID_HANDLE_VALUE)
71 file = NULL;
73 if (file != NULL) {
75 file_ret.hf = file;
79 CloseHandle(file);
88 // Callback function for zlib that opens a file stream from a file descriptor.
89 // Since we do not own the file descriptor, dup it so that we can fdopen/fclose
90 // a file stream.
92 FILE* file = NULL;
105 file = fdopen(fd, mode_fopen);
108 return file;
117 // Fills |pzlib_filecunc_def| appropriately to handle the zip file
130 // Callback function for zlib that opens a file stream from a Windows handle.
160 // Opens the specified file. When this function returns a non-NULL pointer, zlib
360 // Setting the Language encoding flag so the file is told to be in utf-8.
365 /*file=*/zip_file,
386 DLOG(ERROR) << "Cannot open ZIP file entry '" << str_path