Searched defs:MIN (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/stdio/
H A Dfvwrite.c65 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
88 w = (*fp->_write)(fp->_cookie, p, MIN(len, BUFSIZ2));
132 COPY(w); /* copy MIN(fp->_w,len), */
164 * that the amount to write is MIN(len,nldist).
175 s = MIN((int)len, nldist);
/bionic/libc/netbsd/net/
H A Dgetnameinfo.c70 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
151 MIN((socklen_t) sizeof(sun->sun_path) + 1, hostlen));
/bionic/libc/netbsd/resolv/
H A Dres_init.c107 #ifndef MIN
108 #define MIN(x,y) ((x)<(y)?(x):(y)) macro
561 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix) - 1);
569 i = MIN(strcspn(cp, " \t"), sizeof(ext->nsuffix2) - 1);
/bionic/libc/netbsd/nameser/
H A Dns_print.c56 #ifndef MIN
57 #define MIN(x,y) ((x)<(y)?(x):(y)) macro
497 T(addstr(base64_key + n, (size_t)MIN(len - n, 48),
560 T(addstr(base64_key + n, (size_t)MIN(len - n, 48),
619 T(addstr(base64_cert + n, (size_t)MIN(len - n, 48),
732 n = MIN(16, edata - rdata);

Completed in 146 milliseconds