Searched refs:MIN (Results 1 – 15 of 15) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fvwrite.c | 66 #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/ |
D | qsort.c | 47 #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/ |
D | param.h | 69 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
|
/bionic/libc/bionic/ |
D | mbrtoc32.cpp | 107 for (i = 0; i < MIN(bytes_wanted, n); i++) { in mbrtoc32()
|
D | sysconf.cpp | 79 return MAX(MIN(__sysconf_rlimit(RLIMIT_STACK) / 4, 3 * _STK_LIM / 4), ARG_MAX); in sysconf()
|
D | bionic_allocator.cpp | 320 align = MIN(align, PAGE_SIZE); in memalign()
|
D | bionic_elf_tls.cpp | 84 *alignment = MIN(*alignment, PAGE_SIZE); in __bionic_check_tls_alignment()
|
/bionic/libc/dns/nameser/ |
D | ns_print.c | 51 #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/ |
D | strstr.c | 56 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
|
D | memmem.c | 59 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
|
/bionic/libc/dns/resolv/ |
D | res_mkquery.c | 280 padlen = MIN(padlen, buflen - minlen); in res_nopt()
|
D | res_init.c | 573 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/ |
D | vfscanf.cpp | 425 capacity = MIN(width, 32); in __svfscanf() 499 capacity = MIN(width, 32); in __svfscanf()
|
D | stdio.cpp | 1113 size_t buffered_bytes = MIN(static_cast<size_t>(fp->_r), total); in fread_unlocked()
|
/bionic/libc/dns/net/ |
D | getnameinfo.c | 162 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen)); in getnameinfo_local()
|