Lines Matching defs:tdp

33 void forth_do_sou(struct tdesc *tdp, struct node *np);
34 void forth_do_enum(struct tdesc *tdp, struct node *np);
35 void forth_do_intrinsic(struct tdesc *tdp, struct node *np);
37 static void switch_on_type(struct mlist *mlp, struct tdesc *tdp,
40 static void print_intrinsic(struct mlist *mlp, struct tdesc *tdp,
42 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
44 static void print_pointer(struct mlist *mlp, struct tdesc *tdp,
46 static void print_array(struct mlist *mlp, struct tdesc *tdp,
48 static void print_function(struct mlist *mlp, struct tdesc *tdp,
50 static void print_union(struct mlist *mlp, struct tdesc *tdp,
52 static void print_enum(struct mlist *mlp, struct tdesc *tdp,
54 static void print_forward(struct mlist *mlp, struct tdesc *tdp,
56 static void print_typeof(struct mlist *mlp, struct tdesc *tdp,
58 static void print_struct(struct mlist *mlp, struct tdesc *tdp,
60 static void print_volatile(struct mlist *mlp, struct tdesc *tdp,
64 forth_do_intrinsic(struct tdesc *tdp, struct node *np)
69 forth_do_sou(struct tdesc *tdp, struct node *np)
77 printf("h# %x constant %s-sz\n", tdp->size, np->name);
79 tdp->size, np->name, np->name);
85 for (mlp = tdp->data.members.back; mlp != NULL; mlp = mlp->prev) {
108 forth_do_enum(struct tdesc *tdp, struct node *np)
114 for (elp = tdp->data.emem; elp != NULL; elp = elp->next) {
122 switch_on_type(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
124 switch (tdp->type) {
126 print_intrinsic(mlp, tdp, format, level);
129 print_pointer(mlp, tdp, format, level);
132 print_array(mlp, tdp, format, level);
135 print_function(mlp, tdp, format, level);
138 print_union(mlp, tdp, format, level);
141 print_enum(mlp, tdp, format, level);
144 print_forward(mlp, tdp, format, level);
147 print_typeof(mlp, tdp, format, level);
150 print_struct(mlp, tdp, format, level);
153 print_volatile(mlp, tdp, format, level);
163 print_forward(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
170 print_typeof(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
172 switch_on_type(mlp, tdp->data.tdesc, format, level);
176 print_volatile(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
178 switch_on_type(mlp, tdp->data.tdesc, format, level);
182 print_intrinsic(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
187 switch (tdp->size) {
214 switch (tdp->size) {
236 print_pointer(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
240 switch (tdp->size) {
261 print_array(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
263 struct ardef *ap = tdp->data.ardef;
279 print_function(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
281 fprintf(stderr, "function in struct %s\n", tdp->name);
286 print_struct(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
298 print_union(struct mlist *mlp, struct tdesc *tdp, char *format, int level)
310 print_enum(struct mlist *mlp, struct tdesc *tdp, char *format, int level)