Home | History | Annotate | Download | only in sh

Lines Matching refs:struct

53 		[ $field = 0 ] && struct_list="$struct_list $struct"
54 eval field_${struct}_$field=\"\$*\"
55 eval numfld_$struct=\$field
60 struct=$2
63 eval define_$struct=\"\$define_$struct \$define\"
64 struct_define="$struct_define $struct"
73 for struct in $struct_list; do
76 echo "struct $struct {"
79 eval line=\"\$field_${struct}_$field\"
90 "$struct has $2, others $typetype"
95 echo >&2 "Node $struct has type as field" \
104 echo >&2 "Node $struct does not have" \
112 nodelist ) type="struct nodelist *";;
126 for struct in $struct_list; do
127 echo " struct $struct $struct;"
132 echo "struct nodelist {"
133 echo " struct nodelist *next;"
138 echo 'struct funcdef;'
139 echo 'struct funcdef *copyfunc(union node *);'
140 echo 'union node *getfuncnode(struct funcdef *);'
141 echo 'void reffunc(struct funcdef *);'
142 echo 'void unreffunc(struct funcdef *);'
143 echo 'void freefunc(struct funcdef *);'
163 for struct in $struct_define; do
164 echo " SHELL_ALIGN(sizeof (struct $struct)),"
174 for struct in $struct_list; do
175 eval defines=\"\$define_$struct\"
179 eval field=\$numfld_$struct
183 eval line=\"\$field_${struct}_$field\"
196 echo " ${fn}(n->$struct.$name${cl};"
209 for struct in $struct_list; do
210 eval defines=\"\$define_$struct\"
214 eval field=\$numfld_$struct
218 eval line=\"\$field_${struct}_$field\"
230 f="$struct.$name"