/haiku/src/preferences/screen/ |
H A D | Utility.cpp | 4 float round(float n, int32 max) argument 6 max = (int32)pow(10, (float)max); 8 n *= max; 12 return (float)tmp / (max);
|
H A D | Utility.h | 6 extern float round(float n, int32 max);
|
H A D | RefreshSlider.cpp | 27 RefreshSlider::RefreshSlider(BRect frame, float min, float max, uint32 resizingMode) argument 29 new BMessage(SLIDER_INVOKE_MSG), (int32)rintf(min * 10), (int32)rintf(max * 10), 36 maxRefresh << (uint32)max; 40 SetHashMarkCount(uint32(max - min) / 5 + 1);
|
H A D | RefreshSlider.h | 19 RefreshSlider(BRect frame, float min, float max, uint32 resizingMode);
|
H A D | RefreshWindow.h | 21 RefreshWindow(BPoint position, float current, float min, float max);
|
/haiku/src/apps/debuganalyzer/gui/chart/ |
H A D | ChartDataRange.h | 14 double max; member in class:ChartDataRange 19 max(0) 23 ChartDataRange(double min, double max) argument 26 max(max) 33 max(other.max) 40 return min < max; 45 return max - min; 51 max [all...] |
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | rgb_hsv.h | 21 // RGB are each on [0, 1]. S and max are returned on [0, 1] and H is 24 float min, max; local 28 max = R; 31 max = B; 37 max = G; 40 max = B; 45 if (max == min) 46 RETURN_HSV(UNDEFINED, 0, max); 48 float dist = max - min; 61 RETURN_HSV(h, dist/max, ma [all...] |
/haiku/src/system/libnetwork/musl/network/ |
H A D | inet_ntop.c | 15 int i, j, max, best; local 39 for (i=best=0, max=2; buf[i]; i++) { 42 if (j>max) best=i, max=j; 44 if (max>3) { 46 memmove(buf+best+2, buf+best+max, i-best-max+1);
|
/haiku/src/kits/shared/ |
H A D | HSL.cpp | 19 float max = max_c(max_c(r, g), b); local 22 result.hue = result.saturation = result.lightness = (max + min) / 2; 24 if (max == min) { 28 float diff = max - min; 30 = (result.lightness > 0.5) ? (diff / (2 - max - min)) : (diff / (max + min)); 32 if (max == r) 34 else if (max == g) 36 else if (max == b)
|
/haiku/src/kits/game/ |
H A D | GSUtility.h | 57 template<typename T, int32 min, int32 max> 62 if (value >= max) 63 return max;
|
/haiku/src/libs/libtelnet/ |
H A D | read_password.c | 77 local_des_read_pw_string(s,max,prompt,verify) 79 int max; 90 if (max > BUFSIZ) { 112 while (!fgets(s, max, stdin)); 136 memset(s, 0, max); 148 s[max-1] = 0; /* force termination */
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_timer.cpp | 69 int max = 0; local 74 max = i; 76 if (timers[j]->get_priority() > timers[max]->get_priority()) 77 max = j; 79 if (max != i) { 80 tempPtr = timers[max]; 81 timers[max] = timers[i];
|
/haiku/src/kits/interface/layouter/ |
H A D | ComplexLayouter.cpp | 105 Constraint(int32 start, int32 end, int32 min, int32 max) argument 109 max(max), 112 if (min > max) 113 max = min; 114 effectiveMax = max; 121 if (newMax < max) 122 max = newMax; 123 if (min > max) 124 max 137 int32 max; member in struct:ComplexLayouter::Constraint 146 int32 max; member in struct:ComplexLayouter::SumItem 155 int32 max; member in struct:ComplexLayouter::SumItemBackup 229 int32 max = (int32)_max + 1 - spacing; local 324 int32 max = fSums[fElementCount].max; local 692 int32 max = currentConstraint->effectiveMax; local [all...] |
H A D | SimpleLayouter.cpp | 39 int32 max; member in class:SimpleLayouter::ElementInfo 47 max((int32)B_SIZE_UNLIMITED), 57 max((int32)B_SIZE_UNLIMITED), 67 max = info.max; 151 int32 max = (int32)_max + 1; local 156 info.max = min_c(info.max, max); 348 if (info.max < inf [all...] |
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | support.h | 16 constrain(float& value, float min, float max) argument 20 if (value > max) 21 value = max;
|
/haiku/src/libs/print/libprint/ |
H A D | JSDSlider.cpp | 18 BMessage* msg, int32 min, int32 max) 19 : BSlider(name, label, msg, min, max, B_HORIZONTAL) 17 JSDSlider(const char* name, const char* label, BMessage* msg, int32 min, int32 max) argument
|
/haiku/headers/libs/print/libprint/ |
H A D | JSDSlider.h | 21 BMessage* msg, int32 min, int32 max);
|
/haiku/src/apps/soundrecorder/ |
H A D | VUView.cpp | 186 // get the min and max values in the nibbling interval 187 // and set max to be the greater of the absolute value 190 T min = 0, max = 0; local 194 else if (max < samp[i]) 195 max = samp[i]; 197 if (-max > (min + 1)) 198 max = -min; 200 return max; 211 float max = _ComputeNextLevel<float>(data, size, format, local 213 fCurrentLevels[channel] = (uint8)(max * 12 218 int32 max = _ComputeNextLevel<int32>(data, size, format, local 225 int16 max = _ComputeNextLevel<int16>(data, size, format, local 232 uchar max = _ComputeNextLevel<uchar>(data, size, format, local 239 char max = _ComputeNextLevel<char>(data, size, format, local [all...] |
/haiku/src/bin/ |
H A D | listport.c | 50 int32 max = 0, used = 0, left; local 54 max = sys.max_ports; 58 left = max - used; 63 max,
|
H A D | listarea.c | 28 int32 max = 0, used = 0; local 33 max = info.max_pages * 4; 38 B_PRId32 "KB\n", max, used, max - used);
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 18 int32 max; member in struct:GroupView::LayoutInfo 24 max(B_SIZE_UNLIMITED), 33 if (addMax <= max) 34 max = (int32)addMax + 1; 41 if (max < min) 42 max = min; 45 if (preferred > max) 46 preferred = max; 196 // collect the children's min/max constraints 204 BSize max local [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | support.h | 46 * The classic min and max macros. 52 #ifndef max 53 #define max(a,b) ((a) >= (b) ? (a) : (b)) macro
|
/haiku/src/apps/terminal/ |
H A D | TermScrollView.cpp | 21 float min, float max, orientation direction) 23 BScrollBar(frame, name, target, min, max, direction) 20 TermScrollBar(BRect frame, const char *name, BView *target, float min, float max, orientation direction) argument
|
/haiku/src/apps/haikudepot/ui_generic/ |
H A D | ScrollableGroupView.cpp | 52 float max = layoutHeight- viewHeight; local 53 scrollBar->SetRange(0, max);
|
/haiku/headers/private/binary_compatibility/ |
H A D | Interface.h | 36 float max; member in struct:perform_data_get_height_for_width
|