Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfvwrite.c66 #define MIN(a, b) ((a) < (b) ? (a) : (b)) in __sfvwrite() macro
86 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ)); in __sfvwrite()
171 s = MIN(len, nldist); in __sfvwrite()
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dqsort.c47 #define MIN(a, b) ((a) < (b) ? a : b) macro
161 d1 = MIN(pa - (char *)a, pb - pa); in qsort_r()
163 d1 = MIN(pd - pc, pn - pd - es); in qsort_r()
/bionic/libc/include/sys/
Dparam.h69 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
/bionic/libc/bionic/
Dmbrtoc32.cpp107 for (i = 0; i < MIN(bytes_wanted, n); i++) { in mbrtoc32()
Dsysconf.cpp79 return MAX(MIN(__sysconf_rlimit(RLIMIT_STACK) / 4, 3 * _STK_LIM / 4), ARG_MAX); in sysconf()
Dbionic_allocator.cpp320 align = MIN(align, PAGE_SIZE); in memalign()
Dbionic_elf_tls.cpp84 *alignment = MIN(*alignment, PAGE_SIZE); in __bionic_check_tls_alignment()
/bionic/libc/dns/nameser/
Dns_print.c51 #ifndef MIN
52 #define MIN(x,y) ((x)<(y)?(x):(y)) macro
494 T(addstr(base64_key + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
558 T(addstr(base64_key + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
617 T(addstr(base64_cert + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
910 (size_t)MIN(len - n, 48), &buf, &buflen)); in ns_sprintrrf()
1003 (size_t)MIN(len - n, 48), &buf, &buflen)); in ns_sprintrrf()
1073 n = MIN(16, (int)(edata - rdata)); in ns_sprintrrf()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c56 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
Dmemmem.c59 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
/bionic/libc/dns/resolv/
Dres_mkquery.c280 padlen = MIN(padlen, buflen - minlen); in res_nopt()
Dres_init.c573 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1); in res_setoptions()
581 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1); in res_setoptions()
/bionic/libc/stdio/
Dvfscanf.cpp425 capacity = MIN(width, 32); in __svfscanf()
499 capacity = MIN(width, 32); in __svfscanf()
Dstdio.cpp1113 size_t buffered_bytes = MIN(static_cast<size_t>(fp->_r), total); in fread_unlocked()
/bionic/libc/dns/net/
Dgetnameinfo.c162 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()