Home | History | Annotate | Download | only in libpng

Lines Matching defs:read

25 /* Read the data from whatever input you are using.  The default routine
29 * to read more then 64K on a 16 bit machine.
40 png_error(png_ptr, "Call to NULL read function");
64 png_error(png_ptr, "Read Error");
97 png_size_t read, remaining, err;
103 read = MIN(NEAR_BUF_SIZE, remaining);
104 err = fread(buf, 1, read, io_ptr);
105 png_memcpy(data, buf, read); /* copy far buffer to near buffer */
107 if (err != read)
113 data += read;
114 remaining -= read;
120 png_error(png_ptr, "read Error");
138 * unsigned int that is the number of bytes to be read.
163 /* It is an error to write to a read device */