Lines Matching refs:value

564 		return ic_con(tn->tn_type, &tn->u.value);
667 n->u.value = *v;
668 n->u.value.v_tspec = tp->t_tspec;
680 n->u.value.v_tspec = t;
681 n->u.value.v_unsigned_since_c90 = false;
682 n->u.value.v_char_constant = false;
683 n->u.value.u.integer = si;
803 n->u.value.v_tspec = BOOL;
804 n->u.value.v_unsigned_since_c90 = false;
805 n->u.value.v_char_constant = false;
806 n->u.value.u.integer = sym->u.s_bool_constant ? 1 : 0;
809 n->u.value.v_tspec = INT; /* ENUM is in n->tn_type */
810 n->u.value.v_unsigned_since_c90 = false;
811 n->u.value.v_char_constant = false;
812 n->u.value.u.integer = sym->u.s_enum_constant;
890 !tn->u.value.v_char_constant &&
891 !(0 <= tn->u.value.u.integer &&
892 tn->u.value.u.integer < 1 << (CHAR_SIZE - 1));
906 op_name(op), (int)rn->u.value.u.integer);
914 (int)ln->u.value.u.integer, op_name(op));
937 !rn->u.value.v_char_constant) {
940 op_name(op), (int)rn->u.value.u.integer);
943 !ln->u.value.v_char_constant) {
946 op_name(op), (int)ln->u.value.u.integer);
954 rn->tn_op == CON && rn->u.value.u.integer <= 0) {
955 if (rn->u.value.u.integer < 0) {
965 ln->tn_op == CON && ln->u.value.u.integer <= 0) {
966 if (ln->u.value.u.integer < 0) {
1072 (*rnp)->u.value.u.floating);
1269 int64_t l = tn->u.ops.left->u.value.u.integer;
1270 int64_t r = is_binary(tn) ? tn->u.ops.right->u.value.u.integer : 0;
1481 /* maximum value %d for '%s' of type '%s' does not match maximum array index %d */
1557 // whether a pointer constant can have a non-zero value.
1561 && (tn->tn_op == CON && tn->u.value.u.integer == 0);
1904 * the maximum finite value differs due to the extended precision on
1945 long double lv = tn->u.ops.left->u.value.u.floating;
1946 long double rv = is_binary(tn) ? tn->u.ops.right->u.value.u.floating
2069 ln->tn_op == CON && ln->u.value.v_unsigned_since_c90) {
2072 ln->u.value.v_unsigned_since_c90 = false;
2075 rn->tn_op == CON && rn->u.value.v_unsigned_since_c90) {
2078 rn->u.value.v_unsigned_since_c90 = false;
2149 is_nonzero_val(&ln->u.ops.right->u.value)
2156 is_nonzero_val(&rn->u.ops.right->u.value)
2181 use(ln->u.value.u.integer != 0
2183 ntn = ln->u.value.u.integer != 0
2611 else if (ln->u.value.u.integer < 0)
2619 && !(ln->tn_op == CON && ln->u.value.u.integer >= 0))
2629 && !(ln->tn_op == CON && ln->u.value.u.integer >= 0))
2651 && (n = rn->u.value.u.integer, 1 <= n && n <= lw)
2677 if (!is_uinteger(rt) && rn->u.value.u.integer < 0)
2680 else if ((uint64_t)rn->u.value.u.integer == size_in_bits(lt))
2683 (unsigned)rn->u.value.u.integer, expr_type_name(ln));
2684 else if ((uint64_t)rn->u.value.u.integer > size_in_bits(lt)) {
2686 warning(122, (unsigned long long)rn->u.value.u.integer,
3276 tn->u.value.u.integer == 0;
3454 rn->u.value.u.integer == 0) {
3538 * can represent all the values of the original type, the value is converted
3603 long double x = tn->u.value.u.floating;
3664 !msb(ptn->u.value.u.integer, ot))
3706 * cases the value of the actual expression is further restricted than the
4003 convert_constant(op, arg, ntn->tn_type, &ntn->u.value,
4004 &tn->u.value);
4459 off += (uint64_t)n->u.ops.right->u.value.u.integer;
4467 off += (uint64_t)n->u.ops.left->u.ops.left->u.value.u.integer;
4705 * Return the value of an integral constant expression.
4731 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec);
4732 if (is_integer(tn->u.value.v_tspec)) {
4734 tn->u.value.v_unsigned_since_c90;
4735 v->u.integer = tn->u.value.u.integer;
4738 v->u.integer = (int64_t)tn->u.value.u.floating;
4809 && (!is_incomplete(arr->tn_type) || idx->u.value.u.integer < 0))
4821 ? (int64_t)((uint64_t)idx->u.value.u.integer / elsz)
4822 : idx->u.value.u.integer / elsz;
4950 * retval_discarded whether the return value of a function call
4954 * expression, which means that its value is
5000 * XXX test/value context of QUEST should probably be used as
5059 offs1 = (ptrdiff_t)tn->u.ops.left->u.value.u.integer;
5063 offs2 = (ptrdiff_t)tn->u.ops.right->u.value.u.integer;