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()
/bionic/libc/kernel/uapi/sound/
Dtlv.h38 #define SNDRV_CTL_TLVD_DB_SCALE_ITEM(min,step,mute) SNDRV_CTL_TLVD_ITEM(SNDRV_CTL_TLVT_DB_SCALE, (m… argument
39 …ine SNDRV_CTL_TLVD_DECLARE_DB_SCALE(name,min,step,mute) unsigned int name[] = { SNDRV_CTL_TLVD_DB_… argument
Demu10k1.h255 unsigned int min; member
266 unsigned int min; member
Dasoc.h161 __le32 min; member
255 __le32 min; member
Dasound.h311 unsigned int min, max; member
816 long min; member
821 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()
Dstdlib_test.cpp809 std::string min{std::to_string(std::numeric_limits<T>::min())}; in CheckStrToInt() local
812 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min.c_str(), &end_p, 0)); in CheckStrToInt()
816 min.back() = (min.back() + 1); in CheckStrToInt()
819 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min.c_str(), &end_p, 0)); in CheckStrToInt()
850 ASSERT_EQ(std::numeric_limits<T>::min(), in CheckStrToInt()
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()
Dwchar_test.cpp460 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min_str, nullptr, 0)) << min_str; in TestWcsToIntLimits()
/bionic/libc/kernel/uapi/linux/
Dpsci.h68 #define PSCI_VERSION(maj,min) ((((maj) << PSCI_VERSION_MAJOR_SHIFT) & PSCI_VERSION_MAJOR_MASK) | (( argument
Datm_nicstar.h27 unsigned min; member
Dvirtio_input.h32 __u32 min; member
Dpkt_sched.h48 #define TC_H_MAKE(maj,min) (((maj) & TC_H_MAJ_MASK) | ((min) & TC_H_MIN_MASK)) argument
Dxfrm.h345 __u32 min; member
Dvideodev2.h462 struct v4l2_fract min; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_length.h23 __u16 min, max; member
Dxt_u32.h33 __u32 min; member
Dnf_nat.h35 union nf_conntrack_man_proto min; member
/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/kernel/uapi/drm/
Dexynos_drm.h121 __u32 min; member
/bionic/benchmarks/
Dstring_benchmark.cpp279 std::min(nbytes, static_cast<size_t>(5)), 'x'); in BM_string_strstr()
/bionic/tools/versioner/src/
Dversioner.cpp232 thread_count = std::min(thread_count, jobs.size()); in compileHeaders()
/bionic/libc/tzcode/
Dlocaltime.c778 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() argument
792 if (num < min) in getnum()