Home | History | Annotate | Download | only in src

Lines Matching refs:cta

102 #define cta(name, expr) struct cta_ ## name { char t[(expr) ? 1 : -1]; }
105 cta(char_is_1_char, (sizeof(char) == 1) && (sizeof(signed char) == 1) &&
107 cta(char_is_8_bits, ((CHAR_BIT) == 8) && ((int)(unsigned char)0xFF == 0xFF) &&
110 cta(short_is_2_char, sizeof(short) == 2);
111 cta(short_size_no_matter_of_signedness, sizeof(short) == sizeof(unsigned short));
113 cta(int_is_4_char, sizeof(int) == 4);
114 cta(int_size_no_matter_of_signedness, sizeof(int) == sizeof(unsigned int));
116 cta(long_ge_int, sizeof(long) >= sizeof(int));
117 cta(long_size_no_matter_of_signedness, sizeof(long) == sizeof(unsigned long));
121 cta(ari_is_4_char, sizeof(mksh_ari_t) == 4);
123 cta(ari_has_31_bit, 0 < (mksh_ari_t)(((((mksh_ari_t)1 << 15) << 15) - 1) * 2 + 1));
125 cta(uari_is_4_char, sizeof(mksh_uari_t) == 4);
127 cta(uari_has_31_bit, 0 < (mksh_uari_t)(((((mksh_uari_t)1 << 15) << 15) - 1) * 2 + 1));
128 cta(uari_has_32_bit, 0 < (mksh_uari_t)(((((mksh_uari_t)1 << 15) << 15) - 1) * 4 + 3));
129 cta(uari_wrap_32_bit,
134 cta(ari_is_signed, (mksh_ari_t)-1 < (mksh_ari_t)0);
135 cta(uari_is_unsigned, (mksh_uari_t)-1 > (mksh_uari_t)0);
137 cta(ari_size_no_matter_of_signedness, sizeof(mksh_ari_t) == sizeof(mksh_uari_t));
139 cta(sizet_size_no_matter_of_signedness, sizeof(ssize_t) == sizeof(size_t));
140 cta(sizet_voidptr_same_size, sizeof(size_t) == sizeof(void *));
141 cta(sizet_funcptr_same_size, sizeof(size_t) == sizeof(void (*)(void)));
143 cta(ptr_fits_in_long, sizeof(size_t) <= sizeof(long));
144 cta(ari_fits_in_long, sizeof(mksh_ari_t) <= sizeof(long));