#include "base/abc/abc.h"#include "base/main/mainInt.h"#include "misc/util/utilSignal.h"#include "cmdInt.h"#include <ctype.h>
Go to the source code of this file.
Functions | |
| int | cmdCheckShellEscape (Abc_Frame_t *pAbc, int argc, char **argv) |
| FUNCTION DEFINITIONS ///. | |
| int | CmdCommandDispatch (Abc_Frame_t *pAbc, int *pargc, char ***pargv) |
| const char * | CmdSplitLine (Abc_Frame_t *pAbc, const char *sCommand, int *argc, char ***argv) |
| int | CmdApplyAlias (Abc_Frame_t *pAbc, int *argcp, char ***argvp, int *loop) |
| char * | CmdHistorySubstitution (Abc_Frame_t *pAbc, char *line, int *changed) |
| FILE * | CmdFileOpen (Abc_Frame_t *pAbc, char *sFileName, char *sMode, char **pFileNameReal, int silent) |
| void | CmdFreeArgv (int argc, char **argv) |
| char ** | CmdDupArgv (int argc, char **argv) |
| char ** | CmdAddToArgv (int argc, char **argv) |
| void | CmdCommandFree (Abc_Command *pCommand) |
| void | CmdCommandPrint (Abc_Frame_t *pAbc, int fPrintAll, int fDetails) |
| int | CmdNamePrintCompare (char **ppC1, char **ppC2) |
| void | CmdPrintTable (st__table *tTable, int fAliases) |
| void | Gia_ManKissatCall (Abc_Frame_t *pAbc, char *pFileName, char *pArgs, int nConfs, int nTimeLimit, int fSat, int fUnsat, int fPrintCex, int fVerbose) |
| char * | Cmd_GenScript (char **pComms, int nComms, int nParts) |
| void | Cmd_CommandSGen (Abc_Frame_t *pAbc, int nParts, int nIters, int fVerbose) |
| void Cmd_CommandSGen | ( | Abc_Frame_t * | pAbc, |
| int | nParts, | ||
| int | nIters, | ||
| int | fVerbose ) |
Definition at line 861 of file cmdUtils.c.

| char * Cmd_GenScript | ( | char ** | pComms, |
| int | nComms, | ||
| int | nParts ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 850 of file cmdUtils.c.


| char ** CmdAddToArgv | ( | int | argc, |
| char ** | argv ) |
Function*************************************************************
Synopsis [Frees the previously allocated argv array.]
Description []
SideEffects []
SeeAlso []
Definition at line 516 of file cmdUtils.c.


| int CmdApplyAlias | ( | Abc_Frame_t * | pAbc, |
| int * | argcp, | ||
| char *** | argvp, | ||
| int * | loop ) |
Function*************************************************************
Synopsis [Replaces parts of the command line string by aliases if given.]
Description []
SideEffects []
SeeAlso []
Definition at line 271 of file cmdUtils.c.


| int cmdCheckShellEscape | ( | Abc_Frame_t * | pAbc, |
| int | argc, | ||
| char ** | argv ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 51 of file cmdUtils.c.


| int CmdCommandDispatch | ( | Abc_Frame_t * | pAbc, |
| int * | pargc, | ||
| char *** | pargv ) |
Function*************************************************************
Synopsis [Executes one command.]
Description []
SideEffects []
SeeAlso []
Definition at line 97 of file cmdUtils.c.


| void CmdCommandFree | ( | Abc_Command * | pCommand | ) |
Function*************************************************************
Synopsis [Frees the previously allocated command.]
Description []
SideEffects []
SeeAlso []
Definition at line 539 of file cmdUtils.c.

| void CmdCommandPrint | ( | Abc_Frame_t * | pAbc, |
| int | fPrintAll, | ||
| int | fDetails ) |
Function*************************************************************
Synopsis [Prints commands alphabetically by group.]
Description []
SideEffects []
SeeAlso []
Definition at line 558 of file cmdUtils.c.

| char ** CmdDupArgv | ( | int | argc, |
| char ** | argv ) |
Definition at line 496 of file cmdUtils.c.
| FILE * CmdFileOpen | ( | Abc_Frame_t * | pAbc, |
| char * | sFileName, | ||
| char * | sMode, | ||
| char ** | pFileNameReal, | ||
| int | silent ) |
Function*************************************************************
Synopsis [Opens the file with path (now, disabled).]
Description []
SideEffects []
SeeAlso []
Definition at line 412 of file cmdUtils.c.

| void CmdFreeArgv | ( | int | argc, |
| char ** | argv ) |
Function*************************************************************
Synopsis [Frees the previously allocated argv array.]
Description []
SideEffects []
SeeAlso []
Definition at line 489 of file cmdUtils.c.

| char * CmdHistorySubstitution | ( | Abc_Frame_t * | pAbc, |
| char * | line, | ||
| int * | changed ) |
Function*************************************************************
Synopsis [Performs history substitution (now, disabled).]
Description []
SideEffects []
SeeAlso []
Definition at line 394 of file cmdUtils.c.

| int CmdNamePrintCompare | ( | char ** | ppC1, |
| char ** | ppC2 ) |
Function*************************************************************
Synopsis [Comparision function used for sorting commands.]
Description []
SideEffects []
SeeAlso []
Definition at line 710 of file cmdUtils.c.


| void CmdPrintTable | ( | st__table * | tTable, |
| int | fAliases ) |
Function*************************************************************
Synopsis [Comparision function used for sorting commands.]
Description []
SideEffects []
SeeAlso []
Definition at line 726 of file cmdUtils.c.

| const char * CmdSplitLine | ( | Abc_Frame_t * | pAbc, |
| const char * | sCommand, | ||
| int * | argc, | ||
| char *** | argv ) |
Function*************************************************************
Synopsis [Splits the command line string into individual commands.]
Description []
SideEffects []
SeeAlso []
Definition at line 185 of file cmdUtils.c.

| void Gia_ManKissatCall | ( | Abc_Frame_t * | pAbc, |
| char * | pFileName, | ||
| char * | pArgs, | ||
| int | nConfs, | ||
| int | nTimeLimit, | ||
| int | fSat, | ||
| int | fUnsat, | ||
| int | fPrintCex, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 767 of file cmdUtils.c.
