/haiku/src/system/boot/platform/openfirmware/arch/ppc/ |
H A D | mmu.cpp | 406 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 D | UnicodeBlocks.cpp | 391 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 D | CharacterView.cpp | 582 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 D | Button.cpp | 547 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 D | TwoDimensionalLayout.cpp | 388 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 D | CheckBox.cpp | 426 BCheckBox::GetHeightForWidth(data->width, &data->min, &data->max, 528 height = std::max(height, icon->Bounds().Height()); 534 height = std::max(height,
|
H A D | RadioButton.cpp | 261 height = std::max(height, icon->Bounds().Height()); 267 height = std::max(height, 435 BRadioButton::GetHeightForWidth(data->width, &data->min, &data->max,
|
H A D | LayoutItem.cpp | 77 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 D | TextDocumentView.cpp | 266 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 D | gen_uuid.c | 171 * 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 D | DefaultCatalog.cpp | 36 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 D | GameSoundBuffer.cpp | 46 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 D | Icb.cpp | 509 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 D | MessageRunnerManager.cpp | 26 using std::max; 286 interval = max(interval, kMinimalTimeInterval); 423 interval = max(interval, kMinimalTimeInterval);
|
/haiku/headers/libs/alm/ |
H A D | Area.h | 116 void _UpdateMaxSizeConstraint(BSize max);
|
/haiku/src/bin/unzip/ |
H A D | timezone.c | 120 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 D | BlockBufferPoolImpl.cpp | 88 // 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 D | LprSetupDlg.cpp | 101 float width = max(StringWidth(SERVER_TEXT), StringWidth(QUEUE_TEXT)) + 10;
|
/haiku/src/system/kernel/vm/ |
H A D | VMUserAddressSpace.cpp | 75 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 D | PreviewView.cpp | 141 float previewWidth = 120.0f * std::max(1.0f, be_plain_font->Size() / 12.0f);
|
/haiku/src/apps/haikudepot/ui/ |
H A D | FilterView.cpp | 48 minSearchWidth = std::max(minSearchSize.width, minSearchWidth);
|
/haiku/src/servers/debug/ |
H A D | DebugWindow.cpp | 62 width = std::max(width, message->StringWidth("W") * 30);
|
/haiku/src/tests/ |
H A D | qemu-boot-test | 121 -cpu max \
|
/haiku/src/libs/icon/shape/ |
H A D | ReferenceImage.cpp | 43 double longerSide = std::max(width, height);
|
/haiku/src/apps/debuganalyzer/gui/main_window/ |
H A D | SchedulingPage.cpp | 321 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...] |