Sqlite3 3.50.2
Light weight SQL DB
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include "sqlite3.h"
#include <ctype.h>
#include <stdarg.h>
#include <signal.h>
#include <pwd.h>
#include <unistd.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <memory.h>
#include <limits.h>
#include <fcntl.h>
#include <utime.h>
#include <time.h>
#include <errno.h>
Go to the source code of this file.
Data Structures | |
struct | DynaPrompt |
struct | ShellText |
struct | SHA3Context |
struct | SHA1Context |
struct | Decimal |
struct | Percentile |
struct | PercentileFunc |
struct | SequenceSpec |
struct | series_cursor |
struct | ReStateSet |
struct | ReInput |
struct | ReCompiled |
struct | FsdirLevel |
struct | fsdir_cursor |
struct | fsdir_tab |
struct | completion_vtab |
struct | completion_cursor |
struct | ApndFile |
struct | IdxConstraint |
struct | IdxScan |
struct | IdxColumn |
struct | IdxTable |
struct | IdxWrite |
struct | IdxStatement |
struct | IdxHashEntry |
struct | IdxHash |
struct | sqlite3expert |
struct | ExpertVtab |
struct | ExpertCsr |
struct | IdxSampleCtx |
struct | IdxRemCtx |
struct | IdxRemCtx::IdxRemSlot |
struct | sqlite3_intck |
struct | Stmtrand |
struct | vfstrace_info |
struct | vfstrace_file |
struct | ExpertInfo |
struct | EQPGraphRow |
struct | EQPGraph |
struct | ColModeOpts |
struct | ShellState |
struct | ShellState::AuxDb |
struct | ImportCtx |
union | SHA3Context.u |
Macros | |
#define | SHELL_STRINGIFY_(f) |
#define | SHELL_STRINGIFY(f) |
#define | SQLITE_OS_WINRT 0 |
#define | _LARGE_FILE 1 |
#define | _FILE_OFFSET_BITS 64 |
#define | _LARGEFILE_SOURCE 1 |
#define | GETPID getpid |
#define | shell_read_history(X) |
#define | shell_write_history(X) |
#define | shell_stifle_history(X) |
#define | SHELL_USE_LOCAL_GETLINE 1 |
#define | deliberate_fall_through |
#define | IsSpace(X) |
#define | IsDigit(X) |
#define | ToLower(X) |
#define | IsAlnum(X) |
#define | IsAlpha(X) |
#define | _SQLITE3_STDIO_H_ 1 |
#define | sqlite3_fopen fopen |
#define | sqlite3_popen popen |
#define | sqlite3_fgets fgets |
#define | sqlite3_fputs fputs |
#define | sqlite3_fprintf fprintf |
#define | sqlite3_fsetmode(F, X) |
#define | SQLITE_INTERNAL_LINKAGE static |
#define | eputz(z) |
#define | sputz(fp, z) |
#define | BEGIN_TIMER beginTimer() |
#define | END_TIMER(X) |
#define | HAS_TIMER 1 |
#define | UNUSED_PARAMETER(x) |
#define | ArraySize(X) |
#define | PROMPT_LEN_MAX 128 |
#define | CONTINUATION_PROMPT dynamicContinuePrompt() |
#define | CONTINUE_PROMPT_RESET do {setLexemeOpen(&dynPrompt,0,0); trackParenLevel(&dynPrompt,0);} while(0) |
#define | CONTINUE_PROMPT_AWAITS(p, s) |
#define | CONTINUE_PROMPT_AWAITC(p, c) |
#define | CONTINUE_PAREN_INCR(p, n) |
#define | CONTINUE_PROMPT_PSTATE (&dynPrompt) |
#define | SCAN_TRACKER_REFTYPE t_DynaPromptRef |
#define | STAT_CHR_SRC(mode) |
#define | SQLITE_EXTENSION_INIT1 |
#define | SQLITE_EXTENSION_INIT2(X) |
#define | SHA3_BYTEORDER 0 |
#define | a00 (p->u.s[0]) |
#define | a01 (p->u.s[1]) |
#define | a02 (p->u.s[2]) |
#define | a03 (p->u.s[3]) |
#define | a04 (p->u.s[4]) |
#define | a10 (p->u.s[5]) |
#define | a11 (p->u.s[6]) |
#define | a12 (p->u.s[7]) |
#define | a13 (p->u.s[8]) |
#define | a14 (p->u.s[9]) |
#define | a20 (p->u.s[10]) |
#define | a21 (p->u.s[11]) |
#define | a22 (p->u.s[12]) |
#define | a23 (p->u.s[13]) |
#define | a24 (p->u.s[14]) |
#define | a30 (p->u.s[15]) |
#define | a31 (p->u.s[16]) |
#define | a32 (p->u.s[17]) |
#define | a33 (p->u.s[18]) |
#define | a34 (p->u.s[19]) |
#define | a40 (p->u.s[20]) |
#define | a41 (p->u.s[21]) |
#define | a42 (p->u.s[22]) |
#define | a43 (p->u.s[23]) |
#define | a44 (p->u.s[24]) |
#define | ROL64(a, x) |
#define | SHA_ROT(x, l, r) |
#define | rol(x, k) |
#define | ror(x, k) |
#define | blk0le(i) |
#define | blk0be(i) |
#define | blk(i) |
#define | Rl0(v, w, x, y, z, i) |
#define | Rb0(v, w, x, y, z, i) |
#define | R1(v, w, x, y, z, i) |
#define | R2(v, w, x, y, z, i) |
#define | R3(v, w, x, y, z, i) |
#define | R4(v, w, x, y, z, i) |
#define | a qq[0] |
#define | b qq[1] |
#define | c qq[2] |
#define | d qq[3] |
#define | e qq[4] |
#define | SWAP_DOUBLE(X, Y) |
#define | sqlite3_base_init sqlite3_base64_init |
#define | PC 0x80 /* pad character */ |
#define | WS 0x81 /* whitespace */ |
#define | ND 0x82 /* Not above or digit-value */ |
#define | PAD_CHAR '=' |
#define | U8_TYPEDEF |
#define | BX_DV_PROTO(c) |
#define | IS_BX_DIGIT(bdp) |
#define | IS_BX_WS(bdp) |
#define | IS_BX_PAD(bdp) |
#define | BX_NUMERAL(dv) |
#define | B64_DARK_MAX 72 |
#define | BASE64_INIT(db) |
#define | BASE64_EXPOSE(db, pzErr) |
#define | sqlite3_base_init sqlite3_base85_init |
#define | OMIT_BASE85_CHECKER |
#define | B85_CLASS(c) |
#define | B85_DNOS(c) |
#define | IS_B85(c) |
#define | B85_DARK_MAX 80 |
#define | base85Numeral(dn) |
#define | BASE85_INIT(db) |
#define | BASE85_EXPOSE(db, pzErr) |
#define | SERIES_COLUMN_ROWID (-1) |
#define | SERIES_COLUMN_VALUE 0 |
#define | SERIES_COLUMN_START 1 |
#define | SERIES_COLUMN_STOP 2 |
#define | SERIES_COLUMN_STEP 3 |
#define | LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) |
#define | LARGEST_UINT64 (0xffffffff|(((sqlite3_uint64)0xffffffff)<<32)) |
#define | SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) |
#define | SQLITE_SERIES_CONSTRAINT_VERIFY 0 |
#define | re_match sqlite3re_match |
#define | re_compile sqlite3re_compile |
#define | re_free sqlite3re_free |
#define | RE_EOF 0 /* End of input */ |
#define | RE_START 0xfffffff /* Start of input - larger than an UTF-8 */ |
#define | RE_OP_MATCH 1 /* Match the one character in the argument */ |
#define | RE_OP_ANY 2 /* Match any one character. (Implements ".") */ |
#define | RE_OP_ANYSTAR 3 /* Special optimized version of .* */ |
#define | RE_OP_FORK 4 /* Continue to both next and opcode at iArg */ |
#define | RE_OP_GOTO 5 /* Jump to opcode at iArg */ |
#define | RE_OP_ACCEPT 6 /* Halt and indicate a successful match */ |
#define | RE_OP_CC_INC 7 /* Beginning of a [...] character class */ |
#define | RE_OP_CC_EXC 8 /* Beginning of a [^...] character class */ |
#define | RE_OP_CC_VALUE 9 /* Single value in a character class */ |
#define | RE_OP_CC_RANGE 10 /* Range of values in a character class */ |
#define | RE_OP_WORD 11 /* Perl word character [A-Za-z0-9_] */ |
#define | RE_OP_NOTWORD 12 /* Not a perl word character */ |
#define | RE_OP_DIGIT 13 /* digit: [0-9] */ |
#define | RE_OP_NOTDIGIT 14 /* Not a digit */ |
#define | RE_OP_SPACE 15 /* space: [ \t\n\r\v\f] */ |
#define | RE_OP_NOTSPACE 16 /* Not a digit */ |
#define | RE_OP_BOUNDARY 17 /* Boundary between word and non-word */ |
#define | RE_OP_ATSTART 18 /* Currently at the start of the string */ |
#define | STRUCT_STAT struct stat |
#define | FSDIR_SCHEMA "(name,mode,mtime,data,path HIDDEN,dir HIDDEN)" |
#define | FSDIR_COLUMN_NAME 0 /* Name of the file */ |
#define | FSDIR_COLUMN_MODE 1 /* Access mode */ |
#define | FSDIR_COLUMN_MTIME 2 /* Last modification time */ |
#define | FSDIR_COLUMN_DATA 3 /* File content */ |
#define | FSDIR_COLUMN_PATH 4 /* Path to top of search */ |
#define | FSDIR_COLUMN_DIR 5 /* Path is relative to this directory */ |
#define | COMPLETION_FIRST_PHASE 1 |
#define | COMPLETION_KEYWORDS 1 |
#define | COMPLETION_PRAGMAS 2 |
#define | COMPLETION_FUNCTIONS 3 |
#define | COMPLETION_COLLATIONS 4 |
#define | COMPLETION_INDEXES 5 |
#define | COMPLETION_TRIGGERS 6 |
#define | COMPLETION_DATABASES 7 |
#define | COMPLETION_TABLES 8 /* Also VIEWs and TRIGGERs */ |
#define | COMPLETION_COLUMNS 9 |
#define | COMPLETION_MODULES 10 |
#define | COMPLETION_EOF 11 |
#define | COMPLETION_COLUMN_CANDIDATE 0 /* Suggested completion of the input */ |
#define | COMPLETION_COLUMN_PREFIX 1 /* Prefix of the word to be completed */ |
#define | COMPLETION_COLUMN_WHOLELINE 2 /* Entire line seen so far */ |
#define | COMPLETION_COLUMN_PHASE 3 /* ePhase - used for debugging only */ |
#define | APND_MARK_PREFIX "Start-Of-SQLite3-" |
#define | APND_MARK_PREFIX_SZ 17 |
#define | APND_MARK_FOS_SZ 8 |
#define | APND_MARK_SIZE (APND_MARK_PREFIX_SZ+APND_MARK_FOS_SZ) |
#define | APND_MAX_SIZE (0x40000000) |
#define | APND_ROUNDUP 4096 |
#define | APND_ALIGN_MASK ((sqlite3_int64)(APND_ROUNDUP-1)) |
#define | APND_START_ROUNDUP(fsz) |
#define | ORIGVFS(p) |
#define | ORIGFILE(p) |
#define | SQLITEEXPERT_H 1 |
#define | EXPERT_CONFIG_SAMPLE 1 /* int */ |
#define | EXPERT_REPORT_SQL 1 |
#define | EXPERT_REPORT_INDEXES 2 |
#define | EXPERT_REPORT_PLAN 3 |
#define | EXPERT_REPORT_CANDIDATES 4 |
#define | ALWAYS(X) |
#define | NEVER(X) |
#define | STRLEN (int)strlen |
#define | UNIQUE_TABLE_NAME "t592690916721053953805701627921227776" |
#define | IDX_HASH_SIZE 1023 |
#define | _SQLITE_INTCK_H |
#define | STMTRAND_KEY (-4418371) |
#define | VTR_CLOSE 0x00000001 |
#define | VTR_READ 0x00000002 |
#define | VTR_WRITE 0x00000004 |
#define | VTR_TRUNC 0x00000008 |
#define | VTR_SYNC 0x00000010 |
#define | VTR_FSIZE 0x00000020 |
#define | VTR_LOCK 0x00000040 |
#define | VTR_UNLOCK 0x00000080 |
#define | VTR_CRL 0x00000100 |
#define | VTR_FCTRL 0x00000200 |
#define | VTR_SECSZ 0x00000400 |
#define | VTR_DEVCHAR 0x00000800 |
#define | VTR_SHMLOCK 0x00001000 |
#define | VTR_SHMMAP 0x00002000 |
#define | VTR_SHMBAR 0x00004000 |
#define | VTR_SHMUNMAP 0x00008000 |
#define | VTR_OPEN 0x00010000 |
#define | VTR_DELETE 0x00020000 |
#define | VTR_ACCESS 0x00040000 |
#define | VTR_FULLPATH 0x00080000 |
#define | VTR_DLOPEN 0x00100000 |
#define | VTR_DLERR 0x00200000 |
#define | VTR_DLSYM 0x00400000 |
#define | VTR_DLCLOSE 0x00800000 |
#define | VTR_RAND 0x01000000 |
#define | VTR_SLEEP 0x02000000 |
#define | VTR_CURTIME 0x04000000 |
#define | VTR_LASTERR 0x08000000 |
#define | VTR_FETCH 0x10000000 /* Also coverse xUnfetch */ |
#define | SQLITE_SHELL_HAVE_RECOVER 0 |
#define | ColModeOpts_default { 60, 0, 0 } |
#define | ColModeOpts_default_qbox { 60, 1, 0 } |
#define | AUTOEQP_off 0 /* Automatic EXPLAIN QUERY PLAN is off */ |
#define | AUTOEQP_on 1 /* Automatic EQP is on */ |
#define | AUTOEQP_trigger 2 /* On and also show plans for triggers */ |
#define | AUTOEQP_full 3 /* Show full EXPLAIN */ |
#define | SHELL_OPEN_UNSPEC 0 /* No open-mode specified */ |
#define | SHELL_OPEN_NORMAL 1 /* Normal database file */ |
#define | SHELL_OPEN_APPENDVFS 2 /* Use appendvfs */ |
#define | SHELL_OPEN_ZIPFILE 3 /* Use the zipfile virtual table */ |
#define | SHELL_OPEN_READONLY 4 /* Open a normal database read-only */ |
#define | SHELL_OPEN_DESERIALIZE 5 /* Open using sqlite3_deserialize() */ |
#define | SHELL_OPEN_HEXDB 6 /* Use "dbtotxt" output as data source */ |
#define | SHELL_TRACE_PLAIN 0 /* Show input SQL text */ |
#define | SHELL_TRACE_EXPANDED 1 /* Show expanded SQL text */ |
#define | SHELL_TRACE_NORMALIZED 2 /* Show normalized SQL text */ |
#define | SHELL_PROGRESS_QUIET 0x01 /* Omit announcing every progress callback */ |
#define | SHELL_PROGRESS_RESET |
#define | SHELL_PROGRESS_ONCE 0x04 /* Cancel the --limit after firing once */ |
#define | SHELL_ESC_ASCII 0 /* Substitute ^Y for X where Y=X+0x40 */ |
#define | SHELL_ESC_SYMBOL 1 /* Substitute U+2400 graphics */ |
#define | SHELL_ESC_OFF 2 /* Send characters verbatim */ |
#define | SHFLG_Pagecache 0x00000001 /* The --pagecache option is used */ |
#define | SHFLG_Lookaside 0x00000002 /* Lookaside memory is used */ |
#define | SHFLG_Backslash 0x00000004 /* The --backslash option is used */ |
#define | SHFLG_PreserveRowid 0x00000008 /* .dump preserves rowid values */ |
#define | SHFLG_Newlines 0x00000010 /* .dump --newline flag */ |
#define | SHFLG_CountChanges 0x00000020 /* .changes setting */ |
#define | SHFLG_Echo 0x00000040 /* .echo on/off, or --echo setting */ |
#define | SHFLG_HeaderSet 0x00000080 /* showHeader has been specified */ |
#define | SHFLG_DumpDataOnly 0x00000100 /* .dump show data only */ |
#define | SHFLG_DumpNoSys 0x00000200 /* .dump omits system tables */ |
#define | SHFLG_TestingMode 0x00000400 /* allow unsafe testing features */ |
#define | ShellHasFlag(P, X) |
#define | ShellSetFlag(P, X) |
#define | ShellClearFlag(P, X) |
#define | MODE_Line 0 /* One column per line. Blank line between records */ |
#define | MODE_Column 1 /* One record per line in neat columns */ |
#define | MODE_List 2 /* One record per line with a separator */ |
#define | MODE_Semi 3 /* Same as MODE_List but append ";" to each line */ |
#define | MODE_Html 4 /* Generate an XHTML table */ |
#define | MODE_Insert 5 /* Generate SQL "insert" statements */ |
#define | MODE_Quote 6 /* Quote values as for SQL */ |
#define | MODE_Tcl 7 /* Generate ANSI-C or TCL quoted elements */ |
#define | MODE_Csv 8 /* Quote strings, numbers are plain */ |
#define | MODE_Explain 9 /* Like MODE_Column, but do not truncate data */ |
#define | MODE_Ascii 10 /* Use ASCII unit and record separators (0x1F/0x1E) */ |
#define | MODE_Pretty 11 /* Pretty-print schemas */ |
#define | MODE_EQP 12 /* Converts EXPLAIN QUERY PLAN output into a graph */ |
#define | MODE_Json 13 /* Output JSON */ |
#define | MODE_Markdown 14 /* Markdown formatting */ |
#define | MODE_Table 15 /* MySQL-style table formatting */ |
#define | MODE_Box 16 /* Unicode box-drawing characters */ |
#define | MODE_Count 17 /* Output only a count of the rows of output */ |
#define | MODE_Off 18 /* No query output shown */ |
#define | MODE_ScanExp 19 /* Like MODE_Explain, but for ".scanstats vm" */ |
#define | MODE_Www 20 /* Full web-page output */ |
#define | SEP_Column "|" |
#define | SEP_Row "\n" |
#define | SEP_Tab "\t" |
#define | SEP_Space " " |
#define | SEP_Comma "," |
#define | SEP_CrLf "\r\n" |
#define | SEP_Unit "\x1F" |
#define | SEP_Record "\x1E" |
#define | MAX_INPUT_NESTING 25 |
#define | BOX_24 "\342\224\200" /* U+2500 --- */ |
#define | BOX_13 "\342\224\202" /* U+2502 | */ |
#define | BOX_23 "\342\224\214" /* U+250c ,- */ |
#define | BOX_34 "\342\224\220" /* U+2510 -, */ |
#define | BOX_12 "\342\224\224" /* U+2514 '- */ |
#define | BOX_14 "\342\224\230" /* U+2518 -' */ |
#define | BOX_123 "\342\224\234" /* U+251c |- */ |
#define | BOX_134 "\342\224\244" /* U+2524 -| */ |
#define | BOX_234 "\342\224\254" /* U+252c -,- */ |
#define | BOX_124 "\342\224\264" /* U+2534 -'- */ |
#define | BOX_1234 "\342\224\274" /* U+253c -|- */ |
#define | session_close_all(X, Y) |
#define | OPEN_DB_KEEPALIVE 0x001 /* Return after error if true */ |
#define | OPEN_DB_ZIPFILE 0x002 /* Open as ZIP if name matches *.zip */ |
#define | AUTOCOLUMN_SEP "_" |
#define | CTIMEOPT_VAL_(opt) |
#define | CTIMEOPT_VAL(opt) |
#define | CHAR_BIT 8 |
#define | QSS_SETV(qss, newst) |
#define | QSS_INPLAIN(qss) |
#define | QSS_PLAINWHITE(qss) |
#define | QSS_PLAINDARK(qss) |
#define | QSS_SEMITERM(qss) |
#define | SQLITE_SHELL_IS_UTF8 (1) |
Typedefs | |
typedef unsigned int | u32 |
typedef unsigned short int | u16 |
typedef sqlite3_int64 | i64 |
typedef sqlite3_uint64 | u64 |
typedef unsigned char | u8 |
typedef struct DynaPrompt * | t_DynaPromptRef |
typedef struct ShellText | ShellText |
typedef struct SHA3Context | SHA3Context |
typedef struct SHA1Context | SHA1Context |
typedef struct Decimal | Decimal |
typedef struct Percentile | Percentile |
typedef struct PercentileFunc | PercentileFunc |
typedef struct SequenceSpec | SequenceSpec |
typedef struct series_cursor | series_cursor |
typedef unsigned short | ReStateNumber |
typedef struct ReStateSet | ReStateSet |
typedef struct ReInput | ReInput |
typedef struct ReCompiled | ReCompiled |
typedef struct fsdir_cursor | fsdir_cursor |
typedef struct FsdirLevel | FsdirLevel |
typedef struct fsdir_tab | fsdir_tab |
typedef struct completion_vtab | completion_vtab |
typedef struct completion_cursor | completion_cursor |
typedef struct sqlite3_vfs | ApndVfs |
typedef struct ApndFile | ApndFile |
typedef struct sqlite3expert | sqlite3expert |
typedef struct IdxColumn | IdxColumn |
typedef struct IdxConstraint | IdxConstraint |
typedef struct IdxScan | IdxScan |
typedef struct IdxStatement | IdxStatement |
typedef struct IdxTable | IdxTable |
typedef struct IdxWrite | IdxWrite |
typedef struct IdxHashEntry | IdxHashEntry |
typedef struct IdxHash | IdxHash |
typedef struct ExpertVtab | ExpertVtab |
typedef struct ExpertCsr | ExpertCsr |
typedef struct sqlite3_intck | sqlite3_intck |
typedef struct Stmtrand | Stmtrand |
typedef struct vfstrace_info | vfstrace_info |
typedef struct vfstrace_file | vfstrace_file |
typedef struct ExpertInfo | ExpertInfo |
typedef struct EQPGraphRow | EQPGraphRow |
typedef struct EQPGraph | EQPGraph |
typedef struct ColModeOpts | ColModeOpts |
typedef struct ShellState | ShellState |
typedef struct ImportCtx | ImportCtx |
Enumerations | |
enum | QuickScanState { QSS_HasDark = 1<< 8 , QSS_EndingSemi = 2<< 8 , QSS_CharMask = (1<< 8 )-1 , QSS_ScanMask = 3<< 8 , QSS_Start = 0 } |
Functions | |
int | isatty (int) |
FILE * | popen (const char *, const char *) |
int | pclose (FILE *) |
static int | cli_strcmp (const char *a, const char *b) |
static int | cli_strncmp (const char *a, const char *b, size_t n) |
static sqlite3_int64 | timeOfDay (void) |
static void | beginTimer (void) |
static double | timeDiff (struct timeval *pStart, struct timeval *pEnd) |
static void | endTimer (FILE *out) |
static char * | shell_strncpy (char *dest, const char *src, size_t n) |
static void | shell_strcpy (char *dest, const char *src) |
static void | trackParenLevel (struct DynaPrompt *p, int ni) |
static void | setLexemeOpen (struct DynaPrompt *p, char *s, char c) |
static char * | dynamicContinuePrompt (void) |
static void | shell_out_of_memory (void) |
static void | shell_check_oom (const void *p) |
int | cli_wcwidth (int c) |
static int | decodeUtf8 (const unsigned char *z, int *pU) |
static int | isVt100 (const unsigned char *z) |
static void | utf8_width_print (FILE *out, int w, const char *zUtf) |
static int | isNumber (const char *z, int *realnum) |
static int | strlen30 (const char *z) |
static int | strlenChar (const char *z) |
static FILE * | openChrSource (const char *zFile) |
static char * | local_getline (char *zLine, FILE *in) |
static char * | one_input_line (FILE *in, char *zPrior, int isContinuation) |
static int | hexDigitValue (char c) |
static sqlite3_int64 | integerValue (const char *zArg) |
static void | initText (ShellText *p) |
static void | freeText (ShellText *p) |
static void | appendText (ShellText *p, const char *zAppend, char quote) |
static char | quoteChar (const char *zName) |
static char * | shellFakeSchema (sqlite3 *db, const char *zSchema, const char *zName) |
static void | shellStrtod (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static void | shellDtostr (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static void | shellAddSchemaName (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static void * | memtraceMalloc (int n) |
static void | memtraceFree (void *p) |
static void * | memtraceRealloc (void *p, int n) |
static int | memtraceSize (void *p) |
static int | memtraceRoundup (int n) |
static int | memtraceInit (void *p) |
static void | memtraceShutdown (void *p) |
int | sqlite3MemTraceActivate (FILE *out) |
int | sqlite3MemTraceDeactivate (void) |
static int | pcachetraceInit (void *pArg) |
static void | pcachetraceShutdown (void *pArg) |
static sqlite3_pcache * | pcachetraceCreate (int szPage, int szExtra, int bPurge) |
static void | pcachetraceCachesize (sqlite3_pcache *p, int nCachesize) |
static int | pcachetracePagecount (sqlite3_pcache *p) |
static sqlite3_pcache_page * | pcachetraceFetch (sqlite3_pcache *p, unsigned key, int crFg) |
static void | pcachetraceUnpin (sqlite3_pcache *p, sqlite3_pcache_page *pPg, int bDiscard) |
static void | pcachetraceRekey (sqlite3_pcache *p, sqlite3_pcache_page *pPg, unsigned oldKey, unsigned newKey) |
static void | pcachetraceTruncate (sqlite3_pcache *p, unsigned n) |
static void | pcachetraceDestroy (sqlite3_pcache *p) |
static void | pcachetraceShrink (sqlite3_pcache *p) |
int | sqlite3PcacheTraceActivate (FILE *out) |
int | sqlite3PcacheTraceDeactivate (void) |
static void | KeccakF1600Step (SHA3Context *p) |
static void | SHA3Init (SHA3Context *p, int iSize) |
static void | SHA3Update (SHA3Context *p, const unsigned char *aData, unsigned int nData) |
static unsigned char * | SHA3Final (SHA3Context *p) |
static void | sha3Func (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | sha3_step_vformat (SHA3Context *p, const char *zFormat,...) |
static void | sha3UpdateFromValue (SHA3Context *p, sqlite3_value *pVal) |
static void | sha3QueryFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | sha3AggStep (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | sha3AggFinal (sqlite3_context *context) |
int | sqlite3_shathree_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static void | SHA1Transform (unsigned int state[5], const unsigned char buffer[64]) |
static void | hash_init (SHA1Context *p) |
static void | hash_step (SHA1Context *p, const unsigned char *data, unsigned int len) |
static void | hash_step_vformat (SHA1Context *p, const char *zFormat,...) |
static void | hash_finish (SHA1Context *p, char *zOut, int bAsBinary) |
static void | sha1Func (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | sha1QueryFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
int | sqlite3_sha_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static int | uintCollFunc (void *notUsed, int nKey1, const void *pKey1, int nKey2, const void *pKey2) |
int | sqlite3_uint_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static void | decimal_clear (Decimal *p) |
static void | decimal_free (Decimal *p) |
static Decimal * | decimalNewFromText (const char *zIn, int n) |
static Decimal * | decimalFromDouble (double) |
static Decimal * | decimal_new (sqlite3_context *pCtx, sqlite3_value *pIn, int bTextOnly) |
static void | decimal_result (sqlite3_context *pCtx, Decimal *p) |
static void | decimal_result_sci (sqlite3_context *pCtx, Decimal *p) |
static int | decimal_cmp (const Decimal *pA, const Decimal *pB) |
static void | decimalCmpFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimal_expand (Decimal *p, int nDigit, int nFrac) |
static void | decimal_add (Decimal *pA, Decimal *pB) |
static void | decimalMul (Decimal *pA, Decimal *pB) |
static Decimal * | decimalPow2 (int N) |
static void | decimalFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static int | decimalCollFunc (void *notUsed, int nKey1, const void *pKey1, int nKey2, const void *pKey2) |
static void | decimalAddFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimalSubFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimalSumStep (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimalSumInverse (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimalSumValue (sqlite3_context *context) |
static void | decimalSumFinalize (sqlite3_context *context) |
static void | decimalMulFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | decimalPow2Func (sqlite3_context *context, int argc, sqlite3_value **argv) |
int | sqlite3_decimal_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static int | percentIsInfinity (double r) |
static int | percentSameValue (double a, double b) |
static int | percentBinarySearch (Percentile *p, double y, int bExact) |
static void | percentError (sqlite3_context *pCtx, const char *zFormat,...) |
static void | percentStep (sqlite3_context *pCtx, int argc, sqlite3_value **argv) |
static void | percentSort (double *a, unsigned int n) |
static void | percentInverse (sqlite3_context *pCtx, int argc, sqlite3_value **argv) |
static void | percentCompute (sqlite3_context *pCtx, int bIsFinal) |
static void | percentFinal (sqlite3_context *pCtx) |
static void | percentValue (sqlite3_context *pCtx) |
int | sqlite3_percentile_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static char * | toBase64 (u8 *pIn, int nbIn, char *pOut) |
static char * | skipNonB64 (char *s, int nc) |
static u8 * | fromBase64 (char *pIn, int ncIn, u8 *pOut) |
static void | base64 (sqlite3_context *context, int na, sqlite3_value *av[]) |
int | sqlite3_base64_init (sqlite3 *db, char **pzErr, const sqlite3_api_routines *pApi) |
static char * | skipNonB85 (char *s, int nc) |
static char * | putcs (char *pc, char *s) |
static char * | toBase85 (u8 *pIn, int nbIn, char *pOut, char *pSep) |
static u8 * | fromBase85 (char *pIn, int ncIn, u8 *pOut) |
static void | base85 (sqlite3_context *context, int na, sqlite3_value *av[]) |
int | sqlite3_base85_init (sqlite3 *db, char **pzErr, const sqlite3_api_routines *pApi) |
static void | ieee754func (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | ieee754func_from_blob (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | ieee754func_to_blob (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | ieee754inc (sqlite3_context *context, int argc, sqlite3_value **argv) |
int | sqlite3_ieee_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static sqlite3_int64 | genSeqMember (sqlite3_int64 smBase, sqlite3_int64 smStep, sqlite3_uint64 ix) |
static void | setupSequence (SequenceSpec *pss) |
static int | progressSequence (SequenceSpec *pss) |
static int | seriesConnect (sqlite3 *db, void *pUnused, int argcUnused, const char *const *argvUnused, sqlite3_vtab **ppVtab, char **pzErrUnused) |
static int | seriesDisconnect (sqlite3_vtab *pVtab) |
static int | seriesOpen (sqlite3_vtab *pUnused, sqlite3_vtab_cursor **ppCursor) |
static int | seriesClose (sqlite3_vtab_cursor *cur) |
static int | seriesNext (sqlite3_vtab_cursor *cur) |
static int | seriesColumn (sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i) |
static int | seriesRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid) |
static int | seriesEof (sqlite3_vtab_cursor *cur) |
static int | seriesFilter (sqlite3_vtab_cursor *pVtabCursor, int idxNum, const char *idxStrUnused, int argc, sqlite3_value **argv) |
static int | seriesBestIndex (sqlite3_vtab *pVTab, sqlite3_index_info *pIdxInfo) |
int | sqlite3_series_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static void | re_add_state (ReStateSet *pSet, int newState) |
static unsigned | re_next_char (ReInput *p) |
static unsigned | re_next_char_nocase (ReInput *p) |
static int | re_word_char (int c) |
static int | re_digit_char (int c) |
static int | re_space_char (int c) |
static int | sqlite3re_match (ReCompiled *pRe, const unsigned char *zIn, int nIn) |
static int | re_resize (ReCompiled *p, int N) |
static int | re_insert (ReCompiled *p, int iBefore, int op, int arg) |
static int | re_append (ReCompiled *p, int op, int arg) |
static void | re_copy (ReCompiled *p, int iStart, int N) |
static int | re_hex (int c, int *pV) |
static unsigned | re_esc_char (ReCompiled *p) |
static const char * | re_subcompile_string (ReCompiled *) |
static unsigned char | rePeek (ReCompiled *p) |
static const char * | re_subcompile_re (ReCompiled *p) |
static void | sqlite3re_free (void *p) |
static const char * | sqlite3re_compile (ReCompiled **ppRe, const char *zIn, int noCase) |
static void | re_sql_func (sqlite3_context *context, int argc, sqlite3_value **argv) |
int | sqlite3_regexp_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static void | readFileContents (sqlite3_context *ctx, const char *zName) |
static void | readfileFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | ctxErrorMsg (sqlite3_context *ctx, const char *zFmt,...) |
static int | fileStat (const char *zPath, struct stat *pStatBuf) |
static int | fileLinkStat (const char *zPath, struct stat *pStatBuf) |
static int | makeDirectory (const char *zFile) |
static int | writeFile (sqlite3_context *pCtx, const char *zFile, sqlite3_value *pData, mode_t mode, sqlite3_int64 mtime) |
static void | writefileFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | lsModeFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static int | fsdirConnect (sqlite3 *db, void *pAux, int argc, const char *const *argv, sqlite3_vtab **ppVtab, char **pzErr) |
static int | fsdirDisconnect (sqlite3_vtab *pVtab) |
static int | fsdirOpen (sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor) |
static void | fsdirResetCursor (fsdir_cursor *pCur) |
static int | fsdirClose (sqlite3_vtab_cursor *cur) |
static void | fsdirSetErrmsg (fsdir_cursor *pCur, const char *zFmt,...) |
static int | fsdirNext (sqlite3_vtab_cursor *cur) |
static int | fsdirColumn (sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i) |
static int | fsdirRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid) |
static int | fsdirEof (sqlite3_vtab_cursor *cur) |
static int | fsdirFilter (sqlite3_vtab_cursor *cur, int idxNum, const char *idxStr, int argc, sqlite3_value **argv) |
static int | fsdirBestIndex (sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) |
static int | fsdirRegister (sqlite3 *db) |
int | sqlite3_fileio_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static int | completionConnect (sqlite3 *db, void *pAux, int argc, const char *const *argv, sqlite3_vtab **ppVtab, char **pzErr) |
static int | completionDisconnect (sqlite3_vtab *pVtab) |
static int | completionOpen (sqlite3_vtab *p, sqlite3_vtab_cursor **ppCursor) |
static void | completionCursorReset (completion_cursor *pCur) |
static int | completionClose (sqlite3_vtab_cursor *cur) |
static int | completionNext (sqlite3_vtab_cursor *cur) |
static int | completionColumn (sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i) |
static int | completionRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid) |
static int | completionEof (sqlite3_vtab_cursor *cur) |
static int | completionFilter (sqlite3_vtab_cursor *pVtabCursor, int idxNum, const char *idxStr, int argc, sqlite3_value **argv) |
static int | completionBestIndex (sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo) |
int | sqlite3CompletionVtabInit (sqlite3 *db) |
int | sqlite3_completion_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static int | apndClose (sqlite3_file *) |
static int | apndRead (sqlite3_file *, void *, int iAmt, sqlite3_int64 iOfst) |
static int | apndWrite (sqlite3_file *, const void *, int iAmt, sqlite3_int64 iOfst) |
static int | apndTruncate (sqlite3_file *, sqlite3_int64 size) |
static int | apndSync (sqlite3_file *, int flags) |
static int | apndFileSize (sqlite3_file *, sqlite3_int64 *pSize) |
static int | apndLock (sqlite3_file *, int) |
static int | apndUnlock (sqlite3_file *, int) |
static int | apndCheckReservedLock (sqlite3_file *, int *pResOut) |
static int | apndFileControl (sqlite3_file *, int op, void *pArg) |
static int | apndSectorSize (sqlite3_file *) |
static int | apndDeviceCharacteristics (sqlite3_file *) |
static int | apndShmMap (sqlite3_file *, int iPg, int pgsz, int, void volatile **) |
static int | apndShmLock (sqlite3_file *, int offset, int n, int flags) |
static void | apndShmBarrier (sqlite3_file *) |
static int | apndShmUnmap (sqlite3_file *, int deleteFlag) |
static int | apndFetch (sqlite3_file *, sqlite3_int64 iOfst, int iAmt, void **pp) |
static int | apndUnfetch (sqlite3_file *, sqlite3_int64 iOfst, void *p) |
static int | apndOpen (sqlite3_vfs *, const char *, sqlite3_file *, int, int *) |
static int | apndDelete (sqlite3_vfs *, const char *zName, int syncDir) |
static int | apndAccess (sqlite3_vfs *, const char *zName, int flags, int *) |
static int | apndFullPathname (sqlite3_vfs *, const char *zName, int, char *zOut) |
static void * | apndDlOpen (sqlite3_vfs *, const char *zFilename) |
static void | apndDlError (sqlite3_vfs *, int nByte, char *zErrMsg) |
static void | apndDlClose (sqlite3_vfs *, void *) |
static int | apndRandomness (sqlite3_vfs *, int nByte, char *zOut) |
static int | apndSleep (sqlite3_vfs *, int microseconds) |
static int | apndCurrentTime (sqlite3_vfs *, double *) |
static int | apndGetLastError (sqlite3_vfs *, int, char *) |
static int | apndCurrentTimeInt64 (sqlite3_vfs *, sqlite3_int64 *) |
static int | apndSetSystemCall (sqlite3_vfs *, const char *, sqlite3_syscall_ptr) |
static sqlite3_syscall_ptr | apndGetSystemCall (sqlite3_vfs *, const char *z) |
static const char * | apndNextSystemCall (sqlite3_vfs *, const char *zName) |
static int | apndWriteMark (ApndFile *paf, sqlite3_file *pFile, sqlite_int64 iWriteEnd) |
static sqlite3_int64 | apndReadMark (sqlite3_int64 sz, sqlite3_file *pFile) |
static int | apndIsAppendvfsDatabase (sqlite3_int64 sz, sqlite3_file *pFile) |
static int | apndIsOrdinaryDatabaseFile (sqlite3_int64 sz, sqlite3_file *pFile) |
int | sqlite3_appendvfs_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
sqlite3expert * | sqlite3_expert_new (sqlite3 *db, char **pzErr) |
int | sqlite3_expert_config (sqlite3expert *p, int op,...) |
int | sqlite3_expert_sql (sqlite3expert *p, const char *zSql, char **pzErr) |
int | sqlite3_expert_analyze (sqlite3expert *p, char **pzErr) |
int | sqlite3_expert_count (sqlite3expert *) |
const char * | sqlite3_expert_report (sqlite3expert *, int iStmt, int eReport) |
void | sqlite3_expert_destroy (sqlite3expert *) |
static void * | idxMalloc (int *pRc, int nByte) |
static void | idxHashInit (IdxHash *pHash) |
static void | idxHashClear (IdxHash *pHash) |
static int | idxHashString (const char *z, int n) |
static int | idxHashAdd (int *pRc, IdxHash *pHash, const char *zKey, const char *zVal) |
static IdxHashEntry * | idxHashFind (IdxHash *pHash, const char *zKey, int nKey) |
static const char * | idxHashSearch (IdxHash *pHash, const char *zKey, int nKey) |
static IdxConstraint * | idxNewConstraint (int *pRc, const char *zColl) |
static void | idxDatabaseError (sqlite3 *db, char **pzErrmsg) |
static int | idxPrepareStmt (sqlite3 *db, sqlite3_stmt **ppStmt, char **pzErrmsg, const char *zSql) |
static int | idxPrintfPrepareStmt (sqlite3 *db, sqlite3_stmt **ppStmt, char **pzErrmsg, const char *zFmt,...) |
static char * | expertDequote (const char *zIn) |
static int | expertConnect (sqlite3 *db, void *pAux, int argc, const char *const *argv, sqlite3_vtab **ppVtab, char **pzErr) |
static int | expertDisconnect (sqlite3_vtab *pVtab) |
static int | expertBestIndex (sqlite3_vtab *pVtab, sqlite3_index_info *pIdxInfo) |
static int | expertUpdate (sqlite3_vtab *pVtab, int nData, sqlite3_value **azData, sqlite_int64 *pRowid) |
static int | expertOpen (sqlite3_vtab *pVTab, sqlite3_vtab_cursor **ppCursor) |
static int | expertClose (sqlite3_vtab_cursor *cur) |
static int | expertEof (sqlite3_vtab_cursor *cur) |
static int | expertNext (sqlite3_vtab_cursor *cur) |
static int | expertRowid (sqlite3_vtab_cursor *cur, sqlite_int64 *pRowid) |
static int | expertColumn (sqlite3_vtab_cursor *cur, sqlite3_context *ctx, int i) |
static int | expertFilter (sqlite3_vtab_cursor *cur, int idxNum, const char *idxStr, int argc, sqlite3_value **argv) |
static int | idxRegisterVtab (sqlite3expert *p) |
static void | idxFinalize (int *pRc, sqlite3_stmt *pStmt) |
static int | idxGetTableInfo (sqlite3 *db, const char *zTab, IdxTable **ppOut, char **pzErrmsg) |
static char * | idxAppendText (int *pRc, char *zIn, const char *zFmt,...) |
static int | idxIdentifierRequiresQuotes (const char *zId) |
static char * | idxAppendColDefn (int *pRc, char *zIn, IdxTable *pTab, IdxConstraint *pCons) |
static int | idxFindCompatible (int *pRc, sqlite3 *dbm, IdxScan *pScan, IdxConstraint *pEq, IdxConstraint *pTail) |
static int | countNonzeros (void *pCount, int nc, char *azResults[], char *azColumns[]) |
static int | idxCreateFromCons (sqlite3expert *p, IdxScan *pScan, IdxConstraint *pEq, IdxConstraint *pTail) |
static int | idxFindConstraint (IdxConstraint *pList, IdxConstraint *p) |
static int | idxCreateFromWhere (sqlite3expert *p, IdxScan *pScan, IdxConstraint *pTail) |
static int | idxCreateCandidates (sqlite3expert *p) |
static void | idxConstraintFree (IdxConstraint *pConstraint) |
static void | idxScanFree (IdxScan *pScan, IdxScan *pLast) |
static void | idxStatementFree (IdxStatement *pStatement, IdxStatement *pLast) |
static void | idxTableFree (IdxTable *pTab) |
static void | idxWriteFree (IdxWrite *pTab) |
static int | idxFindIndexes (sqlite3expert *p, char **pzErr) |
static int | idxAuthCallback (void *pCtx, int eOp, const char *z3, const char *z4, const char *zDb, const char *zTrigger) |
static int | idxProcessOneTrigger (sqlite3expert *p, IdxWrite *pWrite, char **pzErr) |
static int | idxProcessTriggers (sqlite3expert *p, char **pzErr) |
static int | expertDbContainsObject (sqlite3 *db, const char *zTab, int *pbContains) |
static int | expertSchemaSql (sqlite3 *db, const char *zSql, char **pzErr) |
static int | idxCreateVtabSchema (sqlite3expert *p, char **pzErrmsg) |
static void | idxSampleFunc (sqlite3_context *pCtx, int argc, sqlite3_value **argv) |
static void | idxRemFunc (sqlite3_context *pCtx, int argc, sqlite3_value **argv) |
static int | idxLargestIndex (sqlite3 *db, int *pnMax, char **pzErr) |
static int | idxPopulateOneStat1 (sqlite3expert *p, sqlite3_stmt *pIndexXInfo, sqlite3_stmt *pWriteStat, const char *zTab, const char *zIdx, char **pzErr) |
static int | idxBuildSampleTable (sqlite3expert *p, const char *zTab) |
static int | idxPopulateStat1 (sqlite3expert *p, char **pzErr) |
int | dummyCompare (void *up1, int up2, const void *up3, int up4, const void *up5) |
void | useDummyCS (void *up1, sqlite3 *db, int etr, const char *zName) |
void | dummyUDF (sqlite3_context *up1, int up2, sqlite3_value **up3) |
void | dummyUDFvalue (sqlite3_context *up1) |
int | registerUDFs (sqlite3 *dbSrc, sqlite3 *dbDst) |
int | sqlite3_intck_open (sqlite3 *db, const char *zDb, sqlite3_intck **ppOut) |
void | sqlite3_intck_close (sqlite3_intck *pCk) |
int | sqlite3_intck_step (sqlite3_intck *pCk) |
const char * | sqlite3_intck_message (sqlite3_intck *pCk) |
int | sqlite3_intck_unlock (sqlite3_intck *pCk) |
int | sqlite3_intck_error (sqlite3_intck *pCk, const char **pzErr) |
const char * | sqlite3_intck_test_sql (sqlite3_intck *pCk, const char *zObj) |
static void | intckSaveErrmsg (sqlite3_intck *p) |
static sqlite3_stmt * | intckPrepare (sqlite3_intck *p, const char *zSql) |
static sqlite3_stmt * | intckPrepareFmt (sqlite3_intck *p, const char *zFmt,...) |
static void | intckFinalize (sqlite3_intck *p, sqlite3_stmt *pStmt) |
static int | intckStep (sqlite3_intck *p, sqlite3_stmt *pStmt) |
static void | intckExec (sqlite3_intck *p, const char *zSql) |
static char * | intckMprintf (sqlite3_intck *p, const char *zFmt,...) |
static void | intckSaveKey (sqlite3_intck *p) |
static void | intckFindObject (sqlite3_intck *p) |
static int | intckGetToken (const char *z) |
static int | intckIsSpace (char c) |
static const char * | intckParseCreateIndex (const char *z, int iCol, int *pnByte) |
static void | intckParseCreateIndexFunc (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static int | intckGetAutoIndex (sqlite3_intck *p) |
static int | intckIsIndex (sqlite3_intck *p, const char *zObj) |
static char * | intckCheckObjectSql (sqlite3_intck *p, const char *zObj, const char *zPrev, int *pnKeyVal) |
static void | stmtrandFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
int | sqlite3_stmtrand_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
static int | vfstraceClose (sqlite3_file *) |
static int | vfstraceRead (sqlite3_file *, void *, int iAmt, sqlite3_int64 iOfst) |
static int | vfstraceWrite (sqlite3_file *, const void *, int iAmt, sqlite3_int64) |
static int | vfstraceTruncate (sqlite3_file *, sqlite3_int64 size) |
static int | vfstraceSync (sqlite3_file *, int flags) |
static int | vfstraceFileSize (sqlite3_file *, sqlite3_int64 *pSize) |
static int | vfstraceLock (sqlite3_file *, int) |
static int | vfstraceUnlock (sqlite3_file *, int) |
static int | vfstraceCheckReservedLock (sqlite3_file *, int *) |
static int | vfstraceFileControl (sqlite3_file *, int op, void *pArg) |
static int | vfstraceSectorSize (sqlite3_file *) |
static int | vfstraceDeviceCharacteristics (sqlite3_file *) |
static int | vfstraceShmLock (sqlite3_file *, int, int, int) |
static int | vfstraceShmMap (sqlite3_file *, int, int, int, void volatile **) |
static void | vfstraceShmBarrier (sqlite3_file *) |
static int | vfstraceShmUnmap (sqlite3_file *, int) |
static int | vfstraceOpen (sqlite3_vfs *, const char *, sqlite3_file *, int, int *) |
static int | vfstraceDelete (sqlite3_vfs *, const char *zName, int syncDir) |
static int | vfstraceAccess (sqlite3_vfs *, const char *zName, int flags, int *) |
static int | vfstraceFullPathname (sqlite3_vfs *, const char *zName, int, char *) |
static void * | vfstraceDlOpen (sqlite3_vfs *, const char *zFilename) |
static void | vfstraceDlError (sqlite3_vfs *, int nByte, char *zErrMsg) |
static void | vfstraceDlClose (sqlite3_vfs *, void *) |
static int | vfstraceRandomness (sqlite3_vfs *, int nByte, char *zOut) |
static int | vfstraceSleep (sqlite3_vfs *, int microseconds) |
static int | vfstraceCurrentTime (sqlite3_vfs *, double *) |
static int | vfstraceGetLastError (sqlite3_vfs *, int, char *) |
static int | vfstraceCurrentTimeInt64 (sqlite3_vfs *, sqlite3_int64 *) |
static int | vfstraceSetSystemCall (sqlite3_vfs *, const char *, sqlite3_syscall_ptr) |
static sqlite3_syscall_ptr | vfstraceGetSystemCall (sqlite3_vfs *, const char *) |
static const char * | vfstraceNextSystemCall (sqlite3_vfs *, const char *zName) |
static const char * | fileTail (const char *z) |
static void | vfstrace_printf (vfstrace_info *pInfo, const char *zFormat,...) |
static const char * | vfstrace_errcode_name (int rc) |
static void | vfstrace_print_errcode (vfstrace_info *pInfo, const char *zFormat, int rc) |
static void | strappend (char *z, int *pI, const char *zAppend) |
static void | vfstraceOnOff (vfstrace_info *pInfo, unsigned int mMask) |
static const char * | lockName (int eLock) |
static int | vfstraceFetch (sqlite3_file *pFile, i64 iOff, int nAmt, void **pptr) |
static int | vfstraceUnfetch (sqlite3_file *pFile, i64 iOff, void *ptr) |
int | vfstrace_register (const char *zTraceName, const char *zOldVfsName, int(*xOut)(const char *, void *), void *pOutArg, int makeDefault) |
void | vfstrace_unregister (const char *zTraceName) |
static void | shellLog (void *pArg, int iErrCode, const char *zMsg) |
static void | shellPutsFunc (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static void | failIfSafeMode (ShellState *p, const char *zErrMsg,...) |
static void | editFunc (sqlite3_context *context, int argc, sqlite3_value **argv) |
static void | outputModePush (ShellState *p) |
static void | outputModePop (ShellState *p) |
static void | setCrlfMode (ShellState *p) |
static void | output_hex_blob (FILE *out, const void *pBlob, int nBlob) |
static void | output_quoted_string (ShellState *p, const char *zInX) |
static void | output_quoted_escaped_string (ShellState *p, const char *z) |
static const char * | anyOfInStr (const char *s, const char *zAny, size_t ns) |
const char * | zSkipValidUtf8 (const char *z, int nAccept, long ccm) |
static void | output_c_string (FILE *out, const char *z) |
static void | output_json_string (FILE *out, const char *z, i64 n) |
static const char * | escapeOutput (ShellState *p, const char *zInX, char **ppFree) |
static void | output_html_string (FILE *out, const char *z) |
static void | output_csv (ShellState *p, const char *z, int bSep) |
static void | interrupt_handler (int NotUsed) |
static int | safeModeAuth (void *pClientData, int op, const char *zA1, const char *zA2, const char *zA3, const char *zA4) |
static int | shellAuth (void *pClientData, int op, const char *zA1, const char *zA2, const char *zA3, const char *zA4) |
static void | printSchemaLine (FILE *out, const char *z, const char *zTail) |
static void | printSchemaLineN (FILE *out, char *z, int n, const char *zTail) |
static int | wsToEol (const char *z) |
static void | eqp_append (ShellState *p, int iEqpId, int p2, const char *zText) |
static void | eqp_reset (ShellState *p) |
static EQPGraphRow * | eqp_next_row (ShellState *p, int iEqpId, EQPGraphRow *pOld) |
static void | eqp_render_level (ShellState *p, int iEqpId) |
static void | eqp_render (ShellState *p, i64 nCycle) |
static int | progress_handler (void *pClientData) |
static void | print_dashes (FILE *out, int N) |
static void | print_row_separator (ShellState *p, int nArg, const char *zSep) |
static int | shell_callback (void *pArg, int nArg, char **azArg, char **azCol, int *aiType) |
static int | callback (void *pArg, int nArg, char **azArg, char **azCol) |
static int | captureOutputCallback (void *pArg, int nArg, char **azArg, char **az) |
static void | createSelftestTable (ShellState *p) |
static void | set_table_name (ShellState *p, const char *zName) |
static char * | shell_error_context (const char *zSql, sqlite3 *db) |
static int | run_table_dump_query (ShellState *p, const char *zSelect) |
static char * | save_err_msg (sqlite3 *db, const char *zPhase, int rc, const char *zSql) |
static void | displayStatLine (FILE *out, char *zLabel, char *zFormat, int iStatusCtrl, int bReset) |
static int | display_stats (sqlite3 *db, ShellState *pArg, int bReset) |
static int | str_in_array (const char *zStr, const char **azArray) |
static void | explain_data_prepare (ShellState *p, sqlite3_stmt *pSql) |
static void | explain_data_delete (ShellState *p) |
static void | exec_prepared_stmt (ShellState *, sqlite3_stmt *) |
static void | display_scanstats (sqlite3 *db, ShellState *pArg) |
static void | disable_debug_trace_modes (void) |
static void | restore_debug_trace_modes (void) |
static void | bind_table_init (ShellState *p) |
static void | bind_prepared_stmt (ShellState *pArg, sqlite3_stmt *pStmt) |
static void | print_box_line (FILE *out, int N) |
static void | print_box_row_separator (ShellState *p, int nArg, const char *zSep1, const char *zSep2, const char *zSep3) |
static char * | translateForDisplayAndDup (ShellState *p, const unsigned char *z, const unsigned char **pzTail, int mxWidth, u8 bWordWrap) |
static int | needUnistr (const unsigned char *z) |
static char * | quoted_column (sqlite3_stmt *pStmt, int i) |
static void | exec_prepared_stmt_columnar (ShellState *p, sqlite3_stmt *pStmt) |
static int | expertHandleSQL (ShellState *pState, const char *zSql, char **pzErr) |
static int | expertFinish (ShellState *pState, int bCancel, char **pzErr) |
static int | expertDotCommand (ShellState *pState, char **azArg, int nArg) |
static int | shell_exec (ShellState *pArg, const char *zSql, char **pzErrMsg) |
static void | freeColumnList (char **azCol) |
static char ** | tableColumnList (ShellState *p, const char *zTab) |
static void | toggleSelectOrder (sqlite3 *db) |
static int | dump_callback (void *pArg, int nArg, char **azArg, char **azNotUsed) |
static int | run_schema_dump_query (ShellState *p, const char *zQuery) |
static int | showHelp (FILE *out, const char *zPattern) |
static int | process_input (ShellState *p) |
static char * | readFile (const char *zName, int *pnByte) |
int | deduceDatabaseType (const char *zName, int dfltZip) |
static unsigned char * | readHexDb (ShellState *p, int *pnData) |
static void | shellUSleepFunc (sqlite3_context *context, int argcUnused, sqlite3_value **argv) |
static void | shellModuleSchema (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static void | open_db (ShellState *p, int openFlags) |
void | close_db (sqlite3 *db) |
static void | resolve_backslashes (char *z) |
static int | booleanValue (const char *zArg) |
static void | setOrClearFlag (ShellState *p, unsigned mFlag, const char *zArg) |
static void | output_file_close (FILE *f) |
static FILE * | output_file_open (const char *zFile) |
static int | sql_trace_callback (unsigned mType, void *pArg, void *pP, void *pX) |
static void | test_breakpoint (void) |
static void | import_cleanup (ImportCtx *p) |
static void | import_append_char (ImportCtx *p, int c) |
static char * | csv_read_one_field (ImportCtx *p) |
static char * | ascii_read_one_field (ImportCtx *p) |
static void | tryToCloneData (ShellState *p, sqlite3 *newDb, const char *zTable) |
static void | tryToCloneSchema (ShellState *p, sqlite3 *newDb, const char *zWhere, void(*xForEach)(ShellState *, sqlite3 *, const char *)) |
static void | tryToClone (ShellState *p, const char *zNewDb) |
static void | output_redir (ShellState *p, FILE *pfNew) |
static void | output_reset (ShellState *p) |
static int | db_int (sqlite3 *db, const char *zSql,...) |
static int | shell_dbtotxt_command (ShellState *p, int nArg, char **azArg) |
static void | shellEmitError (const char *zErr) |
static int | shellDatabaseError (sqlite3 *db) |
static int | testcase_glob (const char *zGlob, const char *z) |
static int | optionMatch (const char *zStr, const char *zOpt) |
int | shellDeleteFile (const char *zFilename) |
static void | clearTempFile (ShellState *p) |
static void | newTempFile (ShellState *p, const char *zSuffix) |
static void | shellFkeyCollateClause (sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
static int | lintFkeyIndexes (ShellState *pState, char **azArg, int nArg) |
static int | lintDotCommand (ShellState *pState, char **azArg, int nArg) |
static void | shellPrepare (sqlite3 *db, int *pRc, const char *zSql, sqlite3_stmt **ppStmt) |
static void | shellPreparePrintf (sqlite3 *db, int *pRc, sqlite3_stmt **ppStmt, const char *zFmt,...) |
static void | shellFinalize (int *pRc, sqlite3_stmt *pStmt) |
void | shellReset (int *pRc, sqlite3_stmt *pStmt) |
static int | intckDatabaseCmd (ShellState *pState, i64 nStepPerUnlock) |
static void | rc_err_oom_die (int rc) |
static char * | zAutoColumn (const char *zColNew, sqlite3 **pDb, char **pzRenamed) |
static int | outputDumpWarning (ShellState *p, const char *zLike) |
static int | faultsim_callback (int iArg) |
static int | do_meta_command (char *zLine, ShellState *p) |
static QuickScanState | quickscan (char *zLine, QuickScanState qss, t_DynaPromptRef pst) |
static int | line_is_command_terminator (char *zLine) |
static int | line_is_complete (char *zSql, int nSql) |
static int | doAutoDetectRestore (ShellState *p, const char *zSql) |
static int | runOneSqlLine (ShellState *p, char *zSql, FILE *in, int startline) |
static void | echo_group_input (ShellState *p, const char *zDo) |
static char * | find_home_dir (int clearFlag) |
static char * | find_xdg_config (void) |
static void | process_sqliterc (ShellState *p, const char *sqliterc_override) |
static void | usage (int showDetail) |
static void | verify_uninitialized (void) |
static void | main_init (ShellState *data) |
static void | printBold (const char *zText) |
static char * | cmdline_option_value (int argc, char **argv, int i) |
static void | sayAbnormalExit (void) |
static int | vfstraceOut (const char *z, void *pArg) |
int | main (int argc, char **argv) |
Variables | |
static int | enableTimer = 0 |
static struct rusage | sBegin |
static sqlite3_int64 | iBegin |
static int | bail_on_error = 0 |
static int | stdin_is_interactive = 1 |
static int | stdout_is_console = 1 |
static sqlite3 * | globalDb = 0 |
static volatile int | seenInterrupt = 0 |
static char * | Argv0 |
static char | mainPrompt [128] |
static char | continuePrompt [128] |
static struct DynaPrompt | dynPrompt = { {0}, {0}, 0, 0 } |
struct { | |
unsigned char | w |
int | iFirst |
} | aUWidth [] |
static sqlite3_mem_methods | memtraceBase |
static FILE * | memtraceOut |
static sqlite3_mem_methods | ersaztMethods |
static sqlite3_pcache_methods2 | pcacheBase |
static FILE * | pcachetraceOut |
static sqlite3_pcache_methods2 | ersaztPcacheMethods |
static const PercentileFunc | aPercentFunc [] |
static const u8 | b64DigitValues [128] |
static const char | b64Numerals [64+1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" |
static u8 | b85_cOffset [] = { 0, '#', 0, '*'-4, 0 } |
static sqlite3_module | seriesModule |
static sqlite3_module | completionModule |
static void(*)(void) | apndDlSym (sqlite3_vfs *pVfs, void *p, const char *zSym) |
static sqlite3_vfs | apnd_vfs |
static const sqlite3_io_methods | apnd_io_methods |
static const char | apvfsSqliteHdr [] = "SQLite format 3" |
static void(*)(void) | vfstraceDlSym (sqlite3_vfs *, void *, const char *zSymbol) |
static const char * | shell_EscModeNames [] = { "ascii", "symbol", "off" } |
static const char * | modeDescr [] |
static const char | needCsvQuote [] |
static unsigned int | savedSelectTrace |
static unsigned int | savedWhereTrace |
static const char * | azHelp [] |
static const char * | zCOL_DB = ":memory:" |
struct { | |
int | iId |
int | iErr |
int | iCnt |
int | iInterval |
int | eVerbose |
int | nHit |
int | nRepeat |
int | nSkip |
} | faultsim_state = {-1, 0, 0, 0, 0, 0, 0, 0} |
static const char | zOptions [] |
struct DynaPrompt |
struct SHA3Context |
Data Fields | ||
---|---|---|
unsigned | iSize | |
unsigned | ixMask | |
unsigned | nLoaded | |
unsigned | nRate | |
union SHA3Context.u | u |
struct Decimal |
struct Percentile |
struct SequenceSpec |
Data Fields | ||
---|---|---|
sqlite3_int64 | iBase | |
sqlite3_int64 | iOBase | |
sqlite3_int64 | iOTerm | |
u8 | isNotEOF | |
u8 | isReversing | |
sqlite3_int64 | iStep | |
sqlite3_int64 | iTerm | |
sqlite3_int64 | iValueNow | |
sqlite3_uint64 | uSeqIndexMax | |
sqlite3_uint64 | uSeqIndexNow |
struct series_cursor |
struct ReStateSet |
Data Fields | ||
---|---|---|
ReStateNumber * | aState | |
unsigned | nState |
struct ReCompiled |
struct fsdir_cursor |
Data Fields | ||
---|---|---|
FsdirLevel * | aLvl | |
sqlite3_vtab_cursor | base | |
int | iLvl | |
sqlite3_int64 | iRowid | |
int | nBase | |
int | nLvl | |
struct stat | sStat | |
const char * | zBase | |
char * | zPath |
struct fsdir_tab |
struct completion_vtab |
struct completion_cursor |
Data Fields | ||
---|---|---|
sqlite3_vtab_cursor | base | |
sqlite3 * | db | |
int | ePhase | |
sqlite3_int64 | iRowid | |
int | j | |
int | nLine | |
int | nPrefix | |
sqlite3_stmt * | pStmt | |
int | szRow | |
const char * | zCurrentRow | |
char * | zLine | |
char * | zPrefix |
struct ApndFile |
Data Fields | ||
---|---|---|
sqlite3_file | base | |
sqlite3_int64 | iMark | |
sqlite3_int64 | iPgOne |
struct IdxConstraint |
Data Fields | ||
---|---|---|
int | bDesc | |
int | bFlag | |
int | bRange | |
int | iCol | |
IdxConstraint * | pLink | |
IdxConstraint * | pNext | |
char * | zColl |
struct IdxScan |
Data Fields | ||
---|---|---|
i64 | covering | |
int | iDb | |
IdxConstraint * | pEq | |
IdxScan * | pNextScan | |
IdxConstraint * | pOrder | |
IdxConstraint * | pRange | |
IdxTable * | pTab |
struct IdxTable |
struct IdxWrite |
struct IdxStatement |
Data Fields | ||
---|---|---|
int | iId | |
IdxStatement * | pNext | |
char * | zEQP | |
char * | zIdx | |
char * | zSql |
struct IdxHashEntry |
Data Fields | ||
---|---|---|
IdxHashEntry * | pHashNext | |
IdxHashEntry * | pNext | |
char * | zKey | |
char * | zVal | |
char * | zVal2 |
struct IdxHash |
struct sqlite3expert |
struct ExpertVtab |
Data Fields | ||
---|---|---|
sqlite3_vtab | base | |
sqlite3expert * | pExpert | |
IdxTable * | pTab |
struct ExpertCsr |
struct IdxRemCtx |
struct IdxRemCtx::IdxRemSlot |
Data Fields | ||
---|---|---|
int | eType | |
i64 | iVal | |
int | n | |
int | nByte | |
double | rVal | |
char * | z |
struct sqlite3_intck |
Data Fields | ||
---|---|---|
int | bCorruptSchema | |
sqlite3 * | db | |
int | nKeyVal | |
sqlite3_stmt * | pCheck | |
int | rc | |
const char * | zDb | |
char * | zErr | |
char * | zKey | |
char * | zMessage | |
char * | zObj | |
char * | zTestSql |
struct vfstrace_info |
Data Fields | ||
---|---|---|
u8 | bOn | |
unsigned int | mTrace | |
void * | pOutArg | |
sqlite3_vfs * | pRootVfs | |
sqlite3_vfs * | pTraceVfs | |
int(*)(const char *, void *) | xOut | |
const char * | zVfsName |
struct vfstrace_file |
Data Fields | ||
---|---|---|
sqlite3_file | base | |
vfstrace_info * | pInfo | |
sqlite3_file * | pReal | |
const char * | zFName |
struct ExpertInfo |
struct EQPGraphRow |
Data Fields | ||
---|---|---|
int | iEqpId | |
int | iParentId | |
EQPGraphRow * | pNext | |
char | zText[1] |
struct EQPGraph |
Data Fields | ||
---|---|---|
EQPGraphRow * | pLast | |
EQPGraphRow * | pRow | |
char | zPrefix[100] |
struct ShellState |
Data Fields | ||
---|---|---|
struct AuxDb | aAuxDb[5] | |
int * | actualWidth | |
int * | aiIndent | |
u8 | autoEQP | |
u8 | autoEQPtest | |
u8 | autoEQPtrace | |
u8 | autoExplain | |
u8 | bSafeMode | |
u8 | bSafeModePersist | |
int | cMode | |
ColModeOpts | cmOpts | |
int | cnt | |
char | colSeparator[20] | |
char | colSepPrior[20] | |
int * | colWidth | |
u8 | crlfMode | |
sqlite3 * | db | |
u8 | doXdgOpen | |
u8 | eEscMode | |
u8 | eRestoreState | |
u8 | eTraceType | |
ExpertInfo | expert | |
unsigned | flgProgress | |
int | iIndent | |
FILE * | in | |
int | inputNesting | |
int | lineno | |
unsigned | mEqpLines | |
int | mode | |
int | modePrior | |
unsigned | mxProgress | |
int | nCheck | |
u8 | nEqpLevel | |
int | nErr | |
int | nIndent | |
int | normalMode | |
unsigned | nProgress | |
char | nullValue[20] | |
int | nWidth | |
int | openFlags | |
u8 | openMode | |
FILE * | out | |
int | outCount | |
char | outfile[FILENAME_MAX] | |
struct AuxDb * | pAuxDb[5] | |
FILE * | pLog | |
unsigned | priorShFlgs | |
sqlite3_stmt * | pStmt | |
char | rowSeparator[20] | |
char | rowSepPrior[20] | |
u8 | scanstatsOn | |
EQPGraph | sGraph | |
unsigned | shellFlgs | |
int | showHeader | |
unsigned | statsOn | |
sqlite3_int64 | szMax | |
FILE * | traceOut | |
int | writableSchema | |
char * | zDestTable | |
char * | zNonce | |
char * | zTempFile | |
char | zTestcase[30] |
struct ShellState::AuxDb |
Data Fields | ||
---|---|---|
sqlite3 * | db | |
const char * | zDbFilename | |
char * | zFreeOnClose |
struct ImportCtx |
union SHA3Context.u |
Data Fields | ||
---|---|---|
u64 | s[25] | |
unsigned char | x[1600] |
#define _FILE_OFFSET_BITS 64 |
#define _LARGE_FILE 1 |
#define _LARGEFILE_SOURCE 1 |
#define _SQLITE3_STDIO_H_ 1 |
#define _SQLITE_INTCK_H |
#define a qq[0] |
Referenced by accessPayload(), apndGetLastError(), apndReadMark(), apndWriteMark(), cli_strcmp(), cli_strncmp(), convertCompoundSelectToSubquery(), decimal_result_sci(), decimalFromDouble(), exprINAffinity(), ieee754func(), ieee754func_to_blob(), jsonBlobAppendNode(), lsModeFunc(), main(), noopValueFunc(), parserSyntaxError(), pcacheSortDirtyList(), percentSameValue(), percentSort(), percentStep(), quoted_column(), readHexDb(), selectExpander(), SHA1Transform(), sqlite3DefaultRowEst(), sqlite3GetVarint(), sqlite3LogEstAdd(), sqlite3PagerClose(), sqlite3StrIHash(), sqlite3SubqueryColumnTypes(), utf8_width_print(), vfstraceFileControl(), walChecksumBytes(), and whereRangeScanEst().
#define a00 (p->u.s[0]) |
Referenced by KeccakF1600Step().
#define a01 (p->u.s[1]) |
Referenced by KeccakF1600Step().
#define a02 (p->u.s[2]) |
Referenced by KeccakF1600Step().
#define a03 (p->u.s[3]) |
Referenced by KeccakF1600Step().
#define a04 (p->u.s[4]) |
Referenced by KeccakF1600Step().
#define a10 (p->u.s[5]) |
Referenced by KeccakF1600Step().
#define a11 (p->u.s[6]) |
Referenced by KeccakF1600Step().
#define a12 (p->u.s[7]) |
Referenced by KeccakF1600Step().
#define a13 (p->u.s[8]) |
Referenced by KeccakF1600Step().
#define a14 (p->u.s[9]) |
Referenced by KeccakF1600Step().
#define a20 (p->u.s[10]) |
Referenced by KeccakF1600Step().
#define a21 (p->u.s[11]) |
Referenced by KeccakF1600Step().
#define a22 (p->u.s[12]) |
Referenced by KeccakF1600Step().
#define a23 (p->u.s[13]) |
Referenced by KeccakF1600Step().
#define a24 (p->u.s[14]) |
Referenced by KeccakF1600Step().
#define a30 (p->u.s[15]) |
Referenced by KeccakF1600Step().
#define a31 (p->u.s[16]) |
Referenced by KeccakF1600Step().
#define a32 (p->u.s[17]) |
Referenced by KeccakF1600Step().
#define a33 (p->u.s[18]) |
Referenced by KeccakF1600Step().
#define a34 (p->u.s[19]) |
Referenced by KeccakF1600Step().
#define a40 (p->u.s[20]) |
Referenced by KeccakF1600Step().
#define a41 (p->u.s[21]) |
Referenced by KeccakF1600Step().
#define a42 (p->u.s[22]) |
Referenced by KeccakF1600Step().
#define a43 (p->u.s[23]) |
Referenced by KeccakF1600Step().
#define a44 (p->u.s[24]) |
Referenced by KeccakF1600Step().
#define ALWAYS | ( | X | ) |
Referenced by exprAnalyze(), idxCreateVtabSchema(), idxGetTableInfo(), impliesNotNullRow(), jsonArgIsJsonb(), lookupName(), renameColumnElistNames(), renameColumnExprCb(), resolveFromTermToCte(), selectExpander(), sqlite3ColumnsFromExprList(), sqlite3ExpandReturning(), sqlite3ExprCanBeNull(), sqlite3ExprCodeTarget(), sqlite3ExprCompare(), sqlite3ExprListAppendVector(), sqlite3Pragma(), sqlite3Select(), sqlite3SrcListShiftJoinType(), sqlite3VdbeEnter(), sqlite3VdbeLeave(), sqlite3WalUndo(), sqlite3WindowRewrite(), vdbePmaWriterFinish(), whereCheckIfBloomFilterIsUseful(), whereLoopAddBtreeIndex(), whereRangeScanEst(), and xferOptimization().
#define APND_ALIGN_MASK ((sqlite3_int64)(APND_ROUNDUP-1)) |
#define APND_MARK_FOS_SZ 8 |
Referenced by apndReadMark(), and apndWriteMark().
#define APND_MARK_PREFIX "Start-Of-SQLite3-" |
Referenced by apndReadMark(), and apndWriteMark().
#define APND_MARK_PREFIX_SZ 17 |
Referenced by apndReadMark(), and apndWriteMark().
#define APND_MARK_SIZE (APND_MARK_PREFIX_SZ+APND_MARK_FOS_SZ) |
Referenced by apndIsAppendvfsDatabase(), apndOpen(), apndReadMark(), apndTruncate(), and apndWriteMark().
#define APND_MAX_SIZE (0x40000000) |
Referenced by apndWrite().
#define APND_ROUNDUP 4096 |
#define APND_START_ROUNDUP | ( | fsz | ) |
Referenced by apndOpen().
#define ArraySize | ( | X | ) |
Referenced by createMask(), createTableStmt(), do_meta_command(), insertCell(), insertCellFast(), integerValue(), main(), printSchemaLine(), safeModeAuth(), shell_callback(), shellAddSchemaName(), showHelp(), and whereShortCut().
#define AUTOCOLUMN_SEP "_" |
Referenced by zAutoColumn().
#define AUTOEQP_full 3 /* Show full EXPLAIN */ |
Referenced by do_meta_command(), main(), and shell_exec().
#define AUTOEQP_off 0 /* Automatic EXPLAIN QUERY PLAN is off */ |
#define AUTOEQP_on 1 /* Automatic EQP is on */ |
Referenced by do_meta_command(), and main().
#define AUTOEQP_trigger 2 /* On and also show plans for triggers */ |
Referenced by do_meta_command(), and shell_exec().
#define b qq[1] |
Referenced by apndGetLastError(), balance_nonroot(), balance_quick(), cli_strcmp(), cli_strncmp(), exprAnalyzeOrTerm(), main(), parserSyntaxError(), percentSameValue(), SHA1Transform(), sqlite3BtreeCopyFile(), sqlite3BtreeSecureDelete(), sqlite3GetVarint(), sqlite3LogEstAdd(), sqlite3Pragma(), sqlite3StrIHash(), sqlite3WhereBegin(), and whereLoopAddBtree().
#define B64_DARK_MAX 72 |
Referenced by base64(), and toBase64().
#define B85_DARK_MAX 80 |
Referenced by toBase85().
#define B85_DNOS | ( | c | ) |
Referenced by fromBase85().
#define BASE64_EXPOSE | ( | db, | |
pzErr ) |
#define BASE64_INIT | ( | db | ) |
#define BASE85_EXPOSE | ( | db, | |
pzErr ) |
#define BASE85_INIT | ( | db | ) |
#define base85Numeral | ( | dn | ) |
Referenced by toBase85().
#define BEGIN_TIMER beginTimer() |
Referenced by runOneSqlLine().
#define blk | ( | i | ) |
#define blk0be | ( | i | ) |
#define blk0le | ( | i | ) |
#define BOX_12 "\342\224\224" /* U+2514 '- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_123 "\342\224\234" /* U+251c |- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_1234 "\342\224\274" /* U+253c -|- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_124 "\342\224\264" /* U+2534 -'- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_13 "\342\224\202" /* U+2502 | */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_134 "\342\224\244" /* U+2524 -| */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_14 "\342\224\230" /* U+2518 -' */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_23 "\342\224\214" /* U+250c ,- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_234 "\342\224\254" /* U+252c -,- */ |
Referenced by exec_prepared_stmt_columnar().
#define BOX_24 "\342\224\200" /* U+2500 --- */ |
Referenced by print_box_line().
#define BOX_34 "\342\224\220" /* U+2510 -, */ |
Referenced by exec_prepared_stmt_columnar().
#define BX_DV_PROTO | ( | c | ) |
Referenced by fromBase64(), and skipNonB64().
#define BX_NUMERAL | ( | dv | ) |
Referenced by toBase64().
#define c qq[2] |
Referenced by ascii_read_one_field(), charFunc(), cli_wcwidth(), codeInteger(), compare2pow63(), csv_read_one_field(), decimalNewFromText(), decodeIntArray(), dekkerMul2(), do_meta_command(), escapeOutput(), exprAnalyze(), fromBase64(), fromBase85(), getToken(), hexDigitValue(), import_append_char(), indexCellCompare(), intckGetToken(), intckIsSpace(), isLikeOrGlob(), journalHdrOffset(), json5Whitespace(), jsonAppendChar(), jsonAppendControlChar(), jsonAppendString(), jsonArgIsJsonb(), jsonBlobAppendOneByte(), jsonbValidityCheck(), jsonGroupInverse(), jsonReturnFromBlob(), jsonTranslateTextToBlob(), needUnistr(), output_c_string(), output_json_string(), output_quoted_string(), pager_delsuper(), parseTimezone(), patternCompare(), putcs(), re_digit_char(), re_esc_char(), re_hex(), re_next_char(), re_next_char_nocase(), re_space_char(), re_subcompile_string(), re_word_char(), resolve_backslashes(), setLexemeOpen(), SHA1Transform(), shell_callback(), shell_dbtotxt_command(), skipNonB64(), skipNonB85(), sqlite3_complete(), sqlite3_str_vappendf(), sqlite3Atoi64(), sqlite3BlobCompare(), sqlite3BtreeIndexMoveto(), sqlite3BtreeTableMoveto(), sqlite3GetInt32(), sqlite3LoadExtension(), sqlite3ParseUri(), sqlite3re_match(), sqlite3Utf16ByteLen(), sqlite3Utf8Read(), sqlite3Utf8ReadLimited(), sqlite3VdbeMemTranslate(), sqlite3VdbeMultiLoad(), sqlite3VdbeReset(), strftimeFunc(), testcase_glob(), translateForDisplayAndDup(), unhexFunc(), utf8_width_print(), and zSkipValidUtf8().
#define CHAR_BIT 8 |
#define ColModeOpts_default { 60, 0, 0 } |
Referenced by do_meta_command().
#define ColModeOpts_default_qbox { 60, 1, 0 } |
Referenced by do_meta_command().
#define COMPLETION_COLLATIONS 4 |
#define COMPLETION_COLUMN_CANDIDATE 0 /* Suggested completion of the input */ |
Referenced by completionColumn().
#define COMPLETION_COLUMN_PHASE 3 /* ePhase - used for debugging only */ |
Referenced by completionColumn().
#define COMPLETION_COLUMN_PREFIX 1 /* Prefix of the word to be completed */ |
Referenced by completionBestIndex(), and completionColumn().
#define COMPLETION_COLUMN_WHOLELINE 2 /* Entire line seen so far */ |
Referenced by completionBestIndex(), and completionColumn().
#define COMPLETION_COLUMNS 9 |
Referenced by completionNext().
#define COMPLETION_DATABASES 7 |
Referenced by completionNext().
#define COMPLETION_EOF 11 |
Referenced by completionEof(), and completionNext().
#define COMPLETION_FIRST_PHASE 1 |
Referenced by completionFilter().
#define COMPLETION_FUNCTIONS 3 |
#define COMPLETION_INDEXES 5 |
#define COMPLETION_KEYWORDS 1 |
Referenced by completionNext().
#define COMPLETION_MODULES 10 |
#define COMPLETION_PRAGMAS 2 |
#define COMPLETION_TABLES 8 /* Also VIEWs and TRIGGERs */ |
Referenced by completionNext().
#define COMPLETION_TRIGGERS 6 |
#define CONTINUATION_PROMPT dynamicContinuePrompt() |
Referenced by one_input_line().
#define CONTINUE_PAREN_INCR | ( | p, | |
n ) |
Referenced by quickscan().
#define CONTINUE_PROMPT_AWAITC | ( | p, | |
c ) |
Referenced by quickscan().
#define CONTINUE_PROMPT_AWAITS | ( | p, | |
s ) |
Referenced by quickscan().
#define CONTINUE_PROMPT_PSTATE (&dynPrompt) |
Referenced by process_input().
#define CONTINUE_PROMPT_RESET do {setLexemeOpen(&dynPrompt,0,0); trackParenLevel(&dynPrompt,0);} while(0) |
Referenced by process_input().
#define CTIMEOPT_VAL | ( | opt | ) |
Referenced by do_meta_command().
#define CTIMEOPT_VAL_ | ( | opt | ) |
#define d qq[3] |
Referenced by balance_nonroot(), jsonBlobEdit(), jsonBlobOverwrite(), seriesFilter(), SHA1Transform(), sqlite3AtoF(), sqlite3VdbeRecordUnpack(), and unhexFunc().
#define deliberate_fall_through |
Referenced by exprImpliesNotNull(), exprNodeIsConstant(), fkActionTrigger(), fromBase64(), impliesNotNullRow(), jsonTranslateTextToBlob(), jsonValidFunc(), quickscan(), resolveExprStep(), resolveP2Values(), sqlite3_str_vappendf(), sqlite3ExprCodeTarget(), sqlite3ExprIfFalse(), sqlite3ExprIfTrue(), and sqlite3GenerateConstraintChecks().
#define e qq[4] |
Referenced by checkColumnOverlap(), decimalFromDouble(), ieee754func(), SHA1Transform(), sqlite3AtoF(), sqlite3FpDecode(), and sqlite3LogEstToInt().
#define END_TIMER | ( | X | ) |
Referenced by runOneSqlLine().
#define eputz | ( | z | ) |
Referenced by do_meta_command(), main(), process_sqliterc(), shell_out_of_memory(), and usage().
#define EXPERT_CONFIG_SAMPLE 1 /* int */ |
Referenced by expertDotCommand(), and sqlite3_expert_config().
#define EXPERT_REPORT_CANDIDATES 4 |
Referenced by expertFinish(), and sqlite3_expert_report().
#define EXPERT_REPORT_INDEXES 2 |
Referenced by expertFinish(), and sqlite3_expert_report().
#define EXPERT_REPORT_PLAN 3 |
Referenced by expertFinish(), and sqlite3_expert_report().
#define EXPERT_REPORT_SQL 1 |
Referenced by expertFinish(), and sqlite3_expert_report().
#define FSDIR_COLUMN_DATA 3 /* File content */ |
Referenced by fsdirColumn().
#define FSDIR_COLUMN_DIR 5 /* Path is relative to this directory */ |
Referenced by fsdirBestIndex().
#define FSDIR_COLUMN_MODE 1 /* Access mode */ |
Referenced by fsdirColumn().
#define FSDIR_COLUMN_MTIME 2 /* Last modification time */ |
Referenced by fsdirColumn().
#define FSDIR_COLUMN_NAME 0 /* Name of the file */ |
Referenced by fsdirColumn().
#define FSDIR_COLUMN_PATH 4 /* Path to top of search */ |
Referenced by fsdirBestIndex(), and fsdirColumn().
#define FSDIR_SCHEMA "(name,mode,mtime,data,path HIDDEN,dir HIDDEN)" |
Referenced by fsdirConnect().
#define GETPID getpid |
Referenced by main().
#define HAS_TIMER 1 |
Referenced by do_meta_command().
#define IDX_HASH_SIZE 1023 |
Referenced by idxHashClear(), and idxHashString().
#define IS_B85 | ( | c | ) |
Referenced by skipNonB85().
#define IS_BX_DIGIT | ( | bdp | ) |
Referenced by skipNonB64().
#define IsAlnum | ( | X | ) |
Referenced by completionFilter(), quoteChar(), shell_callback(), and translateForDisplayAndDup().
#define IsAlpha | ( | X | ) |
Referenced by quoteChar().
#define IsDigit | ( | X | ) |
Referenced by do_meta_command(), integerValue(), isNumber(), and testcase_glob().
#define IsSpace | ( | X | ) |
Referenced by decimalNewFromText(), do_meta_command(), line_is_command_terminator(), process_input(), quickscan(), shell_callback(), shell_error_context(), shell_exec(), testcase_glob(), translateForDisplayAndDup(), and wsToEol().
#define LARGEST_INT64 (0xffffffff|(((sqlite3_int64)0x7fffffff)<<32)) |
Referenced by randomFunc(), seriesFilter(), sqlite3AddInt64(), sqlite3Atoi64(), sqlite3BtreeIntegrityCheck(), sqlite3SubInt64(), and valueFromExpr().
#define LARGEST_UINT64 (0xffffffff|(((sqlite3_uint64)0xffffffff)<<32)) |
Referenced by sqlite3AtoF().
#define MAX_INPUT_NESTING 25 |
Referenced by process_input().
#define MODE_Ascii 10 /* Use ASCII unit and record separators (0x1F/0x1E) */ |
Referenced by do_meta_command(), main(), and shell_callback().
#define MODE_Box 16 /* Unicode box-drawing characters */ |
Referenced by do_meta_command(), exec_prepared_stmt(), exec_prepared_stmt_columnar(), and main().
#define MODE_Column 1 /* One record per line in neat columns */ |
Referenced by do_meta_command(), exec_prepared_stmt(), exec_prepared_stmt_columnar(), and main().
#define MODE_Count 17 /* Output only a count of the rows of output */ |
Referenced by do_meta_command(), exec_prepared_stmt(), and shell_callback().
#define MODE_Csv 8 /* Quote strings, numbers are plain */ |
Referenced by do_meta_command(), main(), and shell_callback().
#define MODE_EQP 12 /* Converts EXPLAIN QUERY PLAN output into a graph */ |
Referenced by shell_callback(), and shell_exec().
#define MODE_Explain 9 /* Like MODE_Column, but do not truncate data */ |
Referenced by do_meta_command(), shell_callback(), and shell_exec().
#define MODE_Html 4 /* Generate an XHTML table */ |
Referenced by do_meta_command(), main(), and shell_callback().
#define MODE_Insert 5 /* Generate SQL "insert" statements */ |
Referenced by do_meta_command(), dump_callback(), exec_prepared_stmt(), and shell_callback().
#define MODE_Json 13 /* Output JSON */ |
Referenced by do_meta_command(), exec_prepared_stmt(), main(), and shell_callback().
#define MODE_Line 0 /* One column per line. Blank line between records */ |
Referenced by do_meta_command(), main(), and shell_callback().
#define MODE_List 2 /* One record per line with a separator */ |
Referenced by do_meta_command(), main(), main_init(), and shell_callback().
#define MODE_Markdown 14 /* Markdown formatting */ |
Referenced by do_meta_command(), exec_prepared_stmt(), exec_prepared_stmt_columnar(), and main().
#define MODE_Off 18 /* No query output shown */ |
Referenced by do_meta_command(), and shell_callback().
#define MODE_Pretty 11 /* Pretty-print schemas */ |
Referenced by do_meta_command(), and shell_callback().
#define MODE_Quote 6 /* Quote values as for SQL */ |
Referenced by do_meta_command(), exec_prepared_stmt(), main(), and shell_callback().
#define MODE_ScanExp 19 /* Like MODE_Explain, but for ".scanstats vm" */ |
Referenced by display_scanstats(), and shell_callback().
#define MODE_Semi 3 /* Same as MODE_List but append ";" to each line */ |
Referenced by do_meta_command(), and shell_callback().
#define MODE_Table 15 /* MySQL-style table formatting */ |
Referenced by do_meta_command(), exec_prepared_stmt(), exec_prepared_stmt_columnar(), and main().
#define MODE_Tcl 7 /* Generate ANSI-C or TCL quoted elements */ |
Referenced by do_meta_command(), and shell_callback().
#define MODE_Www 20 /* Full web-page output */ |
Referenced by do_meta_command(), exec_prepared_stmt(), output_redir(), output_reset(), and shell_callback().
#define ND 0x82 /* Not above or digit-value */ |
Referenced by fromBase64().
#define NEVER | ( | X | ) |
Referenced by constraintCompatibleWithOuterJoin(), sqlite3ColumnSetExpr(), sqlite3ExprAddFunctionOrderBy(), sqlite3ExprCodeTarget(), whereOmitNoopJoin(), and whereReverseScanOrder().
#define OMIT_BASE85_CHECKER |
#define OPEN_DB_KEEPALIVE 0x001 /* Return after error if true */ |
Referenced by do_meta_command(), and open_db().
#define OPEN_DB_ZIPFILE 0x002 /* Open as ZIP if name matches *.zip */ |
#define ORIGFILE | ( | p | ) |
Referenced by apndCheckReservedLock(), apndClose(), apndDeviceCharacteristics(), apndFetch(), apndFileControl(), apndLock(), apndOpen(), apndRead(), apndSectorSize(), apndShmBarrier(), apndShmLock(), apndShmMap(), apndShmUnmap(), apndSync(), apndTruncate(), apndUnfetch(), apndUnlock(), apndWrite(), and apndWriteMark().
#define ORIGVFS | ( | p | ) |
Referenced by apndAccess(), apndCurrentTime(), apndCurrentTimeInt64(), apndDelete(), apndDlClose(), apndDlError(), apndDlOpen(), apndFullPathname(), apndGetLastError(), apndGetSystemCall(), apndNextSystemCall(), apndOpen(), apndRandomness(), apndSetSystemCall(), and apndSleep().
#define PAD_CHAR '=' |
Referenced by fromBase64(), and toBase64().
#define PC 0x80 /* pad character */ |
Referenced by fromBase64().
#define PROMPT_LEN_MAX 128 |
Referenced by dynamicContinuePrompt().
#define QSS_INPLAIN | ( | qss | ) |
Referenced by process_input().
#define QSS_PLAINDARK | ( | qss | ) |
#define QSS_PLAINWHITE | ( | qss | ) |
Referenced by process_input().
#define QSS_SEMITERM | ( | qss | ) |
Referenced by process_input().
#define QSS_SETV | ( | qss, | |
newst ) |
Referenced by quickscan().
#define R1 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define R2 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define R3 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define R4 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define Rb0 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define re_compile sqlite3re_compile |
Referenced by re_sql_func().
#define RE_EOF 0 /* End of input */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define re_free sqlite3re_free |
Referenced by re_sql_func(), and sqlite3re_compile().
#define re_match sqlite3re_match |
Referenced by re_sql_func().
#define RE_OP_ACCEPT 6 /* Halt and indicate a successful match */ |
Referenced by sqlite3re_compile(), and sqlite3re_match().
#define RE_OP_ANY 2 /* Match any one character. (Implements ".") */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_ANYSTAR 3 /* Special optimized version of .* */ |
Referenced by re_subcompile_string(), sqlite3re_compile(), and sqlite3re_match().
#define RE_OP_ATSTART 18 /* Currently at the start of the string */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_BOUNDARY 17 /* Boundary between word and non-word */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_CC_EXC 8 /* Beginning of a [^...] character class */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_CC_INC 7 /* Beginning of a [...] character class */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_CC_RANGE 10 /* Range of values in a character class */ |
Referenced by re_subcompile_string().
#define RE_OP_CC_VALUE 9 /* Single value in a character class */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_DIGIT 13 /* digit: [0-9] */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_FORK 4 /* Continue to both next and opcode at iArg */ |
Referenced by re_subcompile_re(), re_subcompile_string(), and sqlite3re_match().
#define RE_OP_GOTO 5 /* Jump to opcode at iArg */ |
Referenced by re_subcompile_re(), re_subcompile_string(), and sqlite3re_match().
#define RE_OP_MATCH 1 /* Match the one character in the argument */ |
Referenced by re_subcompile_string(), sqlite3re_compile(), and sqlite3re_match().
#define RE_OP_NOTDIGIT 14 /* Not a digit */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_NOTSPACE 16 /* Not a digit */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_NOTWORD 12 /* Not a perl word character */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_SPACE 15 /* space: [ \t\n\r\v\f] */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_OP_WORD 11 /* Perl word character [A-Za-z0-9_] */ |
Referenced by re_subcompile_string(), and sqlite3re_match().
#define RE_START 0xfffffff /* Start of input - larger than an UTF-8 */ |
Referenced by sqlite3re_match().
#define Rl0 | ( | v, | |
w, | |||
x, | |||
y, | |||
z, | |||
i ) |
Referenced by SHA1Transform().
#define rol | ( | x, | |
k ) |
#define ROL64 | ( | a, | |
x ) |
Referenced by KeccakF1600Step().
#define ror | ( | x, | |
k ) |
#define SCAN_TRACKER_REFTYPE t_DynaPromptRef |
Referenced by quickscan().
#define SEP_Column "|" |
Referenced by do_meta_command(), and main_init().
#define SEP_Comma "," |
Referenced by do_meta_command(), and main().
#define SEP_CrLf "\r\n" |
Referenced by do_meta_command().
#define SEP_Record "\x1E" |
Referenced by do_meta_command(), and main().
#define SEP_Row "\n" |
Referenced by do_meta_command(), main(), and main_init().
#define SEP_Space " " |
Referenced by do_meta_command().
#define SEP_Tab "\t" |
Referenced by do_meta_command(), and main().
#define SEP_Unit "\x1F" |
Referenced by do_meta_command(), and main().
#define SERIES_COLUMN_ROWID (-1) |
Referenced by seriesBestIndex().
#define SERIES_COLUMN_START 1 |
Referenced by seriesBestIndex(), and seriesColumn().
#define SERIES_COLUMN_STEP 3 |
Referenced by seriesBestIndex(), and seriesColumn().
#define SERIES_COLUMN_STOP 2 |
Referenced by seriesBestIndex(), and seriesColumn().
#define SERIES_COLUMN_VALUE 0 |
Referenced by seriesBestIndex().
#define session_close_all | ( | X, | |
Y ) |
Referenced by do_meta_command(), and main().
#define SHA3_BYTEORDER 0 |
#define SHA_ROT | ( | x, | |
l, | |||
r ) |
#define SHELL_ESC_ASCII 0 /* Substitute ^Y for X where Y=X+0x40 */ |
Referenced by escapeOutput(), and translateForDisplayAndDup().
#define SHELL_ESC_OFF 2 /* Send characters verbatim */ |
#define SHELL_ESC_SYMBOL 1 /* Substitute U+2400 graphics */ |
Referenced by escapeOutput(), and translateForDisplayAndDup().
#define SHELL_OPEN_APPENDVFS 2 /* Use appendvfs */ |
Referenced by deduceDatabaseType(), do_meta_command(), main(), and open_db().
#define SHELL_OPEN_DESERIALIZE 5 /* Open using sqlite3_deserialize() */ |
Referenced by do_meta_command(), main(), and open_db().
#define SHELL_OPEN_HEXDB 6 /* Use "dbtotxt" output as data source */ |
Referenced by do_meta_command(), and open_db().
#define SHELL_OPEN_NORMAL 1 /* Normal database file */ |
Referenced by deduceDatabaseType(), and open_db().
#define SHELL_OPEN_READONLY 4 /* Open a normal database read-only */ |
Referenced by do_meta_command(), main(), and open_db().
#define SHELL_OPEN_UNSPEC 0 /* No open-mode specified */ |
Referenced by deduceDatabaseType(), do_meta_command(), and open_db().
#define SHELL_OPEN_ZIPFILE 3 /* Use the zipfile virtual table */ |
Referenced by deduceDatabaseType(), do_meta_command(), main(), and open_db().
#define SHELL_PROGRESS_ONCE 0x04 /* Cancel the --limit after firing once */ |
Referenced by do_meta_command(), and progress_handler().
#define SHELL_PROGRESS_QUIET 0x01 /* Omit announcing every progress callback */ |
Referenced by do_meta_command(), and progress_handler().
#define SHELL_PROGRESS_RESET |
Referenced by do_meta_command(), progress_handler(), and runOneSqlLine().
#define shell_read_history | ( | X | ) |
Referenced by main().
#define shell_stifle_history | ( | X | ) |
Referenced by main().
#define SHELL_STRINGIFY | ( | f | ) |
#define SHELL_STRINGIFY_ | ( | f | ) |
#define SHELL_TRACE_EXPANDED 1 /* Show expanded SQL text */ |
Referenced by do_meta_command(), and sql_trace_callback().
#define SHELL_TRACE_NORMALIZED 2 /* Show normalized SQL text */ |
Referenced by do_meta_command(), and sql_trace_callback().
#define SHELL_TRACE_PLAIN 0 /* Show input SQL text */ |
Referenced by do_meta_command().
#define SHELL_USE_LOCAL_GETLINE 1 |
#define shell_write_history | ( | X | ) |
Referenced by main().
#define ShellClearFlag | ( | P, | |
X ) |
Referenced by do_meta_command(), and setOrClearFlag().
#define ShellHasFlag | ( | P, | |
X ) |
Referenced by do_meta_command(), open_db(), runOneSqlLine(), shell_callback(), and tableColumnList().
#define ShellSetFlag | ( | P, | |
X ) |
Referenced by do_meta_command(), main(), and setOrClearFlag().
#define SHFLG_Backslash 0x00000004 /* The --backslash option is used */ |
Referenced by main(), and runOneSqlLine().
#define SHFLG_CountChanges 0x00000020 /* .changes setting */ |
Referenced by do_meta_command(), and runOneSqlLine().
#define SHFLG_DumpDataOnly 0x00000100 /* .dump show data only */ |
Referenced by do_meta_command(), and dump_callback().
#define SHFLG_DumpNoSys 0x00000200 /* .dump omits system tables */ |
Referenced by do_meta_command(), and dump_callback().
#define SHFLG_Echo 0x00000040 /* .echo on/off, or --echo setting */ |
Referenced by do_meta_command(), and main().
#define SHFLG_HeaderSet 0x00000080 /* showHeader has been specified */ |
Referenced by do_meta_command(), and main().
#define SHFLG_Lookaside 0x00000002 /* Lookaside memory is used */ |
Referenced by display_stats(), main(), and main_init().
#define SHFLG_Newlines 0x00000010 /* .dump --newline flag */ |
Referenced by do_meta_command(), and shell_callback().
#define SHFLG_Pagecache 0x00000001 /* The --pagecache option is used */ |
Referenced by display_stats(), and main().
#define SHFLG_PreserveRowid 0x00000008 /* .dump preserves rowid values */ |
Referenced by do_meta_command(), and tableColumnList().
#define SHFLG_TestingMode 0x00000400 /* allow unsafe testing features */ |
Referenced by do_meta_command(), main(), and open_db().
#define SMALLEST_INT64 (((sqlite3_int64)-1) - LARGEST_INT64) |
Referenced by absFunc(), codeInteger(), jsonReturnFromBlob(), seriesFilter(), sqlite3_str_vappendf(), sqlite3Atoi64(), sqlite3Int64ToText(), and valueFromExpr().
#define sputz | ( | fp, | |
z ) |
Referenced by do_meta_command(), main(), one_input_line(), sql_trace_callback(), tryToCloneSchema(), and verify_uninitialized().
#define sqlite3_base_init sqlite3_base64_init |
Referenced by sqlite3_base64_init(), and sqlite3_base85_init().
#define sqlite3_base_init sqlite3_base85_init |
#define sqlite3_fgets fgets |
Referenced by local_getline(), main(), and readHexDb().
#define sqlite3_fopen fopen |
Referenced by deduceDatabaseType(), do_meta_command(), editFunc(), openChrSource(), output_file_open(), process_sqliterc(), readFile(), readFileContents(), readHexDb(), and writeFile().
#define sqlite3_fprintf fprintf |
Referenced by booleanValue(), close_db(), cmdline_option_value(), createSelftestTable(), csv_read_one_field(), display_stats(), displayStatLine(), do_meta_command(), dump_callback(), endTimer(), eqp_append(), eqp_render(), eqp_render_level(), exec_prepared_stmt_columnar(), expertDotCommand(), expertFinish(), failIfSafeMode(), faultsim_callback(), intckDatabaseCmd(), lintDotCommand(), lintFkeyIndexes(), main(), open_db(), output_c_string(), output_csv(), output_file_open(), output_hex_blob(), output_html_string(), output_json_string(), output_quoted_string(), output_reset(), print_box_line(), print_dashes(), printSchemaLine(), process_input(), process_sqliterc(), progress_handler(), readFile(), readHexDb(), run_schema_dump_query(), run_table_dump_query(), runOneSqlLine(), shell_callback(), shell_dbtotxt_command(), shellAuth(), shellEmitError(), shellFinalize(), shellLog(), shellPutsFunc(), shellReset(), showHelp(), sql_trace_callback(), tryToClone(), tryToCloneData(), tryToCloneSchema(), usage(), and utf8_width_print().
#define sqlite3_fputs fputs |
Referenced by do_meta_command(), dump_callback(), eqp_render(), exec_prepared_stmt(), exec_prepared_stmt_columnar(), expertFinish(), lintFkeyIndexes(), main(), open_db(), output_c_string(), output_csv(), output_html_string(), output_json_string(), output_quoted_escaped_string(), output_quoted_string(), output_redir(), output_reset(), outputDumpWarning(), print_box_line(), print_box_row_separator(), print_dashes(), print_row_separator(), process_input(), readFile(), readHexDb(), run_schema_dump_query(), run_table_dump_query(), shell_callback(), shellAuth(), and vfstraceOut().
#define sqlite3_fsetmode | ( | F, | |
X ) |
Referenced by output_quoted_escaped_string(), output_quoted_string(), setCrlfMode(), and shell_callback().
#define sqlite3_popen popen |
Referenced by do_meta_command().
#define SQLITE_EXTENSION_INIT1 |
#define SQLITE_EXTENSION_INIT2 | ( | X | ) |
Referenced by sqlite3_appendvfs_init(), sqlite3_base64_init(), sqlite3_base85_init(), sqlite3_completion_init(), sqlite3_decimal_init(), sqlite3_fileio_init(), sqlite3_ieee_init(), sqlite3_percentile_init(), sqlite3_regexp_init(), sqlite3_series_init(), sqlite3_sha_init(), sqlite3_shathree_init(), sqlite3_stmtrand_init(), and sqlite3_uint_init().
#define SQLITE_INTERNAL_LINKAGE static |
#define SQLITE_OS_WINRT 0 |
#define SQLITE_SERIES_CONSTRAINT_VERIFY 0 |
Referenced by seriesBestIndex().
#define SQLITE_SHELL_HAVE_RECOVER 0 |
#define SQLITE_SHELL_IS_UTF8 (1) |
#define SQLITEEXPERT_H 1 |
#define STAT_CHR_SRC | ( | mode | ) |
Referenced by openChrSource().
#define STMTRAND_KEY (-4418371) |
Referenced by stmtrandFunc().
#define STRLEN (int)strlen |
#define STRUCT_STAT struct stat |
Referenced by fileLinkStat(), fileStat(), makeDirectory(), and writeFile().
#define SWAP_DOUBLE | ( | X, | |
Y ) |
Referenced by percentSort().
#define ToLower | ( | X | ) |
Referenced by line_is_command_terminator().
#define U8_TYPEDEF |
#define UNIQUE_TABLE_NAME "t592690916721053953805701627921227776" |
Referenced by idxBuildSampleTable(), idxPopulateOneStat1(), idxPopulateStat1(), and idxProcessOneTrigger().
#define UNUSED_PARAMETER | ( | x | ) |
Referenced by captureOutputCallback(), decimalAddFunc(), decimalCmpFunc(), decimalCollFunc(), decimalFunc(), decimalMulFunc(), decimalPow2Func(), decimalSubFunc(), decimalSumInverse(), decimalSumStep(), display_scanstats(), dump_callback(), ieee754func_from_blob(), ieee754func_to_blob(), ieee754inc(), interrupt_handler(), safeModeAuth(), setCrlfMode(), shell_dbtotxt_command(), shellAddSchemaName(), shellModuleSchema(), and shellStrtod().
#define VTR_ACCESS 0x00040000 |
Referenced by vfstraceAccess(), and vfstraceFileControl().
#define VTR_CLOSE 0x00000001 |
Referenced by vfstraceClose(), and vfstraceFileControl().
#define VTR_CRL 0x00000100 |
Referenced by vfstraceCheckReservedLock(), and vfstraceFileControl().
#define VTR_CURTIME 0x04000000 |
Referenced by vfstraceCurrentTime(), vfstraceCurrentTimeInt64(), and vfstraceFileControl().
#define VTR_DELETE 0x00020000 |
Referenced by vfstraceDelete(), and vfstraceFileControl().
#define VTR_DEVCHAR 0x00000800 |
Referenced by vfstraceDeviceCharacteristics(), and vfstraceFileControl().
#define VTR_DLCLOSE 0x00800000 |
Referenced by vfstraceDlClose(), and vfstraceFileControl().
#define VTR_DLERR 0x00200000 |
Referenced by vfstraceDlError(), and vfstraceFileControl().
#define VTR_DLOPEN 0x00100000 |
Referenced by vfstraceDlOpen(), and vfstraceFileControl().
#define VTR_DLSYM 0x00400000 |
Referenced by vfstraceFileControl().
#define VTR_FCTRL 0x00000200 |
Referenced by vfstraceFileControl().
#define VTR_FETCH 0x10000000 /* Also coverse xUnfetch */ |
Referenced by vfstraceFetch(), vfstraceFileControl(), and vfstraceUnfetch().
#define VTR_FSIZE 0x00000020 |
Referenced by vfstraceFileControl(), and vfstraceFileSize().
#define VTR_FULLPATH 0x00080000 |
Referenced by vfstraceFileControl(), and vfstraceFullPathname().
#define VTR_LASTERR 0x08000000 |
Referenced by vfstraceFileControl(), and vfstraceGetLastError().
#define VTR_LOCK 0x00000040 |
Referenced by vfstraceFileControl(), and vfstraceLock().
#define VTR_OPEN 0x00010000 |
Referenced by vfstraceFileControl(), and vfstraceOpen().
#define VTR_RAND 0x01000000 |
Referenced by vfstraceFileControl(), and vfstraceRandomness().
#define VTR_READ 0x00000002 |
Referenced by vfstraceFileControl(), and vfstraceRead().
#define VTR_SECSZ 0x00000400 |
Referenced by vfstraceFileControl(), and vfstraceSectorSize().
#define VTR_SHMBAR 0x00004000 |
Referenced by vfstraceFileControl(), and vfstraceShmBarrier().
#define VTR_SHMLOCK 0x00001000 |
Referenced by vfstraceFileControl(), and vfstraceShmLock().
#define VTR_SHMMAP 0x00002000 |
Referenced by vfstraceFileControl(), and vfstraceShmMap().
#define VTR_SHMUNMAP 0x00008000 |
Referenced by vfstraceFileControl(), and vfstraceShmUnmap().
#define VTR_SLEEP 0x02000000 |
Referenced by vfstraceFileControl(), and vfstraceSleep().
#define VTR_SYNC 0x00000010 |
Referenced by vfstraceFileControl(), and vfstraceSync().
#define VTR_TRUNC 0x00000008 |
Referenced by vfstraceFileControl(), and vfstraceTruncate().
#define VTR_UNLOCK 0x00000080 |
Referenced by vfstraceFileControl(), and vfstraceUnlock().
#define VTR_WRITE 0x00000004 |
Referenced by vfstraceFileControl(), and vfstraceWrite().
#define WS 0x81 /* whitespace */ |
Referenced by fromBase64().
typedef struct ApndFile ApndFile |
typedef struct sqlite3_vfs ApndVfs |
typedef struct ColModeOpts ColModeOpts |
typedef struct completion_cursor completion_cursor |
typedef struct completion_vtab completion_vtab |
typedef struct Decimal Decimal |
typedef struct EQPGraph EQPGraph |
typedef struct EQPGraphRow EQPGraphRow |
typedef struct ExpertCsr ExpertCsr |
typedef struct ExpertInfo ExpertInfo |
typedef struct ExpertVtab ExpertVtab |
typedef struct fsdir_cursor fsdir_cursor |
typedef struct fsdir_tab fsdir_tab |
typedef struct FsdirLevel FsdirLevel |
typedef sqlite3_int64 i64 |
typedef struct IdxColumn IdxColumn |
typedef struct IdxConstraint IdxConstraint |
typedef struct IdxHash IdxHash |
typedef struct IdxHashEntry IdxHashEntry |
typedef struct IdxScan IdxScan |
typedef struct IdxStatement IdxStatement |
typedef struct IdxTable IdxTable |
typedef struct IdxWrite IdxWrite |
typedef struct ImportCtx ImportCtx |
typedef struct Percentile Percentile |
typedef struct PercentileFunc PercentileFunc |
typedef struct ReCompiled ReCompiled |
typedef struct ReInput ReInput |
typedef unsigned short ReStateNumber |
typedef struct ReStateSet ReStateSet |
typedef struct SequenceSpec SequenceSpec |
typedef struct series_cursor series_cursor |
typedef struct SHA1Context SHA1Context |
typedef struct SHA3Context SHA3Context |
typedef struct ShellState ShellState |
typedef struct ShellText ShellText |
typedef struct sqlite3_intck sqlite3_intck |
typedef struct sqlite3expert sqlite3expert |
typedef struct Stmtrand Stmtrand |
typedef struct DynaPrompt* t_DynaPromptRef |
typedef unsigned short int u16 |
typedef unsigned int u32 |
typedef sqlite3_uint64 u64 |
typedef unsigned char u8 |
typedef struct vfstrace_file vfstrace_file |
typedef struct vfstrace_info vfstrace_info |
enum QuickScanState |
|
static |
Referenced by output_c_string(), and output_json_string().
|
static |
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xCheckReservedLock.
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xClose.
|
static |
|
static |
|
static |
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xDeviceCharacteristics.
|
static |
|
static |
|
static |
|
static |
References ApndFile::iMark, ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, SQLITE_IOERR, and sqlite3_io_methods::xFetch.
|
static |
References ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, sqlite3_mprintf, SQLITE_FCNTL_SIZE_HINT, SQLITE_FCNTL_VFSNAME, SQLITE_OK, and sqlite3_io_methods::xFileControl.
|
static |
References ApndFile::iMark, ApndFile::iPgOne, and SQLITE_OK.
|
static |
|
static |
|
static |
|
static |
References APND_MARK_SIZE, apndReadMark(), apvfsSqliteHdr, sqlite3_file::pMethods, SQLITE_OK, and sqlite3_io_methods::xRead.
Referenced by apndIsOrdinaryDatabaseFile().
|
static |
References apndIsAppendvfsDatabase(), apvfsSqliteHdr, sqlite3_file::pMethods, SQLITE_OK, and sqlite3_io_methods::xRead.
Referenced by apndOpen().
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xLock.
|
static |
|
static |
References apnd_io_methods, APND_MARK_SIZE, APND_START_ROUNDUP, apndIsOrdinaryDatabaseFile(), apndReadMark(), ApndFile::iMark, ApndFile::iPgOne, ORIGFILE, ORIGVFS, sqlite3_file::pMethods, SQLITE_CANTOPEN, SQLITE_OK, SQLITE_OPEN_CREATE, SQLITE_OPEN_MAIN_DB, sqlite3_vfs::szOsFile, sqlite3_io_methods::xClose, sqlite3_io_methods::xFileSize, and sqlite3_vfs::xOpen.
|
static |
|
static |
References ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xRead.
|
static |
References a, APND_MARK_FOS_SZ, APND_MARK_PREFIX, APND_MARK_PREFIX_SZ, APND_MARK_SIZE, sqlite3_file::pMethods, and sqlite3_io_methods::xRead.
Referenced by apndIsAppendvfsDatabase(), and apndOpen().
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xSectorSize.
|
static |
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xShmBarrier.
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xShmLock.
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xShmMap.
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xShmUnmap.
|
static |
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xSync.
|
static |
References APND_MARK_SIZE, apndWriteMark(), ApndFile::iMark, ORIGFILE, sqlite3_file::pMethods, SQLITE_IOERR, SQLITE_OK, and sqlite3_io_methods::xTruncate.
|
static |
References ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xUnfetch.
|
static |
References ORIGFILE, sqlite3_file::pMethods, and sqlite3_io_methods::xUnlock.
|
static |
References APND_MAX_SIZE, apndWriteMark(), ApndFile::iMark, ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, SQLITE_FULL, SQLITE_OK, and sqlite3_io_methods::xWrite.
|
static |
References a, APND_MARK_FOS_SZ, APND_MARK_PREFIX, APND_MARK_PREFIX_SZ, APND_MARK_SIZE, ApndFile::iMark, ApndFile::iPgOne, ORIGFILE, sqlite3_file::pMethods, SQLITE_OK, and sqlite3_io_methods::xWrite.
Referenced by apndTruncate(), and apndWrite().
|
static |
References ShellText::n, ShellText::nAlloc, shell_check_oom(), strlen30(), and ShellText::z.
Referenced by captureOutputCallback(), do_meta_command(), dump_callback(), and shellFakeSchema().
|
static |
References c, ImportCtx::cColSep, ImportCtx::cRowSep, ImportCtx::cTerm, import_append_char(), ImportCtx::in, ImportCtx::n, ImportCtx::nLine, seenInterrupt, SQLITE_CDECL, and ImportCtx::z.
Referenced by do_meta_command().
|
static |
References B64_DARK_MAX, fromBase64(), sqlite3_context_db_handle, sqlite3_errcode, sqlite3_free, sqlite3_limit, sqlite3_malloc, sqlite3_result_blob, sqlite3_result_error, sqlite3_result_text, sqlite3_result_zeroblob, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_LIMIT_LENGTH, SQLITE_NOMEM, SQLITE_STATIC, SQLITE_TEXT, and toBase64().
Referenced by sqlite3_base64_init().
|
static |
References fromBase85(), sqlite3_context_db_handle, sqlite3_errcode, sqlite3_free, sqlite3_limit, sqlite3_malloc, sqlite3_result_blob, sqlite3_result_error, sqlite3_result_text, sqlite3_result_zeroblob, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_LIMIT_LENGTH, SQLITE_NOMEM, SQLITE_STATIC, SQLITE_TEXT, and toBase85().
Referenced by sqlite3_base85_init().
|
static |
References enableTimer, iBegin, sBegin, and timeOfDay().
|
static |
References ShellState::db, sqlite3_bind_double, sqlite3_bind_int, sqlite3_bind_null, sqlite3_bind_parameter_count, sqlite3_bind_parameter_name, sqlite3_bind_text, sqlite3_bind_text64, sqlite3_bind_value, sqlite3_column_value, sqlite3_finalize, sqlite3_free, sqlite3_malloc64, sqlite3_prepare_v2, sqlite3_reset, sqlite3_snprintf, sqlite3_step, sqlite3_strlike, sqlite3_table_column_metadata, SQLITE_NOTFOUND, SQLITE_OK, SQLITE_ROW, SQLITE_STATIC, and SQLITE_UTF8.
Referenced by do_meta_command(), and shell_exec().
|
static |
References ShellState::db, sqlite3_db_config, sqlite3_exec, SQLITE_DBCONFIG_DEFENSIVE, and SQLITE_DBCONFIG_WRITABLE_SCHEMA.
Referenced by do_meta_command().
|
static |
References hexDigitValue(), integerValue(), sqlite3_fprintf, and sqlite3_stricmp.
Referenced by do_meta_command(), and setOrClearFlag().
|
static |
References shell_callback().
Referenced by do_meta_command().
|
static |
References appendText(), ShellText::n, and UNUSED_PARAMETER.
Referenced by do_meta_command().
|
static |
References ShellState::doXdgOpen, shellDeleteFile(), sqlite3_free, and ShellState::zTempFile.
Referenced by do_meta_command(), main(), newTempFile(), and process_input().
|
static |
Referenced by do_meta_command(), dump_callback(), main(), optionMatch(), output_file_open(), showHelp(), and str_in_array().
|
static |
Referenced by do_meta_command(), dump_callback(), expertDotCommand(), main(), readHexDb(), runOneSqlLine(), and shellAddSchemaName().
int cli_wcwidth | ( | int | c | ) |
Referenced by translateForDisplayAndDup(), and utf8_width_print().
void close_db | ( | sqlite3 * | db | ) |
References sqlite3_close, sqlite3_errmsg, and sqlite3_fprintf.
Referenced by do_meta_command(), main(), and tryToClone().
|
static |
References sqlite3_fprintf.
Referenced by main().
|
static |
References sqlite3_index_info::aConstraint, sqlite3_index_info::aConstraintUsage, sqlite3_index_info::sqlite3_index_constraint_usage::argvIndex, COMPLETION_COLUMN_PREFIX, COMPLETION_COLUMN_WHOLELINE, sqlite3_index_info::estimatedCost, sqlite3_index_info::estimatedRows, sqlite3_index_info::idxNum, sqlite3_index_info::nConstraint, sqlite3_index_info::sqlite3_index_constraint_usage::omit, SQLITE_INDEX_CONSTRAINT_EQ, and SQLITE_OK.
|
static |
References completionCursorReset(), sqlite3_free, and SQLITE_OK.
|
static |
References COMPLETION_COLUMN_CANDIDATE, COMPLETION_COLUMN_PHASE, COMPLETION_COLUMN_PREFIX, COMPLETION_COLUMN_WHOLELINE, completion_cursor::ePhase, sqlite3_result_int, sqlite3_result_text, SQLITE_OK, SQLITE_TRANSIENT, completion_cursor::szRow, completion_cursor::zCurrentRow, completion_cursor::zLine, and completion_cursor::zPrefix.
|
static |
References completion_vtab::db, sqlite3_declare_vtab, sqlite3_malloc, sqlite3_vtab_config, SQLITE_NOMEM, SQLITE_OK, and SQLITE_VTAB_INNOCUOUS.
|
static |
References completion_cursor::j, completion_cursor::nLine, completion_cursor::nPrefix, completion_cursor::pStmt, sqlite3_finalize, sqlite3_free, completion_cursor::zLine, and completion_cursor::zPrefix.
Referenced by completionClose(), and completionFilter().
|
static |
References sqlite3_free, and SQLITE_OK.
|
static |
References COMPLETION_EOF, and completion_cursor::ePhase.
|
static |
References COMPLETION_FIRST_PHASE, completionCursorReset(), completionNext(), completion_cursor::ePhase, completion_cursor::iRowid, IsAlnum, completion_cursor::nLine, completion_cursor::nPrefix, sqlite3_mprintf, sqlite3_value_bytes, sqlite3_value_text, SQLITE_NOMEM, completion_cursor::zLine, and completion_cursor::zPrefix.
|
static |
References COMPLETION_COLUMNS, COMPLETION_DATABASES, COMPLETION_EOF, COMPLETION_KEYWORDS, COMPLETION_TABLES, completion_cursor::db, completion_cursor::ePhase, completion_cursor::iRowid, completion_cursor::j, completion_cursor::nPrefix, completion_cursor::pStmt, sqlite3_column_bytes, sqlite3_column_text, sqlite3_finalize, sqlite3_free, sqlite3_keyword_count, sqlite3_keyword_name, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_step, sqlite3_strnicmp, SQLITE_NOMEM, SQLITE_OK, SQLITE_ROW, completion_cursor::szRow, completion_cursor::zCurrentRow, and completion_cursor::zPrefix.
Referenced by completionFilter().
|
static |
References completion_cursor::base, completion_cursor::db, sqlite3_malloc, SQLITE_NOMEM, and SQLITE_OK.
|
static |
References completion_cursor::iRowid, and SQLITE_OK.
|
static |
Referenced by idxCreateFromCons().
|
static |
References ShellState::db, sqlite3_exec, sqlite3_fprintf, and sqlite3_free.
Referenced by do_meta_command().
|
static |
References ImportCtx::bNotFirst, c, ImportCtx::cColSep, ImportCtx::cRowSep, csv_read_one_field(), ImportCtx::cTerm, import_append_char(), ImportCtx::in, ImportCtx::n, ImportCtx::nLine, seenInterrupt, sqlite3_fprintf, SQLITE_CDECL, ImportCtx::z, and ImportCtx::zFile.
Referenced by csv_read_one_field(), and do_meta_command().
|
static |
References sqlite3_free, sqlite3_result_error, and sqlite3_vmprintf.
Referenced by writefileFunc().
|
static |
References sqlite3_column_int, sqlite3_finalize, sqlite3_free, sqlite3_prepare_v2, sqlite3_step, sqlite3_vmprintf, and SQLITE_ROW.
Referenced by do_meta_command(), and zAutoColumn().
References Decimal::a, decimal_expand(), Decimal::isNull, Decimal::nDigit, Decimal::nFrac, Decimal::oom, and Decimal::sign.
Referenced by decimalAddFunc(), decimalSubFunc(), decimalSumInverse(), and decimalSumStep().
|
static |
References Decimal::a, and sqlite3_free.
Referenced by decimal_free(), and decimalSumFinalize().
References Decimal::a, Decimal::nDigit, Decimal::nFrac, and Decimal::sign.
Referenced by decimalCmpFunc(), and decimalCollFunc().
|
static |
References Decimal::a, Decimal::nDigit, Decimal::nFrac, Decimal::oom, and sqlite3_realloc64.
Referenced by decimal_add().
|
static |
References decimal_clear(), and sqlite3_free.
Referenced by decimalAddFunc(), decimalCmpFunc(), decimalCollFunc(), decimalFromDouble(), decimalFunc(), decimalMulFunc(), decimalPow2(), decimalPow2Func(), decimalSubFunc(), decimalSumInverse(), and decimalSumStep().
|
static |
References decimalFromDouble(), decimalNewFromText(), sqlite3_free, sqlite3_result_error_nomem, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_double, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, and SQLITE_TEXT.
Referenced by decimalAddFunc(), decimalCmpFunc(), decimalFunc(), decimalMulFunc(), decimalSubFunc(), decimalSumInverse(), and decimalSumStep().
|
static |
References Decimal::a, Decimal::isNull, Decimal::nDigit, Decimal::nFrac, Decimal::oom, Decimal::sign, sqlite3_free, sqlite3_malloc, sqlite3_result_error_nomem, sqlite3_result_null, and sqlite3_result_text.
Referenced by decimalAddFunc(), decimalFunc(), decimalMulFunc(), decimalSubFunc(), decimalSumFinalize(), and decimalSumValue().
|
static |
References a, Decimal::a, Decimal::isNull, Decimal::nDigit, Decimal::nFrac, Decimal::oom, Decimal::sign, sqlite3_free, sqlite3_malloc, sqlite3_result_error_nomem, sqlite3_result_null, sqlite3_result_text, and sqlite3_snprintf.
Referenced by decimalFunc(), and decimalPow2Func().
|
static |
References decimal_add(), decimal_free(), decimal_new(), decimal_result(), and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_cmp(), decimal_free(), decimal_new(), Decimal::isNull, sqlite3_result_int, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_cmp(), decimal_free(), decimalNewFromText(), and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References a, decimal_free(), decimalMul(), decimalNewFromText(), decimalPow2(), e, and sqlite3_snprintf.
Referenced by decimal_new().
|
static |
References decimal_free(), decimal_new(), decimal_result(), decimal_result_sci(), sqlite3_user_data, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
References Decimal::a, Decimal::isNull, Decimal::nDigit, Decimal::nFrac, Decimal::oom, Decimal::sign, sqlite3_free, and sqlite3_malloc64.
Referenced by decimalFromDouble(), decimalMulFunc(), and decimalPow2().
|
static |
References decimal_free(), decimal_new(), decimal_result(), decimalMul(), Decimal::isNull, Decimal::oom, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References Decimal::a, c, Decimal::isInit, Decimal::isNull, IsSpace, Decimal::nDigit, Decimal::nFrac, Decimal::oom, Decimal::sign, sqlite3_free, sqlite3_malloc, sqlite3_malloc64, and sqlite3_realloc64.
Referenced by decimal_new(), decimalCollFunc(), decimalFromDouble(), and decimalPow2().
|
static |
References decimal_free(), decimalMul(), decimalNewFromText(), and Decimal::oom.
Referenced by decimalFromDouble(), and decimalPow2Func().
|
static |
References decimal_free(), decimal_result_sci(), decimalPow2(), sqlite3_value_int, sqlite3_value_type, SQLITE_INTEGER, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_add(), decimal_free(), decimal_new(), decimal_result(), Decimal::sign, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_clear(), decimal_result(), and sqlite3_aggregate_context.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_add(), decimal_free(), decimal_new(), Decimal::sign, sqlite3_aggregate_context, sqlite3_value_type, SQLITE_NULL, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References Decimal::a, decimal_add(), decimal_free(), decimal_new(), Decimal::isInit, Decimal::nDigit, Decimal::nFrac, Decimal::oom, sqlite3_aggregate_context, sqlite3_malloc, sqlite3_value_type, SQLITE_NULL, and UNUSED_PARAMETER.
Referenced by sqlite3_decimal_init().
|
static |
References decimal_result(), and sqlite3_aggregate_context.
Referenced by sqlite3_decimal_init().
|
static |
Referenced by translateForDisplayAndDup(), and utf8_width_print().
int deduceDatabaseType | ( | const char * | zName, |
int | dfltZip ) |
References SHELL_OPEN_APPENDVFS, SHELL_OPEN_NORMAL, SHELL_OPEN_UNSPEC, SHELL_OPEN_ZIPFILE, sqlite3_fopen, and sqlite3_strlike.
Referenced by open_db().
|
static |
References savedSelectTrace, savedWhereTrace, sqlite3_test_control, and SQLITE_TESTCTRL_TRACEFLAGS.
Referenced by shell_exec().
|
static |
References ShellState::cMode, ShellState::cnt, exec_prepared_stmt(), explain_data_delete(), explain_data_prepare(), MODE_ScanExp, ShellState::pStmt, ShellState::scanstatsOn, sqlite3_bind_pointer, sqlite3_finalize, sqlite3_prepare_v2, SQLITE_OK, and UNUSED_PARAMETER.
Referenced by shell_exec().
|
static |
References displayStatLine(), ShellState::out, ShellState::pStmt, ShellState::shellFlgs, SHFLG_Lookaside, SHFLG_Pagecache, sqlite3_column_count, sqlite3_column_database_name, sqlite3_column_decltype, sqlite3_column_name, sqlite3_column_origin_name, sqlite3_column_table_name, sqlite3_db_status, sqlite3_fprintf, sqlite3_snprintf, sqlite3_stmt_status, SQLITE_DBSTATUS_CACHE_HIT, SQLITE_DBSTATUS_CACHE_MISS, SQLITE_DBSTATUS_CACHE_SPILL, SQLITE_DBSTATUS_CACHE_USED, SQLITE_DBSTATUS_CACHE_WRITE, SQLITE_DBSTATUS_LOOKASIDE_HIT, SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL, SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE, SQLITE_DBSTATUS_LOOKASIDE_USED, SQLITE_DBSTATUS_SCHEMA_USED, SQLITE_DBSTATUS_STMT_USED, SQLITE_STATUS_MALLOC_COUNT, SQLITE_STATUS_MALLOC_SIZE, SQLITE_STATUS_MEMORY_USED, SQLITE_STATUS_PAGECACHE_OVERFLOW, SQLITE_STATUS_PAGECACHE_SIZE, SQLITE_STATUS_PAGECACHE_USED, SQLITE_STATUS_PARSER_STACK, SQLITE_STMTSTATUS_AUTOINDEX, SQLITE_STMTSTATUS_FILTER_HIT, SQLITE_STMTSTATUS_FILTER_MISS, SQLITE_STMTSTATUS_FULLSCAN_STEP, SQLITE_STMTSTATUS_MEMUSED, SQLITE_STMTSTATUS_REPREPARE, SQLITE_STMTSTATUS_RUN, SQLITE_STMTSTATUS_SORT, SQLITE_STMTSTATUS_VM_STEP, and ShellState::statsOn.
Referenced by do_meta_command(), and shell_exec().
|
static |
References sqlite3_fprintf, sqlite3_snprintf, and sqlite3_status64.
Referenced by display_stats().
|
static |
References ShellState::aAuxDb, ShellState::actualWidth, appendText(), ArraySize, ascii_read_one_field(), ShellState::autoEQP, AUTOEQP_full, AUTOEQP_on, AUTOEQP_trigger, ShellState::autoEQPtest, ShellState::autoEQPtrace, ShellState::autoExplain, bail_on_error, bind_prepared_stmt(), bind_table_init(), booleanValue(), ColModeOpts::bQuote, ShellState::bSafeMode, ShellState::bSafeModePersist, ColModeOpts::bWordWrap, c, callback(), captureOutputCallback(), ImportCtx::cColSep, clearTempFile(), cli_strcmp(), cli_strncmp(), close_db(), ShellState::cMode, ShellState::cmOpts, ColModeOpts_default, ColModeOpts_default_qbox, ShellState::colSeparator, ShellState::colWidth, continuePrompt, createSelftestTable(), ShellState::crlfMode, ImportCtx::cRowSep, csv_read_one_field(), ImportCtx::cTerm, CTIMEOPT_VAL, ShellState::AuxDb::db, ShellState::db, db_int(), display_stats(), ShellState::doXdgOpen, ShellState::eEscMode, enableTimer, eputz, ShellState::eTraceType, ShellState::expert, expertDotCommand(), expertFinish(), failIfSafeMode(), faultsim_callback(), faultsim_state, ShellState::flgProgress, freeText(), globalDb, HAS_TIMER, import_append_char(), import_cleanup(), ImportCtx::in, ShellState::in, initText(), intckDatabaseCmd(), integerValue(), IsDigit, IsSpace, sqlite3_vfs::iVersion, ColModeOpts::iWrap, ShellState::lineno, lintDotCommand(), mainPrompt, ShellState::mode, MODE_Ascii, MODE_Box, MODE_Column, MODE_Count, MODE_Csv, MODE_Explain, MODE_Html, MODE_Insert, MODE_Json, MODE_Line, MODE_List, MODE_Markdown, MODE_Off, MODE_Pretty, MODE_Quote, MODE_Semi, MODE_Table, MODE_Tcl, MODE_Www, modeDescr, sqlite3_vfs::mxPathname, ShellState::mxProgress, ShellText::n, ShellState::nCheck, ImportCtx::nErr, ShellState::nErr, newTempFile(), ImportCtx::nLine, ShellState::normalMode, ShellState::nProgress, ImportCtx::nRow, ShellState::nullValue, ShellState::nWidth, open_db(), OPEN_DB_KEEPALIVE, openChrSource(), ShellState::openFlags, ShellState::openMode, optionMatch(), ShellState::out, ShellState::outCount, ShellState::outfile, output_c_string(), output_file_close(), output_file_open(), output_redir(), output_reset(), outputDumpWarning(), outputModePush(), ShellState::pAuxDb, pclose(), ExpertInfo::pExpert, ShellState::pLog, sqlite3_vfs::pNext, process_input(), progress_handler(), quoteChar(), readFile(), resolve_backslashes(), ShellState::rowSeparator, run_schema_dump_query(), run_table_dump_query(), safeModeAuth(), ShellState::scanstatsOn, seenInterrupt, SEP_Column, SEP_Comma, SEP_CrLf, SEP_Record, SEP_Row, SEP_Space, SEP_Tab, SEP_Unit, session_close_all, set_table_name(), setOrClearFlag(), shell_check_oom(), shell_dbtotxt_command(), SHELL_ESC_OFF, shell_EscModeNames, shell_exec(), SHELL_OPEN_APPENDVFS, SHELL_OPEN_DESERIALIZE, SHELL_OPEN_HEXDB, SHELL_OPEN_READONLY, SHELL_OPEN_UNSPEC, SHELL_OPEN_ZIPFILE, shell_out_of_memory(), SHELL_PROGRESS_ONCE, SHELL_PROGRESS_QUIET, SHELL_PROGRESS_RESET, shell_strncpy(), SHELL_TRACE_EXPANDED, SHELL_TRACE_NORMALIZED, SHELL_TRACE_PLAIN, shellAuth(), ShellClearFlag, shellDatabaseError(), shellDeleteFile(), shellEmitError(), ShellState::shellFlgs, ShellHasFlag, ShellSetFlag, SHFLG_CountChanges, SHFLG_DumpDataOnly, SHFLG_DumpNoSys, SHFLG_Echo, SHFLG_HeaderSet, SHFLG_Newlines, SHFLG_PreserveRowid, SHFLG_TestingMode, ShellState::showHeader, showHelp(), sputz, sql_trace_callback(), sqlite3_backup_finish, sqlite3_backup_init, sqlite3_backup_step, sqlite3_bind_null, sqlite3_bind_text, sqlite3_busy_timeout, sqlite3_column_double, sqlite3_column_int, sqlite3_column_text, sqlite3_create_module, sqlite3_db_config, sqlite3_db_readonly, sqlite3_drop_modules, sqlite3_errmsg, sqlite3_exec, sqlite3_file_control, sqlite3_finalize, sqlite3_fopen, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_get_autocommit, sqlite3_libversion, sqlite3_limit, sqlite3_load_extension, sqlite3_malloc, sqlite3_malloc64, sqlite3_mprintf, sqlite3_open, sqlite3_open_v2, sqlite3_popen, sqlite3_prepare_v2, sqlite3_progress_handler, sqlite3_randomness, sqlite3_realloc, sqlite3_realloc64, sqlite3_reset, sqlite3_set_authorizer, sqlite3_sleep, sqlite3_snprintf, sqlite3_sourceid, sqlite3_step, sqlite3_strglob, sqlite3_stricmp, sqlite3_strlike, sqlite3_strnicmp, sqlite3_table_column_metadata, sqlite3_test_control, sqlite3_trace_v2, sqlite3_txn_state, sqlite3_vfs_find, SQLITE_API, SQLITE_BUSY, SQLITE_CDECL, SQLITE_DBCONFIG_DEFENSIVE, SQLITE_DBCONFIG_DQS_DDL, SQLITE_DBCONFIG_DQS_DML, SQLITE_DBCONFIG_ENABLE_ATTACH_CREATE, SQLITE_DBCONFIG_ENABLE_ATTACH_WRITE, SQLITE_DBCONFIG_ENABLE_COMMENTS, SQLITE_DBCONFIG_ENABLE_FKEY, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION, SQLITE_DBCONFIG_ENABLE_QPSG, SQLITE_DBCONFIG_ENABLE_TRIGGER, SQLITE_DBCONFIG_ENABLE_VIEW, SQLITE_DBCONFIG_LEGACY_ALTER_TABLE, SQLITE_DBCONFIG_LEGACY_FILE_FORMAT, SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE, SQLITE_DBCONFIG_RESET_DATABASE, SQLITE_DBCONFIG_REVERSE_SCANORDER, SQLITE_DBCONFIG_STMT_SCANSTATUS, SQLITE_DBCONFIG_TRIGGER_EQP, SQLITE_DBCONFIG_TRUSTED_SCHEMA, SQLITE_DBCONFIG_WRITABLE_SCHEMA, SQLITE_DONE, SQLITE_FCNTL_CHUNK_SIZE, SQLITE_FCNTL_DATA_VERSION, SQLITE_FCNTL_HAS_MOVED, SQLITE_FCNTL_LOCK_TIMEOUT, SQLITE_FCNTL_PERSIST_WAL, SQLITE_FCNTL_POWERSAFE_OVERWRITE, SQLITE_FCNTL_RESERVE_BYTES, SQLITE_FCNTL_SIZE_LIMIT, SQLITE_FCNTL_TEMPFILENAME, SQLITE_FCNTL_VFS_POINTER, SQLITE_FCNTL_VFSNAME, SQLITE_LIMIT_ATTACHED, SQLITE_LIMIT_COLUMN, SQLITE_LIMIT_COMPOUND_SELECT, SQLITE_LIMIT_EXPR_DEPTH, SQLITE_LIMIT_FUNCTION_ARG, SQLITE_LIMIT_LENGTH, SQLITE_LIMIT_LIKE_PATTERN_LENGTH, SQLITE_LIMIT_SQL_LENGTH, SQLITE_LIMIT_TRIGGER_DEPTH, SQLITE_LIMIT_VARIABLE_NUMBER, SQLITE_LIMIT_VDBE_OP, SQLITE_LIMIT_WORKER_THREADS, SQLITE_LOCKED, SQLITE_OK, SQLITE_OPEN_CREATE, SQLITE_OPEN_NOFOLLOW, SQLITE_OPEN_READWRITE, SQLITE_ROW, SQLITE_STATIC, SQLITE_TESTCTRL_ALWAYS, SQLITE_TESTCTRL_ASSERT, SQLITE_TESTCTRL_BYTEORDER, SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS, SQLITE_TESTCTRL_FAULT_INSTALL, SQLITE_TESTCTRL_FK_NO_ACTION, SQLITE_TESTCTRL_GETOPT, SQLITE_TESTCTRL_IMPOSTER, SQLITE_TESTCTRL_INTERNAL_FUNCTIONS, SQLITE_TESTCTRL_JSON_SELFCHECK, SQLITE_TESTCTRL_LOCALTIME_FAULT, SQLITE_TESTCTRL_NEVER_CORRUPT, SQLITE_TESTCTRL_OPTIMIZATIONS, SQLITE_TESTCTRL_PARSER_COVERAGE, SQLITE_TESTCTRL_PENDING_BYTE, SQLITE_TESTCTRL_PRNG_RESTORE, SQLITE_TESTCTRL_PRNG_SAVE, SQLITE_TESTCTRL_PRNG_SEED, SQLITE_TESTCTRL_SEEK_COUNT, SQLITE_TESTCTRL_SORTER_MMAP, SQLITE_TESTCTRL_TRACEFLAGS, SQLITE_TESTCTRL_TUNE, SQLITE_TRACE_CLOSE, SQLITE_TRACE_PROFILE, SQLITE_TRACE_ROW, SQLITE_TRACE_STMT, SQLITE_TRANSIENT, SQLITE_TXN_NONE, SQLITE_TXN_READ, ShellState::statsOn, stdin_is_interactive, strlen30(), ShellState::szMax, sqlite3_vfs::szOsFile, test_breakpoint(), testcase_glob(), ShellState::traceOut, tryToClone(), ShellState::writableSchema, ImportCtx::xCloser, ImportCtx::z, ShellText::z, zAutoColumn(), ShellState::AuxDb::zDbFilename, ShellState::zDestTable, ImportCtx::zFile, ShellState::AuxDb::zFreeOnClose, sqlite3_vfs::zName, ShellState::zNonce, ShellState::zTempFile, and ShellState::zTestcase.
Referenced by main(), and process_input().
|
static |
References ShellState::bSafeMode, ShellState::db, ShellState::eRestoreState, shellFinalize(), shellPrepare(), sqlite3_db_config, sqlite3_get_autocommit, sqlite3_step, SQLITE_DBCONFIG_DEFENSIVE, SQLITE_DBCONFIG_DQS_DDL, SQLITE_OK, and SQLITE_ROW.
Referenced by runOneSqlLine().
int dummyCompare | ( | void * | up1, |
int | up2, | ||
const void * | up3, | ||
int | up4, | ||
const void * | up5 ) |
Referenced by useDummyCS().
void dummyUDF | ( | sqlite3_context * | up1, |
int | up2, | ||
sqlite3_value ** | up3 ) |
Referenced by registerUDFs().
void dummyUDFvalue | ( | sqlite3_context * | up1 | ) |
Referenced by registerUDFs().
|
static |
References appendText(), cli_strcmp(), cli_strncmp(), ShellState::cMode, ShellState::db, freeColumnList(), freeText(), initText(), ShellState::mode, MODE_Insert, ShellState::nErr, ShellState::out, printSchemaLine(), quoteChar(), shell_check_oom(), shell_exec(), ShellState::shellFlgs, SHFLG_DumpDataOnly, SHFLG_DumpNoSys, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_mprintf, sqlite3_strglob, SQLITE_CORRUPT, tableColumnList(), toggleSelectOrder(), UNUSED_PARAMETER, ShellState::writableSchema, ShellText::z, and ShellState::zDestTable.
Referenced by run_schema_dump_query().
|
static |
References continuePrompt, dynPrompt, PROMPT_LEN_MAX, shell_strcpy(), and shell_strncpy().
|
static |
Referenced by main(), and process_input().
|
static |
References sqlite3_context_db_handle, sqlite3_file_control, sqlite3_fopen, sqlite3_free, sqlite3_malloc64, sqlite3_mprintf, sqlite3_randomness, sqlite3_result_blob64, sqlite3_result_error, sqlite3_result_error_nomem, sqlite3_result_text64, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_FCNTL_TEMPFILENAME, SQLITE_NULL, and SQLITE_UTF8.
Referenced by open_db().
|
static |
References enableTimer, iBegin, sBegin, sqlite3_fprintf, timeDiff(), and timeOfDay().
|
static |
References ShellState::autoEQPtest, EQPGraphRow::iEqpId, EQPGraphRow::iParentId, ShellState::out, EQPGraph::pLast, EQPGraphRow::pNext, EQPGraph::pRow, ShellState::sGraph, shell_check_oom(), sqlite3_fprintf, sqlite3_malloc64, and EQPGraphRow::zText.
Referenced by shell_callback(), and shell_exec().
|
static |
References EQPGraphRow::iParentId, EQPGraphRow::pNext, EQPGraph::pRow, and ShellState::sGraph.
Referenced by eqp_render_level().
|
static |
References eqp_render_level(), eqp_reset(), ShellState::out, EQPGraphRow::pNext, EQPGraph::pRow, ShellState::sGraph, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, EQPGraph::zPrefix, and EQPGraphRow::zText.
Referenced by shell_exec().
|
static |
References eqp_next_row(), eqp_render_level(), EQPGraphRow::iEqpId, ShellState::out, ShellState::sGraph, sqlite3_fprintf, EQPGraph::zPrefix, and EQPGraphRow::zText.
Referenced by eqp_render(), and eqp_render_level().
|
static |
References EQPGraphRow::pNext, EQPGraph::pRow, ShellState::sGraph, and sqlite3_free.
Referenced by eqp_render().
|
static |
References c, ShellState::eEscMode, shell_check_oom(), SHELL_ESC_ASCII, SHELL_ESC_OFF, SHELL_ESC_SYMBOL, and sqlite3_malloc64.
Referenced by shell_callback().
|
static |
References ShellState::cMode, exec_prepared_stmt_columnar(), MODE_Box, MODE_Column, MODE_Count, MODE_Insert, MODE_Json, MODE_Markdown, MODE_Quote, MODE_Table, MODE_Www, ShellState::out, shell_callback(), shell_out_of_memory(), sqlite3_column_count, sqlite3_column_name, sqlite3_column_text, sqlite3_column_type, sqlite3_fputs, sqlite3_free, sqlite3_malloc64, sqlite3_snprintf, sqlite3_step, SQLITE_ABORT, SQLITE_BLOB, SQLITE_NOMEM, SQLITE_NULL, and SQLITE_ROW.
Referenced by display_scanstats(), and shell_exec().
|
static |
References ShellState::actualWidth, BOX_12, BOX_123, BOX_1234, BOX_124, BOX_13, BOX_134, BOX_14, BOX_23, BOX_234, BOX_34, ColModeOpts::bQuote, ColModeOpts::bWordWrap, ShellState::cMode, ShellState::cmOpts, ShellState::colWidth, ColModeOpts::iWrap, MODE_Box, MODE_Column, MODE_Markdown, MODE_Table, ShellState::nullValue, ShellState::nWidth, ShellState::out, print_box_row_separator(), print_dashes(), print_row_separator(), quoted_column(), seenInterrupt, shell_check_oom(), ShellState::showHeader, sqlite3_column_count, sqlite3_column_name, sqlite3_column_text, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_malloc64, sqlite3_realloc64, sqlite3_step, SQLITE_ROW, strlenChar(), translateForDisplayAndDup(), and utf8_width_print().
Referenced by exec_prepared_stmt().
|
static |
References IdxTable::aCol, sqlite3_index_info::aConstraint, sqlite3_index_info::aConstraintUsage, sqlite3_index_info::aOrderBy, sqlite3_index_info::sqlite3_index_constraint_usage::argvIndex, IdxConstraint::bDesc, IdxConstraint::bRange, sqlite3_index_info::sqlite3_index_orderby::desc, sqlite3_index_info::estimatedCost, IdxConstraint::iCol, sqlite3_index_info::sqlite3_index_orderby::iColumn, idxMalloc(), idxNewConstraint(), IdxColumn::iPk, sqlite3_index_info::nConstraint, sqlite3_index_info::nOrderBy, IdxScan::pEq, ExpertVtab::pExpert, IdxConstraint::pLink, IdxConstraint::pNext, IdxScan::pNextScan, IdxScan::pOrder, IdxScan::pRange, sqlite3expert::pScan, ExpertVtab::pTab, IdxScan::pTab, sqlite3_vtab_collation, SQLITE_INDEX_CONSTRAINT_EQ, SQLITE_INDEX_CONSTRAINT_GE, SQLITE_INDEX_CONSTRAINT_GT, SQLITE_INDEX_CONSTRAINT_LE, SQLITE_INDEX_CONSTRAINT_LT, SQLITE_OK, and IdxColumn::zColl.
Referenced by idxRegisterVtab().
|
static |
References ExpertCsr::pData, sqlite3_finalize, sqlite3_free, and SQLITE_OK.
Referenced by idxRegisterVtab().
|
static |
References ExpertCsr::pData, sqlite3_column_value, sqlite3_result_value, and SQLITE_OK.
Referenced by idxRegisterVtab().
|
static |
References expertDequote(), idxMalloc(), ExpertVtab::pExpert, ExpertVtab::pTab, sqlite3expert::pTable, sqlite3_declare_vtab, sqlite3_free, sqlite3_mprintf, sqlite3_stricmp, SQLITE_ERROR, SQLITE_NOMEM, SQLITE_OK, and IdxTable::zName.
Referenced by idxRegisterVtab().
|
static |
References sqlite3_bind_text, sqlite3_finalize, sqlite3_prepare_v2, sqlite3_step, SQLITE_OK, SQLITE_ROW, and SQLITE_STATIC.
Referenced by idxCreateVtabSchema(), and sqlite3_expert_new().
|
static |
References sqlite3_malloc, and STRLEN.
Referenced by expertConnect().
|
static |
References sqlite3_free, and SQLITE_OK.
Referenced by idxRegisterVtab().
|
static |
References ExpertInfo::bVerbose, cli_strncmp(), ShellState::db, ShellState::expert, EXPERT_CONFIG_SAMPLE, integerValue(), ExpertInfo::pExpert, sqlite3_expert_config(), sqlite3_expert_new(), sqlite3_fprintf, sqlite3_free, SQLITE_ERROR, SQLITE_OK, and strlen30().
Referenced by do_meta_command().
|
static |
References ExpertCsr::pData.
Referenced by idxRegisterVtab().
|
static |
References ExpertVtab::base, sqlite3expert::db, expertNext(), idxPrintfPrepareStmt(), ExpertCsr::pData, ExpertVtab::pExpert, ExpertVtab::pTab, sqlite3_vtab_cursor::pVtab, sqlite3_finalize, SQLITE_OK, sqlite3_vtab::zErrMsg, and IdxTable::zName.
Referenced by idxRegisterVtab().
|
static |
References ExpertInfo::bVerbose, ShellState::expert, EXPERT_REPORT_CANDIDATES, EXPERT_REPORT_INDEXES, EXPERT_REPORT_PLAN, EXPERT_REPORT_SQL, ShellState::out, ExpertInfo::pExpert, sqlite3_expert_analyze(), sqlite3_expert_count(), sqlite3_expert_destroy(), sqlite3_expert_report(), sqlite3_fprintf, sqlite3_fputs, and SQLITE_OK.
Referenced by do_meta_command(), main(), and shell_exec().
|
static |
References ShellState::expert, ExpertInfo::pExpert, and sqlite3_expert_sql().
Referenced by shell_exec().
|
static |
References ExpertCsr::pData, sqlite3_finalize, sqlite3_step, SQLITE_OK, and SQLITE_ROW.
Referenced by expertFilter(), and idxRegisterVtab().
|
static |
References idxMalloc(), and SQLITE_OK.
Referenced by idxRegisterVtab().
|
static |
|
static |
References sqlite3_exec, sqlite3_free, SQLITE_OK, and STRLEN.
Referenced by idxCreateVtabSchema(), and sqlite3_expert_new().
|
static |
References SQLITE_OK.
Referenced by idxRegisterVtab().
|
static |
References ShellState::aiIndent, ShellState::iIndent, ShellState::nIndent, and sqlite3_free.
Referenced by display_scanstats(), and shell_exec().
|
static |
References ShellState::aiIndent, ShellState::iIndent, ShellState::nIndent, shell_check_oom(), sqlite3_column_count, sqlite3_column_int, sqlite3_column_name, sqlite3_column_text, sqlite3_free, sqlite3_realloc64, sqlite3_reset, sqlite3_step, sqlite3_stricmp, SQLITE_ROW, and str_in_array().
Referenced by display_scanstats(), and shell_exec().
|
static |
References ShellState::bSafeMode, ShellState::lineno, sqlite3_fprintf, and sqlite3_vmprintf.
Referenced by do_meta_command(), and safeModeAuth().
|
static |
References faultsim_state, sqlite3_fprintf, and SQLITE_OK.
Referenced by do_meta_command().
|
static |
References fileStat(), and STRUCT_STAT.
Referenced by fsdirFilter(), and fsdirNext().
|
static |
References sqlite3_malloc64, and STRUCT_STAT.
Referenced by fileLinkStat(), makeDirectory(), and writeFile().
|
static |
Referenced by vfstraceOpen().
|
static |
References sqlite3_snprintf, and strlen30().
Referenced by main(), and process_sqliterc().
|
static |
References shell_check_oom(), sqlite3_free, and sqlite3_mprintf.
Referenced by process_sqliterc().
|
static |
References sqlite3_free.
Referenced by dump_callback(), and tableColumnList().
|
static |
References initText(), and ShellText::z.
Referenced by do_meta_command(), dump_callback(), and shellFakeSchema().
References b64Numerals, BX_DV_PROTO, c, deliberate_fall_through, ND, PAD_CHAR, PC, skipNonB64(), and WS.
Referenced by base64().
References B85_DNOS, c, and skipNonB85().
Referenced by base85().
|
static |
References sqlite3_index_info::aConstraint, sqlite3_index_info::aConstraintUsage, sqlite3_index_info::sqlite3_index_constraint_usage::argvIndex, sqlite3_index_info::estimatedCost, sqlite3_index_info::estimatedRows, FSDIR_COLUMN_DIR, FSDIR_COLUMN_PATH, sqlite3_index_info::idxNum, sqlite3_index_info::nConstraint, sqlite3_index_info::sqlite3_index_constraint_usage::omit, SQLITE_CONSTRAINT, SQLITE_INDEX_CONSTRAINT_EQ, and SQLITE_OK.
Referenced by fsdirRegister().
|
static |
References fsdirResetCursor(), sqlite3_free, and SQLITE_OK.
Referenced by fsdirRegister().
|
static |
References FSDIR_COLUMN_DATA, FSDIR_COLUMN_MODE, FSDIR_COLUMN_MTIME, FSDIR_COLUMN_NAME, FSDIR_COLUMN_PATH, fsdir_cursor::nBase, readFileContents(), sqlite3_free, sqlite3_malloc64, sqlite3_result_error_nomem, sqlite3_result_int64, sqlite3_result_null, sqlite3_result_text, SQLITE_NOMEM, SQLITE_OK, SQLITE_TRANSIENT, fsdir_cursor::sStat, and fsdir_cursor::zPath.
Referenced by fsdirRegister().
|
static |
References FSDIR_SCHEMA, sqlite3_declare_vtab, sqlite3_malloc, sqlite3_vtab_config, SQLITE_NOMEM, SQLITE_OK, and SQLITE_VTAB_DIRECTONLY.
Referenced by fsdirRegister().
|
static |
References sqlite3_free, and SQLITE_OK.
Referenced by fsdirRegister().
|
static |
References fsdir_cursor::zPath.
Referenced by fsdirRegister().
|
static |
References fileLinkStat(), fsdirResetCursor(), fsdirSetErrmsg(), fsdir_cursor::nBase, sqlite3_mprintf, sqlite3_value_text, SQLITE_ERROR, SQLITE_NOMEM, SQLITE_OK, fsdir_cursor::sStat, fsdir_cursor::zBase, and fsdir_cursor::zPath.
Referenced by fsdirRegister().
|
static |
References fsdir_cursor::aLvl, fileLinkStat(), fsdirSetErrmsg(), fsdir_cursor::iLvl, fsdir_cursor::iRowid, fsdir_cursor::nLvl, FsdirLevel::pDir, sqlite3_free, sqlite3_mprintf, sqlite3_realloc64, SQLITE_ERROR, SQLITE_NOMEM, SQLITE_OK, fsdir_cursor::sStat, FsdirLevel::zDir, and fsdir_cursor::zPath.
Referenced by fsdirRegister().
|
static |
References fsdir_cursor::base, fsdir_cursor::iLvl, sqlite3_malloc, SQLITE_NOMEM, and SQLITE_OK.
Referenced by fsdirRegister().
|
static |
References fsdirBestIndex(), fsdirClose(), fsdirColumn(), fsdirConnect(), fsdirDisconnect(), fsdirEof(), fsdirFilter(), fsdirNext(), fsdirOpen(), fsdirRowid(), and sqlite3_create_module.
Referenced by sqlite3_fileio_init().
|
static |
References fsdir_cursor::aLvl, fsdir_cursor::iLvl, fsdir_cursor::iRowid, fsdir_cursor::nBase, fsdir_cursor::nLvl, FsdirLevel::pDir, sqlite3_free, fsdir_cursor::zBase, FsdirLevel::zDir, and fsdir_cursor::zPath.
Referenced by fsdirClose(), and fsdirFilter().
|
static |
References fsdir_cursor::iRowid, and SQLITE_OK.
Referenced by fsdirRegister().
|
static |
References fsdir_cursor::base, sqlite3_vtab_cursor::pVtab, sqlite3_vmprintf, and sqlite3_vtab::zErrMsg.
Referenced by fsdirFilter(), and fsdirNext().
|
static |
Referenced by setupSequence().
|
static |
References SHA1Context::count, hash_step(), and SHA1Context::state.
Referenced by sha1Func(), and sha1QueryFunc().
|
static |
References SHA1Context::count, and SHA1Context::state.
Referenced by sha1Func(), and sha1QueryFunc().
|
static |
References SHA1Context::buffer, SHA1Context::count, SHA1Transform(), and SHA1Context::state.
Referenced by hash_finish(), hash_step_vformat(), sha1Func(), and sha1QueryFunc().
|
static |
References hash_step(), and sqlite3_vsnprintf.
Referenced by sha1QueryFunc().
|
static |
References c.
Referenced by booleanValue(), integerValue(), and resolve_backslashes().
|
static |
References IdxTable::aCol, IdxConstraint::bDesc, IdxConstraint::iCol, idxAppendText(), idxIdentifierRequiresQuotes(), sqlite3_stricmp, IdxColumn::zColl, IdxConstraint::zColl, and IdxColumn::zName.
Referenced by idxCreateFromCons().
|
static |
References sqlite3_free, sqlite3_malloc, sqlite3_vmprintf, SQLITE_NOMEM, SQLITE_OK, and STRLEN.
Referenced by idxAppendColDefn(), idxCreateVtabSchema(), idxFindIndexes(), idxPopulateOneStat1(), idxProcessOneTrigger(), and sqlite3_expert_analyze().
|
static |
References IdxWrite::eOp, idxMalloc(), IdxTable::pNext, IdxWrite::pNext, IdxWrite::pTab, sqlite3expert::pTable, sqlite3expert::pWrite, sqlite3_stricmp, SQLITE_DELETE, SQLITE_INSERT, SQLITE_OK, SQLITE_UPDATE, and IdxTable::zName.
Referenced by sqlite3_expert_new().
|
static |
References sqlite3expert::dbv, sqlite3_exec, sqlite3_free, sqlite3_mprintf, SQLITE_NOMEM, SQLITE_OK, and UNIQUE_TABLE_NAME.
Referenced by idxPopulateStat1().
|
static |
References IdxConstraint::pNext, and sqlite3_free.
Referenced by idxScanFree().
|
static |
References idxCreateFromWhere(), IdxScan::pNextScan, IdxScan::pOrder, sqlite3expert::pScan, and SQLITE_OK.
Referenced by sqlite3_expert_analyze().
|
static |
References countNonzeros(), sqlite3expert::dbm, sqlite3expert::hIdx, idxAppendColDefn(), idxFindCompatible(), idxHashAdd(), idxIdentifierRequiresQuotes(), IdxConstraint::pLink, IdxScan::pTab, sqlite3expert::pzErrmsg, sqlite3_exec, sqlite3_free, sqlite3_mprintf, SQLITE_BUSY_TIMEOUT, SQLITE_NOMEM, SQLITE_OK, and IdxTable::zName.
Referenced by idxCreateFromWhere().
|
static |
References idxCreateFromCons(), idxFindConstraint(), IdxScan::pEq, IdxConstraint::pLink, IdxConstraint::pNext, IdxScan::pRange, and SQLITE_OK.
Referenced by idxCreateCandidates().
|
static |
References IdxTable::aCol, ALWAYS, sqlite3expert::db, sqlite3expert::dbv, expertDbContainsObject(), expertSchemaSql(), idxAppendText(), idxFinalize(), idxGetTableInfo(), idxPrepareStmt(), idxRegisterVtab(), IdxTable::nCol, IdxTable::pNext, sqlite3expert::pTable, sqlite3_column_int, sqlite3_column_text, sqlite3_exec, sqlite3_free, sqlite3_step, SQLITE_OK, SQLITE_ROW, IdxColumn::zColl, and IdxColumn::zName.
Referenced by sqlite3_expert_new().
|
static |
References sqlite3_errmsg, and sqlite3_mprintf.
Referenced by idxPrepareStmt(), idxProcessOneTrigger(), and sqlite3_expert_sql().
|
static |
References sqlite3_finalize, and SQLITE_OK.
Referenced by idxCreateVtabSchema(), idxFindCompatible(), idxFindIndexes(), idxGetTableInfo(), idxLargestIndex(), idxPopulateOneStat1(), idxPopulateStat1(), idxProcessOneTrigger(), and sqlite3_expert_new().
|
static |
References IdxConstraint::bFlag, IdxConstraint::iCol, idxFinalize(), idxPrintfPrepareStmt(), IdxConstraint::pLink, IdxScan::pTab, sqlite3_column_int, sqlite3_column_text, sqlite3_finalize, sqlite3_step, sqlite3_stricmp, SQLITE_OK, SQLITE_ROW, IdxConstraint::zColl, and IdxTable::zName.
Referenced by idxCreateFromCons().
|
static |
References IdxConstraint::iCol, and IdxConstraint::pLink.
Referenced by idxCreateFromWhere().
|
static |
References sqlite3expert::dbm, sqlite3expert::hIdx, idxAppendText(), idxFinalize(), idxHashAdd(), idxHashClear(), idxHashInit(), idxHashSearch(), idxPrintfPrepareStmt(), IdxHash::pFirst, IdxHashEntry::pNext, IdxStatement::pNext, sqlite3expert::pStatement, sqlite3_column_text, sqlite3_step, SQLITE_OK, SQLITE_ROW, STRLEN, IdxStatement::zEQP, IdxStatement::zIdx, IdxHashEntry::zKey, and IdxStatement::zSql.
Referenced by sqlite3_expert_analyze().
References IdxTable::aCol, ALWAYS, idxFinalize(), idxMalloc(), idxPrintfPrepareStmt(), IdxColumn::iPk, IdxTable::nCol, sqlite3_column_int, sqlite3_column_text, sqlite3_free, sqlite3_reset, sqlite3_step, sqlite3_table_column_metadata, SQLITE_ERROR, SQLITE_OK, SQLITE_ROW, STRLEN, IdxColumn::zColl, IdxColumn::zName, and IdxTable::zName.
Referenced by idxCreateVtabSchema().
|
static |
References IdxHash::aHash, idxHashString(), idxMalloc(), IdxHash::pFirst, IdxHashEntry::pHashNext, IdxHashEntry::pNext, STRLEN, IdxHashEntry::zKey, and IdxHashEntry::zVal.
Referenced by idxCreateFromCons(), and idxFindIndexes().
|
static |
References IdxHash::aHash, IDX_HASH_SIZE, IdxHashEntry::pHashNext, sqlite3_free, and IdxHashEntry::zVal2.
Referenced by idxFindIndexes(), and sqlite3_expert_destroy().
|
static |
References IdxHash::aHash, idxHashString(), IdxHashEntry::pHashNext, STRLEN, and IdxHashEntry::zKey.
Referenced by idxHashSearch(), and idxPopulateOneStat1().
|
static |
|
static |
References idxHashFind(), and IdxHashEntry::zVal.
Referenced by idxFindIndexes().
|
static |
References IDX_HASH_SIZE.
Referenced by idxHashAdd(), and idxHashFind().
|
static |
References sqlite3_keyword_check, and STRLEN.
Referenced by idxAppendColDefn(), and idxCreateFromCons().
|
static |
References idxFinalize(), idxPrepareStmt(), sqlite3_column_int, sqlite3_step, SQLITE_OK, and SQLITE_ROW.
Referenced by idxPopulateStat1().
|
static |
References sqlite3_malloc, SQLITE_NOMEM, and SQLITE_OK.
Referenced by expertBestIndex(), expertConnect(), expertOpen(), idxAuthCallback(), idxGetTableInfo(), idxHashAdd(), idxNewConstraint(), idxPopulateOneStat1(), idxPopulateStat1(), sqlite3_expert_new(), and sqlite3_expert_sql().
|
static |
References idxMalloc(), SQLITE_OK, STRLEN, and IdxConstraint::zColl.
Referenced by expertBestIndex().
|
static |
References sqlite3expert::db, sqlite3expert::dbv, sqlite3expert::hIdx, idxAppendText(), idxFinalize(), idxHashFind(), idxMalloc(), idxPrepareStmt(), sqlite3expert::iSample, sqlite3_bind_text, sqlite3_column_int, sqlite3_column_text, sqlite3_free, sqlite3_mprintf, sqlite3_reset, sqlite3_step, SQLITE_NOMEM, SQLITE_OK, SQLITE_ROW, SQLITE_STATIC, STRLEN, UNIQUE_TABLE_NAME, and IdxHashEntry::zVal2.
Referenced by idxPopulateStat1().
|
static |
References IdxRemCtx::aSlot, sqlite3expert::db, sqlite3expert::dbm, sqlite3expert::dbv, idxBuildSampleTable(), idxFinalize(), idxLargestIndex(), idxMalloc(), idxPopulateOneStat1(), idxPrepareStmt(), idxRemFunc(), idxSampleFunc(), sqlite3expert::iSample, IdxSampleCtx::iTarget, IdxSampleCtx::nRet, IdxSampleCtx::nRow, IdxRemCtx::nSlot, sqlite3_column_int64, sqlite3_column_text, sqlite3_create_function, sqlite3_exec, sqlite3_free, sqlite3_step, SQLITE_OK, SQLITE_ROW, SQLITE_UTF8, IdxSampleCtx::target, UNIQUE_TABLE_NAME, and IdxRemCtx::IdxRemSlot::z.
Referenced by sqlite3_expert_analyze().
|
static |
References idxDatabaseError(), sqlite3_prepare_v2, and SQLITE_OK.
Referenced by idxCreateVtabSchema(), idxLargestIndex(), idxPopulateOneStat1(), idxPopulateStat1(), idxPrintfPrepareStmt(), and sqlite3_expert_sql().
|
static |
References idxPrepareStmt(), sqlite3_free, sqlite3_vmprintf, and SQLITE_NOMEM.
Referenced by expertFilter(), idxFindCompatible(), idxFindIndexes(), idxGetTableInfo(), idxProcessOneTrigger(), and sqlite3_expert_new().
|
static |
References IdxTable::aCol, sqlite3expert::db, sqlite3expert::dbv, IdxWrite::eOp, idxAppendText(), idxDatabaseError(), idxFinalize(), idxPrintfPrepareStmt(), IdxTable::nCol, IdxWrite::pTab, sqlite3_column_text, sqlite3_exec, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_step, SQLITE_DELETE, SQLITE_INSERT, SQLITE_NOMEM, SQLITE_OK, SQLITE_ROW, SQLITE_UPDATE, UNIQUE_TABLE_NAME, IdxColumn::zName, and IdxTable::zName.
Referenced by idxProcessTriggers().
|
static |
References idxProcessOneTrigger(), IdxWrite::pNext, sqlite3expert::pWrite, and SQLITE_OK.
Referenced by sqlite3_expert_analyze().
|
static |
References sqlite3expert::dbv, expertBestIndex(), expertClose(), expertColumn(), expertConnect(), expertDisconnect(), expertEof(), expertFilter(), expertNext(), expertOpen(), expertRowid(), expertUpdate(), and sqlite3_create_module.
Referenced by idxCreateVtabSchema().
|
static |
References IdxRemCtx::aSlot, IdxRemCtx::IdxRemSlot::eType, sqlite3_realloc, sqlite3_result_blob, sqlite3_result_double, sqlite3_result_error_nomem, sqlite3_result_int64, sqlite3_result_text, sqlite3_user_data, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_double, sqlite3_value_int, sqlite3_value_int64, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, SQLITE_TEXT, and SQLITE_TRANSIENT.
Referenced by idxPopulateStat1().
|
static |
References IdxSampleCtx::iTarget, IdxSampleCtx::nRet, IdxSampleCtx::nRow, sqlite3_randomness, sqlite3_result_int, sqlite3_user_data, and IdxSampleCtx::target.
Referenced by idxPopulateStat1().
References idxConstraintFree(), IdxScan::pEq, IdxScan::pNextScan, IdxScan::pOrder, IdxScan::pRange, and sqlite3_free.
Referenced by sqlite3_expert_destroy(), and sqlite3_expert_sql().
|
static |
References IdxStatement::pNext, sqlite3_free, IdxStatement::zEQP, and IdxStatement::zIdx.
Referenced by sqlite3_expert_destroy(), and sqlite3_expert_sql().
|
static |
References IdxTable::pNext, and sqlite3_free.
Referenced by sqlite3_expert_destroy().
|
static |
References IdxWrite::pNext, and sqlite3_free.
Referenced by sqlite3_expert_destroy().
|
static |
References a, e, sqlite3_result_double, sqlite3_result_int, sqlite3_result_int64, sqlite3_result_text, sqlite3_snprintf, sqlite3_user_data, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_double, sqlite3_value_int64, sqlite3_value_type, SQLITE_BLOB, and SQLITE_TRANSIENT.
Referenced by sqlite3_ieee_init().
|
static |
References sqlite3_result_double, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_type, SQLITE_BLOB, and UNUSED_PARAMETER.
Referenced by sqlite3_ieee_init().
|
static |
References a, sqlite3_result_blob, sqlite3_value_double, sqlite3_value_type, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_TRANSIENT, and UNUSED_PARAMETER.
Referenced by sqlite3_ieee_init().
|
static |
References sqlite3_result_double, sqlite3_value_double, sqlite3_value_int64, and UNUSED_PARAMETER.
Referenced by sqlite3_ieee_init().
|
static |
References c, ImportCtx::n, ImportCtx::nAlloc, shell_check_oom(), sqlite3_realloc64, and ImportCtx::z.
Referenced by ascii_read_one_field(), csv_read_one_field(), and do_meta_command().
|
static |
References ImportCtx::in, sqlite3_free, ImportCtx::xCloser, and ImportCtx::z.
Referenced by do_meta_command().
|
static |
Referenced by do_meta_command(), dump_callback(), freeText(), and shellFakeSchema().
|
static |
References intckExec(), intckFinalize(), intckGetAutoIndex(), intckIsIndex(), intckMprintf(), intckPrepareFmt(), sqlite3_intck::rc, sqlite3_column_int, sqlite3_column_text, sqlite3_step, SQLITE_OK, SQLITE_ROW, and sqlite3_intck::zDb.
Referenced by sqlite3_intck_step(), and sqlite3_intck_test_sql().
|
static |
References ShellState::db, ShellState::out, sqlite3_fprintf, sqlite3_intck_close(), sqlite3_intck_error(), sqlite3_intck_message(), sqlite3_intck_open(), sqlite3_intck_step(), sqlite3_intck_unlock(), and SQLITE_OK.
Referenced by do_meta_command().
|
static |
References intckFinalize(), intckPrepare(), and intckStep().
Referenced by intckCheckObjectSql().
|
static |
References intckSaveErrmsg(), sqlite3_intck::rc, sqlite3_finalize, and SQLITE_OK.
Referenced by intckCheckObjectSql(), intckExec(), intckFindObject(), intckGetAutoIndex(), intckIsIndex(), intckSaveKey(), sqlite3_intck_step(), and sqlite3_intck_unlock().
|
static |
References intckFinalize(), intckMprintf(), intckPrepareFmt(), sqlite3_intck::pCheck, sqlite3_intck::rc, sqlite3_bind_text, sqlite3_column_text, sqlite3_free, sqlite3_step, sqlite3_stricmp, SQLITE_OK, SQLITE_ROW, SQLITE_TRANSIENT, sqlite3_intck::zDb, sqlite3_intck::zKey, and sqlite3_intck::zObj.
Referenced by sqlite3_intck_step().
|
static |
References intckFinalize(), intckPrepare(), intckStep(), sqlite3_column_int, and SQLITE_ROW.
Referenced by intckCheckObjectSql().
|
static |
References c.
Referenced by intckParseCreateIndex().
|
static |
References intckFinalize(), intckPrepareFmt(), sqlite3_intck::rc, sqlite3_step, SQLITE_OK, SQLITE_ROW, and sqlite3_intck::zDb.
Referenced by intckCheckObjectSql().
|
static |
|
static |
References sqlite3_intck::rc, sqlite3_free, sqlite3_vmprintf, SQLITE_NOMEM, and SQLITE_OK.
Referenced by intckCheckObjectSql(), intckFindObject(), intckSaveKey(), and sqlite3_intck_step().
|
static |
References intckGetToken(), intckIsSpace(), and sqlite3_strnicmp.
Referenced by intckParseCreateIndexFunc().
|
static |
References intckParseCreateIndex(), sqlite3_result_text, sqlite3_value_int, sqlite3_value_text, and SQLITE_TRANSIENT.
Referenced by sqlite3_intck_open().
|
static |
References sqlite3_intck::db, intckSaveErrmsg(), sqlite3_intck::rc, sqlite3_prepare_v2, and SQLITE_OK.
Referenced by intckExec(), intckGetAutoIndex(), intckPrepareFmt(), intckSaveKey(), and sqlite3_intck_step().
|
static |
References intckPrepare(), sqlite3_intck::rc, sqlite3_free, sqlite3_vmprintf, SQLITE_NOMEM, and SQLITE_OK.
Referenced by intckCheckObjectSql(), intckFindObject(), intckIsIndex(), and intckSaveKey().
|
static |
References sqlite3_intck::db, sqlite3_intck::rc, sqlite3_errcode, sqlite3_errmsg, sqlite3_free, sqlite3_mprintf, and sqlite3_intck::zErr.
Referenced by intckFinalize(), and intckPrepare().
|
static |
References intckFinalize(), intckMprintf(), intckPrepare(), intckPrepareFmt(), sqlite3_intck::nKeyVal, sqlite3_intck::pCheck, sqlite3_intck::rc, sqlite3_bind_value, sqlite3_column_name, sqlite3_column_text, sqlite3_column_type, sqlite3_column_value, sqlite3_free, sqlite3_step, SQLITE_NULL, SQLITE_OK, SQLITE_ROW, sqlite3_intck::zDb, sqlite3_intck::zKey, and sqlite3_intck::zObj.
Referenced by sqlite3_intck_unlock().
|
static |
References sqlite3_intck::rc, and sqlite3_step.
Referenced by intckExec(), and intckGetAutoIndex().
|
static |
References ArraySize, hexDigitValue(), IsDigit, and sqlite3_stricmp.
Referenced by booleanValue(), do_meta_command(), expertDotCommand(), and main().
|
static |
References globalDb, seenInterrupt, sqlite3_interrupt, and UNUSED_PARAMETER.
Referenced by main().
|
extern |
|
static |
References IsDigit.
Referenced by shell_callback().
|
static |
Referenced by translateForDisplayAndDup(), and utf8_width_print().
|
static |
References a00, a01, a02, a03, a04, a10, a11, a12, a13, a14, a20, a21, a22, a23, a24, a30, a31, a32, a33, a34, a40, a41, a42, a43, a44, and ROL64.
Referenced by SHA3Update().
|
static |
References IsSpace, QSS_Start, quickscan(), and ToLower.
Referenced by process_input().
|
static |
References sqlite3_complete.
Referenced by process_input().
|
static |
References lintFkeyIndexes(), sqlite3_fprintf, sqlite3_strnicmp, SQLITE_ERROR, strlen30(), and usage().
Referenced by do_meta_command().
|
static |
References ShellState::db, ShellState::out, shellFkeyCollateClause(), sqlite3_bind_int, sqlite3_column_text, sqlite3_create_function, sqlite3_errmsg, sqlite3_finalize, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_step, sqlite3_strglob, sqlite3_stricmp, sqlite3_strnicmp, SQLITE_ERROR, SQLITE_OK, SQLITE_ROW, SQLITE_UTF8, and strlen30().
Referenced by lintDotCommand().
|
static |
References shell_check_oom(), and sqlite3_fgets.
Referenced by one_input_line().
|
static |
Referenced by vfstraceLock(), and vfstraceUnlock().
|
static |
References a, sqlite3_result_text, sqlite3_value_int, and SQLITE_TRANSIENT.
Referenced by sqlite3_fileio_init().
int main | ( | int | argc, |
char ** | argv ) |
References a, ShellState::aAuxDb, Argv0, ArraySize, ShellState::autoEQP, AUTOEQP_full, AUTOEQP_on, b, bail_on_error, ShellState::bSafeMode, ShellState::bSafeModePersist, clearTempFile(), cli_strcmp(), cli_strncmp(), close_db(), cmdline_option_value(), ShellState::cMode, ShellState::colSeparator, ShellState::colWidth, ShellState::AuxDb::db, ShellState::db, do_meta_command(), ShellState::doXdgOpen, echo_group_input(), ShellState::eEscMode, eputz, ShellState::expert, expertFinish(), find_home_dir(), GETPID, globalDb, ShellState::in, integerValue(), interrupt_handler(), isatty(), main_init(), ShellState::mode, MODE_Ascii, MODE_Box, MODE_Column, MODE_Csv, MODE_Html, MODE_Json, MODE_Line, MODE_List, MODE_Markdown, MODE_Quote, MODE_Table, ShellState::nullValue, open_db(), OPEN_DB_ZIPFILE, ShellState::openFlags, ShellState::openMode, ShellState::out, output_reset(), ShellState::pAuxDb, ExpertInfo::pExpert, sqlite3_file::pMethods, printBold(), process_input(), process_sqliterc(), ShellState::rowSeparator, sayAbnormalExit(), ShellState::scanstatsOn, SEP_Comma, SEP_Record, SEP_Row, SEP_Tab, SEP_Unit, session_close_all, set_table_name(), shell_check_oom(), shell_EscModeNames, shell_exec(), SHELL_OPEN_APPENDVFS, SHELL_OPEN_DESERIALIZE, SHELL_OPEN_READONLY, SHELL_OPEN_ZIPFILE, shell_read_history, shell_stifle_history, shell_write_history, shellEmitError(), ShellState::shellFlgs, ShellSetFlag, SHFLG_Backslash, SHFLG_Echo, SHFLG_HeaderSet, SHFLG_Lookaside, SHFLG_Pagecache, SHFLG_TestingMode, ShellState::showHeader, sputz, sqlite3_appendvfs_init(), sqlite3_config(), sqlite3_db_config, sqlite3_db_filename, sqlite3_exec, sqlite3_fgets, sqlite3_file_control, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_initialize(), sqlite3_interrupt, sqlite3_libversion, sqlite3_memory_used, sqlite3_shutdown(), sqlite3_snprintf, sqlite3_sourceid, sqlite3_stricmp, sqlite3_txn_state, sqlite3_vfs_find, sqlite3_vfs_register, sqlite3MemTraceActivate(), sqlite3PcacheTraceActivate(), SQLITE_CDECL, SQLITE_CONFIG_HEAP, SQLITE_CONFIG_LOOKASIDE, SQLITE_CONFIG_MMAP_SIZE, SQLITE_CONFIG_MULTITHREAD, SQLITE_CONFIG_PAGECACHE, SQLITE_CONFIG_ROWID_IN_VIEW, SQLITE_CONFIG_SERIALIZED, SQLITE_CONFIG_SINGLETHREAD, SQLITE_CONFIG_SORTERREF_SIZE, SQLITE_DBCONFIG_RESET_DATABASE, SQLITE_FCNTL_FILE_POINTER, SQLITE_FCNTL_VFS_POINTER, SQLITE_IOERR_SHORT_READ, SQLITE_NOTFOUND, SQLITE_OPEN_NOFOLLOW, SQLITE_SOURCE_ID, ShellState::statsOn, stdin_is_interactive, stdout_is_console, strlen30(), ShellState::szMax, usage(), verify_uninitialized(), vfstrace_register(), vfstrace_unregister(), vfstraceOut(), sqlite3_io_methods::xFileSize, sqlite3_io_methods::xRead, ShellState::AuxDb::zDbFilename, ShellState::AuxDb::zFreeOnClose, and ShellState::zNonce.
|
static |
References ShellState::aAuxDb, ShellState::autoExplain, ShellState::cMode, ShellState::colSeparator, continuePrompt, ShellState::crlfMode, mainPrompt, ShellState::mode, MODE_List, ShellState::normalMode, ShellState::pAuxDb, ShellState::rowSeparator, SEP_Column, SEP_Row, ShellState::shellFlgs, shellLog(), SHFLG_Lookaside, ShellState::showHeader, sqlite3_config(), sqlite3_snprintf, SQLITE_CONFIG_LOG, SQLITE_CONFIG_MULTITHREAD, SQLITE_CONFIG_URI, and verify_uninitialized().
Referenced by main().
|
static |
References fileStat(), sqlite3_free, sqlite3_mprintf, SQLITE_ERROR, SQLITE_NOMEM, SQLITE_OK, and STRUCT_STAT.
Referenced by writefileFunc().
|
static |
References memtraceBase, and memtraceOut.
Referenced by memtraceRealloc().
|
static |
References memtraceBase.
|
static |
References memtraceBase, and memtraceOut.
Referenced by memtraceRealloc().
|
static |
References memtraceBase, memtraceFree(), memtraceMalloc(), and memtraceOut.
|
static |
References memtraceBase.
|
static |
References memtraceBase.
|
static |
References memtraceBase.
|
static |
References c.
Referenced by output_quoted_string(), and quoted_column().
|
static |
References clearTempFile(), ShellState::db, shell_check_oom(), sqlite3_file_control, sqlite3_free, sqlite3_mprintf, sqlite3_randomness, SQLITE_FCNTL_TEMPFILENAME, and ShellState::zTempFile.
Referenced by do_meta_command().
|
static |
References CONTINUATION_PROMPT, local_getline(), mainPrompt, seenInterrupt, sputz, and sqlite3_sleep.
Referenced by process_input().
|
static |
References ShellState::bSafeModePersist, ShellState::db, deduceDatabaseType(), editFunc(), globalDb, OPEN_DB_KEEPALIVE, OPEN_DB_ZIPFILE, ShellState::openFlags, ShellState::openMode, ShellState::pAuxDb, readFile(), readHexDb(), safeModeAuth(), ShellState::scanstatsOn, shell_check_oom(), SHELL_OPEN_APPENDVFS, SHELL_OPEN_DESERIALIZE, SHELL_OPEN_HEXDB, SHELL_OPEN_NORMAL, SHELL_OPEN_READONLY, SHELL_OPEN_UNSPEC, SHELL_OPEN_ZIPFILE, shellAddSchemaName(), shellDtostr(), ShellHasFlag, shellModuleSchema(), shellPutsFunc(), shellStrtod(), shellUSleepFunc(), SHFLG_TestingMode, sqlite3_base64_init(), sqlite3_base85_init(), sqlite3_close, sqlite3_completion_init(), sqlite3_create_function, sqlite3_db_config, sqlite3_decimal_init(), sqlite3_deserialize, sqlite3_enable_load_extension(), sqlite3_errcode, sqlite3_errmsg, sqlite3_exec, sqlite3_file_control, sqlite3_fileio_init(), sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_ieee_init(), sqlite3_mprintf, sqlite3_open, sqlite3_open_v2, sqlite3_percentile_init(), sqlite3_regexp_init(), sqlite3_series_init(), sqlite3_set_authorizer, sqlite3_sha_init(), sqlite3_shathree_init(), sqlite3_stmtrand_init(), sqlite3_uint_init(), SQLITE_DBCONFIG_DEFENSIVE, SQLITE_DBCONFIG_STMT_SCANSTATUS, SQLITE_DBCONFIG_TRUSTED_SCHEMA, SQLITE_DESERIALIZE_FREEONCLOSE, SQLITE_DESERIALIZE_RESIZEABLE, SQLITE_FCNTL_SIZE_LIMIT, SQLITE_OK, SQLITE_OK_LOAD_PERMANENTLY, SQLITE_OPEN_CREATE, SQLITE_OPEN_READONLY, SQLITE_OPEN_READWRITE, SQLITE_UTF8, ShellState::szMax, and ShellState::AuxDb::zDbFilename.
Referenced by do_meta_command(), main(), and runOneSqlLine().
|
static |
References sqlite3_fopen, and STAT_CHR_SRC.
Referenced by do_meta_command().
|
static |
References cli_strcmp().
Referenced by do_meta_command().
|
static |
References anyOfInStr(), c, sqlite3_fprintf, sqlite3_fputs, and zSkipValidUtf8().
Referenced by do_meta_command(), shell_callback(), and shellAuth().
|
static |
References ShellState::colSeparator, needCsvQuote, ShellState::nullValue, ShellState::out, shell_check_oom(), sqlite3_fprintf, sqlite3_fputs, sqlite3_free, and sqlite3_mprintf.
Referenced by shell_callback().
|
static |
Referenced by do_meta_command(), and output_reset().
|
static |
References cli_strcmp(), sqlite3_fopen, and sqlite3_fprintf.
Referenced by do_meta_command().
|
static |
References shell_check_oom(), sqlite3_fprintf, sqlite3_free, and sqlite3_malloc.
Referenced by shell_callback().
|
static |
References sqlite3_fprintf, and sqlite3_fputs.
Referenced by shell_callback().
|
static |
References anyOfInStr(), c, sqlite3_fprintf, sqlite3_fputs, and zSkipValidUtf8().
Referenced by shell_callback().
|
static |
References ShellState::eEscMode, ShellState::out, setCrlfMode(), SHELL_ESC_OFF, sqlite3_fputs, sqlite3_free, sqlite3_fsetmode, and sqlite3_mprintf.
Referenced by shell_callback().
|
static |
References c, ShellState::eEscMode, needUnistr(), ShellState::out, setCrlfMode(), SHELL_ESC_OFF, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_fsetmode, and sqlite3_mprintf.
Referenced by shell_callback().
|
static |
References ShellState::mode, MODE_Www, ShellState::out, setCrlfMode(), and sqlite3_fputs.
Referenced by do_meta_command().
|
static |
References ShellState::doXdgOpen, ShellState::mode, MODE_Www, ShellState::out, ShellState::outfile, output_file_close(), outputModePop(), pclose(), setCrlfMode(), sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_mprintf, sqlite3_sleep, and ShellState::zTempFile.
Referenced by do_meta_command(), main(), and process_input().
|
static |
References ShellState::db, ShellState::out, shellFinalize(), shellPreparePrintf(), sqlite3_fputs, sqlite3_step, SQLITE_OK, and SQLITE_ROW.
Referenced by do_meta_command().
|
static |
|
static |
References ShellState::colSeparator, ShellState::colSepPrior, ShellState::mode, ShellState::modePrior, ShellState::priorShFlgs, and ShellState::shellFlgs.
Referenced by do_meta_command().
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
static |
References pcacheBase, and pcachetraceOut.
|
extern |
|
static |
References Percentile::a, and Percentile::nUsed.
Referenced by percentInverse(), and percentStep().
|
static |
References Percentile::a, PercentileFunc::bDiscrete, Percentile::bKeepSorted, Percentile::bSorted, Percentile::nUsed, percentSort(), Percentile::rPct, sqlite3_aggregate_context, sqlite3_free, sqlite3_result_double, and sqlite3_user_data.
Referenced by percentFinal(), and percentValue().
|
static |
References sqlite3_free, sqlite3_mprintf, sqlite3_result_error, sqlite3_user_data, sqlite3_vmprintf, and PercentileFunc::zName.
Referenced by percentStep().
|
static |
References percentCompute().
Referenced by sqlite3_percentile_init().
|
static |
References Percentile::a, Percentile::bKeepSorted, Percentile::bSorted, Percentile::nUsed, percentBinarySearch(), percentIsInfinity(), percentSort(), sqlite3_aggregate_context, sqlite3_value_double, sqlite3_value_type, SQLITE_FLOAT, SQLITE_INTEGER, and SQLITE_NULL.
Referenced by sqlite3_percentile_init().
|
static |
Referenced by percentInverse(), and percentStep().
|
static |
|
static |
References a, percentSort(), and SWAP_DOUBLE.
Referenced by percentCompute(), percentInverse(), and percentSort().
|
static |
References a, Percentile::a, Percentile::bKeepSorted, Percentile::bPctValid, Percentile::bSorted, PercentileFunc::mxFrac, Percentile::nAlloc, Percentile::nUsed, percentBinarySearch(), percentError(), percentIsInfinity(), percentSameValue(), Percentile::rPct, sqlite3_aggregate_context, sqlite3_free, sqlite3_realloc64, sqlite3_result_error_nomem, sqlite3_user_data, sqlite3_value_double, sqlite3_value_numeric_type, sqlite3_value_type, SQLITE_FLOAT, SQLITE_INTEGER, and SQLITE_NULL.
Referenced by sqlite3_percentile_init().
|
static |
References percentCompute().
Referenced by sqlite3_percentile_init().
|
extern |
|
static |
References BOX_24, sqlite3_fprintf, and sqlite3_fputs.
Referenced by print_box_row_separator().
|
static |
References ShellState::actualWidth, ShellState::out, print_box_line(), and sqlite3_fputs.
Referenced by exec_prepared_stmt_columnar().
|
static |
References sqlite3_fprintf, and sqlite3_fputs.
Referenced by exec_prepared_stmt_columnar(), print_row_separator(), and shell_callback().
|
static |
References ShellState::actualWidth, ShellState::out, print_dashes(), and sqlite3_fputs.
Referenced by exec_prepared_stmt_columnar().
|
static |
|
static |
References ArraySize, shell_check_oom(), sqlite3_complete, sqlite3_fprintf, sqlite3_free, sqlite3_mprintf, and sqlite3_strglob.
Referenced by dump_callback(), and shell_callback().
|
static |
|
static |
References bail_on_error, ShellState::bSafeMode, ShellState::bSafeModePersist, clearTempFile(), CONTINUE_PROMPT_PSTATE, CONTINUE_PROMPT_RESET, do_meta_command(), echo_group_input(), ShellState::in, ShellState::inputNesting, IsSpace, line_is_command_terminator(), line_is_complete(), ShellState::lineno, MAX_INPUT_NESTING, one_input_line(), ShellState::out, ShellState::outCount, output_reset(), QSS_INPLAIN, QSS_PLAINWHITE, QSS_SEMITERM, QSS_Start, quickscan(), runOneSqlLine(), seenInterrupt, shell_check_oom(), sqlite3_complete, sqlite3_fprintf, sqlite3_fputs, and stdin_is_interactive.
Referenced by do_meta_command(), main(), and process_sqliterc().
|
static |
References bail_on_error, eputz, find_home_dir(), find_xdg_config(), ShellState::in, ShellState::lineno, process_input(), shell_check_oom(), sqlite3_fopen, sqlite3_fprintf, sqlite3_free, sqlite3_mprintf, and stdin_is_interactive.
Referenced by main().
|
static |
References ShellState::flgProgress, ShellState::mxProgress, ShellState::nProgress, ShellState::out, SHELL_PROGRESS_ONCE, SHELL_PROGRESS_QUIET, SHELL_PROGRESS_RESET, and sqlite3_fprintf.
Referenced by do_meta_command().
|
static |
References SequenceSpec::isNotEOF, SequenceSpec::isReversing, SequenceSpec::iStep, SequenceSpec::iValueNow, SequenceSpec::uSeqIndexMax, and SequenceSpec::uSeqIndexNow.
Referenced by seriesNext().
|
static |
|
static |
References CONTINUE_PAREN_INCR, CONTINUE_PROMPT_AWAITC, CONTINUE_PROMPT_AWAITS, deliberate_fall_through, IsSpace, QSS_EndingSemi, QSS_HasDark, QSS_SETV, and SCAN_TRACKER_REFTYPE.
Referenced by line_is_command_terminator(), and process_input().
|
static |
References IsAlnum, IsAlpha, and sqlite3_keyword_check.
Referenced by do_meta_command(), dump_callback(), set_table_name(), shell_callback(), shellAddSchemaName(), and shellFakeSchema().
|
static |
References a, needUnistr(), sqlite3_column_blob, sqlite3_column_bytes, sqlite3_column_text, sqlite3_column_type, sqlite3_mprintf, sqlite3_str_append, sqlite3_str_appendf, sqlite3_str_finish, sqlite3_str_new, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, and SQLITE_TEXT.
Referenced by exec_prepared_stmt_columnar().
|
static |
References shell_check_oom(), SQLITE_DONE, SQLITE_NOMEM, and SQLITE_OK.
Referenced by zAutoColumn().
|
static |
References ReStateSet::aState, and ReStateSet::nState.
Referenced by sqlite3re_match().
|
static |
References ReCompiled::nState, and re_insert().
Referenced by re_subcompile_re(), re_subcompile_string(), and sqlite3re_compile().
|
static |
References ReCompiled::aArg, ReCompiled::aOp, ReCompiled::nAlloc, ReCompiled::nState, and re_resize().
Referenced by re_subcompile_string().
|
static |
|
static |
References c, ReInput::i, ReInput::mx, re_hex(), ReCompiled::sIn, ReInput::z, and ReCompiled::zErr.
Referenced by re_subcompile_string().
|
static |
References c.
Referenced by re_esc_char().
|
static |
References ReCompiled::aArg, ReCompiled::aOp, ReCompiled::nAlloc, ReCompiled::nState, and re_resize().
Referenced by re_append(), re_subcompile_re(), and re_subcompile_string().
|
static |
References c, ReInput::i, ReInput::mx, and ReInput::z.
Referenced by re_next_char_nocase(), and sqlite3re_compile().
|
static |
References c, and re_next_char().
Referenced by sqlite3re_compile().
|
static |
References ReCompiled::aArg, ReCompiled::aOp, ReCompiled::nAlloc, and sqlite3_realloc64.
Referenced by re_copy(), re_insert(), and sqlite3re_compile().
|
static |
|
static |
References re_compile, re_free, re_match, sqlite3_get_auxdata, sqlite3_result_error, sqlite3_result_error_nomem, sqlite3_result_int, sqlite3_set_auxdata, sqlite3_user_data, and sqlite3_value_text.
Referenced by sqlite3_regexp_init().
|
static |
References ReCompiled::aArg, ReInput::i, ReCompiled::nState, re_append(), re_insert(), RE_OP_FORK, RE_OP_GOTO, re_subcompile_string(), rePeek(), and ReCompiled::sIn.
Referenced by re_subcompile_string(), and sqlite3re_compile().
|
static |
References ReCompiled::aArg, c, ReInput::i, ReCompiled::nState, re_append(), re_copy(), RE_EOF, re_esc_char(), re_insert(), RE_OP_ANY, RE_OP_ANYSTAR, RE_OP_ATSTART, RE_OP_BOUNDARY, RE_OP_CC_EXC, RE_OP_CC_INC, RE_OP_CC_RANGE, RE_OP_CC_VALUE, RE_OP_DIGIT, RE_OP_FORK, RE_OP_GOTO, RE_OP_MATCH, RE_OP_NOTDIGIT, RE_OP_NOTSPACE, RE_OP_NOTWORD, RE_OP_SPACE, RE_OP_WORD, re_subcompile_re(), rePeek(), ReCompiled::sIn, and ReCompiled::xNextChar.
Referenced by re_subcompile_re().
|
static |
|
static |
References sqlite3_fopen, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, and sqlite3_malloc64.
Referenced by do_meta_command(), and open_db().
|
static |
References sqlite3_context_db_handle, sqlite3_fopen, sqlite3_free, sqlite3_limit, sqlite3_malloc64, sqlite3_result_blob64, sqlite3_result_error_code, sqlite3_result_error_nomem, SQLITE_IOERR, SQLITE_LIMIT_LENGTH, and SQLITE_TOOBIG.
Referenced by fsdirColumn(), and readfileFunc().
|
static |
References readFileContents(), and sqlite3_value_text.
Referenced by sqlite3_fileio_init().
|
static |
References a, cli_strncmp(), ShellState::in, ShellState::lineno, ShellState::pAuxDb, shell_check_oom(), sqlite3_fgets, sqlite3_fopen, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_malloc, and ShellState::AuxDb::zDbFilename.
Referenced by open_db().
References dummyUDF(), dummyUDFvalue(), sqlite3_column_int, sqlite3_column_text, sqlite3_create_function, sqlite3_create_window_function, sqlite3_finalize, sqlite3_prepare_v2, sqlite3_step, SQLITE_DETERMINISTIC, SQLITE_DIRECTONLY, SQLITE_DONE, SQLITE_ERROR, SQLITE_OK, SQLITE_ROW, SQLITE_UTF16BE, SQLITE_UTF16LE, and SQLITE_UTF8.
Referenced by sqlite3_expert_new().
|
static |
References ReInput::i, ReInput::mx, ReCompiled::sIn, and ReInput::z.
Referenced by re_subcompile_re(), and re_subcompile_string().
|
static |
References c, and hexDigitValue().
Referenced by do_meta_command(), and runOneSqlLine().
|
static |
References SQLITE_TESTCTRL_TRACEFLAGS.
Referenced by shell_exec().
|
static |
References ShellState::db, dump_callback(), ShellState::out, sqlite3_exec, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_snprintf, SQLITE_CORRUPT, and strlen30().
Referenced by do_meta_command().
|
static |
References ShellState::db, ShellState::nErr, ShellState::out, shell_error_context(), sqlite3_column_count, sqlite3_column_text, sqlite3_errmsg, sqlite3_finalize, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_prepare_v2, sqlite3_step, SQLITE_CORRUPT, SQLITE_OK, and SQLITE_ROW.
Referenced by do_meta_command().
|
static |
References BEGIN_TIMER, cli_strncmp(), ShellState::db, doAutoDetectRestore(), END_TIMER, ShellState::flgProgress, ShellState::nProgress, open_db(), ShellState::out, resolve_backslashes(), shell_exec(), SHELL_PROGRESS_RESET, ShellHasFlag, SHFLG_Backslash, SHFLG_CountChanges, sqlite3_changes64, sqlite3_errmsg, sqlite3_fprintf, sqlite3_free, sqlite3_snprintf, sqlite3_total_changes64, and stdin_is_interactive.
Referenced by process_input().
|
static |
References ArraySize, failIfSafeMode(), sqlite3_stricmp, SQLITE_ATTACH, SQLITE_FUNCTION, SQLITE_OK, and UNUSED_PARAMETER.
Referenced by do_meta_command(), open_db(), and shellAuth().
|
static |
References shell_check_oom(), shell_error_context(), sqlite3_errmsg, sqlite3_free, sqlite3_str_appendall, sqlite3_str_appendf, sqlite3_str_finish, and sqlite3_str_new.
Referenced by shell_exec().
|
static |
|
static |
References sqlite3_index_info::aConstraint, sqlite3_index_info::aConstraintUsage, sqlite3_index_info::aOrderBy, sqlite3_index_info::sqlite3_index_constraint_usage::argvIndex, sqlite3_index_info::sqlite3_index_orderby::desc, sqlite3_index_info::estimatedCost, sqlite3_index_info::estimatedRows, sqlite3_index_info::sqlite3_index_orderby::iColumn, sqlite3_index_info::idxFlags, sqlite3_index_info::idxNum, sqlite3_index_info::nConstraint, sqlite3_index_info::nOrderBy, sqlite3_index_info::sqlite3_index_constraint_usage::omit, sqlite3_index_info::orderByConsumed, SERIES_COLUMN_ROWID, SERIES_COLUMN_START, SERIES_COLUMN_STEP, SERIES_COLUMN_STOP, SERIES_COLUMN_VALUE, sqlite3_free, sqlite3_mprintf, SQLITE_CONSTRAINT, SQLITE_ERROR, SQLITE_INDEX_CONSTRAINT_EQ, SQLITE_INDEX_CONSTRAINT_GE, SQLITE_INDEX_CONSTRAINT_GT, SQLITE_INDEX_CONSTRAINT_IS, SQLITE_INDEX_CONSTRAINT_LE, SQLITE_INDEX_CONSTRAINT_LIMIT, SQLITE_INDEX_CONSTRAINT_LT, SQLITE_INDEX_CONSTRAINT_OFFSET, SQLITE_INDEX_SCAN_HEX, SQLITE_OK, SQLITE_SERIES_CONSTRAINT_VERIFY, and sqlite3_vtab::zErrMsg.
|
static |
References sqlite3_free, and SQLITE_OK.
|
static |
References SequenceSpec::iOBase, SequenceSpec::iOTerm, SequenceSpec::iStep, SequenceSpec::iValueNow, SERIES_COLUMN_START, SERIES_COLUMN_STEP, SERIES_COLUMN_STOP, sqlite3_result_int64, SQLITE_OK, and series_cursor::ss.
|
static |
References sqlite3_declare_vtab, sqlite3_malloc, sqlite3_vtab_config, SQLITE_NOMEM, SQLITE_OK, and SQLITE_VTAB_INNOCUOUS.
|
static |
References sqlite3_free, and SQLITE_OK.
|
static |
References SequenceSpec::isNotEOF, and series_cursor::ss.
|
static |
References d, SequenceSpec::iBase, SequenceSpec::iOBase, SequenceSpec::iOTerm, SequenceSpec::isReversing, SequenceSpec::iStep, SequenceSpec::iTerm, LARGEST_INT64, setupSequence(), SMALLEST_INT64, sqlite3_value_double, sqlite3_value_int64, sqlite3_value_numeric_type, sqlite3_value_type, SQLITE_FLOAT, SQLITE_NULL, SQLITE_OK, and series_cursor::ss.
|
static |
References progressSequence(), SQLITE_OK, and series_cursor::ss.
|
static |
References series_cursor::base, sqlite3_malloc, SQLITE_NOMEM, and SQLITE_OK.
|
static |
References SequenceSpec::iValueNow, SQLITE_OK, and series_cursor::ss.
|
static |
References quoteChar(), shell_check_oom(), strlen30(), and ShellState::zDestTable.
Referenced by do_meta_command(), and main().
|
static |
References ShellState::crlfMode, ShellState::out, sqlite3_fsetmode, and UNUSED_PARAMETER.
Referenced by output_quoted_escaped_string(), output_quoted_string(), output_redir(), output_reset(), and shell_callback().
|
static |
References DynaPrompt::acAwait, c, and DynaPrompt::zScannerAwaits.
|
static |
References booleanValue(), ShellClearFlag, and ShellSetFlag.
Referenced by do_meta_command().
|
static |
References genSeqMember(), SequenceSpec::iBase, SequenceSpec::isNotEOF, SequenceSpec::isReversing, SequenceSpec::iStep, SequenceSpec::iTerm, SequenceSpec::iValueNow, SequenceSpec::uSeqIndexMax, and SequenceSpec::uSeqIndexNow.
Referenced by seriesFilter().
|
static |
References hash_finish(), hash_init(), hash_step(), sqlite3_result_blob, sqlite3_user_data, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_NULL, and SQLITE_TRANSIENT.
Referenced by sqlite3_sha_init().
|
static |
References hash_finish(), hash_init(), hash_step(), hash_step_vformat(), sqlite3_column_blob, sqlite3_column_bytes, sqlite3_column_count, sqlite3_column_double, sqlite3_column_int64, sqlite3_column_text, sqlite3_column_type, sqlite3_context_db_handle, sqlite3_errmsg, sqlite3_finalize, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_result_error, sqlite3_result_text, sqlite3_sql, sqlite3_step, sqlite3_stmt_readonly, sqlite3_value_text, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, SQLITE_ROW, SQLITE_TEXT, and SQLITE_TRANSIENT.
Referenced by sqlite3_sha_init().
|
static |
References a, b, c, d, e, R1, R2, R3, R4, Rb0, and Rl0.
Referenced by hash_step().
|
static |
References SHA3Update(), and sqlite3_vsnprintf.
Referenced by sha3QueryFunc(), and sha3UpdateFromValue().
|
static |
References SHA3Context::iSize, SHA3Final(), sqlite3_aggregate_context, sqlite3_result_blob, and SQLITE_TRANSIENT.
Referenced by sqlite3_shathree_init().
|
static |
References SHA3Context::nRate, SHA3Init(), sha3UpdateFromValue(), sqlite3_aggregate_context, and sqlite3_value_int.
Referenced by sqlite3_shathree_init().
|
static |
References SHA3Context::ixMask, SHA3Context::nLoaded, SHA3Context::nRate, SHA3Update(), and SHA3Context::u.
Referenced by sha3AggFinal(), sha3Func(), and sha3QueryFunc().
|
static |
References SHA3Final(), SHA3Init(), SHA3Update(), sqlite3_result_blob, sqlite3_result_error, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_int, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_NULL, and SQLITE_TRANSIENT.
Referenced by sqlite3_shathree_init().
|
static |
References SHA3Context::iSize, SHA3Context::ixMask, and SHA3Context::nRate.
Referenced by sha3AggStep(), sha3Func(), and sha3QueryFunc().
|
static |
References sha3_step_vformat(), SHA3Final(), SHA3Init(), SHA3Update(), sha3UpdateFromValue(), sqlite3_column_count, sqlite3_column_value, sqlite3_context_db_handle, sqlite3_errmsg, sqlite3_finalize, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_result_blob, sqlite3_result_error, sqlite3_sql, sqlite3_step, sqlite3_stmt_readonly, sqlite3_value_int, sqlite3_value_text, SQLITE_ROW, and SQLITE_TRANSIENT.
Referenced by sqlite3_shathree_init().
|
static |
References SHA3Context::ixMask, KeccakF1600Step(), SHA3Context::nLoaded, SHA3Context::nRate, and SHA3Context::u.
Referenced by sha3_step_vformat(), SHA3Final(), sha3Func(), sha3QueryFunc(), and sha3UpdateFromValue().
|
static |
References sha3_step_vformat(), SHA3Update(), sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_double, sqlite3_value_int64, sqlite3_value_text, sqlite3_value_type, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, and SQLITE_TEXT.
Referenced by sha3AggStep(), and sha3QueryFunc().
|
static |
References ShellState::aiIndent, ArraySize, c, ShellState::cMode, ShellState::cnt, ShellState::colSeparator, eqp_append(), escapeOutput(), ShellState::iIndent, IsAlnum, isNumber(), IsSpace, MODE_Ascii, MODE_Count, MODE_Csv, MODE_EQP, MODE_Explain, MODE_Html, MODE_Insert, MODE_Json, MODE_Line, MODE_List, MODE_Off, MODE_Pretty, MODE_Quote, MODE_ScanExp, MODE_Semi, MODE_Tcl, MODE_Www, ShellState::nIndent, ShellState::nullValue, ShellState::out, output_c_string(), output_csv(), output_hex_blob(), output_html_string(), output_json_string(), output_quoted_escaped_string(), output_quoted_string(), print_dashes(), printSchemaLine(), printSchemaLineN(), ShellState::pStmt, quoteChar(), ShellState::rowSeparator, setCrlfMode(), shell_check_oom(), ShellHasFlag, SHFLG_Newlines, ShellState::showHeader, sqlite3_column_blob, sqlite3_column_bytes, sqlite3_column_double, sqlite3_fprintf, sqlite3_fputs, sqlite3_free, sqlite3_fsetmode, sqlite3_mprintf, sqlite3_snprintf, sqlite3_strlike, sqlite3_strnicmp, SQLITE_BLOB, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, SQLITE_TEXT, strlen30(), strlenChar(), utf8_width_print(), wsToEol(), and ShellState::zDestTable.
Referenced by callback(), and exec_prepared_stmt().
|
static |
References shell_out_of_memory().
Referenced by appendText(), do_meta_command(), dump_callback(), eqp_append(), escapeOutput(), exec_prepared_stmt_columnar(), explain_data_prepare(), find_xdg_config(), import_append_char(), local_getline(), main(), newTempFile(), open_db(), output_csv(), output_hex_blob(), printSchemaLine(), process_input(), process_sqliterc(), rc_err_oom_die(), readHexDb(), save_err_msg(), set_table_name(), shell_callback(), shell_dbtotxt_command(), shell_error_context(), shellFakeSchema(), showHelp(), tableColumnList(), translateForDisplayAndDup(), tryToCloneData(), and tryToCloneSchema().
|
static |
References c, ShellState::db, ShellState::out, shell_check_oom(), sqlite3_column_blob, sqlite3_column_int, sqlite3_column_int64, sqlite3_column_text, sqlite3_errmsg, sqlite3_finalize, sqlite3_fprintf, sqlite3_prepare_v2, sqlite3_step, SQLITE_ROW, and UNUSED_PARAMETER.
Referenced by do_meta_command().
|
static |
References IsSpace, shell_check_oom(), sqlite3_error_offset, and sqlite3_mprintf.
Referenced by run_table_dump_query(), and save_err_msg().
|
static |
References ShellState::autoEQP, AUTOEQP_full, AUTOEQP_trigger, ShellState::autoExplain, bind_prepared_stmt(), ShellState::cMode, ShellState::cnt, ShellState::db, disable_debug_trace_modes(), display_scanstats(), display_stats(), eqp_append(), eqp_render(), exec_prepared_stmt(), ShellState::expert, expertFinish(), expertHandleSQL(), explain_data_delete(), explain_data_prepare(), IsSpace, ShellState::mode, MODE_EQP, MODE_Explain, ExpertInfo::pExpert, ShellState::pStmt, restore_debug_trace_modes(), save_err_msg(), ShellState::scanstatsOn, sqlite3_column_int, sqlite3_column_text, sqlite3_db_config, sqlite3_finalize, sqlite3_prepare_v2, sqlite3_reset, sqlite3_sql, sqlite3_step, sqlite3_stmt_explain, sqlite3_stmt_isexplain, SQLITE_DBCONFIG_TRIGGER_EQP, SQLITE_NOMEM, SQLITE_OK, SQLITE_ROW, and ShellState::statsOn.
Referenced by do_meta_command(), dump_callback(), main(), and runOneSqlLine().
|
static |
References eputz.
Referenced by do_meta_command(), exec_prepared_stmt(), and shell_check_oom().
|
static |
Referenced by dynamicContinuePrompt().
|
static |
Referenced by do_meta_command(), and dynamicContinuePrompt().
|
static |
References aPrefix, ArraySize, cli_strncmp(), quoteChar(), shellFakeSchema(), sqlite3_context_db_handle, sqlite3_free, sqlite3_mprintf, sqlite3_result_text, sqlite3_result_value, sqlite3_stricmp, sqlite3_value_text, strlen30(), and UNUSED_PARAMETER.
Referenced by open_db().
|
static |
References ShellState::bSafeMode, ShellState::out, output_c_string(), safeModeAuth(), sqlite3_fprintf, sqlite3_fputs, and SQLITE_OK.
Referenced by do_meta_command().
|
static |
References shellEmitError(), and sqlite3_errmsg.
Referenced by do_meta_command().
int shellDeleteFile | ( | const char * | zFilename | ) |
References sqlite3_free.
Referenced by clearTempFile(), and do_meta_command().
|
static |
References sqlite3_result_text, sqlite3_snprintf, sqlite3_value_double, sqlite3_value_int, and SQLITE_TRANSIENT.
Referenced by open_db().
|
static |
References sqlite3_fprintf.
Referenced by do_meta_command(), main(), and shellDatabaseError().
|
static |
References appendText(), freeText(), initText(), quoteChar(), shell_check_oom(), sqlite3_column_text, sqlite3_finalize, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_step, sqlite3_stricmp, SQLITE_ROW, and ShellText::z.
Referenced by shellAddSchemaName(), and shellModuleSchema().
|
static |
References sqlite3_db_handle, sqlite3_errmsg, sqlite3_finalize, sqlite3_fprintf, and SQLITE_OK.
Referenced by doAutoDetectRestore(), and outputDumpWarning().
|
static |
References sqlite3_context_db_handle, sqlite3_free, sqlite3_mprintf, sqlite3_result_text, sqlite3_stricmp, sqlite3_table_column_metadata, sqlite3_value_text, SQLITE_OK, SQLITE_STATIC, and SQLITE_TRANSIENT.
Referenced by lintFkeyIndexes().
|
static |
References ShellState::pLog, and sqlite3_fprintf.
Referenced by main_init().
|
static |
References ShellState::pLog, shellFakeSchema(), sqlite3_context_db_handle, sqlite3_free, sqlite3_mprintf, sqlite3_result_text, sqlite3_user_data, sqlite3_value_text, and UNUSED_PARAMETER.
Referenced by open_db().
|
static |
Referenced by doAutoDetectRestore(), and shellPreparePrintf().
|
static |
References shellPrepare(), sqlite3_free, sqlite3_vmprintf, SQLITE_NOMEM, and SQLITE_OK.
Referenced by outputDumpWarning().
|
static |
References ShellState::out, sqlite3_fprintf, sqlite3_result_value, sqlite3_user_data, and sqlite3_value_text.
Referenced by open_db().
void shellReset | ( | int * | pRc, |
sqlite3_stmt * | pStmt ) |
References sqlite3_db_handle, sqlite3_errmsg, sqlite3_fprintf, sqlite3_reset, and SQLITE_OK.
|
static |
References sqlite3_result_double, sqlite3_value_text, and UNUSED_PARAMETER.
Referenced by open_db().
|
static |
References sqlite3_result_int, sqlite3_sleep, and sqlite3_value_int.
Referenced by open_db().
|
static |
References ArraySize, azHelp, cli_strcmp(), shell_check_oom(), sqlite3_fprintf, sqlite3_free, sqlite3_mprintf, sqlite3_strglob, and sqlite3_strlike.
Referenced by do_meta_command().
|
static |
References BX_DV_PROTO, c, and IS_BX_DIGIT.
Referenced by fromBase64().
|
static |
|
static |
References ShellState::eTraceType, SHELL_TRACE_EXPANDED, SHELL_TRACE_NORMALIZED, sputz, sqlite3_expanded_sql, sqlite3_fprintf, sqlite3_normalized_sql, sqlite3_sql, SQLITE_TRACE_CLOSE, SQLITE_TRACE_PROFILE, SQLITE_TRACE_ROW, SQLITE_TRACE_STMT, and ShellState::traceOut.
Referenced by do_meta_command().
int sqlite3_appendvfs_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References apnd_vfs, sqlite3_vfs::iVersion, sqlite3_auto_extension, sqlite3_vfs_find, sqlite3_vfs_register, SQLITE_ERROR, SQLITE_EXTENSION_INIT2, SQLITE_OK, SQLITE_OK_LOAD_PERMANENTLY, and sqlite3_vfs::szOsFile.
Referenced by main().
int sqlite3_base64_init | ( | sqlite3 * | db, |
char ** | pzErr, | ||
const sqlite3_api_routines * | pApi ) |
References base64(), sqlite3_base64_init(), sqlite3_base_init, sqlite3_create_function, SQLITE_DETERMINISTIC, SQLITE_DIRECTONLY, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, and SQLITE_UTF8.
Referenced by open_db(), and sqlite3_base64_init().
int sqlite3_base85_init | ( | sqlite3 * | db, |
char ** | pzErr, | ||
const sqlite3_api_routines * | pApi ) |
References base85(), sqlite3_base85_init(), sqlite3_base_init, sqlite3_create_function, SQLITE_DETERMINISTIC, SQLITE_DIRECTONLY, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db(), and sqlite3_base85_init().
int sqlite3_completion_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References sqlite3CompletionVtabInit(), SQLITE_EXTENSION_INIT2, and SQLITE_OK.
Referenced by open_db().
int sqlite3_decimal_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References decimalAddFunc(), decimalCmpFunc(), decimalCollFunc(), decimalFunc(), decimalMulFunc(), decimalPow2Func(), decimalSubFunc(), decimalSumFinalize(), decimalSumInverse(), decimalSumStep(), decimalSumValue(), sqlite3_create_collation, sqlite3_create_function, sqlite3_create_window_function, SQLITE_DETERMINISTIC, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db().
int sqlite3_expert_analyze | ( | sqlite3expert * | p, |
char ** | pzErr ) |
References sqlite3expert::bRun, sqlite3expert::hIdx, idxAppendText(), idxCreateCandidates(), idxFindIndexes(), idxPopulateStat1(), idxProcessTriggers(), IdxHash::pFirst, IdxHashEntry::pNext, sqlite3_mprintf, SQLITE_BUSY_TIMEOUT, SQLITE_OK, sqlite3expert::zCandidates, IdxHashEntry::zVal, and IdxHashEntry::zVal2.
Referenced by expertFinish().
int sqlite3_expert_config | ( | sqlite3expert * | p, |
int | op, | ||
... ) |
References EXPERT_CONFIG_SAMPLE, sqlite3expert::iSample, SQLITE_NOTFOUND, and SQLITE_OK.
Referenced by expertDotCommand().
int sqlite3_expert_count | ( | sqlite3expert * | p | ) |
References IdxStatement::iId, and sqlite3expert::pStatement.
Referenced by expertFinish().
void sqlite3_expert_destroy | ( | sqlite3expert * | p | ) |
References sqlite3expert::dbm, sqlite3expert::dbv, sqlite3expert::hIdx, idxHashClear(), idxScanFree(), idxStatementFree(), idxTableFree(), idxWriteFree(), sqlite3expert::pScan, sqlite3expert::pStatement, sqlite3expert::pTable, sqlite3expert::pWrite, sqlite3_close, sqlite3_free, and sqlite3expert::zCandidates.
Referenced by expertFinish(), and sqlite3_expert_new().
sqlite3expert * sqlite3_expert_new | ( | sqlite3 * | db, |
char ** | pzErr ) |
References sqlite3expert::db, sqlite3expert::dbm, sqlite3expert::dbv, expertDbContainsObject(), expertSchemaSql(), idxAuthCallback(), idxCreateVtabSchema(), idxFinalize(), idxMalloc(), idxPrintfPrepareStmt(), sqlite3expert::iSample, registerUDFs(), sqlite3_collation_needed, sqlite3_column_text, sqlite3_db_config, sqlite3_expert_destroy(), sqlite3_open, sqlite3_set_authorizer, sqlite3_step, SQLITE_DBCONFIG_TRIGGER_EQP, SQLITE_OK, SQLITE_ROW, and useDummyCS().
Referenced by expertDotCommand().
const char * sqlite3_expert_report | ( | sqlite3expert * | p, |
int | iStmt, | ||
int | eReport ) |
References sqlite3expert::bRun, EXPERT_REPORT_CANDIDATES, EXPERT_REPORT_INDEXES, EXPERT_REPORT_PLAN, EXPERT_REPORT_SQL, IdxStatement::iId, IdxStatement::pNext, sqlite3expert::pStatement, sqlite3expert::zCandidates, IdxStatement::zEQP, IdxStatement::zIdx, and IdxStatement::zSql.
Referenced by expertFinish().
int sqlite3_expert_sql | ( | sqlite3expert * | p, |
const char * | zSql, | ||
char ** | pzErr ) |
References sqlite3expert::bRun, sqlite3expert::db, sqlite3expert::dbv, idxDatabaseError(), idxMalloc(), idxPrepareStmt(), idxScanFree(), idxStatementFree(), IdxStatement::iId, IdxStatement::pNext, sqlite3expert::pScan, sqlite3expert::pStatement, sqlite3_finalize, sqlite3_prepare_v2, sqlite3_sql, SQLITE_MISUSE, SQLITE_OK, STRLEN, and IdxStatement::zSql.
Referenced by expertHandleSQL().
int sqlite3_fileio_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References fsdirRegister(), lsModeFunc(), readfileFunc(), sqlite3_create_function, SQLITE_DIRECTONLY, SQLITE_EXTENSION_INIT2, SQLITE_OK, SQLITE_UTF8, and writefileFunc().
Referenced by open_db().
int sqlite3_ieee_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References ieee754func(), ieee754func_from_blob(), ieee754func_to_blob(), ieee754inc(), sqlite3_create_function, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db().
void sqlite3_intck_close | ( | sqlite3_intck * | pCk | ) |
References sqlite3_intck::db, sqlite3_intck::pCheck, sqlite3_create_function, sqlite3_finalize, sqlite3_free, SQLITE_UTF8, sqlite3_intck::zErr, sqlite3_intck::zKey, sqlite3_intck::zMessage, sqlite3_intck::zObj, and sqlite3_intck::zTestSql.
Referenced by intckDatabaseCmd(), and sqlite3_intck_open().
int sqlite3_intck_error | ( | sqlite3_intck * | pCk, |
const char ** | pzErr ) |
References sqlite3_intck::rc, SQLITE_DONE, SQLITE_OK, and sqlite3_intck::zErr.
Referenced by intckDatabaseCmd().
const char * sqlite3_intck_message | ( | sqlite3_intck * | pCk | ) |
References sqlite3_intck::pCheck, sqlite3_column_text, and sqlite3_intck::zMessage.
Referenced by intckDatabaseCmd().
int sqlite3_intck_open | ( | sqlite3 * | db, |
const char * | zDb, | ||
sqlite3_intck ** | ppOut ) |
References sqlite3_intck::db, intckParseCreateIndexFunc(), sqlite3_create_function, sqlite3_intck_close(), sqlite3_malloc, SQLITE_NOMEM, SQLITE_OK, SQLITE_UTF8, and sqlite3_intck::zDb.
Referenced by intckDatabaseCmd().
int sqlite3_intck_step | ( | sqlite3_intck * | pCk | ) |
References sqlite3_intck::bCorruptSchema, intckCheckObjectSql(), intckFinalize(), intckFindObject(), intckMprintf(), intckPrepare(), sqlite3_intck::nKeyVal, sqlite3_intck::pCheck, sqlite3_intck::rc, sqlite3_free, sqlite3_step, SQLITE_CORRUPT, SQLITE_DONE, SQLITE_OK, SQLITE_ROW, sqlite3_intck::zKey, sqlite3_intck::zMessage, and sqlite3_intck::zObj.
Referenced by intckDatabaseCmd().
const char * sqlite3_intck_test_sql | ( | sqlite3_intck * | pCk, |
const char * | zObj ) |
References intckCheckObjectSql(), sqlite3_free, sqlite3_intck::zKey, sqlite3_intck::zObj, and sqlite3_intck::zTestSql.
int sqlite3_intck_unlock | ( | sqlite3_intck * | pCk | ) |
References intckFinalize(), intckSaveKey(), sqlite3_intck::nKeyVal, sqlite3_intck::pCheck, sqlite3_intck::rc, SQLITE_OK, and sqlite3_intck::zKey.
Referenced by intckDatabaseCmd().
int sqlite3_percentile_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References aPercentFunc, percentFinal(), percentInverse(), percentStep(), percentValue(), sqlite3_create_window_function, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, SQLITE_SELFORDER1, and SQLITE_UTF8.
Referenced by open_db().
int sqlite3_regexp_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References re_sql_func(), sqlite3_create_function, SQLITE_DETERMINISTIC, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db().
int sqlite3_series_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References seriesModule, sqlite3_create_module, sqlite3_libversion_number, sqlite3_mprintf, SQLITE_ERROR, SQLITE_EXTENSION_INIT2, and SQLITE_OK.
Referenced by open_db().
int sqlite3_sha_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References sha1Func(), sha1QueryFunc(), sqlite3_create_function, SQLITE_DETERMINISTIC, SQLITE_DIRECTONLY, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db().
int sqlite3_shathree_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References sha3AggFinal(), sha3AggStep(), sha3Func(), sha3QueryFunc(), sqlite3_create_function, SQLITE_DETERMINISTIC, SQLITE_DIRECTONLY, SQLITE_EXTENSION_INIT2, SQLITE_INNOCUOUS, SQLITE_OK, and SQLITE_UTF8.
Referenced by open_db().
int sqlite3_stmtrand_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References sqlite3_create_function, SQLITE_EXTENSION_INIT2, SQLITE_OK, SQLITE_UTF8, and stmtrandFunc().
Referenced by open_db().
int sqlite3_uint_init | ( | sqlite3 * | db, |
char ** | pzErrMsg, | ||
const sqlite3_api_routines * | pApi ) |
References sqlite3_create_collation, SQLITE_EXTENSION_INIT2, SQLITE_UTF8, and uintCollFunc().
Referenced by open_db().
int sqlite3CompletionVtabInit | ( | sqlite3 * | db | ) |
References completionModule, sqlite3_create_module, and SQLITE_OK.
Referenced by sqlite3_completion_init().
int sqlite3MemTraceActivate | ( | FILE * | out | ) |
References ersaztMethods, memtraceBase, memtraceOut, sqlite3_config(), SQLITE_CONFIG_GETMALLOC, SQLITE_CONFIG_MALLOC, and SQLITE_OK.
Referenced by main().
int sqlite3MemTraceDeactivate | ( | void | ) |
References memtraceBase, memtraceOut, sqlite3_config(), SQLITE_CONFIG_MALLOC, and SQLITE_OK.
int sqlite3PcacheTraceActivate | ( | FILE * | out | ) |
References ersaztPcacheMethods, pcacheBase, pcachetraceOut, sqlite3_config(), SQLITE_CONFIG_GETPCACHE2, SQLITE_CONFIG_PCACHE2, and SQLITE_OK.
Referenced by main().
int sqlite3PcacheTraceDeactivate | ( | void | ) |
References pcacheBase, pcachetraceOut, sqlite3_config(), SQLITE_CONFIG_PCACHE2, and SQLITE_OK.
|
static |
References ReCompiled::aArg, ReCompiled::aOp, ReInput::i, ReInput::mx, ReCompiled::nInit, re_append(), re_free, re_next_char(), re_next_char_nocase(), RE_OP_ACCEPT, RE_OP_ANYSTAR, RE_OP_MATCH, re_resize(), re_subcompile_re(), ReCompiled::sIn, sqlite3_malloc, ReCompiled::xNextChar, ReInput::z, ReCompiled::zErr, and ReCompiled::zInit.
|
static |
References ReCompiled::aArg, ReCompiled::aOp, and sqlite3_free.
|
static |
References ReCompiled::aArg, ReCompiled::aOp, ReStateSet::aState, c, ReInput::i, ReInput::mx, ReCompiled::nInit, ReCompiled::nState, ReStateSet::nState, re_add_state(), re_digit_char(), RE_EOF, RE_OP_ACCEPT, RE_OP_ANY, RE_OP_ANYSTAR, RE_OP_ATSTART, RE_OP_BOUNDARY, RE_OP_CC_EXC, RE_OP_CC_INC, RE_OP_CC_VALUE, RE_OP_DIGIT, RE_OP_FORK, RE_OP_GOTO, RE_OP_MATCH, RE_OP_NOTDIGIT, RE_OP_NOTSPACE, RE_OP_NOTWORD, RE_OP_SPACE, RE_OP_WORD, re_space_char(), RE_START, re_word_char(), sqlite3_free, sqlite3_malloc64, ReCompiled::xNextChar, ReInput::z, and ReCompiled::zInit.
|
static |
References sqlite3_free, sqlite3_get_auxdata, sqlite3_malloc, sqlite3_result_error_nomem, sqlite3_result_int, sqlite3_set_auxdata, sqlite3_value_int, STMTRAND_KEY, Stmtrand::x, and Stmtrand::y.
Referenced by sqlite3_stmtrand_init().
|
static |
References cli_strcmp().
Referenced by explain_data_prepare().
|
static |
Referenced by vfstraceShmLock(), and vfstraceSync().
|
static |
Referenced by appendText(), do_meta_command(), expertDotCommand(), find_home_dir(), lintDotCommand(), lintFkeyIndexes(), main(), run_schema_dump_query(), set_table_name(), shell_callback(), shellAddSchemaName(), and tryToCloneData().
|
static |
Referenced by exec_prepared_stmt_columnar(), and shell_callback().
|
static |
References ShellState::db, freeColumnList(), shell_check_oom(), ShellHasFlag, SHFLG_PreserveRowid, sqlite3_column_int, sqlite3_column_text, sqlite3_finalize, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_realloc, sqlite3_step, sqlite3_stricmp, sqlite3_table_column_metadata, SQLITE_OK, and SQLITE_ROW.
Referenced by dump_callback().
|
static |
Referenced by do_meta_command().
|
static |
References c, IsDigit, IsSpace, and testcase_glob().
Referenced by do_meta_command(), and testcase_glob().
|
static |
Referenced by endTimer().
|
static |
References sqlite3_vfs::iVersion, sqlite3_vfs_find, sqlite3_vfs::xCurrentTime, and sqlite3_vfs::xCurrentTimeInt64.
Referenced by beginTimer(), and endTimer().
|
static |
References B64_DARK_MAX, BX_NUMERAL, and PAD_CHAR.
Referenced by base64().
|
static |
References B85_DARK_MAX, base85Numeral, and putcs().
Referenced by base85().
|
static |
References sqlite3_column_int, sqlite3_exec, sqlite3_finalize, sqlite3_prepare_v2, sqlite3_snprintf, sqlite3_step, and SQLITE_ROW.
Referenced by dump_callback().
|
static |
References DynaPrompt::inParenLevel, and DynaPrompt::zScannerAwaits.
|
static |
References c, cli_wcwidth(), decodeUtf8(), ShellState::eEscMode, IsAlnum, IsSpace, isVt100(), shell_check_oom(), SHELL_ESC_ASCII, SHELL_ESC_OFF, and SHELL_ESC_SYMBOL.
Referenced by exec_prepared_stmt_columnar().
|
static |
References close_db(), ShellState::db, sqlite3_errmsg, sqlite3_exec, sqlite3_fprintf, sqlite3_open, tryToCloneData(), and tryToCloneSchema().
Referenced by do_meta_command().
|
static |
References ShellState::db, shell_check_oom(), sqlite3_bind_blob, sqlite3_bind_double, sqlite3_bind_int64, sqlite3_bind_null, sqlite3_bind_text, sqlite3_column_blob, sqlite3_column_bytes, sqlite3_column_count, sqlite3_column_double, sqlite3_column_int64, sqlite3_column_text, sqlite3_column_type, sqlite3_errmsg, sqlite3_extended_errcode, sqlite3_finalize, sqlite3_fprintf, sqlite3_free, sqlite3_malloc64, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_reset, sqlite3_snprintf, sqlite3_step, SQLITE_BLOB, SQLITE_DONE, SQLITE_FLOAT, SQLITE_INTEGER, SQLITE_NULL, SQLITE_OK, SQLITE_ROW, SQLITE_STATIC, SQLITE_TEXT, and strlen30().
Referenced by tryToClone().
|
static |
References ShellState::db, shell_check_oom(), sputz, sqlite3_column_text, sqlite3_errmsg, sqlite3_exec, sqlite3_extended_errcode, sqlite3_finalize, sqlite3_fprintf, sqlite3_free, sqlite3_mprintf, sqlite3_prepare_v2, sqlite3_step, sqlite3_stricmp, SQLITE_DONE, and SQLITE_ROW.
Referenced by tryToClone().
|
static |
Referenced by sqlite3_uint_init().
|
static |
References Argv0, eputz, sqlite3_fprintf, and zOptions.
Referenced by lintDotCommand(), and main().
void useDummyCS | ( | void * | up1, |
sqlite3 * | db, | ||
int | etr, | ||
const char * | zName ) |
References dummyCompare(), and sqlite3_create_collation_v2.
Referenced by sqlite3_expert_new().
|
static |
References a, c, cli_wcwidth(), decodeUtf8(), isVt100(), and sqlite3_fprintf.
Referenced by exec_prepared_stmt_columnar(), and shell_callback().
|
static |
References sputz, sqlite3_config(), and SQLITE_MISUSE.
Referenced by main(), and main_init().
|
static |
References SQLITE_ABORT, SQLITE_BUSY, SQLITE_BUSY_RECOVERY, SQLITE_CANTOPEN, SQLITE_CANTOPEN_NOTEMPDIR, SQLITE_CONSTRAINT, SQLITE_CORRUPT, SQLITE_EMPTY, SQLITE_ERROR, SQLITE_FULL, SQLITE_INTERNAL, SQLITE_INTERRUPT, SQLITE_IOERR, SQLITE_IOERR_ACCESS, SQLITE_IOERR_BLOCKED, SQLITE_IOERR_CHECKRESERVEDLOCK, SQLITE_IOERR_CLOSE, SQLITE_IOERR_CONVPATH, SQLITE_IOERR_DELETE, SQLITE_IOERR_DIR_CLOSE, SQLITE_IOERR_DIR_FSYNC, SQLITE_IOERR_FSTAT, SQLITE_IOERR_FSYNC, SQLITE_IOERR_GETTEMPPATH, SQLITE_IOERR_LOCK, SQLITE_IOERR_NOMEM, SQLITE_IOERR_RDLOCK, SQLITE_IOERR_READ, SQLITE_IOERR_SEEK, SQLITE_IOERR_SHMLOCK, SQLITE_IOERR_SHMMAP, SQLITE_IOERR_SHMOPEN, SQLITE_IOERR_SHMSIZE, SQLITE_IOERR_SHORT_READ, SQLITE_IOERR_TRUNCATE, SQLITE_IOERR_UNLOCK, SQLITE_IOERR_WRITE, SQLITE_LOCKED, SQLITE_LOCKED_SHAREDCACHE, SQLITE_MISMATCH, SQLITE_MISUSE, SQLITE_NOLFS, SQLITE_NOMEM, SQLITE_NOTFOUND, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_READONLY, SQLITE_READONLY_DBMOVED, SQLITE_SCHEMA, and SQLITE_TOOBIG.
Referenced by vfstrace_print_errcode().
|
static |
References sqlite3_snprintf, vfstrace_errcode_name(), and vfstrace_printf().
Referenced by vfstraceAccess(), vfstraceCheckReservedLock(), vfstraceClose(), vfstraceDelete(), vfstraceFetch(), vfstraceFileControl(), vfstraceFileSize(), vfstraceFullPathname(), vfstraceLock(), vfstraceOpen(), vfstraceRead(), vfstraceShmLock(), vfstraceShmMap(), vfstraceShmUnmap(), vfstraceUnfetch(), vfstraceUnlock(), and vfstraceWrite().
|
static |
References vfstrace_info::bOn, vfstrace_info::pOutArg, sqlite3_free, sqlite3_vmprintf, and vfstrace_info::xOut.
Referenced by vfstrace_print_errcode(), vfstrace_register(), vfstraceAccess(), vfstraceCheckReservedLock(), vfstraceClose(), vfstraceCurrentTime(), vfstraceCurrentTimeInt64(), vfstraceDelete(), vfstraceDeviceCharacteristics(), vfstraceDlClose(), vfstraceDlError(), vfstraceDlOpen(), vfstraceFetch(), vfstraceFileControl(), vfstraceFileSize(), vfstraceFullPathname(), vfstraceGetLastError(), vfstraceLock(), vfstraceOpen(), vfstraceRandomness(), vfstraceRead(), vfstraceSectorSize(), vfstraceShmBarrier(), vfstraceShmLock(), vfstraceShmMap(), vfstraceShmUnmap(), vfstraceSleep(), vfstraceSync(), vfstraceTruncate(), vfstraceUnfetch(), vfstraceUnlock(), and vfstraceWrite().
int vfstrace_register | ( | const char * | zTraceName, |
const char * | zOldVfsName, | ||
int(* | xOut )(const char *, void *), | ||
void * | pOutArg, | ||
int | makeDefault ) |
References vfstrace_info::bOn, sqlite3_vfs::iVersion, vfstrace_info::mTrace, sqlite3_vfs::mxPathname, sqlite3_vfs::pAppData, vfstrace_info::pOutArg, vfstrace_info::pRootVfs, vfstrace_info::pTraceVfs, sqlite3_malloc64, sqlite3_vfs_find, sqlite3_vfs_register, SQLITE_NOMEM, SQLITE_NOTFOUND, sqlite3_vfs::szOsFile, vfstrace_printf(), vfstraceAccess(), vfstraceCurrentTime(), vfstraceCurrentTimeInt64(), vfstraceDelete(), vfstraceDlClose(), vfstraceDlError(), vfstraceDlOpen(), vfstraceDlSym, vfstraceFullPathname(), vfstraceGetLastError(), vfstraceGetSystemCall(), vfstraceNextSystemCall(), vfstraceOpen(), vfstraceRandomness(), vfstraceSetSystemCall(), vfstraceSleep(), sqlite3_vfs::xAccess, sqlite3_vfs::xCurrentTime, sqlite3_vfs::xCurrentTimeInt64, sqlite3_vfs::xDelete, sqlite3_vfs::xDlClose, sqlite3_vfs::xDlError, sqlite3_vfs::xDlOpen, sqlite3_vfs::xDlSym, sqlite3_vfs::xFullPathname, sqlite3_vfs::xGetLastError, sqlite3_vfs::xGetSystemCall, sqlite3_vfs::xNextSystemCall, sqlite3_vfs::xOpen, vfstrace_info::xOut, sqlite3_vfs::xRandomness, sqlite3_vfs::xSetSystemCall, sqlite3_vfs::xSleep, sqlite3_vfs::zName, and vfstrace_info::zVfsName.
Referenced by main().
void vfstrace_unregister | ( | const char * | zTraceName | ) |
References sqlite3_free, sqlite3_vfs_find, sqlite3_vfs_unregister, vfstraceOpen(), and sqlite3_vfs::xOpen.
Referenced by main().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_ACCESS, sqlite3_vfs::xAccess, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_CRL, sqlite3_io_methods::xCheckReservedLock, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::base, vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, sqlite3_free, SQLITE_OK, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_CLOSE, sqlite3_io_methods::xClose, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_CURTIME, sqlite3_vfs::xCurrentTime, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_CURTIME, sqlite3_vfs::xCurrentTimeInt64, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_DELETE, sqlite3_vfs::xDelete, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_printf(), vfstraceOnOff(), VTR_DEVCHAR, sqlite3_io_methods::xDeviceCharacteristics, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_DLCLOSE, sqlite3_vfs::xDlClose, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_DLERR, sqlite3_vfs::xDlError, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_DLOPEN, sqlite3_vfs::xDlOpen, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_FETCH, sqlite3_io_methods::xFetch, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References a, vfstrace_info::mTrace, vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, sqlite3_mprintf, sqlite3_snprintf, sqlite3_strnicmp, SQLITE_FCNTL_BEGIN_ATOMIC_WRITE, SQLITE_FCNTL_BUSYHANDLER, SQLITE_FCNTL_CHUNK_SIZE, SQLITE_FCNTL_CKPT_DONE, SQLITE_FCNTL_CKPT_START, SQLITE_FCNTL_CKSM_FILE, SQLITE_FCNTL_COMMIT_ATOMIC_WRITE, SQLITE_FCNTL_COMMIT_PHASETWO, SQLITE_FCNTL_DATA_VERSION, SQLITE_FCNTL_EXTERNAL_READER, SQLITE_FCNTL_FILE_POINTER, SQLITE_FCNTL_HAS_MOVED, SQLITE_FCNTL_JOURNAL_POINTER, SQLITE_FCNTL_LOCK_TIMEOUT, SQLITE_FCNTL_LOCKSTATE, SQLITE_FCNTL_MMAP_SIZE, SQLITE_FCNTL_OVERWRITE, SQLITE_FCNTL_PDB, SQLITE_FCNTL_PERSIST_WAL, SQLITE_FCNTL_POWERSAFE_OVERWRITE, SQLITE_FCNTL_PRAGMA, SQLITE_FCNTL_RBU, SQLITE_FCNTL_RESERVE_BYTES, SQLITE_FCNTL_RESET_CACHE, SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE, SQLITE_FCNTL_SIZE_HINT, SQLITE_FCNTL_SIZE_LIMIT, SQLITE_FCNTL_SYNC, SQLITE_FCNTL_TEMPFILENAME, SQLITE_FCNTL_TRACE, SQLITE_FCNTL_VFS_POINTER, SQLITE_FCNTL_VFSNAME, SQLITE_FCNTL_WAL_BLOCK, SQLITE_FCNTL_WIN32_AV_RETRY, SQLITE_FCNTL_WIN32_GET_HANDLE, SQLITE_FCNTL_WIN32_SET_HANDLE, SQLITE_FCNTL_ZIPVFS, SQLITE_GET_LOCKPROXYFILE, SQLITE_LAST_ERRNO, SQLITE_OK, SQLITE_SET_LOCKPROXYFILE, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_ACCESS, VTR_CLOSE, VTR_CRL, VTR_CURTIME, VTR_DELETE, VTR_DEVCHAR, VTR_DLCLOSE, VTR_DLERR, VTR_DLOPEN, VTR_DLSYM, VTR_FCTRL, VTR_FETCH, VTR_FSIZE, VTR_FULLPATH, VTR_LASTERR, VTR_LOCK, VTR_OPEN, VTR_RAND, VTR_READ, VTR_SECSZ, VTR_SHMBAR, VTR_SHMLOCK, VTR_SHMMAP, VTR_SHMUNMAP, VTR_SLEEP, VTR_SYNC, VTR_TRUNC, VTR_UNLOCK, VTR_WRITE, sqlite3_io_methods::xFileControl, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_FSIZE, sqlite3_io_methods::xFileSize, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_FULLPATH, sqlite3_vfs::xFullPathname, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_LASTERR, sqlite3_vfs::xGetLastError, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, and sqlite3_vfs::xGetSystemCall.
Referenced by vfstrace_register().
|
static |
References lockName(), vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_LOCK, sqlite3_io_methods::xLock, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, and sqlite3_vfs::xNextSystemCall.
Referenced by vfstrace_register().
|
static |
References vfstrace_info::bOn, and vfstrace_info::mTrace.
Referenced by vfstraceAccess(), vfstraceCheckReservedLock(), vfstraceClose(), vfstraceCurrentTime(), vfstraceCurrentTimeInt64(), vfstraceDelete(), vfstraceDeviceCharacteristics(), vfstraceDlClose(), vfstraceDlError(), vfstraceDlOpen(), vfstraceFetch(), vfstraceFileControl(), vfstraceFileSize(), vfstraceFullPathname(), vfstraceGetLastError(), vfstraceLock(), vfstraceOpen(), vfstraceRandomness(), vfstraceRead(), vfstraceSectorSize(), vfstraceShmBarrier(), vfstraceShmLock(), vfstraceShmMap(), vfstraceShmUnmap(), vfstraceSleep(), vfstraceSync(), vfstraceTruncate(), vfstraceUnfetch(), vfstraceUnlock(), and vfstraceWrite().
|
static |
References fileTail(), sqlite3_io_methods::iVersion, sqlite3_vfs::pAppData, vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_info::pRootVfs, sqlite3_malloc, vfstrace_print_errcode(), vfstrace_printf(), vfstraceCheckReservedLock(), vfstraceClose(), vfstraceDeviceCharacteristics(), vfstraceFetch(), vfstraceFileControl(), vfstraceFileSize(), vfstraceLock(), vfstraceOnOff(), vfstraceRead(), vfstraceSectorSize(), vfstraceShmBarrier(), vfstraceShmLock(), vfstraceShmMap(), vfstraceShmUnmap(), vfstraceSync(), vfstraceTruncate(), vfstraceUnfetch(), vfstraceUnlock(), vfstraceWrite(), VTR_OPEN, sqlite3_io_methods::xCheckReservedLock, sqlite3_io_methods::xClose, sqlite3_io_methods::xDeviceCharacteristics, sqlite3_io_methods::xFetch, sqlite3_io_methods::xFileControl, sqlite3_io_methods::xFileSize, sqlite3_io_methods::xLock, sqlite3_vfs::xOpen, sqlite3_io_methods::xRead, sqlite3_io_methods::xSectorSize, sqlite3_io_methods::xShmBarrier, sqlite3_io_methods::xShmLock, sqlite3_io_methods::xShmMap, sqlite3_io_methods::xShmUnmap, sqlite3_io_methods::xSync, sqlite3_io_methods::xTruncate, sqlite3_io_methods::xUnfetch, sqlite3_io_methods::xUnlock, sqlite3_io_methods::xWrite, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstrace_register(), and vfstrace_unregister().
|
static |
References ShellState::out, and sqlite3_fputs.
Referenced by main().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_RAND, sqlite3_vfs::xRandomness, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_READ, sqlite3_io_methods::xRead, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_printf(), vfstraceOnOff(), VTR_SECSZ, sqlite3_io_methods::xSectorSize, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, and sqlite3_vfs::xSetSystemCall.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_printf(), vfstraceOnOff(), VTR_SHMBAR, sqlite3_io_methods::xShmBarrier, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, sqlite3_snprintf, SQLITE_SHM_EXCLUSIVE, SQLITE_SHM_LOCK, SQLITE_SHM_SHARED, SQLITE_SHM_UNLOCK, strappend(), vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_SHMLOCK, sqlite3_io_methods::xShmLock, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_SHMMAP, sqlite3_io_methods::xShmMap, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_SHMUNMAP, sqlite3_io_methods::xShmUnmap, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References sqlite3_vfs::pAppData, vfstrace_info::pRootVfs, vfstrace_printf(), vfstraceOnOff(), VTR_SLEEP, sqlite3_vfs::xSleep, and vfstrace_info::zVfsName.
Referenced by vfstrace_register().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, sqlite3_snprintf, SQLITE_SYNC_DATAONLY, SQLITE_SYNC_FULL, SQLITE_SYNC_NORMAL, strappend(), vfstrace_printf(), vfstraceOnOff(), VTR_SYNC, sqlite3_io_methods::xSync, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_printf(), vfstraceOnOff(), VTR_TRUNC, sqlite3_io_methods::xTruncate, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_FETCH, sqlite3_io_methods::xUnfetch, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References lockName(), vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_UNLOCK, sqlite3_io_methods::xUnlock, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References vfstrace_file::pInfo, sqlite3_file::pMethods, vfstrace_file::pReal, vfstrace_print_errcode(), vfstrace_printf(), vfstraceOnOff(), VTR_WRITE, sqlite3_io_methods::xWrite, vfstrace_file::zFName, and vfstrace_info::zVfsName.
Referenced by vfstraceOpen().
|
static |
References fileStat(), sqlite3_fopen, sqlite3_free, sqlite3_result_int64, sqlite3_value_blob, sqlite3_value_bytes, sqlite3_value_text, and STRUCT_STAT.
Referenced by writefileFunc().
|
static |
References ctxErrorMsg(), makeDirectory(), sqlite3_result_error, sqlite3_value_int, sqlite3_value_int64, sqlite3_value_text, SQLITE_OK, and writeFile().
Referenced by sqlite3_fileio_init().
|
static |
References IsSpace.
Referenced by shell_callback().
|
static |
References AUTOCOLUMN_SEP, db_int(), rc_err_oom_die(), sqlite3_bind_int, sqlite3_bind_text, sqlite3_close, sqlite3_column_text, sqlite3_exec, sqlite3_finalize, sqlite3_mprintf, sqlite3_open, sqlite3_prepare_v2, sqlite3_step, SQLITE_DONE, SQLITE_NOMEM, SQLITE_OK, SQLITE_ROW, and zCOL_DB.
Referenced by do_meta_command().
const char * zSkipValidUtf8 | ( | const char * | z, |
int | nAccept, | ||
long | ccm ) |
References c.
Referenced by output_c_string(), and output_json_string().
|
static |
Referenced by sqlite3_percentile_init().
|
static |
Referenced by apndOpen().
|
static |
Referenced by sqlite3_appendvfs_init().
|
static |
|
static |
Referenced by apndIsAppendvfsDatabase(), and apndIsOrdinaryDatabaseFile().
const struct { ... } aUWidth[] |
Referenced by cli_wcwidth().
|
static |
Referenced by showHelp().
|
static |
|
static |
Referenced by fromBase64().
|
static |
|
static |
Referenced by do_meta_command(), main(), process_input(), and process_sqliterc().
|
static |
Referenced by sqlite3CompletionVtabInit().
|
static |
Referenced by do_meta_command(), dynamicContinuePrompt(), and main_init().
|
static |
Referenced by dynamicContinuePrompt().
|
static |
Referenced by beginTimer(), do_meta_command(), and endTimer().
|
static |
Referenced by sqlite3MemTraceActivate().
|
static |
Referenced by sqlite3PcacheTraceActivate().
struct { ... } faultsim_state |
Referenced by do_meta_command(), and faultsim_callback().
|
static |
Referenced by do_meta_command(), interrupt_handler(), main(), and open_db().
|
static |
Referenced by beginTimer(), and endTimer().
|
static |
Referenced by do_meta_command(), main_init(), and one_input_line().
|
static |
|
static |
Referenced by memtraceFree(), memtraceMalloc(), memtraceRealloc(), sqlite3MemTraceActivate(), and sqlite3MemTraceDeactivate().
|
static |
Referenced by do_meta_command().
|
static |
Referenced by output_csv().
|
static |
Referenced by pcachetraceCachesize(), pcachetraceCreate(), pcachetraceDestroy(), pcachetraceFetch(), pcachetraceInit(), pcachetracePagecount(), pcachetraceRekey(), pcachetraceShrink(), pcachetraceShutdown(), pcachetraceTruncate(), pcachetraceUnpin(), sqlite3PcacheTraceActivate(), and sqlite3PcacheTraceDeactivate().
|
static |
Referenced by pcachetraceCachesize(), pcachetraceCreate(), pcachetraceDestroy(), pcachetraceFetch(), pcachetraceInit(), pcachetracePagecount(), pcachetraceRekey(), pcachetraceShrink(), pcachetraceShutdown(), pcachetraceTruncate(), pcachetraceUnpin(), sqlite3PcacheTraceActivate(), and sqlite3PcacheTraceDeactivate().
|
static |
Referenced by disable_debug_trace_modes().
|
static |
Referenced by disable_debug_trace_modes().
|
static |
Referenced by beginTimer(), and endTimer().
|
static |
|
static |
Referenced by sqlite3_series_init().
|
static |
Referenced by do_meta_command(), and main().
|
static |
Referenced by do_meta_command(), main(), process_input(), process_sqliterc(), and runOneSqlLine().
|
static |
Referenced by main().
|
static |
Referenced by vfstrace_register().
|
static |
Referenced by zAutoColumn().
|
static |
Referenced by usage().