Searched refs:max (Results 376 - 400 of 424) sorted by relevance

<<11121314151617

/haiku/src/servers/app/drawing/interface/local/
H A DAccelerantHWInterface.cpp1325 restrictions->max_width_scale = constraints.h_scale.max;
1327 restrictions->max_height_scale = constraints.v_scale.max;
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dkernel_interface.cpp334 size_t index = 0, max = *_count; local
347 if (index >= max) {
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_attach.c2404 ahp->nf_2GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_2GHZ;
2407 ahp->nf_5GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_5GHZ;
2412 ahp->nf_2GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_2GHZ;
2415 ahp->nf_5GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_5GHZ;
2420 ahp->nf_2GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_2GHZ;
2427 ahp->nf_5GHz.max = AR_PHY_CCA_MAX_GOOD_VAL_OSPREY_5GHZ;
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp2880 + std::max((int32)sInactivePagesTarget - (int32)maxToScan, (int32)0);
3029 despairLevel = std::max(despairLevel + 1, (int32)3);
3384 + std::max((page_num_t)32, (sNumPages - sNonExistingPages) / 1024);
3877 = std::max(restrictions->low_address / B_PAGE_SIZE, sPhysicalPageOffset)
3882 end = std::max(restrictions->high_address / B_PAGE_SIZE,
3891 = std::max(restrictions->alignment / B_PAGE_SIZE, (phys_addr_t)1) - 1;
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwn.c635 | IEEE80211_HTCAP_MAXAMSDU_7935 /* max A-MSDU length */
637 | IEEE80211_HTCAP_MAXAMSDU_3839 /* max A-MSDU length */
5801 /* Do not exceed channel max TX power. */
6197 #define inc(val, inc, max) \
6198 if ((val) < (max)) { \
6199 if ((val) < (max) - (inc)) \
6202 (val) = (max); \
6480 uint32_t max, skip_dtim; local
6518 max = pmgt->intval[4];
6519 if (max
[all...]
/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/system/kernel/
H A Dthread.cpp917 thread->priority = std::max(thread->priority,
1430 *_remainingTime = std::max(
1435 *_remainingTime = std::max(timeout - now, (bigtime_t)0);
H A DUserTimer.cpp385 fTimer.schedule_time = std::max(fNextTime, (bigtime_t)0);
/haiku/headers/cpp/
H A Dstl_deque.h435 _M_map_size = max((size_t) _S_initial_map_size, __num_nodes + 2);
1636 _M_map_size + max(_M_map_size, __nodes_to_add) + 2;
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_sta.c1557 int max = tim->tim_len + min - 4; local
1566 if (min <= ix && ix <= max &&
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DAudioMixer.cpp626 + max((bigtime_t)4500, bigtime_t(0.5 * BufferDuration()));
929 + max(kMinMixingTime, bigtime_t(0.5 * BufferDuration())) + kMaxJitter;
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp388 size_t index = 0, max = *_count; local
410 if (index >= max) {
/haiku/src/apps/debuganalyzer/gui/
H A DHeaderView.cpp709 width = std::max(width, fHeader->MinWidth());
/haiku/src/tests/kits/storage/testapps/
H A DPathMonitorTest2.cpp1354 longestTestName = std::max(longestTestName, test->Name().Length());
/haiku/src/servers/net/
H A DDHCPClient.cpp461 timeout = std::max(remaining, bigtime_t(AS_USECS(60)));
/haiku/src/kits/interface/
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 DScrollView.cpp690 BScrollView::GetHeightForWidth(data->width, &data->min, &data->max,
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp2054 off_t originalPos = max(request->pos, (off_t)0);
2055 int32 originalSize = max(request->size, (int32)0);
2062 originalSize = min((off_t)originalSize, max((off_t)0, info.size - pos));
2201 off_t pos = max(request->pos, (off_t)0);
/haiku/headers/os/interface/
H A DView.h627 float* max, float* preferred);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DIterators.cpp33 // min and max
39 static inline C max(const C &a, const C &b) { return (a > b ? a : b); } function
/haiku/src/kits/tracker/
H A DNavMenu.cpp782 return std::max((int32)(BScreen().Frame().Width() / 4), kMinMenuWidth);
/haiku/src/apps/haikudepot/build/scripts/
H A Dustache.py374 column = 1 + start - max(0, template.rfind(b'\n', 0, start))
/haiku/src/kits/tracker/infowindow/
H A DGeneralInfoView.cpp206 width = std::max(width, StringWidth(fieldNames[i]));
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c3200 qidx_t dbval, max; local
3202 max = TXQ_MAX_DB_DEFERRED(txq, txq->ift_in_use);
3205 if (ring || (txq->ift_db_pending >= max) || (TXQ_AVAIL(txq) <= MAX_TX_DESC(ctx) + 2)) {
4709 device_printf(dev, "nrxd%d: %d greater than nrxd_max %d - resetting to max\n",
4727 device_printf(dev, "ntxd%d: %d greater than ntxd_max %d - resetting to max\n",
5171 scctx->isc_tx_nsegments = max(1, num_txd /
5175 scctx->isc_tx_tso_segments_max = max(1,
5470 scctx->isc_tx_nsegments = max(1, num_txd /
5474 scctx->isc_tx_tso_segments_max = max(1,
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dkernel_interface.cpp538 uint32 index = 0, max = *_count; local
572 if (index >= max) {

Completed in 336 milliseconds

<<11121314151617