Lines Matching defs:length
135 int c_memlen; /* length of above region */
405 char *doio_pat_check(char *buf, int offset, int length,
407 char *check_file(char *file, int offset, int length, char *pattern,
1970 "fcntl(%d, %d, %#o) failed for file %s, lock type %d, offset %d, length %d: %s (%d), open flags: %#o\n",
2486 " RAW I/O: offset %% 4096 = %d length %% 4096 = %d\n",
2513 " DIRECT I/O: offset %% %d = %d length %% %d = %d\n",
2972 cp += sprintf(cp, "\tfile-mem=0x%lx, length=%d, buffer=0x%lx\n",
3286 wrec.w_nbytes = nbytes; /* mem_needed -- total length */
3643 char *doio_pat_check(char *buf, int offset, int length, char *pattern,
3651 if (pattern_check(buf, length, pattern, pattern_length, patshift) != 0) {
3662 bufend = buf + length;
3722 * Check the contents of a file beginning at offset, for length bytes. It
3736 char *check_file(char *file, int offset, int length, char *pattern,
3780 if ((nb = read(fd, buf, length)) == -1) {
3784 length, file, SYSERR, errno,
3785 fd, buf, length,
3790 length, file, SYSERR, errno);
3796 if (nb != length) {
3799 file, length, nb);
3804 (*Data_Check) (buf, offset, length, pattern, pattern_length,
3810 file, offset, length, pattern, pattern_length,
5502 "\t and have needed length)\n");