Searched refs:max (Results 326 - 350 of 424) sorted by relevance

<<11121314151617

/haiku/src/kits/interface/
H A DMenu.cpp1269 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 DControl.cpp501 BControl::GetHeightForWidth(data->width, &data->min, &data->max,
H A DStringView.cpp536 BStringView::GetHeightForWidth(data->width, &data->min, &data->max,
/haiku/src/apps/deskbar/
H A DSwitcher.cpp803 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 Dfile_cache.cpp103 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 DURLInputGroup.cpp333 BSize max(MinSize());
334 max.width = B_SIZE_UNLIMITED;
335 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
/haiku/src/preferences/datatranslations/
H A DDataTranslationsWindow.cpp109 maxWidth = std::max(maxWidth, fTranslatorListView->StringWidth(name));
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DUnBitArray.cpp157 int nPivotValue = max(BitArrayState.nKSum / 32, 1UL);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp47 // 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 Dset_haiku_revision.cpp29 using std::max;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9002/
H A Dar9285_attach.c382 /* 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 Dar9280_attach.c406 /* 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 Dlocked_pool.c453 pool->header_size = max((sizeof( chunk_header ) + pool->alignment) & ~pool->alignment,
/haiku/src/apps/showimage/
H A DShowImageView.cpp1216 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 Darch_mmu.cpp280 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 Dahci_controller.cpp337 int portCount = std::max(fls(fRegs->pi), 1 + (int)((fRegs->cap >> CAP_NP_SHIFT) & CAP_NP_MASK));
/haiku/src/apps/pulse/
H A DNormalPulseView.cpp51 float width = std::max(StringWidth(fProcessor), 48.0f);
/haiku/headers/cpp/std/
H A Dstd_valarray.h215 _Tp max() const;
547 valarray<_Tp>::max() const function in class:valarray
/haiku/src/libs/linprog/
H A DLayoutOptimizer.cpp30 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 Dvalidate.c258 #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 DMixer.cpp365 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 Dnvme_spec.h861 * 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 Dar5416_attach.c471 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 DFlatDecorator.cpp251 _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 Dreparse.c300 int max = 32; /* safety */ local
317 while (curni && ok && !morelinks && (pos < (count - 1)) && --max) {

Completed in 205 milliseconds

<<11121314151617