Lines Matching refs:action
291 struct action { struct
292 struct action *next; argument
297 static struct action *action_list; argument
304 struct action *action; member
685 struct action *action; member
857 struct action *action, **ppaction; in parse_type() local
1088 action = malloc(sizeof(struct action)); in parse_type()
1089 if (!action) { in parse_type()
1093 action->index = 0; in parse_type()
1094 action->name = cursor->content; in parse_type()
1100 int cmp = strcmp(action->name, (*ppaction)->name); in parse_type()
1102 free(action); in parse_type()
1103 action = *ppaction; in parse_type()
1107 action->next = *ppaction; in parse_type()
1108 *ppaction = action; in parse_type()
1113 action->next = NULL; in parse_type()
1114 *ppaction = action; in parse_type()
1118 element->action = action; in parse_type()
1119 cursor->action = action; in parse_type()
1242 e->action ? e->action->name : ""); in dump_element()
1295 struct action *action; in render() local
1328 for (action = action_list; action; action = action->next) { in render()
1329 action->index = index++; in render()
1333 action->name); in render()
1338 for (action = action_list; action; action = action->next) in render()
1340 action->name, action->index); in render()
1347 for (action = action_list; action; action = action->next) in render()
1348 fprintf(out, "\t[%4u] = %s,\n", action->index, action->name); in render()
1410 act = e->action ? "_ACT" : ""; in render_out_of_line_list()
1429 if (e->action) in render_out_of_line_list()
1431 e->action->name); in render_out_of_line_list()
1460 act = e->action ? "_ACT" : ""; in render_element()
1526 if (e->action) in render_element()
1601 if (e->action) in render_element()
1609 if (e->action) in render_element()
1610 render_opcode(out, "_action(ACT_%s),\n", e->action->name); in render_element()