Lines Matching defs:commands

129  * Undo the commands which have created valid node/prop handle
136 command_t *com = cmds->commands;
716 cmds->commands[cmds->current_row].rowcmd_nproph == 0)
735 err = add_proph_to_row(&cmds->commands[cmds->current_row],
903 cmds->commands[cmds->current_row].rowcmd_nproph == 0)
929 err = add_proph_to_row(&cmds->commands[cmds->current_row],
1056 curr_row = &cmds->commands[cmds->current_row];
1067 cmds->commands[cmds->current_tbl].tablecmd_tblh,
1186 cmds->commands[cmds->current_row].rowcmd_nproph++;
1203 cmds->commands[cmds->current_row].rowcmd_nproph++;
1243 if (cmds->commands[cmds->current_row].rowcmd_nproph <= 0)
1260 * Check the syntax and save the tokens in the commands buffer
1280 * check if the commands buffer has been filled
1284 cmds->commands = realloc(cmds->commands,
1286 if (cmds->commands == NULL)
1291 cmds->commands[cmds->count] = command; /* copy */
1467 switch (cmds->commands[index].type) {
1470 err = process_path(&cmds->commands[index], parent);
1497 command_t *commands = cmds->commands;
1500 switch (commands[index].type) {
1503 err = process_path(&commands[index], &rooth);
1512 err = process_node(&commands[index], parent, &nodeh);
1523 err = process_prop(cmds, &commands[index], parent);
1526 err = process_refprop(cmds, &commands[index], parent);
1532 cmds->commands[cmds->current_row]
1537 err = process_refnode(&commands[index], parent);
1541 err = process_table(&commands[index], parent);
1550 err = process_row(&commands[index]);
1559 err = process_verbose(cmds, &commands[index]);
1578 * clean up the commands buffer
1586 switch (cmds->commands[cmd_index].type) {
1589 free_path(&cmds->commands[cmd_index]);
1592 free_node(&cmds->commands[cmd_index]);
1595 free_prop(&cmds->commands[cmd_index]);
1598 free_refprop(&cmds->commands[cmd_index]);
1601 free_refnode(&cmds->commands[cmd_index]);
1604 free_table(&cmds->commands[cmd_index]);
1615 if (cmds->commands)
1616 free(cmds->commands);
1627 * commands which have been processed. It returns 1.
1678 * Process the commands