Searched refs:max (Results 101 - 125 of 424) sorted by last modified time

1234567891011>>

/haiku/src/kits/interface/
H A DButton.cpp547 BButton::GetHeightForWidth(data->width, &data->min, &data->max,
655 width = std::max(width, ceilf(labelSpacing * 3.3f));
681 height = std::max(height,
686 width = std::max(width, label != NULL ? (labelSpacing * 12.5f) : labelSpacing);
687 height = std::max(height, labelSpacing);
H A DMenuField.cpp810 BSize max = fLayoutData->min; local
811 max.width = B_SIZE_UNLIMITED;
813 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
884 BMenuField::GetHeightForWidth(data->width, &data->min, &data->max,
1352 divider = std::max(divider, fDivider);
1386 return std::max(fDivider + kVMargin, kVMargin);
H A DWindow.cpp1436 // Get min/max constraints of the top view and enforce window
2456 width = std::max(width, fTopView->MinSize().width);
2460 height = std::max(height, fTopView->MinSize().height);
2542 left = std::max(0.f, screenFrame.right - frame.Width());
2548 top = std::max(0.f, screenFrame.bottom - frame.Height());
H A DView.cpp360 // kSizesField = {min, max, pref}
1734 float min, max; local
1735 fHorScroller->GetRange(&min, &max);
1739 else if (where.x > max)
1740 where.x = max;
1743 float min, max; local
1744 fVerScroller->GetRange(&min, &max);
1748 else if (where.y > max)
1749 where.y = max;
5315 BView::GetHeightForWidth(data->width, &data->min, &data->max,
5498 GetHeightForWidth(float width, float* min, float* max, float* preferred) argument
6700 _ReservedView7__5BView(BView* view, float width, float* min, float* max, float* preferred) argument
[all...]
H A DBox.cpp39 BSize max; member in struct:BBox::LayoutData
485 BBox::GetHeightForWidth(data->width, &data->min, &data->max,
530 BSize size = (GetLayout() ? GetLayout()->MaxSize() : fLayoutData->max);
822 BSize max = child->MaxSize(); local
829 max.width = BLayoutUtils::AddDistances(max.width, addWidth - 1);
830 max.height = BLayoutUtils::AddDistances(max.height, addHeight - 1);
834 BLayoutUtils::FixSizeConstraints(min, max, preferred);
837 fLayoutData->max
[all...]
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp286 size_t max = SIZE_MAX);
1095 BlockWriter::BlockWriter(block_cache* cache, size_t max) argument
1102 fMax(max),
1881 panic("put_cached_block: invalid block number %" B_PRIdOFF " (max %" B_PRIdOFF ")",
1912 panic("get_cached_block: invalid block number %" B_PRIdOFF " (max %" B_PRIdOFF ")",
1989 panic("get_writable_cached_block: invalid block number %" B_PRIdOFF " (max %" B_PRIdOFF ")",
3507 " (max %" B_PRIdOFF ")",
/haiku/src/servers/debug/
H A DDebugWindow.cpp62 width = std::max(width, message->StringWidth("W") * 30);
/haiku/src/libs/compat/openbsd_network/compat/net/
H A Dif_var-obsd.h117 if_rxr_get(struct if_rxring *rxr, u_int max) argument
130 diff = min(rxr->rxr_cwm - rxr->rxr_alive, max);
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp342 size_t index = 0, max = *_count; local
355 if (index >= max) {
/haiku/src/apps/expander/
H A DExpanderWindow.cpp113 size.width = std::max(size.width, fSourceButton->PreferredSize().width);
114 size.width = std::max(size.width, fExpandButton->PreferredSize().width);
404 float max, pos; local
405 fScrollView->ScrollBar(B_VERTICAL)->GetRange(NULL, &max);
407 bool atEnd = (pos == max);
421 fScrollView->ScrollBar(B_VERTICAL)->GetRange(NULL, &max);
422 fScrollView->ScrollBar(B_VERTICAL)->SetValue(max);
769 bottom = std::max(fPreviousHeight, minHeight);
/haiku/src/system/boot/platform/efi/arch/x86_64/
H A Darch_mmu.cpp237 maxAddress = std::max(maxAddress,
247 maxAddress = std::max(maxAddress, (uint64)0x100000000ll);
/haiku/headers/private/graphics/nvidia/
H A DDriverInterface.h188 /* max. number of overlay buffers */
347 uint32 max; /* command buffer's useable size in 32-bit words */ member in struct:__anon21::__anon23::__anon25
/haiku/src/kits/support/
H A DString.cpp58 strlen_clamp(const char* string, int32 max) argument
60 // this should yield 0 for max<0:
61 return max <= 0 ? 0 : strnlen(string, max);
/haiku/src/kits/network/libnetservices/
H A DHttpRequest.cpp831 std::max((off_t)0, bytesTotal));
1149 std::max((off_t)0, totalSize));
/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif_var.h822 int if_setupmultiaddr(if_t ifp, void *mta, int *cnt, int max);
823 int if_multiaddr_array(if_t ifp, void *mta, int *cnt, int max);
824 int if_multiaddr_count(if_t ifp, int max);
/haiku/src/preferences/backgrounds/
H A DBackgroundsView.cpp106 // max 5 characters allowed
1248 bool min, max, mustSend = false; local
1250 max = (x < fMode.virtual_width);
1251 if (min && max) {
1261 if (!max && fPoint.x < fMode.virtual_width) {
1269 max = (y < fMode.virtual_height);
1270 if (min && max) {
1280 if (!max && fPoint.y < fMode.virtual_height) {
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp228 int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment);
230 int* height, int* max, bool* ascii, color_space* space);
233 int height, int max, bool in_ascii, bool out_ascii, color_space in_space,
257 int width, rowbytes, height, max; local
260 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
307 int width, rowbytes, height, max; local
313 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
384 sprintf(data, "%d %d %d\n", width, height, max);
423 max, ascii, out_ascii, space, out_space);
640 int* max, boo
639 read_ppm_header(BDataIO* inSource, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment) argument
769 read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space) argument
852 read_ascii_line(BDataIO* in, int max, unsigned char* data, int rowbytes) argument
919 make_scale_data(int max) argument
937 copy_data(BDataIO* in, BDataIO* out, int rowbytes, int out_rowbytes, int height, int max, bool in_ascii, bool out_ascii, color_space in_space, color_space out_space) argument
[all...]
/haiku/src/system/boot/platform/efi/arch/generic/
H A Dgeneric_mmu.cpp33 base = std::max(base, physicalMemoryLow);
/haiku/src/system/boot/platform/bios_ia32/
H A Dlong.cpp111 maxAddress = std::max(maxAddress,
118 maxAddress = std::max(maxAddress, (uint64)0x100000000ll);
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DResampler.cpp23 int inMiddle, int outMiddle, int32 min, int32 max> static void
39 else if (tmp >= max)
40 *(outType *)dest = max;
57 else if (tmp >= max)
58 *(outType *)dest = max;
/haiku/src/tools/checkstyle/
H A Dutils.py134 newEnd = max(lastHighlight[1], highlight[1])
/haiku/src/system/runtime_loader/
H A Delf_tls.cpp281 unsigned size = std::max(minimumSize, kInitialSize);
/haiku/src/apps/haikudepot/ui/
H A DFeaturedPackagesView.cpp489 sFont->SetSize(std::max(9.0f, floorf(sFont->Size() * 0.92f)));
/haiku/src/servers/app/decorator/
H A DDefaultDecorator.cpp174 _colors[i].red = std::max((int)_colors[i].red - 80, 0);
175 _colors[i].green = std::max((int)_colors[i].green - 80, 0);
/haiku/src/preferences/screen/
H A DScreenMode.h62 float& min, float& max);

Completed in 234 milliseconds

1234567891011>>