Lines Matching refs:bytes
110 _lto2b(SANE_Int val, SANE_Byte *bytes)
113 bytes[0] = (val >> 8) & 0xff;
114 bytes[1] = val & 0xff;
118 _lto3b(SANE_Int val, SANE_Byte *bytes)
121 bytes[0] = (val >> 16) & 0xff;
122 bytes[1] = (val >> 8) & 0xff;
123 bytes[2] = val & 0xff;
127 _lto4b(SANE_Int val, SANE_Byte *bytes)
130 bytes[0] = (val >> 24) & 0xff;
131 bytes[1] = (val >> 16) & 0xff;
132 bytes[2] = (val >> 8) & 0xff;
133 bytes[3] = val & 0xff;
137 _2btol(SANE_Byte *bytes)
141 rv = (bytes[0] << 8) |
142 bytes[1];
147 _3btol(SANE_Byte *bytes)
151 rv = (bytes[0] << 16) |
152 (bytes[1] << 8) |
153 bytes[2];
158 _4btol(SANE_Byte *bytes)
162 rv = (bytes[0] << 24) |
163 (bytes[1] << 16) |
164 (bytes[2] << 8) |
165 bytes[3];
311 SANE_Byte more_pages[243]; /* maximum size 255 bytes (incl header) */
320 SANE_Byte more_pages[243]; /* maximum size 255 bytes (incl header) */