Home
last modified time | relevance | path

Searched refs:can_overflow (Results 1 – 10 of 10) sorted by relevance

/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/num/
H A Dmod.rs120 fn can_overflow<T>(radix: u32, input: &str) -> bool in test_can_not_overflow() function
128 assert!(!can_overflow::<i8>(16, "F")); in test_can_not_overflow()
129 assert!(!can_overflow::<u8>(16, "FF")); in test_can_not_overflow()
131 assert!(!can_overflow::<i8>(10, "9")); in test_can_not_overflow()
132 assert!(!can_overflow::<u8>(10, "99")); in test_can_not_overflow()
171 assert!(can_overflow::<$t>(base, &max_len_string)); in test_can_not_overflow()
183 assert_eq!(can_overflow::<u128>(base, &max_len_string), base != 16); in test_can_not_overflow()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/num/
H A Dmod.rs120 fn can_overflow<T>(radix: u32, input: &str) -> bool in test_can_not_overflow() function
128 assert!(!can_overflow::<i8>(16, "F")); in test_can_not_overflow()
129 assert!(!can_overflow::<u8>(16, "FF")); in test_can_not_overflow()
131 assert!(!can_overflow::<i8>(10, "9")); in test_can_not_overflow()
132 assert!(!can_overflow::<u8>(10, "99")); in test_can_not_overflow()
171 assert!(can_overflow::<$t>(base, &max_len_string)); in test_can_not_overflow()
183 assert_eq!(can_overflow::<u128>(base, &max_len_string), base != 16); in test_can_not_overflow()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/core/tests/num/
H A Dmod.rs120 fn can_overflow<T>(radix: u32, input: &str) -> bool in test_can_not_overflow() function
128 assert!(!can_overflow::<i8>(16, "F")); in test_can_not_overflow()
129 assert!(!can_overflow::<u8>(16, "FF")); in test_can_not_overflow()
131 assert!(!can_overflow::<i8>(10, "9")); in test_can_not_overflow()
132 assert!(!can_overflow::<u8>(10, "99")); in test_can_not_overflow()
171 assert!(can_overflow::<$t>(base, &max_len_string)); in test_can_not_overflow()
183 assert_eq!(can_overflow::<u128>(base, &max_len_string), base != 16); in test_can_not_overflow()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/core/tests/num/
H A Dmod.rs120 fn can_overflow<T>(radix: u32, input: &str) -> bool in test_can_not_overflow() function
128 assert!(!can_overflow::<i8>(16, "F")); in test_can_not_overflow()
129 assert!(!can_overflow::<u8>(16, "FF")); in test_can_not_overflow()
131 assert!(!can_overflow::<i8>(10, "9")); in test_can_not_overflow()
132 assert!(!can_overflow::<u8>(10, "99")); in test_can_not_overflow()
171 assert!(can_overflow::<$t>(base, &max_len_string)); in test_can_not_overflow()
183 assert_eq!(can_overflow::<u128>(base, &max_len_string), base != 16); in test_can_not_overflow()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/core/tests/num/
H A Dmod.rs120 fn can_overflow<T>(radix: u32, input: &str) -> bool in test_can_not_overflow() function
128 assert!(!can_overflow::<i8>(16, "F")); in test_can_not_overflow()
129 assert!(!can_overflow::<u8>(16, "FF")); in test_can_not_overflow()
131 assert!(!can_overflow::<i8>(10, "9")); in test_can_not_overflow()
132 assert!(!can_overflow::<u8>(10, "99")); in test_can_not_overflow()
171 assert!(can_overflow::<$t>(base, &max_len_string)); in test_can_not_overflow()
183 assert_eq!(can_overflow::<u128>(base, &max_len_string), base != 16); in test_can_not_overflow()
/aosp_15_r20/external/pytorch/c10/util/
H A DTypeSafeSignMath.h80 constexpr bool can_overflow = in greater_than_max() local
82 return can_overflow && x > std::numeric_limits<Limit>::max(); in greater_than_max()
/aosp_15_r20/external/python/cpython2/Modules/
Dmathmodule.c682 math_1(PyObject *arg, double (*func) (double), int can_overflow) in math_1() argument
700 errno = can_overflow ? ERANGE : EDOM; in math_1()
790 #define FUNC1(funcname, func, can_overflow, docstring) \ argument
792 return math_1(args, func, can_overflow); \
/aosp_15_r20/external/pytorch/aten/src/ATen/native/vulkan/api/
H A DUtils.h158 constexpr bool can_overflow = in greater_than_max() local
160 return can_overflow && x > std::numeric_limits<Limit>::max(); in greater_than_max()
/aosp_15_r20/external/python/cpython3/Modules/
Dmathmodule.c1041 int can_overflow) in math_1_to_whatever() argument
1055 if (can_overflow) in math_1_to_whatever()
1116 math_1(PyObject *arg, double (*func) (double), int can_overflow) in math_1() argument
1118 return math_1_to_whatever(arg, func, PyFloat_FromDouble, can_overflow); in math_1()
1156 #define FUNC1(funcname, func, can_overflow, docstring) \ argument
1158 return math_1(args, func, can_overflow); \
/aosp_15_r20/external/executorch/backends/vulkan/runtime/utils/
H A DVecUtils.h164 constexpr bool can_overflow = in greater_than_max() local
166 return can_overflow && x > std::numeric_limits<Limit>::max(); in greater_than_max()