Home
last modified time | relevance | path

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

12

/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.h165 __le32 min; member
259 __le32 min; member
Dasound.h314 unsigned int min, max; member
840 long min; member
845 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.cpp874 std::string min{std::to_string(std::numeric_limits<T>::min())}; in CheckStrToInt() local
877 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min.c_str(), &end_p, 0)); in CheckStrToInt()
881 min.back() = (min.back() + 1); in CheckStrToInt()
884 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min.c_str(), &end_p, 0)); in CheckStrToInt()
915 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()
Dmalloc_test.cpp1445 memset(allocs.back(), 'X', std::min(size, kMaxBytesToCheckZero)); in TestHeapZeroing()
1456 ASSERT_EQ(0, memcmp(allocs.back(), kBlankMemory, std::min(size, kMaxBytesToCheckZero))); in TestHeapZeroing()
/bionic/libc/kernel/uapi/linux/
Dpsci.h82 #define PSCI_VERSION(maj,min) ((((maj) << PSCI_VERSION_MAJOR_SHIFT) & PSCI_VERSION_MAJOR_MASK) | (( argument
Datm_nicstar.h27 unsigned min; member
Dvirtio_input.h32 __le32 min; member
Didxd.h318 uint32_t min; member
Dpkt_sched.h48 #define TC_H_MAKE(maj,min) (((maj) & TC_H_MAJ_MASK) | ((min) & TC_H_MIN_MASK)) argument
Dxfrm.h351 __u32 min; member
Dcomedi.h286 int min; member
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_length.h23 __u16 min, max; member
Dxt_u32.h33 __u32 min; member
Dnf_nat.h36 union nf_conntrack_man_proto min; member
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregex2.h118 wint_t min; member
151 if (cs->ranges[i].min <= ch && ch <= cs->ranges[i].max) in CHIN1()
Dregcomp.c169 static void CHaddrange(struct parse *p, cset *cs, wint_t min, wint_t max);
1794 CHaddrange(struct parse *p, cset *cs, wint_t min, wint_t max) argument
1801 for (; min < NC && min <= max; min++)
1802 CHadd(p, cs, min);
1803 if (min >= max)
1812 cs->ranges[cs->nranges].min = min;
/bionic/libc/dns/resolv/
Dres_debug.c839 int deg = 0, min = 0, secs = 0, secsfrac = 0; in latlon2ul() local
853 min = min * 10 + (*cp++ - '0'); in latlon2ul()
888 + (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
894 - (((((deg * 60) + min) * 60) + secs) * 1000) in latlon2ul()
/bionic/libc/kernel/uapi/drm/
Dexynos_drm.h121 __u32 min; member
/bionic/benchmarks/
Dstring_benchmark.cpp275 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()

12