Lines Matching defs:decl

308 				print_stat(1, &dl->decl);
405 &cur->decl);
415 emit_inline64(indent + 2, &cur->decl, flag);
421 emit_inline(indent + 2, &cur->decl, flag);
516 if (inline_type(&dl->decl, &size)) {
520 if (dl->decl.rel == REL_ALIAS)
524 sizestr = arraysize(sizestr, &dl->decl, size);
535 &cur->decl);
545 print_stat(indent + 1, &dl->decl);
554 print_stat(indent + 1, &cur->decl);
578 if (!inline_type(&dl->decl, &size)) {
582 if (dl->decl.rel == REL_VECTOR) {
618 print_stat(indent, &dl->decl);
624 f_print(fout, "\t\t\t\tobjp->%s = NULL;\n", sp->tail->decl.name);
627 f_print(fout, "\t\t\tif (objp->%s == NULL) {\n", sp->tail->decl.name);
630 sp->tail->decl.name, defp->def_name, defp->def_name);
633 "\t\t\t\t\treturn (FALSE);\n", sp->tail->decl.name);
635 sp->tail->decl.name, defp->def_name);
637 f_print(fout, "\t\t\tobjp = objp->%s;\n", sp->tail->decl.name);
648 print_stat(indent, &dl->decl);
650 f_print(fout, "\t\t\tobjp = objp->%s;\n", sp->tail->decl.name);
663 print_stat(indent, &dl->decl);
666 f_print(fout, "\t\t\tobjp = objp->%s;\n", sp->tail->decl.name);
714 print_stat(1, &dl->decl);
747 emit_inline(int indent, declaration *decl, int flag)
749 switch (decl->rel) {
751 emit_single_in_line(indent, decl, flag, REL_ALIAS);
757 f_print(fout, "%s *genp;\n\n", decl->type);
760 "for (i = 0, genp = objp->%s;\n", decl->name);
762 f_print(fout, "i < %s; i++) {\n", decl->array_max);
763 emit_single_in_line(indent + 2, decl, flag, REL_VECTOR);
772 emit_inline64(int indent, declaration *decl, int flag)
774 switch (decl->rel) {
776 emit_single_in_line64(indent, decl, flag, REL_ALIAS);
782 f_print(fout, "%s *genp;\n\n", decl->type);
785 "for (i = 0, genp = objp->%s;\n", decl->name);
787 f_print(fout, "i < %s; i++) {\n", decl->array_max);
788 emit_single_in_line64(indent + 2, decl, flag, REL_VECTOR);
797 emit_single_in_line(int indent, declaration *decl, int flag, relation rel)
807 f_print(fout, "objp->%s = IXDR_GET_", decl->name);
811 upp_case = upcase(decl->type);
833 "%s(buf, objp->%s);\n", upp_case, decl->name);
844 emit_single_in_line64(int indent, declaration *decl, int flag, relation rel)
854 f_print(fout, "objp->%s = IXDR_GET_", decl->name);
858 upp_case = upcase(decl->type);
881 "%s(buf, objp->%s);\n", upp_case, decl->name);