Lines Matching refs:s_type
502 if (mem->s_type->t_isfield) {
503 size_t len = mem->s_type->t_flen;
504 while (mem && mem->s_type->t_isfield) {
505 len += mem->s_type->t_flen;
514 size_t x = (size_t)tsize(mem->s_type);
974 tpp = &sym->s_type;
1085 t = (tp = dsym->s_type)->t_tspec;
1126 dsym->s_type = tp = duptyp(gettyp(t = INT));
1143 dsym->s_type->t_isfield = 0;
1149 dsym->s_type = tp = incref(tp, t = PTR);
1157 if ((sz = length(dsym->s_type, dsym->s_name)) == 0) {
1158 if (t == ARRAY && dsym->s_type->t_dim == 0) {
1229 dsym->s_type = gettyp(UINT);
1232 dsym->s_type = duptyp(dsym->s_type);
1233 dsym->s_type->t_isfield = 1;
1234 dsym->s_type->t_flen = len;
1290 tpp = &decl->s_type;
1318 tpp = &decl->s_type;
1369 decl->s_type == dcs->d_nxt->d_type) {
1374 tpp = &decl->s_type;
1415 if (arg->s_type->t_tspec == VOID) {
1419 arg->s_type = gettyp(INT);
1426 return (args != NULL && args->s_type->t_tspec != VOID ? args : NULL);
1441 decl->s_type == dcs->d_nxt->d_type) {
1570 sym->s_type = dcs->d_type;
1594 sym->s_type = gettyp(INT);
1640 tag->s_type = tp = getblk(sizeof (type_t));
1643 tp = tag->s_type;
1652 tag->s_type = tp = getblk(sizeof (type_t));
1719 } else if (decl && !incompl(tag->s_type)) {
1831 sym->s_type = dcs->d_tagtyp;
1863 if (dsym->s_type->t_tspec == FUNC && dsym->s_def == TDEF)
1867 if (dsym->s_type->t_tspec == FUNC) {
1877 dsym->s_type->t_tspec == FUNC && dsym->s_type->t_proto) {
1882 rval = dsym->s_type->t_subt->t_tspec != VOID;
1895 if (rdsym->s_osdef && dsym->s_type->t_proto) {
1913 if (rdsym->s_osdef && !dsym->s_type->t_proto) {
1925 if (rdsym->s_type->t_proto && !dsym->s_type->t_proto) {
1953 dsym->s_type = duptyp(dsym->s_type);
1954 dsym->s_type->t_typedef = 1;
1955 settdsym(dsym->s_type, dsym);
2008 if (!eqtype(rsym->s_type, dsym->s_type, 0, 0, dowarn)) {
2159 if (eqtype(a1->s_type, a2->s_type, 1, 0, dowarn) == 0)
2191 if ((t = arg->s_type->t_tspec) == FLOAT ||
2213 pargs = dsym->s_type->t_args;
2238 if (!eqtype(arg->s_type, parg->s_type, 1, 1, &dowarn) || dowarn) {
2272 dstp = &dsym->s_type;
2273 src = ssym->s_type;
2328 if ((t = sym->s_type->t_tspec) == ARRAY) {
2329 sym->s_type = incref(sym->s_type->t_subt, PTR);
2334 sym->s_type = incref(sym->s_type, PTR);
2337 sym->s_type = gettyp(DOUBLE);
2349 if (sym->s_type->t_tspec != VOID)
2350 (void)length(sym->s_type, sym->s_name);
2372 pargs = funcsym->s_type->t_args;
2422 if (arg->s_type->t_tspec != PTR ||
2423 ((t = arg->s_type->t_subt->t_tspec) != CHAR &&
2448 if (funcsym->s_osdef && funcsym->s_type->t_proto) {
2495 tp = arg->s_type;
2496 ptp = parg->s_type;
2527 if (dsym->s_type->t_tspec == FUNC) {
2533 if (dsym->s_type->t_tspec == FUNC) {
2553 if (dsym->s_type->t_tspec == FUNC) {
2649 dsym->s_type = duptyp(dsym->s_type);
2650 dsym->s_type->t_typedef = 1;
2651 settdsym(dsym->s_type, dsym);
2690 eqt = eqtype(esym->s_type, dsym->s_type, 0, 0, &dowarn);
2725 if (sym->s_type->t_tspec == FUNC) {
2767 sym->s_type = dcs->d_type;
2822 if (dsym->s_type->t_tspec == FUNC)
2825 if (length(dsym->s_type, dsym->s_name) == 0 &&
2826 dsym->s_type->t_tspec == ARRAY && dsym->s_type->t_dim == 0) {
3032 if (!incompl(sym->s_type))
3040 switch (sym->s_type->t_tspec) {
3106 if (sym->s_type->t_tspec == FUNC) {
3115 if (sym->s_type->t_tspec == FUNC) {
3132 if (!tflag && sym->s_def == TDEF && sym->s_type->t_const) {
3145 if (sym->s_type->t_tspec == FUNC)
3152 if (length(sym->s_type, sym->s_name) == 0 &&
3153 sym->s_type->t_tspec == ARRAY && sym->s_type->t_dim == 0) {