Searched refs:restrict_value (Results 1 - 2 of 2) sorted by relevance

/haiku/src/apps/terminal/
H A DBasicTerminalBuffer.cpp45 restrict_value(int32 value, int32 min, int32 max) function
750 x = restrict_value(x, 0, fWidth - 1);
780 x = restrict_value(x, 0, fWidth - 1);
983 fScrollTop = restrict_value(top, 0, fHeight - 1);
984 fScrollBottom = restrict_value(bottom, fScrollTop, fHeight - 1);
1016 x = restrict_value(x, 0, fWidth - 1);
1024 x = restrict_value(x, 0, fWidth - 1);
1053 x = restrict_value(x, 0, fWidth - 1);
1056 y = restrict_value(y, fScrollTop, fScrollBottom);
1058 y = restrict_value(
[all...]
H A DTermView.cpp120 restrict_value(const Type& value, const Type& min, const Type& max) function
2657 start = restrict_value(start, minPos, maxPos);
2658 end = restrict_value(end, minPos, maxPos);

Completed in 48 milliseconds