Lines Matching refs:check
22 * In these cases, it is best to check with another tool such as "pngcheck"
39 # define READFILE(file, data, length, check) \
40 if (ReadFile(file, data, length, &check,NULL)) check = 0
41 # define WRITEFILE(file, data, length, check)) \
42 if (WriteFile(file, data, length, &check, NULL)) check = 0
48 # define READFILE(file, data, length, check) \
49 check=(png_size_t)fread(data,(png_size_t)1,length,file)
50 # define WRITEFILE(file, data, length, check) \
51 check=(png_size_t)fwrite(data,(png_size_t)1, length, file)
301 png_size_t check;
306 READFILE((png_FILE_p)png_ptr->io_ptr, data, length, check);
308 if (check != length)
325 int check;
334 READFILE(io_ptr, n_data, length, check);
340 check = 0;
350 check += err;
356 if (check != length)
384 png_uint_32 check;
386 WRITEFILE((png_FILE_p)png_ptr->io_ptr, data, length, check);
387 if (check != length)
404 png_uint_32 check;
413 WRITEFILE(io_ptr, near_data, length, check);
419 check = 0;
429 check += err;
435 if (check != length)