Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 26) sorted by relevance

12

/bionic/tests/
Dsstream_test.cpp45 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::max(), "32767", false); in TEST()
48 CheckOverflow<uint16_t>(std::numeric_limits<uint16_t>::max(), "65535", false); in TEST()
55 CheckOverflow<int32_t>(std::numeric_limits<int32_t>::max(), "2147483647", false); in TEST()
58 CheckOverflow<uint32_t>(std::numeric_limits<uint32_t>::max(), "4294967295", false); in TEST()
65 CheckOverflow<int64_t>(std::numeric_limits<int64_t>::max(), "9223372036854775807", false); in TEST()
68 CheckOverflow<uint64_t>(std::numeric_limits<uint64_t>::max(), "18446744073709551615", false); in TEST()
Dsys_select_test.cpp89 int max = STDERR_FILENO + 1; in TEST() local
95 int num_fds = select(max, &r, &w, &e, nullptr); in TEST()
110 ASSERT_EQ(-1, select(max, &r, &w, &e, &tv)); in TEST()
144 int max = STDERR_FILENO + 1; in TEST() local
153 int num_fds = pselect(max, &r, &w, &e, nullptr, &ss); in TEST()
165 ASSERT_EQ(-1, pselect(max, &r, &w, &e, &tv, &ss)); in TEST()
Dstdlib_test.cpp825 std::string max{std::to_string(std::numeric_limits<T>::max())}; in CheckStrToInt() local
828 ASSERT_EQ(std::numeric_limits<T>::max(), fn(max.c_str(), &end_p, 0)); in CheckStrToInt()
832 max.back() = (max.back() + 1); in CheckStrToInt()
835 ASSERT_EQ(std::numeric_limits<T>::max(), fn(max.c_str(), &end_p, 0)); in CheckStrToInt()
843 ASSERT_EQ(std::numeric_limits<T>::max(), in CheckStrToInt()
Dwchar_test.cpp465 ASSERT_EQ(std::numeric_limits<T>::max(), fn(min_str, nullptr, 0)) << min_str; in TestWcsToIntLimits()
467 ASSERT_EQ(std::numeric_limits<T>::max(), fn(max_str, nullptr, 0)) << max_str; in TestWcsToIntLimits()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_hashlimit.h42 __u32 max; member
60 __u32 max; member
70 __u32 max; member
80 __u32 max; member
Dxt_length.h23 __u16 min, max; member
Dxt_u32.h34 __u32 max; member
Dnf_nat.h36 union nf_conntrack_man_proto max; member
/bionic/libc/bionic/
Dfdsan.cpp67 rlim_t max = rlim.rlim_max; in at() local
69 if (max == RLIM_INFINITY) { in at()
72 max = 32768; in at()
75 if (idx > max) { in at()
81 size_t required_count = max - inline_fds; in at()
Dgrp_pwd_file.cpp50 void CopyFieldToString(char* dest, const char* source, size_t max) { in CopyFieldToString() argument
51 while (*source != ':' && *source != '\n' && max > 1) { in CopyFieldToString()
53 --max; in CopyFieldToString()
Dfts.c999 size_t len, max; in fts_maxarglen() local
1001 for (max = 0; *argv; ++argv) in fts_maxarglen()
1002 if ((len = strlen(*argv)) > max) in fts_maxarglen()
1003 max = len; in fts_maxarglen()
1004 return (max + 1); in fts_maxarglen()
/bionic/libc/kernel/uapi/linux/
Datm_nicstar.h29 unsigned max; member
Dvirtio_input.h33 __u32 max; member
Dxfrm.h346 __u32 max; member
Dpkt_sched.h561 __u32 max; member
/bionic/libc/kernel/uapi/sound/
Demu10k1.h256 unsigned int max; member
267 unsigned int max; member
Dasoc.h256 __le32 max; member
278 __le32 max; member
Dskl-tplg-interface.h110 __u32 max; member
Dasound.h311 unsigned int min, max; member
817 long max; member
822 long long max; member
/bionic/libc/kernel/uapi/drm/
Dexynos_drm.h122 __u32 max; member
/bionic/linker/
Dlinker_cfi.cpp107 begin = std::max(begin, cfi_check) & ~(kShadowAlign - 1); in Add()
Dlinker_phdr.cpp559 align = std::max(align, kGapAlignment); in ReserveWithAlignmentPadding()
/bionic/libc/malloc_debug/
DREADME.md59 The default is 32 bytes, the max bytes is 16384. SIZE\_BYTES will be
82 The default is 32 bytes, the max bytes is 16384.
97 The default is 32 bytes, the max bytes is 16384.
192 The default is 16 bytes, the max bytes is 16384.
211 in the list. The default is to record 100 freed allocations, the max
242 allocation is freed. The default is to record 16 frames, the max number of
/bionic/docs/
Dlibc_assembler.md96 is beyond the scope of this document. However, most of the benchmarks max
/bionic/libc/tzcode/
Dlocaltime.c778 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() argument
788 if (num > max) in getnum()

12