Lines Matching refs:action
295 struct action { struct
296 struct action *next; argument
301 static struct action *action_list; argument
308 struct action *action; member
689 struct action *action; member
861 struct action *action, **ppaction; in parse_type() local
1092 action = malloc(sizeof(struct action)); in parse_type()
1093 if (!action) { in parse_type()
1097 action->index = 0; in parse_type()
1098 action->name = cursor->content; in parse_type()
1104 int cmp = strcmp(action->name, (*ppaction)->name); in parse_type()
1106 free(action); in parse_type()
1107 action = *ppaction; in parse_type()
1111 action->next = *ppaction; in parse_type()
1112 *ppaction = action; in parse_type()
1117 action->next = NULL; in parse_type()
1118 *ppaction = action; in parse_type()
1122 element->action = action; in parse_type()
1123 cursor->action = action; in parse_type()
1246 e->action ? e->action->name : ""); in dump_element()
1299 struct action *action; in render() local
1332 for (action = action_list; action; action = action->next) { in render()
1333 action->index = index++; in render()
1337 action->name); in render()
1342 for (action = action_list; action; action = action->next) in render()
1344 action->name, action->index); in render()
1351 for (action = action_list; action; action = action->next) in render()
1352 fprintf(out, "\t[%4u] = %s,\n", action->index, action->name); in render()
1414 act = e->action ? "_ACT" : ""; in render_out_of_line_list()
1433 if (e->action) in render_out_of_line_list()
1435 e->action->name); in render_out_of_line_list()
1464 act = e->action ? "_ACT" : ""; in render_element()
1530 if (e->action) in render_element()
1605 if (e->action) in render_element()
1613 if (e->action) in render_element()
1614 render_opcode(out, "_action(ACT_%s),\n", e->action->name); in render_element()