Lines Matching refs:idx
36 int idx = 0; in int_ctrl_cmd_by_name() local
38 idx++; in int_ctrl_cmd_by_name()
44 return idx; in int_ctrl_cmd_by_name()
49 int idx = 0; in int_ctrl_cmd_by_num() local
55 idx++; in int_ctrl_cmd_by_num()
59 return idx; in int_ctrl_cmd_by_num()
67 int idx; in int_ctrl_helper() local
89 || ((idx = int_ctrl_cmd_by_name(e->cmd_defns, s)) < 0)) { in int_ctrl_helper()
93 return e->cmd_defns[idx].cmd_num; in int_ctrl_helper()
100 || ((idx = int_ctrl_cmd_by_num(e->cmd_defns, (unsigned int)i)) < 0)) { in int_ctrl_helper()
105 cdp = &e->cmd_defns[idx]; in int_ctrl_helper()