/haiku/src/preferences/printers/ |
H A D | TestPageView.cpp | 130 float* max, float* preferred); 143 float* min, float* max, float* preferred) 150 if (max) 151 *max = width; 142 GetHeightForWidth(float width, float* min, float* max, float* preferred) argument
|
/haiku/headers/os/add-ons/graphics/ |
H A D | GraphicsCard.h | 78 float max; member in struct:__anon6
|
/haiku/src/kits/midi/ |
H A D | SoftSynth.cpp | 314 BSoftSynth::SetMaxVoices(int32 max) argument 316 if (max > 0 && max <= 4096) { 317 fMaxVoices = max;
|
/haiku/src/tools/translation/stxtinfo/ |
H A D | stxtinfo.cpp | 58 #define max(x,y) ((x > y) ? x : y) macro 186 uint8 buffer[max(max(max(kstxtsize, ktxtsize), kstylsize), kStyleSize)];
|
/haiku/src/kits/tracker/infowindow/ |
H A D | FilePermissionsView.cpp | 130 maxSize.width = std::max(ownerRightLabelSize.width, 132 maxSize.width = std::max(maxSize.width, 135 maxSize.height = std::max(ownerRightLabel->ExplicitSize().height, 137 maxSize.height = std::max(maxSize.height,
|
/haiku/src/apps/haikudepot/textview/ |
H A D | TextDocumentView.h | 50 float* max, float* preferred);
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | tvp3026.c | 213 int max = -1 + 33.2 * mclk / (nogscale? 1: 4); local 217 nogscale, rfhcnt, value, max)); 218 if (value <= max) goto rfhcnt_found;
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | ClientLooper.cpp | 56 morph(double* value, double* direction, double min, double max) argument 62 } else if (*value > max) { 63 *value = max;
|
/haiku/src/system/kernel/arch/generic/ |
H A D | generic_vm_physical_page_mapper.cpp | 184 int32 max = vm_page_num_pages() / (sIOSpaceChunkSize / B_PAGE_SIZE); local 186 max = strtol(argv[2], NULL, 0); 188 for (i = 0; i < max; i++) {
|
/haiku/src/system/kernel/scheduler/ |
H A D | scheduler_thread.cpp | 108 std::max(GetPriority() - _GetMinimalPriority(), int32(0))); 133 priority = std::max(priority, int32(1)); 249 quantum = std::max(quantum, gCurrentMode->minimal_quantum);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Journal.cpp | 147 add_to_iovec(iovec* vecs, int32& index, int32 max, const void* address, argument 157 if (index == max) 247 int32 min = 0, max = CountRuns() - 1; local 249 if (max >= 8) { 250 while (min <= max) { 251 i = (min + max) / 2; 257 max = i - 1; 265 for (; i <= max; i++) { 388 int32 max = 0; local 390 if (ArrayAt(i)->CountRuns() > max) [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_osdep.h | 72 #define us_scale(x) max(1, (x/(1000000/hz))) 80 return (max(1, x/(1000/hz))); 90 pause("e1000_delay", max(1, x/(1000000/hz)));
|
/haiku/src/kits/interface/ |
H A D | ControlLook.cpp | 46 return std::max(1.0f, floorf(be_control_look->DefaultItemSpacing() / 11.0f)); 84 dest.right = std::max(dest.right, points[i].x); 86 dest.bottom = std::max(dest.bottom, points[i].y);
|
H A D | SplitLayout.cpp | 42 BSize max; member in class:BSplitLayout::ItemLayoutInfo 51 max(), 554 BSplitLayout::GetHeightForWidth(float width, float* min, float* max, argument 561 _InternalGetHeightForWidth(innerWidth, false, min, max, preferred); 562 _AddInsets(min, max, preferred); 689 // Things shouldn't be draggable, if we have a >= max layout. 898 range.previousMax = (int32)previousInfo->max.width + 1; 901 range.nextMax = (int32)nextInfo->max.width + 1; 905 range.previousMax = (int32)previousInfo->max.height + 1; 908 range.nextMax = (int32)nextInfo->max 1289 BSize max = item->MaxSize(); local [all...] |
/haiku/src/apps/deskbar/ |
H A D | BarMenuBar.cpp | 126 float width = std::max(63.f, ceilf(63 * be_bold_font->Size() / 12.f)); 127 float height = std::max(22.f, ceilf(22 * be_bold_font->Size() / 12.f)); 346 float iconHeight = std::max(kTeamIconBitmapHeight,
|
H A D | TeamMenu.cpp | 106 minItemWidth = std::max(floorf(gMinimumWindowWidth / 2), 126 ? std::max(labelWidth, iconOnlyWidth) 129 maxItemWidth = std::max(maxItemWidth, itemWidth);
|
/haiku/src/apps/cortex/ValControl/ |
H A D | NumericValControl.cpp | 182 printf(" max value: %f\n", fParam->MaxValue()); 187 //! Value constraints (by default, the min/max allowed by the 541 double max = pow(10, fWholeDigits) - pow(10, -fFractionalDigits); local 542 double min = (negativeVisible) ? -max : 0.0; 544 setConstraints(min, max);
|
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | unicode.c | 132 static int bisearch(wchar_t ucs, const struct interval *table, int max) { argument 136 if (ucs < table[0].first || ucs > table[max].last) 138 while (max >= min) { 139 mid = (min + max) / 2; 143 max = mid - 1;
|
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | Commands.cpp | 355 /*! Builds the sequence from the passed in UID list, and takes \a max entries 359 FetchCommand::FetchCommand(MessageUIDList& uids, size_t max, uint32 flags) argument 364 max = std::min(max, uids.size()); 367 while (index < max && (size_t)fSequence.Length() < kMaxCommandLength) { 375 for (; index < max; index++) {
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_chan.c | 89 uint8_t ofdmpow, htpow, diff, max; local 113 max = rt->ht40_max_pwr[chain][group]; 115 max = rt->ht20_max_pwr[chain][group]; 116 if (power[ridx] > max) 117 power[ridx] = max; 150 /* Apply max limit. */
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | AudioStreamingInterface.cpp | 246 if (newRate == 0) { // by default select max available 256 uint32 max = max_c(frequencies[0], frequencies[1]); local 257 if (newRate < min || newRate > max) { 259 newRate, min, max); 309 uint32 max = max_c(frequencies[0], frequencies[1]); local 312 if (frequencies[i] < min || frequencies[i] > max)
|
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixJpeg/ |
H A D | finepix-jpeg.c | 258 int max[6]; local 356 decode_mcus(&in, decdata->dcts, 4, dscans, max); 358 IFIX(128.5), max[0]); 360 decdata->dquant[0], IFIX(128.5), max[1]); 362 decdata->dquant[0], IFIX(128.5), max[2]); 364 decdata->dquant[0], IFIX(128.5), max[3]); 366 decdata->dquant[1], IFIX(0.5), max[4]); 368 decdata->dquant[2], IFIX(0.5), max[5]); 650 void idct(int *in, int *out, PREC * quant, PREC off, int max) argument 658 if (max [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_cache.c | 175 ht->max = HT_DEFAULT_MAX; 176 ht->mask = ht->max - 1; 179 ht->table = (hash_ent **)calloc(ht->max, sizeof(hash_ent *)); 193 for(i=0; i < ht->max; i++) { 211 int i, hash_len, max = -1, sum = 0; 214 for(i=0; i < ht->max; i++) { 224 if (hash_len > max) 225 max = hash_len; 228 printf("max # of chains: %d, average chain length %d\n", max,su 1315 do_flush(cache_ent **ents, int max) argument 1632 get_ents(cache_ent **ents, int num_needed, int max, int *num_gotten, int bsize) argument [all...] |
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramView.cpp | 375 float min, max; local 376 hScroll->GetRange(&min, &max); 381 if(val + xDelta > max) 388 float min, max; local 389 vScroll->GetRange(&min, &max); 394 if(val + yDelta > max)
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | overlay.cpp | 488 constraints->view.width.max = buffer->width; 489 constraints->view.height.max = buffer->height; 497 constraints->window.width.max = mode->virtual_width; 499 constraints->window.height.max = mode->virtual_height; 503 constraints->h_scale.max = buffer->width * 7; 505 constraints->v_scale.max = buffer->height * 7;
|