/haiku/src/kits/interface/ |
H A D | Menu.cpp | 1269 BMenu::GetHeightForWidth(data->width, &data->min, &data->max, 2455 index = std::max((int32)0, index); 2659 frame.right = std::max(frame.right, width + fPad.left + fPad.right); 2722 frame.bottom = std::max(frame.bottom, height + fPad.top + fPad.bottom); 2745 frame.right = std::max(frame.right, item->Frame().right); 2747 frame.bottom = std::max(frame.bottom, item->Frame().bottom);
|
H A D | Control.cpp | 501 BControl::GetHeightForWidth(data->width, &data->min, &data->max,
|
H A D | StringView.cpp | 536 BStringView::GetHeightForWidth(data->width, &data->min, &data->max,
|
/haiku/src/apps/deskbar/ |
H A D | Switcher.cpp | 803 int32 max = CountWindows(fCurrentIndex); local 809 if (next >= max) { 819 next = max - 1; 852 int32 max = fGroupList.CountItems(); 855 if (fCurrentIndex >= max) 860 fCurrentIndex = max - 1;
|
/haiku/src/system/kernel/cache/ |
H A D | file_cache.cpp | 103 static void add_to_iovec(generic_io_vec* vecs, uint32 &index, uint32 max, 235 add_to_iovec(generic_io_vec* vecs, uint32 &index, uint32 max, argument 244 if (index == max)
|
/haiku/src/apps/webpositive/ |
H A D | URLInputGroup.cpp | 333 BSize max(MinSize()); 334 max.width = B_SIZE_UNLIMITED; 335 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
|
/haiku/src/preferences/datatranslations/ |
H A D | DataTranslationsWindow.cpp | 109 maxWidth = std::max(maxWidth, fTranslatorListView->StringWidth(name));
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | UnBitArray.cpp | 157 int nPivotValue = max(BitArrayState.nKSum / 32, 1UL);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Volume.cpp | 47 // min and max 53 static inline C max(const C &a, const C &b) { return (a > b ? a : b); } function
|
/haiku/src/tools/ |
H A D | set_haiku_revision.cpp | 29 using std::max;
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/ |
H A D | ar9285_attach.c | 382 /* Setup noise floor min/max/nominal values */ 383 AH5416(ah)->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9285_2GHZ; 547 pCap->halRtsAggrLimit = 64*1024; /* 802.11n max */
|
H A D | ar9280_attach.c | 406 /* Setup noise floor min/max/nominal values */ 407 AH5416(ah)->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_9280_2GHZ; 410 AH5416(ah)->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_9280_5GHZ; 892 pCap->halRtsAggrLimit = 64*1024; /* 802.11n max */
|
/haiku/src/add-ons/kernel/generic/locked_pool/ |
H A D | locked_pool.c | 453 pool->header_size = max((sizeof( chunk_header ) + pool->alignment) & ~pool->alignment,
|
/haiku/src/apps/showimage/ |
H A D | ShowImageView.cpp | 1216 float min, max, pos; local 1221 psb->GetRange(&min, &max); 1224 else if (pos > max) 1225 pos = max;
|
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_mmu.cpp | 280 end = std::max(end, gKernelArgs.physical_memory_range[i].start + gKernelArgs.physical_memory_range[i].size);
|
/haiku/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | ahci_controller.cpp | 337 int portCount = std::max(fls(fRegs->pi), 1 + (int)((fRegs->cap >> CAP_NP_SHIFT) & CAP_NP_MASK));
|
/haiku/src/apps/pulse/ |
H A D | NormalPulseView.cpp | 51 float width = std::max(StringWidth(fProcessor), 48.0f);
|
/haiku/headers/cpp/std/ |
H A D | std_valarray.h | 215 _Tp max() const; 547 valarray<_Tp>::max() const function in class:valarray
|
/haiku/src/libs/linprog/ |
H A D | LayoutOptimizer.cpp | 30 using std::max; 609 int32 maxExtend = max(variableCount, nConstraints); 744 // TODO: The fActiveMatrix is sparse (max 2 entries per row). There should be
|
/haiku/src/libs/x86emu/ |
H A D | validate.c | 258 #define VAL_START_UNARY(parm_type,max,incr) \ 264 for (d = 0; d < max; d += incr) { \
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Mixer.cpp | 365 float max = Info.fMask >> Info.fOff; local 368 float max_gain = Info.fMult * (max - base); 381 TRACE(" min:%f; max:%f; gran:%f -> %#010x\n",
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_spec.h | 861 * bit 24: max power scale. 1233 uint8_t max : 4; member in struct:nvme_ctrlr_data::__anon23 1241 uint8_t max : 4; member in struct:nvme_ctrlr_data::__anon24
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_attach.c | 471 AH5416(ah)->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ; 474 AH5416(ah)->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ;
|
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 251 _colors[i].red = std::max((int)_colors[i].red - 80, 0); 252 _colors[i].green = std::max((int)_colors[i].green - 80, 0);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | reparse.c | 300 int max = 32; /* safety */ local 317 while (curni && ok && !morelinks && (pos < (count - 1)) && --max) {
|