Home
last modified time | relevance | path

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

/tools/include/linux/
A 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)))
/tools/lib/subcmd/
A Drun-command.c225 #ifndef is_signed_type
226 #define is_signed_type(type) (((type)(-1)) < (type)1) macro
228 #define MAX_STRLEN_TYPE(type) (sizeof(type) * 8 / 3 + (is_signed_type(type) ? 1 : 0))
/tools/testing/selftests/
A Dkselftest_harness.h754 #define is_signed_type(var) (!!(((__typeof__(var))(-1)) < (__typeof__(var))1)) macro
762 switch (is_signed_type(__exp) * 2 + is_signed_type(__seen)) { \
/tools/testing/selftests/bpf/
A Dveristat.c1776 static bool is_signed_type(const struct btf_type *t) in is_signed_type() function
2026 bool is_signed = is_signed_type(base_type); in set_global_var()

Completed in 14 milliseconds