Lines Matching defs:length
594 Inode::ReadAt(off_t pos, uint8* buffer, size_t* length)
596 TRACE("Inode::ReadAt: pos:(%" B_PRIdOFF "), *length:(%" B_PRIuSIZE ")\n", pos, *length);
604 // set/check boundaries for pos/length
607 ", length %lu)\n", ID(), pos, *length);
611 if (pos >= Size() || length == 0) {
613 ", length %" B_PRIuSIZE ")\n", ID(), pos, *length);
614 *length = 0;
633 while (*length > 0) {
634 TRACE("Inode::ReadAt: pos:(%" B_PRIdOFF "), *length:(%" B_PRIuSIZE ")\n", pos, *length);
645 *length = 4096;
647 *length = lengthLeftInFile;
656 // data because of less buffer length
657 if (lengthToRead > *length)
658 lengthToRead = *length;
679 *length -= lengthToRead;
686 *length = lengthRead;
761 hashfunction(const char* name, int length)
766 if (length >= 4) {
767 for (; index < length && (length - index) >= 4; index += 4)
776 int leftToCover = length - lengthCovered;