/src/lib/libmenu/ |
internals.h | 40 #define max(a,b) ((a) > (b) ? a : b) macro
|
/src/usr.bin/m4/ |
stdd.h | 41 #define max(a,b) ((a) > (b)? (a): (b)) macro
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_allocator_checks.h | 65 uptr max = (uptr)-1L; local in function:__sanitizer::CheckForCallocOverflow 66 return (max / size) < n;
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
boost.h | 11 u32 max; member in struct:nvbios_boostE 24 u32 max; member in struct:nvbios_boostS
|
vmap.h | 20 u32 max; member in struct:nvbios_vmap_entry
|
/src/usr.bin/mklocale/ |
ldef.h | 42 __nbrune_t max; member in struct:rune_list
|
/src/usr.bin/netstat/ |
pfkey.c | 105 const int max = local in function:pfkey_msgtype_names 109 if (x < max && pfkey_msgtypenames[x])
|
/src/common/dist/zlib/ |
compress.c | 28 const uInt max = (uInt)-1; local in function:compress2 48 stream.avail_out = left > (uLong)max ? max : (uInt)left; 52 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
|
uncompr.c | 33 const uInt max = (uInt)-1; local in function:uncompress2 61 stream.avail_out = left > (uLong)max ? max : (uInt)left; 65 stream.avail_in = len > (uLong)max ? max : (uInt)len;
|
/src/games/backgammon/common_source/ |
one.c | 50 int max; local in function:makmove 54 max = (*offptr < 0 ? 7 : last()); 60 if (n == max ? mm->D1 < n : mm->D1 != n) 63 if (n == max ? mm->D0 < n && mm->D1 < n : mm->D0 != n && mm->D1 != n) 65 if (n == max ? mm->D0 < n : mm->D0 != n) {
|
/src/games/sail/ |
pl_6.c | 81 int max = ptr->guns/4; local in function:repair 82 if (ptr->hull < max) { 83 FIX(hull, max); 90 int max = ptr->guns/5 - ptr->carL; local in function:repair 91 if (ptr->gunL < max) { 92 FIX(gunL, max); 96 int max = ptr->guns/5 - ptr->carR; local in function:repair 97 if (ptr->gunR < max) { 98 FIX(gunR, max);
|
array.h | 47 unsigned num, max; member in struct:array
|
/src/lib/libc/gen/ |
getbsize.c | 57 long n, max, mul, blocksize; local in function:__weak_alias 76 max = MAXB / GB; 81 max = MAXB / KB; 86 max = MAXB / MB; 90 max = MAXB; 97 max = 0; 100 if (n > max) { 102 n = max;
|
humanize_number.c | 52 int64_t divisor, max, post = 1; local in function:humanize_number 129 * If we don't do this, the calc of max just below can 138 for (max = 100, j = len - baselen; j-- > 0;) 139 max *= 10; 146 for (i = 0; bytes >= max - 50 && i < maxscale; i++)
|
/src/lib/npf/ext_rndblock/ |
npfext_rndblock.c | 66 signed long max; member in struct:npfext_rndblock_param::param 88 if (ival < params[i].min || ival > params[i].max) {
|
/src/regress/sys/kern/latency1/ |
latency1.c | 56 long max = 0; variable in typeref:typename:long 82 if (val > max) 83 max = val; 141 printf("\nmin %ldns, max=%ldns\n", min, max);
|
/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_utils.h | 76 template <class T> constexpr T &max(T &A, T &B) { return A > B ? A : B; } function in namespace:__xray 81 return max(A, B) - min(A, B);
|
/src/tests/include/sys/ |
t_cdefs.c | 45 intmax_t max; member in struct:__anon8a038cf90108 57 uintmax_t max; member in struct:__anon8a038cf90208 69 atf_tc_set_md_var(tc, "descr", "Checks signed type min/max macros"); 76 ATF_REQUIRE(__type_max(a) == s[b].max) 89 atf_tc_set_md_var(tc, "descr", "Checks unsigned type min/max macros"); 95 ATF_REQUIRE(__type_max(a) == u[b].max)
|
/src/usr.bin/systat/ |
mbufs.c | 86 int i, j, max, idx; local in function:showmbufs 92 max = 0, idx = -1; 94 if (mb->m_mtypes[i] > max) { 95 max = mb->m_mtypes[i]; 98 if (max == 0) 105 if (max > 60) { 106 snprintf(buf, sizeof buf, " %5d", max); 107 max = 60; 108 while (max--) 113 whline(wnd, 'X', max); [all...] |
/src/usr.bin/talk/ |
display.c | 54 * max HAS to be a function, it is called with 58 max(int a, int b) function in typeref:typename:int 82 wmove(win->x_win, win->x_line, max(--win->x_col, 0));
|
/src/distrib/sets/ |
fmt-list | 188 local function max(curr, value) function 196 assert_equals(max(nil, nil), nil) 197 assert_equals(max(0, nil), 0) 198 assert_equals(max(nil, 0), 0) 199 assert_equals(max(0, 0), 0) 200 assert_equals(max(1, -1), 1) 201 assert_equals(max(-1, 1), 1) 217 required = max(required, width) 221 currmax = max(currmax, col) 301 category_col = max(category_col, 56 [all...] |
/src/games/boggle/boggle/ |
prtable.c | 57 * width - max line width if not zero 119 int i, len, max; local in function:get_maxlen 121 max = (*length)(base, 0); 123 if ((len = (*length)(base, i)) > max) 124 max = len; 126 return(max);
|
/src/lib/libform/ |
type_integer.c | 49 long max; member in struct:__anon0696796d0108 66 new->max = va_arg(*args, long); 105 long number, max, min; local in function:integer_check_field 114 max = ((integer_args *) (void *) field->args)->max; 146 if ((min > max) || ((number < min) || (number > max)))
|
type_numeric.c | 49 double max; member in struct:__anona8c2d6920108 66 new->max = va_arg(*args, double); 106 double number, max, min; local in function:numeric_check_field 115 max = ((numeric_args *) (void *) field->args)->max; 179 if ((min < max) && ((number < min) || (number > max)))
|
/src/libexec/talkd/ |
announce.c | 83 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 113 max_size = max(max_size, sizes[i]); 120 max_size = max(max_size, sizes[i]); 128 max_size = max(max_size, sizes[i]); 133 max_size = max(max_size, sizes[i]); 137 max_size = max(max_size, sizes[i]);
|