Lines Matching refs:bytes
1917 u_long dtq = 0; /* two bytes */
2625 "%d pixels per line, %d bytes per line, %d lines high, total %lu bytes, "
2639 long ulx, uly, width, length, number, bytes;
2682 * Binary: 620 bytes
2683 * 4-bits gray: 2480 bytes
2684 * 8-bits gray: 4960 bytes
2688 bytes = (width / MM_PER_INCH) * (s->val[OPT_X_RESOLUTION].w / 8.0);
2689 if (bytes > 620)
2692 "width in pixels too large: width=%ld x-resolution=%d bytes=%ld\n",
2693 width, s->val[OPT_X_RESOLUTION].w, bytes);
2699 bytes = (width / MM_PER_INCH) * (s->val[OPT_X_RESOLUTION].w / 2.0);
2700 if (bytes > 2480)
2703 "width in pixels too large: width=%ld x-resolution=%d bytes=%ld\n",
2704 width, s->val[OPT_X_RESOLUTION].w, bytes);
2710 bytes = (width / MM_PER_INCH) * (s->val[OPT_X_RESOLUTION].w);
2711 if (bytes > 4960)
2714 "width in pixels too large: width=%ld x-resolution=%d bytes=%ld\n",
2715 width, s->val[OPT_X_RESOLUTION].w, bytes);
2910 /* Number of bytes to read for one side of sheet */
2913 "SIDE#2 %d pixels per line, %d bytes, %d lines high, dpi=%d\n",
3160 /* Number of bytes to read for one side of sheet */
3163 DBG (DBG_info, "%d pixels per line, %d bytes, %d lines high, dpi=%d\n",
3185 DBG (DBG_info, "sane_read: bytes left to read: %ld\n",
3243 DBG (DBG_info, "sane_read: trying to read %ld bytes\n", (u_long) nread);