/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/ |
H A D | Utils.h | 17 template<typename T> T max(const T& a, const T& b) { return (a > b ? a : b); } function
|
/haiku/src/preferences/screen/ |
H A D | RefreshWindow.cpp | 30 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 D | defalloc.h | 81 return max(size_type(1), size_type(4096/sizeof(T))); 84 return max(size_type(1), size_type(UINT_MAX/sizeof(T)));
|
H A D | algobase.h | 48 using __STD::max;
|
/haiku/headers/libs/linprog/ |
H A D | Variable.h | 32 void SetMax(double max); 33 void SetRange(double min, double max);
|
/haiku/src/apps/networkstatus/ |
H A D | RadioView.h | 22 void SetMax(int32 max); 45 int32& count, int32 max, float& step);
|
/haiku/src/kits/interface/layouter/ |
H A D | OneElementLayouter.cpp | 48 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 D | CollapsingLayouter.h | 16 * removes elements which have no constraints, or min/max constraints of 28 float min, float max, float preferred);
|
H A D | Layouter.h | 31 float min, float max, float preferred) = 0;
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Shared.h | 52 /* 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 D | LayoutUtils.h | 31 static void FixSizeConstraints(float& min, float& max, 33 static void FixSizeConstraints(BSize& min, BSize& max,
|
H A D | ScrollBar.h | 19 BView* target, float min, float max, 22 float min, float max, 57 void SetRange(float min, float max);
|
/haiku/src/kits/interface/ |
H A D | Point.cpp | 27 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 D | if_var-obsd.h | 117 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 D | tcptester.cpp | 74 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 D | shaderutil.c | 83 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 D | support.h | 19 constrain(float& value, float min, float max) argument 23 if (value > max) 24 value = max;
|
/haiku/src/tests/libs/alm/ |
H A D | Views.cpp | 89 BSize max = layout->MaxSize(); local 90 SetSizeLimits(min.Width(), max.Width(), min.Height(), max.Height());
|
/haiku/src/add-ons/screen_savers/spider/ |
H A D | Polygon.cpp | 20 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 D | StreamBuffer.cpp | 18 #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 D | PPMTranslator.cpp | 228 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 D | pll.cpp | 59 { 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 D | fs_cache_priv.h | 26 int max; member in struct:hash_table 27 int mask; /* == max - 1 */
|
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/ |
H A D | MACProgressHelper.cpp | 40 float fPercentageDone = float(m_nCurrentStep) / float(max(m_nTotalSteps, 1));
|
/haiku/src/apps/cortex/TipManager/ |
H A D | TipView.cpp | 218 float max = 0.0; local 226 if(lineWidth > max) 227 max = lineWidth; 229 return max;
|