Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 79) sorted by relevance

1234

/glibc-2.36/string/
Dstratcliff.c107 for (inner = MAX (outer, nchars64); inner < nchars; ++inner) in do_test()
127 for (inner = MAX (outer, nchars64); inner < nchars; ++inner) in do_test()
146 for (inner = MAX (outer, nchars64); inner <= nchars; ++inner) in do_test()
163 for (middle = MAX (outer, nchars64); middle < nchars; ++middle) in do_test()
202 for (middle = MAX (outer, nchars64); middle < nchars; ++middle) in do_test()
232 for (middle = MAX (outer, nchars64); middle < nchars; ++middle) in do_test()
269 for (middle = MAX (outer, nchars64); middle < nchars; ++middle) in do_test()
291 for (middle = MAX (outer, nchars64); middle < nchars; ++middle) in do_test()
327 for (inner = MAX (outer, nchars64); inner < nchars; ++inner) in do_test()
435 for (inner = MAX (outer, nchars64); inner < nchars; ++inner) in do_test()
[all …]
Dstr-two-way.h253 i = MAX (suffix, memory); in two_way_short_needle()
291 period = MAX (suffix, needle_len - suffix) + 1; in two_way_short_needle()
446 i = MAX (suffix, memory); in two_way_long_needle()
480 period = MAX (suffix, needle_len - suffix) + 1; in two_way_long_needle()
/glibc-2.36/stdlib/
Dgrouping.c23 #ifndef MAX
24 #define MAX(a,b) ({ typeof(a) _a = (a); typeof(b) _b = (b); \ macro
199 return MAX (begin, end); in __correctly_grouped_prefixwc()
Dtst-width.c22 #define CHECK_WIDTH(TYPE, MAX, WIDTH) \ argument
25 if ((MAX >> ((TYPE) -1 < 0 ? (WIDTH - 2) : (WIDTH - 1))) != 1) \
Dtst-width-stdint.c25 #define CHECK_WIDTH(TYPE, MAX, WIDTH) \ argument
28 if ((MAX >> ((TYPE) -1 < 0 ? (WIDTH - 2) : (WIDTH - 1))) != 1) \
/glibc-2.36/sysdeps/posix/
Dgetcwd.c68 #ifndef MAX
69 # define MAX(a, b) ((a) < (b) ? (b) : (a)) macro
371 size_t filesize = dotlen + MAX (sizeof "..", name_alloc); in __getcwd_generic()
379 size_t newsize = MAX (filesize, dotsize * 2); in __getcwd_generic()
429 allocated += MAX (allocated, namlen); in __getcwd_generic()
/glibc-2.36/posix/
Dtst-spawn.c207 fd4 = MAX (2, MAX (temp_fd1, MAX (temp_fd2, MAX (temp_fd3, temp_fd5)))) + 1; in do_test()
/glibc-2.36/crypt/
Dsha256-crypt.c137 rounds = MAX (ROUNDS_MIN, MIN (srounds, ROUNDS_MAX)); in __sha256_crypt_r()
316 cp = __stpncpy (buffer, sha256_salt_prefix, MAX (0, buflen)); in __sha256_crypt_r()
321 int n = __snprintf (cp, MAX (0, buflen), "%s%zu$", in __sha256_crypt_r()
327 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __sha256_crypt_r()
328 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __sha256_crypt_r()
Dsha512-crypt.c137 rounds = MAX (ROUNDS_MIN, MIN (srounds, ROUNDS_MAX)); in __sha512_crypt_r()
315 cp = __stpncpy (buffer, sha512_salt_prefix, MAX (0, buflen)); in __sha512_crypt_r()
320 int n = __snprintf (cp, MAX (0, buflen), "%s%zu$", in __sha512_crypt_r()
326 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __sha512_crypt_r()
327 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __sha512_crypt_r()
Dmd5-crypt.c251 cp = __stpncpy (buffer, md5_salt_prefix, MAX (0, buflen)); in __md5_crypt_r()
254 cp = __stpncpy (cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in __md5_crypt_r()
255 buflen -= MIN ((size_t) MAX (0, buflen), salt_len); in __md5_crypt_r()
/glibc-2.36/elf/
Ddl-dst.h55 dst_len = MAX (MAX (dst_len, GLRO(dl_platformlen)), \
/glibc-2.36/sunrpc/
Dsvc_udp.c70 #ifndef MAX
71 #define MAX(a, b) ((a > b) ? a : b) macro
157 buf = mem_alloc (((MAX (sendsz, recvsz) + 3) / 4) * 4); in svcudp_bufcreate()
164 mem_free (buf, ((MAX (sendsz, recvsz) + 3) / 4) * 4); in svcudp_bufcreate()
167 su->su_iosz = ((MAX (sendsz, recvsz) + 3) / 4) * 4; in svcudp_bufcreate()
/glibc-2.36/nptl/
Dtst-tls5.c80 max_addr = MAX (tls_registry[i].addr + tls_registry[i].size, in do_test()
94 max_addr = MAX (tls_registry[cnt - 1].addr, max_addr); in do_test()
/glibc-2.36/misc/
Defgcvt_r-template.c113 memmove (&buf[MAX (*decpt, 0)], &buf[i], n - i); in __FCVT_R()
114 buf[n - (i - MAX (*decpt, 0))] = '\0'; in __FCVT_R()
/glibc-2.36/stdio-common/
Dprintf-parsemb.c98 *max_ref_arg = MAX (*max_ref_arg, n); in __parse_one_specwc()
172 *max_ref_arg = MAX (*max_ref_arg, n); in __parse_one_specwc()
215 *max_ref_arg = MAX (*max_ref_arg, n); in __parse_one_specwc()
/glibc-2.36/nscd/
Dnscd_conf.c181 nthreads = MAX (atol (arg1), lastdb); in nscd_parse_file()
185 max_nthreads = MAX (atol (arg1), lastdb); in nscd_parse_file()
/glibc-2.36/io/
Dftw.c113 # undef MAX
114 # define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
304 bufsize += MAX (1024, 2 * this_len); in open_dir_stream()
656 if (!ftw_allocate (&data, MAX (2 * strlen (dir), PATH_MAX))) in ftw_startup()
Dclosefrom.c27 int l = MAX (0, lowfd); in __closefrom()
/glibc-2.36/malloc/
Dmemusagestat.c429 cnt += MAX (1, total / 20); in main()
436 uint64_t next_tick = MAX (1, total / 20); in main()
466 next_tick += MAX (1, total / 20); in main()
/glibc-2.36/sysdeps/generic/
Deloop-threshold.h69 return MAX (symloop_max, MIN_ELOOP_THRESHOLD); in __eloop_threshold()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dgetloadavg.c28 #define CLAMP(v, lo, hi) MIN (MAX (v, lo), hi)
Dsysconf.c62 const long int limit = MAX (legacy_ARG_MAX, rlimit.rlim_cur / 4); in __sysconf()
Dgetcwd.c63 alloc_size = MAX (PATH_MAX, __getpagesize ()); in __getcwd()
/glibc-2.36/support/
Dsupport_stack_alloc.c56 size_t guardsize = roundup (MAX (2 * stacksize, 1024 * 1024), pagesize); in support_stack_alloc()
/glibc-2.36/sysdeps/pthread/
Dtst-stack1.c79 size = MAX (size, PTHREAD_STACK_MIN); in do_test()

1234