Lines Matching refs:check
25 * In these cases, it is best to check with another tool such as "pngcheck"
43 # define READFILE(file, data, length, check) \
44 if (ReadFile(file, data, length, &check, NULL)) check = 0
45 # define WRITEFILE(file, data, length, check)) \
46 if (WriteFile(file, data, length, &check, NULL)) check = 0
51 # define READFILE(file, data, length, check) \
52 check=(png_size_t)fread(data, (png_size_t)1, length, file)
53 # define WRITEFILE(file, data, length, check) \
54 check=(png_size_t)fwrite(data, (png_size_t)1, length, file)
315 png_size_t check = 0;
324 READFILE((png_FILE_p)io_ptr, data, length, check);
327 if (check != length)
344 int check;
353 READFILE(io_ptr, n_data, length, check);
359 check = 0;
369 check += err;
375 if (check != length)
398 png_uint_32 check;
400 WRITEFILE((png_FILE_p)png_ptr->io_ptr, data, length, check);
401 if (check != length)
418 png_uint_32 check;
427 WRITEFILE(io_ptr, near_data, length, check);
433 check = 0;
443 check += err;
449 if (check != length)