Lines Matching refs:decl
309 print_stat(1, &dl->decl);
402 if ((dl->decl.prefix == NULL) &&
403 ((ptr = find_type(dl->decl.type)) != NULL) &&
404 ((dl->decl.rel == REL_ALIAS) ||
405 (dl->decl.rel == REL_VECTOR))){
410 if (dl->decl.rel == REL_ALIAS)
421 plus, dl->decl.array_max,
425 dl->decl.array_max);
447 print_stat(indent + 1, &cur->decl);
474 print_stat(indent + 2, &cur->decl);
482 emit_inline(indent + 2, &cur->decl, flag);
494 print_stat(indent + 1, &dl->decl);
502 print_stat(indent + 1, &cur->decl);
523 print_stat(indent + 2, &cur->decl);
530 emit_inline(indent + 2, &cur->decl, flag);
549 print_stat(1, &dl->decl);
554 if (dl->decl.rel == REL_VECTOR &&
555 strcmp(dl->decl.type, "opaque") != 0){
566 if ((dl->decl.prefix == NULL) &&
567 ((ptr = find_type(dl->decl.type)) != NULL) &&
568 ((dl->decl.rel == REL_ALIAS)||
569 (dl->decl.rel == REL_VECTOR))){
570 if (dl->decl.rel == REL_ALIAS)
588 print_stat(1, &dl->decl);
604 print_stat(1, &dl->decl);
640 emit_inline(int indent, declaration *decl, int flag)
642 switch (decl->rel) {
644 emit_single_in_line(indent, decl, flag, REL_ALIAS);
650 f_print(fout, "%s *genp;\n\n", decl->type);
653 "for (i = 0, genp = objp->%s;\n", decl->name);
655 f_print(fout, "i < %s; i++) {\n", decl->array_max);
656 emit_single_in_line(indent + 2, decl, flag, REL_VECTOR);
668 emit_single_in_line(int indent, declaration *decl, int flag, relation rel)
677 f_print(fout, "objp->%s = IXDR_GET_", decl->name);
681 upp_case = upcase(decl->type);
698 "%s(buf, objp->%s);\n", upp_case, decl->name);