Lines Matching refs:in
4 * you may not use this file except in compliance with the License.
9 * Unless required by applicable law or agreed to in writing, software
90 bool ResourceCheck::IsValidPngImage(FILE *&in) const
93 if (fread(checkheader, 1, PNG_BYTRS_TO_CHECK, in) != PNG_BYTRS_TO_CHECK) {
100 rewind(in);
106 FILE *in = fopen(filePath.c_str(), "rb");
107 if (in == nullptr) {
111 if (!IsValidPngImage(in)) {
113 CloseFile(in);
118 CloseFile(in);
123 CloseFile(in);
127 png_init_io(pngHandle, in);
134 CloseFile(in);