Searched refs:max (Results 1 - 25 of 431) sorted by relevance

1234567891011>>

/haiku/src/preferences/screen/
H A DUtility.cpp4 float round(float n, int32 max) argument
6 max = (int32)pow(10, (float)max);
8 n *= max;
12 return (float)tmp / (max);
H A DUtility.h6 extern float round(float n, int32 max);
H A DRefreshSlider.cpp27 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 DRefreshSlider.h19 RefreshSlider(BRect frame, float min, float max, uint32 resizingMode);
H A DRefreshWindow.h21 RefreshWindow(BPoint position, float current, float min, float max);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DChartDataRange.h14 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 Drgb_hsv.h21 // 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/data/dts/arch/arm/
H A Dimx51-efikamx.dts48 spi-max-frequency = <6000000>;
57 regulator-max-microvolt = <1375000>;
64 regulator-max-microvolt = <1850000>;
71 regulator-max-microvolt = <1850000>;
78 regulator-max-microvolt = <1850000>;
85 regulator-max-microvolt = <1800000>;
92 regulator-max-microvolt = <1650000>;
98 regulator-max-microvolt = <3150000>;
103 regulator-max-microvolt = <2775000>;
110 regulator-max
[all...]
/haiku/src/libs/libtelnet/
H A Dread_password.c77 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 Darch_timer.cpp68 int max = 0; local
73 max = i;
75 if (timers[j]->get_priority() > timers[max]->get_priority())
76 max = j;
78 if (max != i) {
79 tempPtr = timers[max];
80 timers[max] = timers[i];
/haiku/src/kits/interface/layouter/
H A DComplexLayouter.cpp105 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
686 int32 max = currentConstraint->effectiveMax; local
[all...]
H A DSimpleLayouter.cpp39 int32 max; member in class:SimpleLayouter::ElementInfo
47 max(B_SIZE_UNLIMITED),
57 max(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 Dsupport.h16 constrain(float& value, float min, float max) argument
20 if (value > max)
21 value = max;
/haiku/src/libs/print/libprint/
H A DJSDSlider.cpp18 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 DJSDSlider.h21 BMessage* msg, int32 min, int32 max);
/haiku/src/system/libroot/posix/glibc/arch/generic/
H A Dmydefs.h35 #define max(x,y) (((y)>(x))?(y):(x)) macro
/haiku/src/apps/soundrecorder/
H A DVUView.cpp186 // 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 Dlistport.c50 int32 max = 0, used = 0, left; local
54 max = sys.max_ports;
58 left = max - used;
63 max,
H A Dlistarea.c28 int32 max = 0, used = 0; local
33 max = info.max_pages * 4;
38 B_PRId32 "KB\n", max, used, max - used);
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dpll.cpp63 { 80, 8, 5, 10, 120, 22, 11}, // max
70 { 98, 8, 7, 6, 120, 18, 7}, // max
80 { 80, 8, 10, 10, 120, 22, 11}, // max
88 { 80, 8, 5, 10, 120, 22, 11}, // max
96 { 98, 8, 14, 10, 120, 22, 11}, // max
103 { 42, 6, 7, 10, 120, 22, 11}, // max
110 { 80, 8, 10, 8, 118, 24, 11}, // max
117 {112, 8, 14, 8, 118, 24, 11}, // max
124 { 56, 8, 7, 8, 127, 24, 11}, // max
132 {112, 8, 14, 8, 126, 24, 11}, // max
[all...]
/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DGroupView.cpp18 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 Dsupport.h46 * 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 DTermScrollView.cpp21 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 DScrollableGroupView.cpp52 float max = layoutHeight- viewHeight; local
53 scrollBar->SetRange(0, max);
/haiku/headers/private/binary_compatibility/
H A DInterface.h36 float max; member in struct:perform_data_get_height_for_width

Completed in 311 milliseconds

1234567891011>>