/haiku/src/add-ons/kernel/drivers/bus/scsi/ |
H A D | scsi_raw.c | 111 min((int32)cmd->sense_data_length, SCSI_MAX_SENSE_SIZE - request->sense_resid));
|
/haiku/src/kits/interface/ |
H A D | BMCPrivate.cpp | 195 ResizeTo(std::min(Bounds().Width(), fMenuField->_MenuBarWidth()),
|
H A D | GridLayout.cpp | 37 // kRowSizesField = {min, max} 40 // kColumnSizesField = {min, max} 681 constraints->min = MinColumnWidth(index); 685 constraints->min = MinRowHeight(index);
|
H A D | PopUpMenu.cpp | 206 BPopUpMenu::GetHeightForWidth(data->width, &data->min, &data->max,
|
H A D | PictureButton.cpp | 442 BPictureButton::GetHeightForWidth(data->width, &data->min, &data->max,
|
/haiku/src/kits/package/hpkg/ |
H A D | PackageFileHeapAccessorBase.cpp | 271 size_t toWrite = std::min((size_t)kChunkSize - inChunkOffset,
|
/haiku/src/system/kernel/slab/ |
H A D | allocator.cpp | 283 memcpy(newBlock, address, std::min(oldSize, newSize));
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Iterators.cpp | 33 // min and max 37 static inline C min(const C &a, const C &b) { return (a < b ? a : b); } function 1476 fItemSize = min(indirect.CountBlocks() 1482 fItemSize = min((off_t)fItem.GetLen(), 1510 skipItems = min(skipItems, indirect.CountBlocks()); // not necessary
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Query.cpp | 182 std::min(maxFactor, std::max((int32)1, index.index->CountEntries())));
|
/haiku/src/preferences/backgrounds/ |
H A D | BackgroundsView.cpp | 1248 bool min, max, mustSend = false; local 1249 min = (x > -fImageBounds.Width()); 1251 if (min && max) { 1256 if (!min && fPoint.x > -fImageBounds.Width()) { 1268 min = (y > -fImageBounds.Height()); 1270 if (min && max) { 1275 if (!min && fPoint.y > -fImageBounds.Height()) {
|
/haiku/src/apps/activitymonitor/ |
H A D | ActivityView.cpp | 1308 int64 min = source->Minimum(); local 1318 if (value < min) 1319 value = min; 1322 return height - (value - min) * height / (max - min);
|
H A D | DataSource.cpp | 119 DataSource::SetLimits(int64 min, int64 max) argument 121 fMinimum = min;
|
/haiku/src/servers/registrar/ |
H A D | AuthenticationManager.cpp | 171 void SetShadowInfo(const char* password, int lastChanged, int min, int max, argument 176 fMin = min; 219 if (message.FindInt32("min", &intValue) == B_OK) 291 || (error = message.AddInt32("min", fMin)) != B_OK 1350 int min; local 1358 lastChanged, min, max, warn, inactive, expiration, flags); 1373 user->SetShadowInfo(password, lastChanged, min, max, warn, inactive,
|
/haiku/src/apps/webpositive/ |
H A D | URLInputGroup.cpp | 321 BSize min; local 322 min.height = ceilf(LineHeight(0) + kHorizontalTextRectInset); 325 min.width = min.height * 3; 326 return BLayoutUtils::ComposeSize(ExplicitMinSize(), min);
|
/haiku/src/libs/compat/openbsd_wlan/net80211/ |
H A D | ieee80211_output.c | 778 nrates = min(rs->rs_nrates, IEEE80211_RATE_SIZE); 1268 2 + min(rs->rs_nrates, IEEE80211_RATE_SIZE) + 1319 2 + min(rs->rs_nrates, IEEE80211_RATE_SIZE) + 1444 2 + min(rs->rs_nrates, IEEE80211_RATE_SIZE) + 1521 2 + min(rs->rs_nrates, IEEE80211_RATE_SIZE) + 2052 2 + min(rs->rs_nrates, IEEE80211_RATE_SIZE) +
|
H A D | ieee80211_crypto_ccmp.c | 251 len = min(m->m_len - moff, n->m_len - noff); 440 len = min(m->m_len - moff, n->m_len - noff);
|
/haiku/src/tests/servers/app/bitmap_drawing/ |
H A D | main.cpp | 471 morph(double* value, double* direction, double* velocity, double min, double max) argument 476 if (*value < min && *direction < 0.0) {
|
/haiku/src/add-ons/translators/stxt/ |
H A D | STXTTranslator.cpp | 323 nreed = min((size_t)READ_BUFFER_SIZE, 335 nreed = min((size_t)READ_BUFFER_SIZE,
|
/haiku/src/apps/mandelbrot/ |
H A D | Mandelbrot.cpp | 184 BRect dragZone = BRect(std::min(fSelectStart.x, fSelectEnd.x), 185 std::min(fSelectStart.y, fSelectEnd.y),
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal.c | 772 } else if (nf[i] < limit->min) { 775 i, nf[i], limit->min);
|
/haiku/src/apps/charactermap/ |
H A D | CharacterWindow.cpp | 57 int32 min, int32 max) 58 : BSlider(name, label, NULL, min, max, B_HORIZONTAL) 56 FontSizeSlider(const char* name, const char* label, BMessage* message, int32 min, int32 max) argument
|
/haiku/src/system/runtime_loader/ |
H A D | images.cpp | 506 dataBase = std::min(dataBase, base); 515 textBase = std::min(textBase, base);
|
H A D | runtime_loader.cpp | 146 std::min((ssize_t)bufferSize, lastSlash + 1 - replacementSubPath)); 584 = std::min(symbolTableSize / (uint32)sizeof(Elf32_Sym),
|
/haiku/src/system/kernel/ |
H A D | system_info.cpp | 524 const uint32 endCPU = firstCPU + std::min(cpuCount, smp_get_num_cpus() - firstCPU); 629 count = std::min(count, userCount);
|
/haiku/src/apps/terminal/ |
H A D | TermView.cpp | 120 restrict_value(const Type& value, const Type& min, const Type& max) argument 122 return value < min ? min : (value > max ? max : value); 1108 BPoint(std::min(x + 2, x2), y1 + fFontAscent + (up ? 2 : 0))); 1118 BPoint(std::min(x, x2), y1 + fFontAscent + 1)); 1127 BPoint(std::min(x + 2, x2), y1 + fFontAscent + 1)); 1365 int32 x2 = std::min((int)(updateRect.right / fFontWidth), fColumns - 1); 1369 int32 y2 = std::min(_LineAt(updateRect.bottom), (int32)fRows - 1);
|