Lines Matching defs:end

163 	int32 start = 0, end = fDataSize - 1;
177 end = offset + size - fOffset;
190 InvalidateRange(start, end);
194 if (start <= fEnd && end >= fStart) {
197 update.AddInt64("end", fEnd);
253 int64 start, end;
255 || message->FindInt64("end", &end) != B_OK)
258 SetSelection(start, end);
502 DataView::SelectionFrame(view_focus which, int32 start, int32 end)
519 float endInLine = (end % kBlockSize) * width + byteWidth - 1;
524 kVerticalSpace + (end / kBlockSize + 1) * fFontHeight - 1);
546 int32 end = fEnd;
547 if (end > first + (int32)kBlockSize - 1)
548 end = first + kBlockSize - 1;
550 BRect firstLine = SelectionFrame(which, first + start, end);
556 end = fEnd % kBlockSize;
560 if (end == kBlockSize - 1)
567 if (end != kBlockSize - 1) {
568 lastLine = SelectionFrame(which, last, last + end);
658 int32 end = blockEnd;
659 if (end > first + (int32)kBlockSize - 1)
660 end = first + kBlockSize - 1;
662 FillRect(SelectionFrame(which, first + start, end));
667 end = blockEnd % kBlockSize;
671 if (end == kBlockSize - 1)
676 if (end != kBlockSize - 1)
677 FillRect(SelectionFrame(which, last, last + end));
706 DataView::SetSelection(int32 start, int32 end, view_focus focus)
710 if (start > end) {
712 start = end;
713 end = temp;
721 if (end > (int32)fSizeInView - 1)
722 end = (int32)fSizeInView - 1;
723 if (end < 0)
724 end = 0;
726 if (fStart == start && fEnd == end) {
740 update.AddInt64("end", end);
761 if (end < fEnd) {
763 DrawSelectionBlock(fFocus, end + 1, fEnd);
764 } else if (end > fEnd) {
766 DrawSelectionBlock(fFocus, fEnd + 1, end);
773 fEnd = end;
782 DataView::GetSelection(int32 &start, int32 &end)
785 end = fEnd;
790 DataView::InvalidateRange(int32 start, int32 end)
792 if (start <= 0 && end >= int32(fDataSize) - 1) {
798 int32 endLine = end / kBlockSize;
802 end = (endLine + 1) * kBlockSize - 1;
806 BRect rect = SelectionFrame(fFocus, start, end);
812 rect = SelectionFrame(fFocus == kHexFocus ? kAsciiFocus : kHexFocus, start, end);
1032 // only spans a rectangle between the start and the end point, so
1124 int32 end = start + fDragMessageSize - 1;
1126 SetSelection(start, end);
1135 int32 end = PositionAt(fFocus, where);
1136 if (end == -1)
1139 SetSelection(fMouseSelectionStart, end);
1140 MakeVisible(end);
1208 int32 start, end;
1212 end = fStart;
1215 end = fEnd;
1224 end = start;
1227 SetSelection(start, end);
1233 int32 start, end;
1237 end = fStart + int32(kBlockSize);
1240 end = fEnd + int32(kBlockSize);
1242 if (end >= int32(fSizeInView))
1243 end = int32(fSizeInView) - 1;
1245 end = fEnd + int32(kBlockSize);
1246 if (end >= int32(fSizeInView))
1249 start = end;
1252 SetSelection(start, end);
1253 MakeVisible(end);