/haiku/src/preferences/screen/ |
H A D | Utility.h | 6 extern float round(float n, int32 max);
|
H A D | Utility.cpp | 4 float round(float n, int32 max) function
|
H A D | MonitorView.cpp | 232 fDPI = (int32)round((fWidth / x + fHeight / y) / 2);
|
H A D | ScreenMode.cpp | 404 *_diagonalInches = round(sqrt(info.width * info.width
|
/haiku/src/system/libroot/posix/musl/math/arm64/ |
H A D | round.c | 3 double round(double x) function
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | llround.c | 5 return round(x);
|
H A D | lround.c | 5 return round(x);
|
H A D | round.c | 10 double round(double x) function
|
H A D | roundl.c | 6 return round(x);
|
/haiku/src/apps/icon-o-matic/generic/gui/panel/color_picker/ |
H A D | ColorField.cpp | 24 #define round(x) (int)(x +.5) macro 239 G = round(fMarkerPosition.x / width * 255.0); 240 B = round(255.0 - fMarkerPosition.y / height * 255.0); 244 R = round(fMarkerPosition.x / width * 255.0); 246 B = round(255.0 - fMarkerPosition.y / height * 255.0); 250 R = round(fMarkerPosition.x / width * 255.0); 251 G = round(255.0 - fMarkerPosition.y / height * 255.0); 279 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round( [all...] |
H A D | ColorPickerView.cpp | 34 #define round(x) (int)(x+.5) macro 295 rgb_color color = { (uint8)round(r * 255), (uint8)round(g * 255), 296 (uint8)round(b * 255), 255 }; 401 color.red = (uint8)round(r * 255.0); 402 color.green = (uint8)round(g * 255.0); 403 color.blue = (uint8)round(b * 255.0); 464 updateRequired |= _SetTextControlValue(0, round(h * 60)); 465 updateRequired |= _SetTextControlValue(1, round(s * 100)); 466 updateRequired |= _SetTextControlValue(2, round( [all...] |
H A D | ColorSlider.cpp | 25 #define round(x) (int)(x+.5) macro 284 G = round(fFixedValue1 * 255.0); 285 B = round(fFixedValue2 * 255.0); 289 R = round(fFixedValue1 * 255.0); 291 B = round(fFixedValue2 * 255.0); 295 R = round(fFixedValue1 * 255.0); 296 G = round(fFixedValue2 * 255.0); 326 rgb_color color = { (uint8)round(R), (uint8)round(G), (uint8)round( [all...] |
/haiku/src/add-ons/accelerants/common/ |
H A D | validate_display_mode.cpp | 27 round(uint16 value, uint16 resolution) function 77 syncEnd = round(syncStart + syncLength, constraints.resolution); 78 syncStart = round(syncStart, constraints.resolution); 79 display = round(display, constraints.resolution); 80 total = round(total, constraints.resolution);
|
/haiku/src/libs/alm/ |
H A D | Area.cpp | 462 return BRect(round(fLeft->Value()), round(fTop->Value()), 463 round(fRight->Value()), round(fBottom->Value()));
|
/haiku/src/system/libroot/posix/musl/crypt/ |
H A D | crypt_des.c | 696 unsigned int shifts, round, i, ibit; local 727 for (round = 0; round < 16; round++) { 731 shifts += key_shifts[round]; 746 ekey->l[round] = kl; 747 ekey->r[round] = kr; 776 * Do each round. 778 unsigned int round = 16; local 782 while (round [all...] |
/haiku/src/system/libroot/posix/glibc/math/bits/ |
H A D | mathcalls.h | 293 __MATHCALL (round,, (_Mdouble_ __x));
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Painter.h | 178 // round rects 256 float _Align(float coord, bool round, 258 void _Align(BPoint* point, bool round,
|
H A D | Painter.cpp | 1520 Painter::_Align(float coord, bool round, bool centerOffset) const argument 1523 if (round) 1544 Painter::_Align(BPoint* point, bool round, bool centerOffset) const argument 1546 point->x = _Align(point->x, round, centerOffset); 1547 point->y = _Align(point->y, round, centerOffset);
|
/haiku/src/servers/app/stackandtile/ |
H A D | SATGroup.cpp | 526 float deltaToX = round(frameSAT.left - frame.left); 527 float deltaToY = round(frameSAT.top - frame.top); 529 float deltaByX = round(frameSAT.right - frame.right); 530 float deltaByY = round(frameSAT.bottom - frame.bottom);
|
/haiku/src/apps/diskprobe/ |
H A D | ProbeView.cpp | 733 // round to block size 747 bool round = true; local 760 if (message->FindBool("fPositionControl", &round) 764 } else if (message->FindBool("fOffsetControl", &round) 768 } else if (message->FindBool("fFileOffsetControl", &round) 781 if (round) 783 // round to block size
|
/haiku/headers/posix/ |
H A D | math.h | 244 extern double round(double x);
|
/haiku/src/servers/app/ |
H A D | Window.cpp | 756 // the message to initiate the next update round. 2174 float deltaToX = round(ownFrame.left - frame.left); 2175 float deltaToY = round(ownFrame.top - frame.top); 2177 float deltaByX = round(ownFrame.right - frame.right); 2178 float deltaByY = round(ownFrame.bottom - frame.bottom);
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 2259 return (int)round(sysInfo->ignored_pages * B_PAGE_SIZE / 1048576.0); 2266 return (int)round(sysInfo->max_pages * B_PAGE_SIZE / 1048576.0); 2280 return (int)round(sysInfo->used_pages * B_PAGE_SIZE / 1048576.0);
|
/haiku/headers/libs/mapm/ |
H A D | m_apm.h | 528 MAPM round(int toDigits) const function in class:MAPM
|
/haiku/src/tools/html5_remote_desktop/ |
H A D | HaikuRemoteDesktop.js | 1154 this.lineCap = 'round'; 1169 this.lineJoin = 'round'; 1402 var centerX = Math.round(rect.centerX()); 1403 var centerY = Math.round(rect.centerY()); 1491 console.warn('round rects not implemented, falling back to rect');
|