Home | History | Annotate | Download | only in doio

Lines Matching defs:offset

44 void databingen(int mode, char *buffer, int bsize, int offset)
60 buffer[ind] = ((offset + ind) % 8 & 0177);
80 * >= 0 : error at byte offset into the file, offset+buffer[0-(bsize-1)]
83 int databinchk(int mode, char *buffer, int bsize, int offset, char **errmsg)
107 expbits = ((offset + cnt) % 8 & 0177);
111 "data mismatch at offset %d, exp:%#lo, act:%#o",
112 offset + cnt, expbits, buffer[cnt]);
113 return offset + cnt;
136 "data mismatch at offset %d, exp:%#lo, act:%#lo",
137 offset + cnt, expbits, actbits);
138 return offset + cnt;
151 int offset;
175 offset = 232400;
176 ret = databinchk('a', &buffer[1], size - 1, offset, &errmsg);
178 size, offset, ret, errmsg);
185 printf("changing char 15 (offset (%d+15) = %d) to 0x0\n", offset,
186 offset + 15);
187 number = offset + 15;
189 ret = databinchk('a', &buffer[1], size - 1, offset + 1, &errmsg);
191 size - 1, offset + 1, ret, errmsg);
209 offset = 232400;
210 ret = databinchk('c', &buffer[1], size - 1, offset, &errmsg);
212 size, offset, ret, errmsg);
219 printf("changing char 15 (offset (%d+15) = %d) to 0x0\n", offset,
220 offset + 15);
221 number = offset + 15;
223 ret = databinchk('c', &buffer[1], size - 1, offset + 1, &errmsg);
225 size - 1, offset + 1, ret, errmsg);
244 offset = 18;
256 printf("changing char 20 and 21 to 0x0 (offset %d and %d)\n", 20, 21);