Searched refs:max (Results 201 - 225 of 424) sorted by relevance

1234567891011>>

/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dmmu.cpp406 uint32 max = 23; local
409 while (max < 32) {
410 if (total <= (1UL << max))
413 max++;
416 return 1UL << (max - 7);
/haiku/src/apps/charactermap/
H A DUnicodeBlocks.cpp391 uint32 max = kNumUnicodeBlocks; local
392 uint32 guess = (max + min) / 2;
394 while ((max >= min) && (guess < kNumUnicodeBlocks)) {
404 max = guess - 1;
407 guess = (max + min) / 2;
H A DCharacterView.cpp582 uint32 max = kNumUnicodeBlocks; local
583 uint32 guess = (max + min) / 2;
585 while ((max >= min) && (guess < kNumUnicodeBlocks - 1 )) {
596 max = guess - 1;
599 guess = (max + min) / 2;
/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 DTwoDimensionalLayout.cpp388 BTwoDimensionalLayout::GetHeightForWidth(float width, float* min, float* max, argument
396 width, outerSpacing), min, max, preferred); local
397 AddInsets(min, max, preferred);
517 //BSize max(item->MaxSize());
518 //printf(" min: (%.1f, %.1f), max: (%.1f, %.1f)\n", min.width, min.height,
519 // max.width, max.height);
524 //printf(" hfw: min: %.1f, max: %.1f, pref: %.1f\n", minHeight, maxHeight,
1257 BSize max = item->MaxSize(); local
1265 max
[all...]
H A DCheckBox.cpp426 BCheckBox::GetHeightForWidth(data->width, &data->min, &data->max,
528 height = std::max(height, icon->Bounds().Height());
534 height = std::max(height,
H A DRadioButton.cpp261 height = std::max(height, icon->Bounds().Height());
267 height = std::max(height,
435 BRadioButton::GetHeightForWidth(data->width, &data->min, &data->max,
H A DLayoutItem.cpp77 BLayoutItem::GetHeightForWidth(float width, float* min, float* max, argument
133 // ourselves and restrict the height max constraint respectively.
/haiku/src/apps/haikudepot/textview/
H A DTextDocumentView.cpp266 TextDocumentView::GetHeightForWidth(float width, float* min, float* max, argument
276 if (max != NULL)
277 *max = height;
484 maxRange = std::max(maxRange, 0L);
498 maxRange = std::max(maxRange, 0L);
/haiku/src/libs/uuid/
H A Dgen_uuid.c171 * max(sizeof(ifreq), sizeof(ifreq.ifr_name)+ifreq.ifr_addr.sa_len
175 #ifndef max
176 #define max(a,b) ((a) > (b) ? (a) : (b)) macro
178 #define ifreq_size(i) max(sizeof(struct ifreq),\
/haiku/src/kits/locale/
H A DDefaultCatalog.cpp36 using std::max;
280 mallocIO.SetBlockSize(max(fCatMap.Size() * 20, (int32)256));
312 mallocIO.SetBlockSize(max(fCatMap.Size() * 20, (int32)256));
/haiku/src/kits/game/
H A DGameSoundBuffer.cpp46 template<typename T, int32 min, int32 middle, int32 max>
50 data[index * 2] = clamp<T, min, max>(float(data[index * 2] - middle)
52 data[index * 2 + 1] = clamp<T, min, max>(float(data[index * 2 + 1] - middle)
/haiku/src/add-ons/kernel/file_systems/udf/
H A DIcb.cpp509 size_t max = *count; local
547 if (index >= max || (off_t)size <= vecs[index - 1].length
550 return index >= max ? B_BUFFER_OVERFLOW : B_OK;
/haiku/src/servers/registrar/
H A DMessageRunnerManager.cpp26 using std::max;
286 interval = max(interval, kMinimalTimeInterval);
423 interval = max(interval, kMinimalTimeInterval);
/haiku/headers/libs/alm/
H A DArea.h116 void _UpdateMaxSizeConstraint(BSize max);
/haiku/src/bin/unzip/
H A Dtimezone.c120 ZCONST int min, ZCONST int max));
268 static ZCONST char *getnum(strp, nump, min, max)
272 ZCONST int max;
282 if (num > max)
/haiku/src/kits/package/hpkg/
H A DBlockBufferPoolImpl.cpp88 // if we have already hit the max block limit, steal a cached block
173 std::max(size, fBlockSize));
/haiku/src/add-ons/print/transports/lpr/
H A DLprSetupDlg.cpp101 float width = max(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10;
/haiku/src/system/kernel/vm/
H A DVMUserAddressSpace.cpp75 address = std::max(address, baseAddress);
180 searchBase = std::max(fBase, (addr_t)addressRestrictions->address);
188 searchBase = std::max(fBase, (addr_t)USER_BASE_ANY);
730 startRange = std::max(startRange, alignedNextBase);
/haiku/src/preferences/screensaver/
H A DPreviewView.cpp141 float previewWidth = 120.0f * std::max(1.0f, be_plain_font->Size() / 12.0f);
/haiku/src/apps/haikudepot/ui/
H A DFilterView.cpp48 minSearchWidth = std::max(minSearchSize.width, minSearchWidth);
/haiku/src/servers/debug/
H A DDebugWindow.cpp62 width = std::max(width, message->StringWidth("W") * 30);
/haiku/src/tests/
H A Dqemu-boot-test121 -cpu max \
/haiku/src/libs/icon/shape/
H A DReferenceImage.cpp43 double longerSide = std::max(width, height);
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp321 minLine = std::max(minLine, (int32)0);
456 lastLine = std::max(lastLine, line);
695 float dataWidth = std::max(width, MinSize().width);
718 float width = std::max(float(timeSpan / fNSecsPerPixel), 100.0f);
958 nanotime_t startTime = std::max(event.time, fStartTime);
991 nanotime_t startTime = std::max(event.time, fStartTime);
1167 clusterEnd = std::max(clusterEnd, requestEnd);
1220 clusterEnd = std::max(clusterEnd, operationEnd);
1639 float dataHeight = std::max(height, fSchedulingView->MinSize().height);
1674 std::max(threadsViewSiz
[all...]

Completed in 125 milliseconds

1234567891011>>