Lines Matching defs:ShellState
19400 typedef struct ShellState ShellState;
19401 struct ShellState {
19481 static ShellState shellState;
19485 /* Allowed values for ShellState.autoEQP
19492 /* Allowed values for ShellState.openMode
19502 /* Allowed values for ShellState.eTraceType
19508 /* Bits in the ShellState.flgProgress variable */
19606 ShellState *p = (ShellState*)pArg;
19623 /* Unused: (ShellState*)sqlite3_user_data(pCtx); */
19634 ShellState *p,
19796 static void outputModePush(ShellState *p){
19802 static void outputModePop(ShellState *p){
20143 static void output_csv(ShellState *p, const char *z, int bSep){
20204 ShellState *p = (ShellState*)pClientData;
20252 ShellState *p = (ShellState*)pClientData;
20350 static void eqp_append(ShellState *p, int iEqpId, int p2, const char *zText){
20376 static void eqp_reset(ShellState *p){
20388 static EQPGraphRow *eqp_next_row(ShellState *p, int iEqpId, EQPGraphRow *pOld){
20397 static void eqp_render_level(ShellState *p, int iEqpId){
20416 static void eqp_render(ShellState *p, i64 nCycle){
20443 ShellState *p = (ShellState*)pClientData;
20475 ShellState *p,
20504 ShellState *p = (ShellState*)pArg;
20914 static void createSelftestTable(ShellState *p){
20961 ** Set the destination table field of the ShellState structure to
20965 static void set_table_name(ShellState *p, const char *zName){
21045 ShellState *p, /* Query context */
21179 ShellState *pArg, /* Pointer to ShellState */
21343 ShellState *pArg /* Pointer to ShellState */
21436 ** and populate the ShellState.aiIndent[] array with the number of
21455 static void explain_data_prepare(ShellState *p, sqlite3_stmt *pSql){
21517 static void explain_data_delete(ShellState *p){
21524 static void exec_prepared_stmt(ShellState*, sqlite3_stmt*);
21531 ShellState *pArg /* Pointer to ShellState */
21584 static void bind_table_init(ShellState *p){
21613 static void bind_prepared_stmt(ShellState *pArg, sqlite3_stmt *pStmt){
21701 ShellState *p,
21860 ShellState *p, /* Pointer to ShellState */
22086 ShellState *pArg, /* Pointer to ShellState */
22176 ShellState *pState,
22196 ShellState *pState,
22240 ShellState *pState, /* Current shell tool state */
22305 ShellState *pArg, /* Pointer to ShellState */
22474 static char **tableColumnList(ShellState *p, const char *zTab){
22593 ShellState *p = (ShellState *)pArg;
22710 ShellState *p,
23143 static int process_input(ShellState *p);
23214 static void session_close_all(ShellState *p, int i){
23291 static unsigned char *readHexDb(ShellState *p, int *pnData){
23405 static void open_db(ShellState *p, int openFlags){
23756 static void setOrClearFlag(ShellState *p, unsigned mFlag, const char *zArg){
23799 void *pArg, /* The ShellState pointer */
23803 ShellState *p = (ShellState*)pArg;
24035 ShellState *p,
24145 ShellState *p,
24148 void (*xForEach)(ShellState*,sqlite3*,const char*)
24224 static void tryToClone(ShellState *p, const char *zNewDb){
24249 static void output_redir(ShellState *p, FILE *pfNew){
24264 static void output_reset(ShellState *p){
24336 static int shell_dbinfo_command(ShellState *p, int nArg, char **azArg){
24568 static void clearTempFile(ShellState *p){
24579 static void newTempFile(ShellState *p, const char *zSuffix){
24666 ShellState *pState, /* Current shell tool state */
24839 ShellState *pState, /* Current shell tool state */
24959 ShellState *p; /* Shell state */
25579 ShellState *pState, /* Current shell tool state */
25694 ShellState *pState = (ShellState*)pCtx;
25704 static int recoverDatabaseCmd(ShellState *pState, int nArg, char **azArg){
25767 static int intckDatabaseCmd(ShellState *pState, i64 nStepPerUnlock){
26025 static int outputDumpWarning(ShellState *p, const char *zLike){
26086 static int do_meta_command(char *zLine, ShellState *p){
26823 ShellState data;
28106 ShellState data;
29719 ** The implementation uses the ShellState.eRestoreState to maintain state:
29727 static int doAutoDetectRestore(ShellState *p, const char *zSql){
29794 static int runOneSqlLine(ShellState *p, char *zSql, FILE *in, int startline){
29843 static void echo_group_input(ShellState *p, const char *zDo){
29889 static int process_input(ShellState *p){
30109 ShellState *p, /* Configuration data */
30242 static void main_init(ShellState *data) {
30327 ShellState data;