Lines Matching defs:atp
293 * Print the C datatype or function `atp' named `name'. If `name' is a
298 print_atype(ATYPE *atp, int nargs, ATYPE *args, const char *name)
312 uint16_t basetype = atp->aty & LNQUAL;
315 if (atp->aty & LCON)
317 if (atp->aty & LVOL)
319 if (atp->aty & LCONV)
329 lsup = lsu_lookup(atp->extra.ty);
335 info(" <tag %lu>", atp->extra.ty);
344 print_mods(name, atp, nargs, args, 14);
351 print_mods(const char *name, ATYPE *atp, int nargs, ATYPE *args, uint_t pos)
354 int mods = atp->dcl_mod >> (pos * 2);
355 int lastmods = atp->dcl_mod >> ((pos + 1) * 2);
364 if (atp->dcl_con & (1 << pos))
366 if (atp->dcl_vol & (1 << pos))
372 print_mods(name, atp, nargs, args, pos - 1);
414 lsu_add(const char *name, ATYPE *atp)
416 unsigned int i = atp->extra.ty % LSU_HASHSIZE;
423 lsup->atype = *atp;