Lines Matching refs:PTR
534 if (tn->u.ops.left->tn_type->t_tspec == PTR)
652 lint_assert(ln->tn_type->t_tspec == PTR);
1084 tn->u.ops.left->tn_type->t_tspec == PTR &&
1089 return build_op(ADDR, sys, expr_derive_type(tn->tn_type, PTR),
1333 else if (ln->tn_type->t_tspec != PTR) {
1336 ln = convert(NOOP, 0, expr_derive_type(gettyp(VOID), PTR), ln);
1342 type_t *ptr_tp = expr_derive_type(rn->tn_type, PTR);
1363 lint_assert(tp->t_tspec == PTR);
1418 tnode_t *cn = ln->tn_type->t_tspec == PTR
1481 if (rn->tn_type->t_tspec == PTR && is_integer(ln->tn_type->t_tspec)) {
1492 if (lt == PTR && rt != PTR) {
1511 if (rt == PTR) {
1512 lint_assert(lt == PTR);
1549 return ((t == PTR && tn->tn_type->t_subt->t_tspec == VOID)
1559 lint_assert(tp1->t_tspec == PTR);
1560 lint_assert(tp2->t_tspec == PTR);
1603 } else if (lt == PTR && is_integer(rt)) {
1607 } else if (rt == PTR && is_integer(lt)) {
1611 } else if (lt == PTR && is_null_pointer(rn))
1613 else if (rt == PTR && is_null_pointer(ln))
1615 else if (lt == PTR && ln->tn_type->t_subt->t_tspec == VOID)
1617 else if (rt == PTR && rn->tn_type->t_subt->t_tspec == VOID)
1655 if (nt == PTR && ot == PTR) {
1701 if ((op == ADDASS || op == SUBASS) && lt == PTR) {
1732 && (op == ASSIGN || lt != PTR)
1738 if (lt == PTR && ln->tn_type->t_subt->t_tspec != VOID
1739 && rt == PTR && rn->tn_type->t_subt->t_tspec == VOID
2295 if (op == ARROW && tn->tn_type->t_tspec == PTR
2336 if (!allow_c90 && tn->tn_type->t_tspec == PTR)
2391 expr_derive_type(tn->tn_type->t_subt, PTR), tn, NULL);
2455 if (lt == PTR || (!allow_c90 && is_integer(lt)))
2520 if (t != PTR) {
2557 if ((lt == PTR && !is_integer(rt)) || (rt == PTR && !is_integer(lt))) {
2570 if ((lt == PTR && rt != PTR && !is_integer(rt)) ||
2571 (lt != PTR && rt == PTR)) {
2575 if (lt == PTR && rt == PTR &&
2685 if (lt == PTR && is_null_pointer(rn))
2687 if (rt == PTR && is_null_pointer(ln))
2695 lint_assert(ltp->t_tspec == PTR);
2696 lint_assert(rtp->t_tspec == PTR);
2760 if (lt == PTR && rt == PTR) {
2765 if (lt != PTR && rt != PTR)
2773 const char *lx = lt == PTR ? "pointer" : "integer";
2774 const char *rx = rt == PTR ? "pointer" : "integer";
2831 if (lt == PTR && is_null_pointer(rn))
2833 if (rt == PTR && is_null_pointer(ln))
2836 if ((lt == PTR && is_integer(rt)) || (is_integer(lt) && rt == PTR)) {
2837 const char *lx = lt == PTR ? "pointer" : "integer";
2838 const char *rx = rt == PTR ? "pointer" : "integer";
2852 if (lt == PTR && rt == PTR) {
2941 if (!(lt == PTR && rt == PTR && (lst == VOID || rst == VOID)))
2948 /* comb. of ptr to func and ptr to void */
3015 return tp->t_tspec == PTR &&
3024 return tp->t_tspec == PTR && tp->t_subt->t_const;
3059 if (!(lt == PTR && rt == PTR && (lst == VOID || rst == VOID ||
3102 if (!((lt == PTR && is_integer(rt)) || (is_integer(lt) && rt == PTR)))
3105 const char *lx = lt == PTR ? "pointer" : "integer";
3106 const char *rx = rt == PTR ? "pointer" : "integer";
3134 if (!(lt == PTR && rt == PTR))
3181 if ((lt = (ltp = ln->tn_type)->t_tspec) == PTR)
3183 if ((rt = (rtp = rn->tn_type)->t_tspec) == PTR)
3195 if (lt == PTR && is_null_pointer(rn)) {
3347 if ((lt == PTR && !is_integer(rt)) || rt == PTR) {
3385 ((ln->tn_type->t_is_enum && rn->tn_type->t_tspec == PTR) ||
3386 (rn->tn_type->t_is_enum && ln->tn_type->t_tspec == PTR))) {
3796 if (portable_rank_cmp(nt, PTR) >= 0)
3799 if (pflag && size_in_bits(nt) >= size_in_bits(PTR)) {
3968 else if (ot == PTR)
3978 } else if (nt == PTR) {
3981 } else if (ot == PTR && op == CVT)
4076 nv->u.floating = (ot == PTR || is_uinteger(ot)) ?
4079 nv->u.floating = (ot == PTR || is_uinteger(ot)) ?
4082 nv->u.floating = (ot == PTR || is_uinteger(ot))
4228 } else if (nt != PTR && is_uinteger(nt) &&
4229 ot != PTR && !is_uinteger(ot) && v->u.integer < 0)
4454 if (n->tn_type->t_tspec == PTR
4458 && n->u.ops.left->u.ops.left->tn_type->t_tspec == PTR) {
4500 } else if (nt == PTR && is_integer(ot)) {
4502 } else if (nt == PTR && ot == PTR) {
4661 && call->args[0]->tn_type->t_tspec == PTR)
4679 if (func->tn_type->t_tspec != PTR ||
5078 if ((!is_integer(t) && t != PTR) ||
5079 (!is_integer(ot) && ot != PTR)) {