Lines Matching defs:n

48 		    "long may not be used with char type\n");
55 "may not be used with void type\n");
61 "unsigned may only be used with integer type\n");
68 "floating-point type\n");
163 "for function or associative array parameter\n");
199 "incorrect type specified\n");
217 "in a declaration\n");
247 xyerror(D_DECL_IDRED, "identifier redeclared: %s\n", name);
251 xyerror(D_DECL_COMBO, "invalid type combination\n");
330 char n[DT_TYPE_NAMELEN];
339 "not use a variable-length argument list\n", kind);
344 "use parameter of type %s: %s, parameter #%d\n",
345 kind, dt_node_type_name(dnp, n, sizeof (n)),
354 "use parameter of type %s: %s, parameter #%d\n",
355 kind, dt_node_type_name(dnp, n, sizeof (n)),
361 "not have a name: %s\n", dnp->dn_string);
367 "%s declared in %s prototype: %s, parameter #%d\n",
374 "requires a name: parameter #%d\n", i);
379 xyerror(D_DECL_PROTO_VOID, "void must be sole parameter\n");
403 "cannot declare array of associative arrays\n");
412 xyerror(D_DECL_VOIDOBJ, "cannot declare array of void\n");
420 "array declaration subscript\n");
424 xyerror(D_DECL_ARRBIG, "array dimension too big\n");
480 char n[DT_TYPE_NAMELEN];
495 (void) snprintf(n, sizeof (n), "%s %s",
499 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
501 xyerror(D_DECL_TYPERED, "type redeclared: %s\n", n);
509 xyerror(D_UNKNOWN, "failed to define %s: %s\n",
510 n, ctf_errmsg(ctf_errno(ctfp)));
528 char n[DT_TYPE_NAMELEN];
543 xyerror(D_DECL_MNAME, "member declaration requires a name\n");
555 "in a member name (%s)\n", ident);
561 "cannot have dynamic member: %s\n", ident);
571 "%s\n", dt_type_name(dtt.dtt_ctfp, dtt.dtt_type,
572 n, sizeof (n)), ident);
576 xyerror(D_DECL_VOIDOBJ, "cannot have void member: %s\n", ident);
601 "expression expected as bit-field size\n");
608 "bit-field: %s\n", idname);
613 "for type: %s\n", idname);
621 dtt.dtt_type, n, sizeof (n)), &cte);
626 "member '%s': %s\n", idname,
649 xyerror(D_UNKNOWN, "failed to copy type of '%s': %s\n",
656 xyerror(D_UNKNOWN, "failed to define member '%s': %s\n",
677 char n[DT_TYPE_NAMELEN];
692 (void) snprintf(n, sizeof (n), "enum %s", name ? name : "(anon)");
694 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR) {
696 xyerror(D_DECL_TYPERED, "type redeclared: %s\n", n);
698 xyerror(D_UNKNOWN, "failed to define %s: %s\n",
699 n, ctf_errmsg(ctf_errno(ctfp)));
731 "an enumerator name (%s)\n", name);
747 "expression\n", name);
753 "overflows INT_MAX (%d)\n", name, INT_MAX);
763 xyerror(D_UNKNOWN, "failed to define enumerator '%s': %s\n",
780 "identifier redeclared: %s\n", name);
785 dt_dprintf("add global enumerator %s = %d\n", name, value);
836 char n[DT_TYPE_NAMELEN];
894 xywarn(D_UNKNOWN, "cannot find type: %s*: %s\n",
896 n, sizeof (n)), ctf_errmsg(dtp->dt_ctferr));
957 xywarn(D_UNKNOWN, "failed to copy type: %s\n",
978 xywarn(D_UNKNOWN, "failed to create array type: %s\n",
1022 "bad decl kind %u\n", ddp->dd_kind);
1050 xywarn(D_UNKNOWN, "failed to resolve type %s: %s\n", name,
1056 xywarn(D_UNKNOWN, "failed to add forward tag for %s: %s\n",
1128 xyerror(D_UNKNOWN, "failed to update type definitions: %s\n",