Lines Matching refs:mname
609 $mname = &munge($name);
625 printf("\nsub %-32s { %4d; }\n\n", "${mname}'struct", $countof{$name});
628 sub ${mname}'typedef {
629 local(\$${mname}'index) = shift;
630 defined \$${mname}'index
631 ? \$${mname}'typedef[\$${mname}'index]
632 : \$${mname}'typedef;
637 sub ${mname}'sizeof {
638 local(\$${mname}'index) = shift;
639 defined \$${mname}'index
640 ? \$${mname}'sizeof[\$${mname}'index]
641 : \$${mname}'sizeof;
646 sub ${mname}'offsetof {
647 local(\$${mname}'index) = shift;
648 defined \$${mname}index
649 ? \$${mname}'offsetof[\$${mname}'index]
650 : \$${mname}'sizeof;
655 sub ${mname}'typeof {
656 local(\$${mname}'index) = shift;
657 defined \$${mname}index
658 ? \$${mname}'typeof[\$${mname}'index]
664 sub ${mname}'fieldnames {
665 \@${mname}'fieldnames;
672 sub ${mname}'isastruct {
677 print "\$${mname}'typedef = '" . &scrunch($template{$fname})
680 print "\$${mname}'sizeof = $sizeof{$name};\n\n";
683 print "\@${mname}'indices = (", &squishseq(@indices), ");\n";
687 print "\@${mname}'typedef[\@${mname}'indices] = (",
689 print "\@${mname}'sizeof[\@${mname}'indices] = (",
691 print "\@${mname}'offsetof[\@${mname}'indices] = (",
693 print "\@${mname}'typeof[\@${mname}'indices] = (",
695 print "\@${mname}'fieldnames[\@${mname}'indices] = (",
852 local($mname) = &munge($name);
946 "${mname}'${fieldname}", $struct_count);