Home
last modified time | relevance | path

Searched refs:min (Results 1 – 24 of 24) 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/libc/kernel/uapi/sound/
Dtlv.h40 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min,step,mute) SNDRV_CTL_TLVD_ITEM(SNDRV_CTL_TLVT_DB_SCALE, (m… argument
41 …ine SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name,min,step,mute) unsigned int name[] = { SNDRV_CTL_TLVD_DB_… argument
Demu10k1.h297 unsigned int min; member
311 unsigned int min; member
Dasoc.h175 __le32 min; member
292 __le32 min; member
Dasound.h350 unsigned int min, max; member
890 long min; member
896 long long min; member
/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()
Dpty_test.cpp92 size_t to_read = std::min(sizeof(buf), (arg->data_count + 1 - counter) * sizeof(uint32_t)); in PtyReader_28979140()
Dstring_test.cpp632 strncpy(state.ptr + state.MAX_LEN - 1, state.ptr1, std::min(actual, pos)); in TEST()
633 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
Dvirtio_input.h35 __u32 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.h420 __u32 min; member
Dvideodev2.h489 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
283 size_t chunk = min(len - i, 16); in getentropy_sysctl()
541 memcpy((char *)buf + i, results, min(sizeof(results), len - i)); in getentropy_fallback()
542 i += min(sizeof(results), len - i); in getentropy_fallback()
/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/tools/
Dpylintrc127 docstring-min-length=-1
159 min-similarity-lines=4
254 min-public-methods=2
/bionic/tools/versioner/src/
Dversioner.cpp192 thread_count = std::min(thread_count, jobs.size()); in compileHeaders()
/bionic/libc/tzcode/
Dlocaltime.c779 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() argument
793 if (num < min) in getnum()