| /linux-6.15/lib/tests/ |
| H A D | is_signed_type_kunit.c | 21 KUNIT_EXPECT_EQ(test, is_signed_type(bool), false); in is_signed_type_test() 22 KUNIT_EXPECT_EQ(test, is_signed_type(signed char), true); in is_signed_type_test() 23 KUNIT_EXPECT_EQ(test, is_signed_type(unsigned char), false); in is_signed_type_test() 24 KUNIT_EXPECT_EQ(test, is_signed_type(char), false); in is_signed_type_test() 25 KUNIT_EXPECT_EQ(test, is_signed_type(int), true); in is_signed_type_test() 26 KUNIT_EXPECT_EQ(test, is_signed_type(unsigned int), false); in is_signed_type_test() 27 KUNIT_EXPECT_EQ(test, is_signed_type(long), true); in is_signed_type_test() 28 KUNIT_EXPECT_EQ(test, is_signed_type(unsigned long), false); in is_signed_type_test() 29 KUNIT_EXPECT_EQ(test, is_signed_type(long long), true); in is_signed_type_test() 33 KUNIT_EXPECT_EQ(test, is_signed_type(void *), false); in is_signed_type_test() [all …]
|
| H A D | scanf_kunit.c | 174 (is_signed_type(T) \ 290 if (is_signed_type(typeof((arr)[0])) && (neg_pattern & 1)) \ 707 if (is_signed_type(T)) \
|
| /linux-6.15/include/trace/stages/ |
| H A D | stage4_event_fields.h | 11 .is_signed = is_signed_type(_type), .filter_type = _filter_type }, 29 .is_signed = is_signed_type(_type), .filter_type = FILTER_OTHER,\ 36 .is_signed = is_signed_type(_type), .filter_type = FILTER_OTHER }, 63 .is_signed = is_signed_type(_type), .filter_type = FILTER_OTHER },
|
| /linux-6.15/kernel/trace/ |
| H A D | trace_export.c | 92 is_signed_type(_type), .filter_type = _filter_type }, 99 is_signed_type(_type), .filter_type = _filter_type }, 117 is_signed_type(_type), .filter_type = FILTER_OTHER, \ 130 is_signed_type(_type), .filter_type = FILTER_OTHER },
|
| H A D | trace_syscalls.c | 207 .is_signed = is_signed_type(_type), .filter_type = FILTER_OTHER }
|
| H A D | ring_buffer.c | 586 (unsigned int)is_signed_type(u64)); in ring_buffer_print_page_header() 592 (unsigned int)is_signed_type(long)); in ring_buffer_print_page_header() 598 (unsigned int)is_signed_type(long)); in ring_buffer_print_page_header() 604 (unsigned int)is_signed_type(char)); in ring_buffer_print_page_header()
|
| H A D | trace_events.c | 176 #item, 0, 0, is_signed_type(type), \ 186 is_signed_type(type), FILTER_OTHER, \
|
| /linux-6.15/tools/include/linux/ |
| H A D | overflow.h | 31 #define is_signed_type(type) (((type)(-1)) < (type)1) macro 32 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type)))
|
| /linux-6.15/include/linux/ |
| H A D | compiler.h | 350 #define is_signed_type(type) (((type)(-1)) < (__force type)1) macro 351 #define is_unsigned_type(type) (!is_signed_type(type))
|
| H A D | overflow.h | 33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type)))
|
| H A D | minmax.h | 49 #define __sign_use(ux) (is_signed_type(typeof(ux)) ? \
|
| /linux-6.15/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 753 #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) macro 761 switch (is_signed_type(__exp) * 2 + is_signed_type(__seen)) { \
|
| /linux-6.15/include/rdma/ |
| H A D | uverbs_ioctl.h | 1001 (is_signed_type(typeof(*(_to))) ? \ 1006 (is_signed_type(typeof(*(_to))) ? \
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | veristat.c | 1443 static bool is_signed_type(const struct btf_type *t) in is_signed_type() function 1526 bool is_signed = is_signed_type(base_type); in set_global_var()
|
| /linux-6.15/lib/ |
| H A D | Kconfig.debug | 2842 tristate "Test is_signed_type() macro" if !KUNIT_ALL_TESTS 2846 Builds unit tests for the is_signed_type() macro.
|