Home
last modified time | relevance | path

Searched refs:is_signed_type (Results 1 – 14 of 14) sorted by relevance

/linux-6.6.21/lib/
Dis_signed_type_kunit.c21 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()
30 KUNIT_EXPECT_EQ(test, is_signed_type(unsigned long long), false); in is_signed_type_test()
[all …]
Dtest_scanf.c188 (is_signed_type(T) \
304 if (is_signed_type(typeof((arr)[0])) && (neg_pattern & 1)) \
715 if (is_signed_type(T)) \
DKconfig.debug2705 tristate "Test is_signed_type() macro" if !KUNIT_ALL_TESTS
2709 Builds unit tests for the is_signed_type() macro.
/linux-6.6.21/include/trace/stages/
Dstage4_event_fields.h11 .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.6.21/kernel/trace/
Dtrace_export.c92 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 },
Dtrace_syscalls.c207 .is_signed = is_signed_type(_type), .filter_type = FILTER_OTHER }
Dring_buffer.c388 (unsigned int)is_signed_type(u64)); in ring_buffer_print_page_header()
394 (unsigned int)is_signed_type(long)); in ring_buffer_print_page_header()
400 (unsigned int)is_signed_type(long)); in ring_buffer_print_page_header()
406 (unsigned int)is_signed_type(char)); in ring_buffer_print_page_header()
Dtrace_events.c174 #item, 0, 0, is_signed_type(type), \
184 is_signed_type(type), FILTER_OTHER, 0); \
/linux-6.6.21/tools/include/linux/
Doverflow.h31 #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.6.21/include/linux/
Dcompiler.h237 #define is_signed_type(type) (((type)(-1)) < (__force type)1) macro
238 #define is_unsigned_type(type) (!is_signed_type(type))
Dminmax.h31 __builtin_choose_expr(__is_constexpr(is_signed_type(typeof(x))), \
32 is_signed_type(typeof(x)), 0)
Doverflow.h33 #define __type_half_max(type) ((type)1 << (8*sizeof(type) - 1 - is_signed_type(type)))
/linux-6.6.21/tools/testing/selftests/
Dkselftest_harness.h702 #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) macro
711 switch (is_signed_type(__exp) * 2 + is_signed_type(__seen)) { \
/linux-6.6.21/include/rdma/
Duverbs_ioctl.h999 (is_signed_type(typeof(*(_to))) ? \
1004 (is_signed_type(typeof(*(_to))) ? \