Searched refs:max (Results 51 - 75 of 424) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DUtils.h17 template<typename T> T max(const T& a, const T& b) { return (a > b ? a : b); } function
/haiku/src/preferences/screen/
H A DRefreshWindow.cpp30 RefreshWindow::RefreshWindow(BPoint position, float current, float min, float max) argument
35 max = floorf(max);
48 fRefreshSlider = new RefreshSlider(rect, min, max, B_FOLLOW_TOP | B_FOLLOW_LEFT_RIGHT);
/haiku/headers/cpp/
H A Ddefalloc.h81 return max(size_type(1), size_type(4096/sizeof(T)));
84 return max(size_type(1), size_type(UINT_MAX/sizeof(T)));
H A Dalgobase.h48 using __STD::max;
/haiku/headers/libs/linprog/
H A DVariable.h32 void SetMax(double max);
33 void SetRange(double min, double max);
/haiku/src/apps/networkstatus/
H A DRadioView.h22 void SetMax(int32 max);
45 int32& count, int32 max, float& step);
/haiku/src/kits/interface/layouter/
H A DOneElementLayouter.cpp48 float min, float max, float preferred)
51 fMax = min_c(fMax, max);
47 AddConstraints(int32 element, int32 length, float min, float max, float preferred) argument
H A DCollapsingLayouter.h16 * removes elements which have no constraints, or min/max constraints of
28 float min, float max, float preferred);
H A DLayouter.h31 float min, float max, float preferred) = 0;
/haiku/src/add-ons/screen_savers/flurry/
H A DShared.h52 /* used to compute the min and max of two expresions */
57 #define RandFlt(min, max) (min + (max - min) * rand() / (float) RAND_MAX)
/haiku/headers/os/interface/
H A DLayoutUtils.h31 static void FixSizeConstraints(float& min, float& max,
33 static void FixSizeConstraints(BSize& min, BSize& max,
H A DScrollBar.h19 BView* target, float min, float max,
22 float min, float max,
57 void SetRange(float min, float max);
/haiku/src/kits/interface/
H A DPoint.cpp27 x = std::max(std::min(x, rect.right), rect.left);
28 y = std::max(std::min(y, rect.bottom), rect.top);
/haiku/src/libs/compat/openbsd_network/compat/net/
H A Dif_var-obsd.h117 if_rxr_get(struct if_rxring *rxr, u_int max) argument
130 diff = min(rxr->rxr_cwm - rxr->rxr_alive, max);
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp74 int max, saved, count = number(ctx); local
76 max = saved = ctx->index;
81 if (ctx->index > max)
82 max = ctx->index;
85 ctx->index = max;
/haiku/src/tests/kits/opengl/glsl/
H A Dshaderutil.c83 const int max = 100*1000; local
85 char *buffer = (char*) malloc(max);
96 n = fread(buffer, 1, max, f);
234 GLint n, max, i; local
237 glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &max);
284 GLint n, max, i; local
287 glGetProgramiv(program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &max);
/haiku/src/apps/icon-o-matic/generic/support/
H A Dsupport.h19 constrain(float& value, float min, float max) argument
23 if (value > max)
24 value = max;
/haiku/src/tests/libs/alm/
H A DViews.cpp89 BSize max = layout->MaxSize(); local
90 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
/haiku/src/add-ons/screen_savers/spider/
H A DPolygon.cpp20 float max = bounds.Width() / 320.0; local
25 pv->vector.x = min + fmod(lrand48(), max - min);
26 pv->vector.y = min + fmod(lrand48(), max - min);
/haiku/src/add-ons/translators/shared/
H A DStreamBuffer.cpp18 #ifndef max
19 #define max(x,y) (((x) > (y)) ? (x) : (y)) macro
53 fBufferSize = max(nbuffersize, MIN_BUFFER_SIZE);
/haiku/src/add-ons/translators/ppm/
H A DPPMTranslator.cpp228 int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment);
230 int* height, int* max, bool* ascii, color_space* space);
233 int height, int max, bool in_ascii, bool out_ascii, color_space in_space,
257 int width, rowbytes, height, max; local
260 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
307 int width, rowbytes, height, max; local
313 status_t err = read_ppm_header(inSource, &width, &rowbytes, &height, &max,
384 sprintf(data, "%d %d %d\n", width, height, max);
423 max, ascii, out_ascii, space, out_space);
640 int* max, boo
639 read_ppm_header(BDataIO* inSource, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space, bool* is_ppm, char** comment) argument
769 read_bits_header(BDataIO* io, int skipped, int* width, int* rowbytes, int* height, int* max, bool* ascii, color_space* space) argument
852 read_ascii_line(BDataIO* in, int max, unsigned char* data, int rowbytes) argument
919 make_scale_data(int max) argument
937 copy_data(BDataIO* in, BDataIO* out, int rowbytes, int out_rowbytes, int height, int max, bool in_ascii, bool out_ascii, color_space in_space, color_space out_space) argument
[all...]
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dpll.cpp59 { 80, 8, 10, 8, 120, 20, 9}, // max
66 { 98, 8, 14, 8, 120, 20, 9}, // max
77 { 80, 8, 10, 8, 138, 25, 13}, // max
85 { 80, 8, 10, 8, 138, 25, 13}, // max
93 {112, 8, 14, 8, 138, 25, 13}, // max
100 { 42, 6, 7, 8, 138, 25, 13}, // max
107 { 80, 8, 10, 7, 127, 24, 11}, // max
114 {112, 8, 14, 5, 118, 24, 11}, // max
121 { 56, 8, 7, 5, 127, 24, 11}, // max
129 {112, 8, 14, 4, 126, 24, 11}, // max
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache_priv.h26 int max; member in struct:hash_table
27 int mask; /* == max - 1 */
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DMACProgressHelper.cpp40 float fPercentageDone = float(m_nCurrentStep) / float(max(m_nTotalSteps, 1));
/haiku/src/apps/cortex/TipManager/
H A DTipView.cpp218 float max = 0.0; local
226 if(lineWidth > max)
227 max = lineWidth;
229 return max;

Completed in 219 milliseconds

1234567891011>>