Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 38) 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.cpp890 std::string max{std::to_string(std::numeric_limits<T>::max())}; in CheckStrToInt() local
893 ASSERT_EQ(std::numeric_limits<T>::max(), fn(max.c_str(), &end_p, 0)); in CheckStrToInt()
897 max.back() = (max.back() + 1); in CheckStrToInt()
900 ASSERT_EQ(std::numeric_limits<T>::max(), fn(max.c_str(), &end_p, 0)); in CheckStrToInt()
914 ASSERT_EQ(std::numeric_limits<T>::max(), in CheckStrToInt()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_hashlimit.h30 __u32 max; member
48 __u32 max; member
58 __u32 max; member
68 __u32 max; member
Dxt_length.h11 __u16 min, max; member
Dxt_u32.h22 __u32 max; member
Dnf_nat.h25 union nf_conntrack_man_proto max; member
/bionic/libc/kernel/uapi/linux/
Dioprio.h51 #define IOPRIO_BAD_VALUE(val,max) ((val) < 0 || (val) >= (max)) argument
Datm_nicstar.h17 unsigned max; member
Dvirtio_input.h21 __le32 max; member
Dvirtio_snd.h262 __le32 max; member
267 __le64 max; member
/bionic/libc/bionic/
Dfdsan.cpp68 rlim_t max = rlim.rlim_max; in at() local
70 if (max == RLIM_INFINITY) { in at()
73 max = 32768; in at()
76 if (idx > max) { in at()
82 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.c1008 size_t len, max; in fts_maxarglen() local
1010 for (max = 0; *argv; ++argv) in fts_maxarglen()
1011 if ((len = strlen(*argv)) > max) in fts_maxarglen()
1012 max = len; in fts_maxarglen()
1013 return (max + 1); in fts_maxarglen()
Dspawn.cpp62 int max = getrlimit(RLIMIT_NOFILE, &m) ? 1000000 : m.rlim_max; in cloexec_except_stdioe() local
63 for (int i = 3; i < max; ++i) set_cloexec(i); in cloexec_except_stdioe()
/bionic/libfdtrack/
Dfdtrack.cpp271 size_t max = 0; in fdtrack_dump_impl() local
274 if (stacks.data[i].count > max) { in fdtrack_dump_impl()
276 max = stack->count; in fdtrack_dump_impl()
290 "most common stack (%zu/%zu) is\n", max, stacks.count); in fdtrack_dump_impl()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregex2.h119 wint_t max; member
151 if (cs->ranges[i].min <= ch && ch <= cs->ranges[i].max) in CHIN1()
/bionic/libc/kernel/uapi/sound/
Demu10k1.h274 int max; member
285 unsigned int max; member
Dskl-tplg-interface.h101 __u32 max; member
Dasoc.h248 __le32 max; member
270 __le32 max; member
Dasound.h307 unsigned int min, max; member
887 long max; member
892 long long max; member
/bionic/libc/kernel/uapi/drm/
Dexynos_drm.h110 __u32 max; member
/bionic/linker/arch/riscv64/
Dtlsdesc_resolver.S78 .macro for_each_saved_reg op max argument
/bionic/tests/libs/
Delftls_dtv_resize_helper.cpp73 result = std::max(result, info->dlpi_tls_modid); in highest_loaded_modid()
/bionic/libc/tzcode/
Dlocaltime.c106 enum { CHARS_EXTRA = max(sizeof UNSPEC, 2) - 1 };
124 char chars[max(max(TZ_MAX_CHARS + CHARS_EXTRA, sizeof "UTC"),
400 char fullname[max(sizeof(struct file_analysis), sizeof tzdirslash + 1024)];
910 getnum(register const char *strp, int *const nump, const int min, const int max) in getnum() argument
920 if (num > max) in getnum()
2166 && ((max(INT_FAST32_MIN, LONG_MIN) in time2sub()

12