Home
last modified time | relevance | path

Searched refs:min (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/crypt/
Darc4random_uniform.c35 uint32_t r, min; in arc4random_uniform() local
41 min = -upper_bound % upper_bound; in arc4random_uniform()
51 if (r >= min) in arc4random_uniform()
Darc4random.c39 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
130 m = min(datlen, KEYSZ + IVSZ); in _rs_rekey()
150 m = min(n, rs->rs_have); in _rs_random_buf()
/bionic/tests/
Dsstream_test.cpp43 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::min(), "-32768", false); in TEST()
53 CheckOverflow<int32_t>(std::numeric_limits<int32_t>::min(), "-2147483648", false); in TEST()
63 CheckOverflow<int64_t>(std::numeric_limits<int64_t>::min(), "-9223372036854775808", false); in TEST()
Dstring_test.cpp615 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST()
616 state.ptr[state.MAX_LEN + std::min(actual, pos) - 1] = '\0'; in TEST()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_length.h24 __u16 min, max; member
Dxt_u32.h36 __u32 min; member
Dnf_nat.h37 union nf_conntrack_man_proto min; member
/bionic/libc/kernel/uapi/linux/
Datm_nicstar.h29 unsigned min; member
Dtelephony.h69 char min[3]; member
Dpkt_sched.h54 #define TC_H_MAKE(maj,min) (((maj) & TC_H_MAJ_MASK) | ((min) & TC_H_MIN_MASK)) argument
Dxfrm.h416 __u32 min; member
Dvideodev2.h399 struct v4l2_fract min; member
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dqsort.c46 #define min(a, b) (a) < (b) ? a : b macro
178 r = min(pa - (char *)a, pb - pa); in qsort_r()
180 r = min(pd - pc, pn - pd - es); in qsort_r()
/bionic/libc/bionic/
Dgetentropy_linux.c62 #define min(a, b) (((a) < (b)) ? (a) : (b)) macro
294 size_t chunk = min(len - i, 16); in getentropy_sysctl()
553 memcpy((char *)buf + i, results, min(sizeof(results), len - i)); in getentropy_fallback()
554 i += min(sizeof(results), len - i); in getentropy_fallback()
/bionic/libc/kernel/uapi/sound/
Demu10k1.h295 unsigned int min; member
309 unsigned int min; member
Dasound.h332 unsigned int min, max; member
857 long min; member
864 long long min; member
/bionic/benchmarks/
DBenchmark.cpp135 std::min(new_iterations + new_iterations/2, 100*iterations)); in RunWithArg()
/bionic/libc/dns/resolv/
Dres_debug.c821 int deg = 0, min = 0, secs = 0, secsfrac = 0; in latlon2ul() local
835 min = min * 10 + (*cp++ - '0'); in latlon2ul()
870 + (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
876 - (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
/bionic/libc/tzcode/
Dlocaltime.c155 static const char * getnum(const char * strp, int * nump, int min,
699 getnum(register const char * strp, int * const nump, const int min, const int max) in getnum() argument
713 if (num < min) in getnum()