Lines Matching refs:length
27 png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
29 png_debug1(4,"reading %d bytes\n", (int)length);
31 (*(png_ptr->read_data_fn))(png_ptr, data, length);
43 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
51 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
54 check = (png_size_t)fread(data, (png_size_t)1, length,
58 if (check != length)
71 png_default_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
83 if ( !ReadFile((HANDLE)(png_ptr->io_ptr), data, length, &check, NULL) )
86 check = fread(n_data, 1, length, io_ptr);
94 remaining = length;
114 if ((png_uint_32)check != (png_uint_32)length)