/haiku/src/libs/print/libprint/ |
H A D | PageSetupDlg.cpp | 299 printable_rect.right = min_c(printable_rect.right, physical_rect.right); 300 printable_rect.bottom = min_c(printable_rect.bottom, physical_rect.bottom);
|
H A D | Preview.cpp | 684 float scaling = min_c(scalingXY.x, scalingXY.y);
|
/haiku/src/servers/app/ |
H A D | IntPoint.cpp | 21 x = max_c(min_c(x, r.right), r.left); 22 y = max_c(min_c(y, r.bottom), r.top);
|
H A D | IntRect.cpp | 236 min_c(right, rect.right), min_c(bottom, rect.bottom)); 243 return IntRect(min_c(left, rect.left), min_c(top, rect.top),
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | Transformable.cpp | 20 return min_c(a, min_c(b, min_c(c, d)));
|
H A D | agg_renderer_region.h | 127 r.right = min_c((int)width() - 1, r.right); 128 r.bottom = min_c((int)height() - 1, r.bottom);
|
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | DrawBitmapNoScale.h | 63 fRect.right = min_c(baseRenderer.xmax(), right); 66 fRect.bottom = min_c(baseRenderer.ymax(), bottom);
|
/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeAdd.h | 20 uint8 rt = min_c(255, _p.data8[2] + (r)); \ 21 uint8 gt = min_c(255, _p.data8[1] + (g)); \ 22 uint8 bt = min_c(255, _p.data8[0] + (b)); \ 31 d[0] = min_c(255, _p.data8[0] + (b)); \ 32 d[1] = min_c(255, _p.data8[1] + (g)); \ 33 d[2] = min_c(255, _p.data8[2] + (r)); \
|
H A D | DrawingModeAddSUBPIX.h | 21 uint8 rt = min_c(255, _p.data8[2] + (r)); \ 22 uint8 gt = min_c(255, _p.data8[1] + (g)); \ 23 uint8 bt = min_c(255, _p.data8[0] + (b)); \
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | StreamingRingBuffer.cpp | 89 size_t copyLength = min_c(length, fBufferSize - fReadPosition); 90 copyLength = min_c(copyLength, fReadable); 157 size_t copyLength = min_c(length, fBufferSize - fWritePosition); 158 copyLength = min_c(copyLength, fBufferSize - fReadable);
|
/haiku/src/system/boot/loader/net/ |
H A D | RemoteDisk.cpp | 120 uint32 toRead = min_c(bufferSize, REMOTE_DISK_BLOCK_SIZE);
|
/haiku/src/system/boot/platform/generic/ |
H A D | video_splash.cpp | 91 addr_t size = min_c(gKernelArgs.frame_buffer.width 139 int width = min_c(kSplashLogoWidth, gKernelArgs.frame_buffer.width); 140 int height = min_c(kSplashLogoHeight + iconsHalfHeight, 142 int placementX = max_c(0, min_c(100, kSplashLogoPlacementX)); 143 int placementY = max_c(0, min_c(100, kSplashLogoPlacementY)); 148 height = min_c(kSplashLogoHeight, gKernelArgs.frame_buffer.height); 191 width = min_c(kSplashIconsWidth, gKernelArgs.frame_buffer.width); 192 height = min_c(kSplashLogoHeight + iconsHalfHeight, 194 placementX = max_c(0, min_c(100, kSplashIconsPlacementX)); 195 placementY = max_c(0, min_c(10 [all...] |
/haiku/src/system/kernel/ |
H A D | boot_splash.cpp | 232 int width = min_c(kSplashIconsWidth, sInfo->width); 233 int height = min_c(kSplashLogoHeight + iconsHalfHeight, sInfo->height); 234 int placementX = max_c(0, min_c(100, kSplashIconsPlacementX)); 235 int placementY = max_c(0, min_c(100, kSplashIconsPlacementY)); 243 height = min_c(iconsHalfHeight, sInfo->height);
|
/haiku/src/system/kernel/cache/ |
H A D | vnode_store.cpp | 70 generic_size_t length = min_c(bytesUntouched, vecs[i].length);
|
/haiku/src/system/kernel/util/ |
H A D | hostname.cpp | 48 nameSize = min_c(nameSize, MAXHOSTNAMELEN); 76 nameSize = min_c(nameSize, MAXHOSTNAMELEN);
|
/haiku/src/system/kernel/vm/ |
H A D | VMAnonymousNoSwapCache.cpp | 54 fPrecommittedPages = min_c(numPrecommittedPages, 255);
|
/haiku/src/system/libnetwork/ |
H A D | init.cpp | 29 __gNetworkStart = (addr_t)min_c(info.text, info.data); 30 __gNetworkEnd = min_c((addr_t)info.text + info.text_size,
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | hostname.cpp | 48 nameSize = min_c(nameSize, MAXHOSTNAMELEN); 77 nameSize = min_c(nameSize, MAXHOSTNAMELEN);
|
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 311 off_t size = min_c(rand() % sMaxFileSize, sMaxFileSize); 338 ssize_t toWrite = min_c(size, kBlockSize - blockOffset); 422 ssize_t toRead = min_c(size, kBlockSize); 834 = min_c(maxFileCount, files.size() + maxFileCount / 10); 848 = min_c(maxDirCount, dirs.size() + maxDirCount / 10);
|
/haiku/src/tests/add-ons/mail/imap/ |
H A D | imap_tester.cpp | 127 min_c(sizeof(buffer), length));
|
/haiku/src/tests/kits/game/push_game_sound_test/ |
H A D | push_game_sound_test.cpp | 136 size_t size = min_c(bufferPartSize - partPos, decodedSize);
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 342 count = min_c(fLineCount, childCount); 358 count = min_c(fLineCount, childCount);
|
/haiku/src/tests/servers/app/copy_bits/ |
H A D | main.cpp | 188 return min_c(a, min_c(b, min_c(c, d)));
|
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | DrawingEngine.cpp | 68 int32 y1 = (int32)min_c(a.y, b.y); 77 int32 end = min_c(rect.bottom, y2); 92 int32 x1 = (int32)min_c(a.x, b.x); 101 int32 end = min_c(rect.right, x2);
|
/haiku/src/tests/servers/app/painter/ |
H A D | Painter.cpp | 349 int32 y1 = (int32)min_c(a.y, b.y); 357 int32 end = min_c(fBaseRenderer->ymax(), y2); 376 int32 x1 = (int32)min_c(a.x, b.x); 384 int32 end = min_c(fBaseRenderer->xmax(), x2); 605 int32 x2 = min_c(fBaseRenderer->xmax(), right); 608 int32 y2 = min_c(fBaseRenderer->ymax(), bottom);
|