/haiku/src/bin/network/ppp_up/ |
H A D | ConnectionView.cpp | 24 // for max() 26 using std::max; 80 float width = max(StringWidth(fUsername->Label()),
|
/haiku/src/kits/interface/ |
H A D | AbstractLayout.cpp | 16 // kSizesField == {min, max, preferred} 92 void SetMaxSize(const BSize& max) argument 94 maxSize = max;
|
H A D | TextView.cpp | 820 newWidth = std::max(dataWidth, newWidth); 1108 BTextView::GetHeightForWidth(data->width, &data->min, &data->max, 1862 point.x = std::max(point.x, 0.0f); 2122 selRect.right = std::max(fTextRect.right, 2133 selRect.right = std::max(fTextRect.right, 2447 BTextView::SetMaxBytes(int32 max) argument 2450 fMaxBytes = max; 2708 BTextView::GetHeightForWidth(float width, float* min, float* max, argument 2712 BView::GetHeightForWidth(width, min, max, preferred); 2739 if (max ! [all...] |
H A D | ColorControl.cpp | 124 float labelWidth = std::max(StringWidth(red), 125 std::max(StringWidth(green), StringWidth(blue))) 603 fCellSize = std::max(kMinCellSize, 611 return std::max(fRedText->Bounds().Height(), 1083 &data->max, &data->preferred);
|
/haiku/src/apps/haikudepot/textview/ |
H A D | TextEditor.cpp | 182 std::max(fSelection.Caret(), fSelection.Anchor()), 367 return std::max(fSelection.Caret(), fSelection.Anchor());
|
/haiku/headers/os/support/ |
H A D | SupportDefs.h | 205 /* min and max comparisons */ 210 # ifndef max 211 # define max(a,b) ((a)>(b)?(a):(b)) macro 215 /* min() and max() are functions in C++ */
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar9001/ |
H A D | ar9160_attach.c | 285 AH5416(ah)->nf_2g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ; 288 AH5416(ah)->nf_5g.max = AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ; 320 pCap->halRtsAggrLimit = 64*1024; /* 802.11n max */
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | long.cpp | 111 maxAddress = std::max(maxAddress, 118 maxAddress = std::max(maxAddress, (uint64)0x100000000ll);
|
/haiku/src/tools/restest/ |
H A D | ResourceFile.cpp | 686 resourceOffset = max(resourceOffset, programHeaderTableOffset 713 resourceOffset = max(resourceOffset, segmentEnd); 714 resourceAlignment = max(resourceAlignment, alignment); 733 resourceOffset = max(resourceOffset, sectionHeaderTableOffset 759 resourceOffset = max(resourceOffset, sectionEnd); 818 resourceOffset = max(resourceOffset, sectionEnd);
|
/haiku/src/servers/app/ |
H A D | ServerFont.cpp | 486 uint32 max = kNumUnicodeBlockRanges; local 487 uint32 guess = (max + min) / 2; 492 if (codePoint > kUnicodeBlockMap[max-1].end) 495 while ((max >= min) && (guess < kNumUnicodeBlockRanges)) { 505 max = guess - 1; 508 guess = (max + min) / 2;
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | if.c | 1216 if_setupmultiaddr(if_t ifp, void *mta, int *cnt, int max) argument 1226 if (mcnt == max) 1239 if_multiaddr_array(if_t ifp, void *mta, int *cnt, int max) argument 1244 error = if_setupmultiaddr(ifp, mta, cnt, max); 1250 if_multiaddr_count(if_t ifp, int max) argument 1261 if (count == max)
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 567 small_data* max = NULL; local 574 if (max == NULL || max->Size() < item->Size()) { 576 max = item; 585 if (item->IsLast(node) || (int32)item->Size() < bytes || max == NULL) 588 bytes -= max->Size(); 615 _RemoveSmallData(node, max, maxIndex); 2080 block_run run, off_t size, off_t offset, off_t& max) 2125 size, offset, max); 2129 max 2079 _FreeStaticStreamArray(Transaction& transaction, int32 level, block_run run, off_t size, off_t offset, off_t& max) argument 2153 _FreeStreamArray(Transaction& transaction, block_run* array, uint32 arrayLength, off_t size, off_t& offset, off_t& max) argument [all...] |
/haiku/src/tests/kits/game/chart/ |
H A D | ChartWindow.cpp | 97 /* min, max and standard setting of the star count, also 105 /* min, max and standard setting of the refresh rate. */ 118 /* min, max zoom (also default offscreen size), and max dimensions 2307 TPoint min, max, dx, dy, dz, p1; local 2310 of vision, by calculating the min and max on the 3 main axis 2315 max.x = max.y = max.z = -10.0; 2336 if (max [all...] |
/haiku/src/apps/mediaplayer/media_node_framework/audio/ |
H A D | AudioProducer.cpp | 869 float max[channels]; local 872 max[i] = -1.0; 880 if (*sample > max[k]) 881 max[k] = *sample; 887 float maxAbs = max_c(fabs(min[i]), fabs(max[i])); 888 message.AddFloat("max", maxAbs);
|
/haiku/src/libs/print/libprint/ |
H A D | Preview.cpp | 617 float min, max; local 618 ScrollBar(B_HORIZONTAL)->GetRange(&min, &max); 619 if (min == max) { 624 ScrollBar(B_VERTICAL)->GetRange(&min, &max); 625 if (min == max) {
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211.c | 1067 int i, max, rval; local 1070 max = IEEE80211_IS_CHAN_2GHZ(ic->ic_bss->ni_chan) ? 2 : 12; 1076 if (rval > max) 1077 max = rval; 1080 return max;
|
/haiku/src/apps/deskbar/ |
H A D | BarView.cpp | 473 height = std::max(fTabHeight, 478 height = std::max(TeamMenuItemHeight(), 656 windowHeight = std::max(screenFrame.bottom, windowHeight); 681 windowHeight = std::max(TeamMenuItemHeight(), 1287 return std::max(iconOnlyHeight, labelHeight);
|
/haiku/src/apps/cortex/TransportView/ |
H A D | TransportView.cpp | 1216 float max = 0.0; local 1222 if(w > max) 1223 max = w; 1226 return max; 1243 // * max label width 1265 // * max field width 1304 float row_1_height = max(prefInfoHeight, _transport_button_height);
|
/haiku/src/libs/bsd/ |
H A D | fts.c | 770 * Figure out the max file name length that can be stored in the 1176 size_t len, max; local 1178 for (max = 0; *argv; ++argv) 1179 if ((len = strlen(*argv)) > max) 1180 max = len; 1181 return (max + 1);
|
/haiku/headers/cpp/ |
H A D | stl_algobase.h | 83 // min and max 88 #undef max macro 96 inline const _Tp& max(const _Tp& __a, const _Tp& __b) { function 108 inline const _Tp& max(const _Tp& __a, const _Tp& __b, _Compare __comp) { function
|
/haiku/src/libs/linprog/ |
H A D | ActiveSetSolver.cpp | 556 double max = variable->Max(); local 569 if (constraintLE == NULL && max < 20000) { 581 constraintLE->SetRightSide(max);
|
/haiku/src/system/kernel/debug/ |
H A D | BreakpointManager.cpp | 295 = std::max(address, (addr_t)DEBUG_SOFTWARE_BREAKPOINT_SIZE - 1) 308 addr_t minAddress = std::max(breakpoint->address, address); 344 = std::max(address, (addr_t)DEBUG_SOFTWARE_BREAKPOINT_SIZE - 1)
|
/haiku/src/apps/mail/ |
H A D | AddressTextControl.cpp | 276 BSize max(MinSize()); 277 max.width = B_SIZE_UNLIMITED; 278 return BLayoutUtils::ComposeSize(ExplicitMaxSize(), max);
|
/haiku/src/apps/packageinstaller/ |
H A D | PackageView.cpp | 457 float max; local 458 verticalBar->GetRange(&min, &max); 459 if (min == max) {
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal.c | 671 * by the median we just loaded. This will be initial (and max) value 767 if (nf[i] > limit->max) { 770 i, nf[i], limit->max); 771 nf[i] = limit->max;
|