Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <stdarg.h>
Go to the source code of this file.
Data Structures | |
struct | sqlite3_file |
struct | sqlite3_io_methods |
struct | sqlite3_vfs |
struct | sqlite3_mem_methods |
struct | sqlite3_module |
struct | sqlite3_index_info |
struct | sqlite3_index_info::sqlite3_index_constraint |
struct | sqlite3_index_info::sqlite3_index_orderby |
struct | sqlite3_index_info::sqlite3_index_constraint_usage |
struct | sqlite3_vtab |
struct | sqlite3_vtab_cursor |
struct | sqlite3_mutex_methods |
struct | sqlite3_pcache_page |
struct | sqlite3_pcache_methods2 |
struct | sqlite3_pcache_methods |
struct | sqlite3_snapshot |
struct | sqlite3_rtree_geometry |
struct | sqlite3_rtree_query_info |
struct | Fts5PhraseIter |
struct | Fts5ExtensionApi |
struct | fts5_tokenizer |
struct | fts5_api |
Typedefs | |
typedef struct sqlite3 | sqlite3 |
typedef long long int | sqlite_int64 |
typedef unsigned long long int | sqlite_uint64 |
typedef sqlite_int64 | sqlite3_int64 |
typedef sqlite_uint64 | sqlite3_uint64 |
typedef int(* | sqlite3_callback) (void *, int, char **, char **) |
typedef struct sqlite3_file | sqlite3_file |
typedef struct sqlite3_io_methods | sqlite3_io_methods |
typedef struct sqlite3_mutex | sqlite3_mutex |
typedef struct sqlite3_api_routines | sqlite3_api_routines |
typedef struct sqlite3_vfs | sqlite3_vfs |
typedef void(* | sqlite3_syscall_ptr) (void) |
typedef struct sqlite3_mem_methods | sqlite3_mem_methods |
typedef struct sqlite3_stmt | sqlite3_stmt |
typedef struct sqlite3_value | sqlite3_value |
typedef struct sqlite3_context | sqlite3_context |
typedef void(* | sqlite3_destructor_type) (void *) |
typedef struct sqlite3_vtab | sqlite3_vtab |
typedef struct sqlite3_index_info | sqlite3_index_info |
typedef struct sqlite3_vtab_cursor | sqlite3_vtab_cursor |
typedef struct sqlite3_module | sqlite3_module |
typedef struct sqlite3_blob | sqlite3_blob |
typedef struct sqlite3_mutex_methods | sqlite3_mutex_methods |
typedef struct sqlite3_str | sqlite3_str |
typedef struct sqlite3_pcache | sqlite3_pcache |
typedef struct sqlite3_pcache_page | sqlite3_pcache_page |
typedef struct sqlite3_pcache_methods2 | sqlite3_pcache_methods2 |
typedef struct sqlite3_pcache_methods | sqlite3_pcache_methods |
typedef struct sqlite3_backup | sqlite3_backup |
typedef struct sqlite3_snapshot | sqlite3_snapshot |
typedef struct sqlite3_rtree_geometry | sqlite3_rtree_geometry |
typedef struct sqlite3_rtree_query_info | sqlite3_rtree_query_info |
typedef double | sqlite3_rtree_dbl |
typedef struct Fts5ExtensionApi | Fts5ExtensionApi |
typedef struct Fts5Context | Fts5Context |
typedef struct Fts5PhraseIter | Fts5PhraseIter |
typedef void(* | fts5_extension_function) (const Fts5ExtensionApi *pApi, Fts5Context *pFts, sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
typedef struct Fts5Tokenizer | Fts5Tokenizer |
typedef struct fts5_tokenizer | fts5_tokenizer |
typedef struct fts5_api | fts5_api |
Variables | |
SQLITE_API SQLITE_EXTERN const char | sqlite3_version [] |
SQLITE_API SQLITE_EXTERN char * | sqlite3_temp_directory |
SQLITE_API SQLITE_EXTERN char * | sqlite3_data_directory |
#define FTS5_TOKEN_COLOCATED 0x0001 /* Same position as prev. token */ |
#define FULLY_WITHIN 2 /* Object fully contained within query region */ |
#define NOT_WITHIN 0 /* Object completely outside of query region */ |
#define PARTLY_WITHIN 1 /* Object partially overlaps query region */ |
#define SQLITE_ABORT 4 /* Callback routine requested an abort */ |
#define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2<<8)) |
#define SQLITE_ACCESS_READWRITE 1 /* Used by PRAGMA temp_store_directory */ |
#define SQLITE_ALTER_TABLE 26 /* Database Name Table Name */ |
#define SQLITE_AUTH_USER (SQLITE_AUTH | (1<<8)) |
#define SQLITE_BUSY_RECOVERY (SQLITE_BUSY | (1<<8)) |
#define SQLITE_BUSY_SNAPSHOT (SQLITE_BUSY | (2<<8)) |
#define SQLITE_BUSY_TIMEOUT (SQLITE_BUSY | (3<<8)) |
#define SQLITE_CANTOPEN 14 /* Unable to open the database file */ |
#define SQLITE_CANTOPEN_CONVPATH (SQLITE_CANTOPEN | (4<<8)) |
#define SQLITE_CANTOPEN_DIRTYWAL (SQLITE_CANTOPEN | (5<<8)) /* Not Used */ |
#define SQLITE_CANTOPEN_FULLPATH (SQLITE_CANTOPEN | (3<<8)) |
#define SQLITE_CANTOPEN_ISDIR (SQLITE_CANTOPEN | (2<<8)) |
#define SQLITE_CANTOPEN_NOTEMPDIR (SQLITE_CANTOPEN | (1<<8)) |
#define SQLITE_CANTOPEN_SYMLINK (SQLITE_CANTOPEN | (6<<8)) |
#define SQLITE_CHECKPOINT_FULL 1 /* Wait for writers, then checkpoint */ |
#define SQLITE_CHECKPOINT_PASSIVE 0 /* Do as much as possible w/o blocking */ |
#define SQLITE_CHECKPOINT_RESTART 2 /* Like FULL but wait for for readers */ |
#define SQLITE_CHECKPOINT_TRUNCATE 3 /* Like RESTART but also truncate WAL */ |
#define SQLITE_CONFIG_GETMALLOC 5 /* sqlite3_mem_methods* */ |
#define SQLITE_CONFIG_GETMUTEX 11 /* sqlite3_mutex_methods* */ |
#define SQLITE_CONFIG_GETPCACHE2 19 /* sqlite3_pcache_methods2* */ |
#define SQLITE_CONFIG_HEAP 8 /* void*, int nByte, int min */ |
#define SQLITE_CONFIG_MALLOC 4 /* sqlite3_mem_methods* */ |
#define SQLITE_CONFIG_MEMDB_MAXSIZE 29 /* sqlite3_int64 */ |
#define SQLITE_CONFIG_MMAP_SIZE 22 /* sqlite3_int64, sqlite3_int64 */ |
#define SQLITE_CONFIG_MUTEX 10 /* sqlite3_mutex_methods* */ |
#define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */ |
#define SQLITE_CONFIG_PCACHE2 18 /* sqlite3_pcache_methods2* */ |
#define SQLITE_CONSTRAINT 19 /* Abort due to constraint violation */ |
#define SQLITE_CONSTRAINT_CHECK (SQLITE_CONSTRAINT | (1<<8)) |
#define SQLITE_CONSTRAINT_COMMITHOOK (SQLITE_CONSTRAINT | (2<<8)) |
#define SQLITE_CONSTRAINT_FOREIGNKEY (SQLITE_CONSTRAINT | (3<<8)) |
#define SQLITE_CONSTRAINT_FUNCTION (SQLITE_CONSTRAINT | (4<<8)) |
#define SQLITE_CONSTRAINT_NOTNULL (SQLITE_CONSTRAINT | (5<<8)) |
#define SQLITE_CONSTRAINT_PINNED (SQLITE_CONSTRAINT |(11<<8)) |
#define SQLITE_CONSTRAINT_PRIMARYKEY (SQLITE_CONSTRAINT | (6<<8)) |
#define SQLITE_CONSTRAINT_ROWID (SQLITE_CONSTRAINT |(10<<8)) |
#define SQLITE_CONSTRAINT_TRIGGER (SQLITE_CONSTRAINT | (7<<8)) |
#define SQLITE_CONSTRAINT_UNIQUE (SQLITE_CONSTRAINT | (8<<8)) |
#define SQLITE_CONSTRAINT_VTAB (SQLITE_CONSTRAINT | (9<<8)) |
#define SQLITE_CORRUPT_INDEX (SQLITE_CORRUPT | (3<<8)) |
#define SQLITE_CORRUPT_SEQUENCE (SQLITE_CORRUPT | (2<<8)) |
#define SQLITE_CORRUPT_VTAB (SQLITE_CORRUPT | (1<<8)) |
#define SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER 1004 /* int int* */ |
#define SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION 1005 /* int int* */ |
#define SQLITE_DBCONFIG_ENABLE_TRIGGER 1003 /* int int* */ |
#define SQLITE_DBCONFIG_LEGACY_ALTER_TABLE 1012 /* int int* */ |
#define SQLITE_DBCONFIG_LEGACY_FILE_FORMAT 1016 /* int int* */ |
#define SQLITE_DBCONFIG_LOOKASIDE 1001 /* void* int int */ |
#define SQLITE_DBCONFIG_MAINDBNAME 1000 /* const char* */ |
#define SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE 1006 /* int int* */ |
#define SQLITE_DBCONFIG_RESET_DATABASE 1009 /* int int* */ |
#define SQLITE_DBCONFIG_TRUSTED_SCHEMA 1017 /* int int* */ |
#define SQLITE_DBCONFIG_WRITABLE_SCHEMA 1011 /* int int* */ |
#define SQLITE_DBSTATUS_MAX 12 /* Largest defined DBSTATUS */ |
#define SQLITE_DESERIALIZE_FREEONCLOSE 1 /* Call sqlite3_free() on close */ |
#define SQLITE_DESERIALIZE_READONLY 4 /* Database is read-only */ |
#define SQLITE_DESERIALIZE_RESIZEABLE 2 /* Resize using sqlite3_realloc64() */ |
#define SQLITE_DONE 101 /* sqlite3_step() has finished executing */ |
#define SQLITE_ERROR_MISSING_COLLSEQ (SQLITE_ERROR | (1<<8)) |
#define SQLITE_ERROR_RETRY (SQLITE_ERROR | (2<<8)) |
#define SQLITE_ERROR_SNAPSHOT (SQLITE_ERROR | (3<<8)) |
#define SQLITE_FULL 13 /* Insertion failed because database is full */ |
#define SQLITE_GET_LOCKPROXYFILE SQLITE_FCNTL_GET_LOCKPROXYFILE |
#define SQLITE_IGNORE 2 /* Don't allow access, but don't generate an error */ |
#define SQLITE_INDEX_SCAN_UNIQUE 1 /* Scan visits at most 1 row */ |
#define SQLITE_INTERNAL 2 /* Internal logic error in SQLite */ |
#define SQLITE_INTERRUPT 9 /* Operation terminated by sqlite3_interrupt()*/ |
#define SQLITE_IOERR 10 /* Some kind of disk I/O error occurred */ |
#define SQLITE_IOERR_ACCESS (SQLITE_IOERR | (13<<8)) |
#define SQLITE_IOERR_AUTH (SQLITE_IOERR | (28<<8)) |
#define SQLITE_IOERR_BEGIN_ATOMIC (SQLITE_IOERR | (29<<8)) |
#define SQLITE_IOERR_BLOCKED (SQLITE_IOERR | (11<<8)) |
#define SQLITE_IOERR_CHECKRESERVEDLOCK (SQLITE_IOERR | (14<<8)) |
#define SQLITE_IOERR_CLOSE (SQLITE_IOERR | (16<<8)) |
#define SQLITE_IOERR_COMMIT_ATOMIC (SQLITE_IOERR | (30<<8)) |
#define SQLITE_IOERR_CONVPATH (SQLITE_IOERR | (26<<8)) |
#define SQLITE_IOERR_DATA (SQLITE_IOERR | (32<<8)) |
#define SQLITE_IOERR_DELETE (SQLITE_IOERR | (10<<8)) |
#define SQLITE_IOERR_DELETE_NOENT (SQLITE_IOERR | (23<<8)) |
#define SQLITE_IOERR_DIR_CLOSE (SQLITE_IOERR | (17<<8)) |
#define SQLITE_IOERR_DIR_FSYNC (SQLITE_IOERR | (5<<8)) |
#define SQLITE_IOERR_FSTAT (SQLITE_IOERR | (7<<8)) |
#define SQLITE_IOERR_FSYNC (SQLITE_IOERR | (4<<8)) |
#define SQLITE_IOERR_GETTEMPPATH (SQLITE_IOERR | (25<<8)) |
#define SQLITE_IOERR_LOCK (SQLITE_IOERR | (15<<8)) |
#define SQLITE_IOERR_MMAP (SQLITE_IOERR | (24<<8)) |
#define SQLITE_IOERR_NOMEM (SQLITE_IOERR | (12<<8)) |
#define SQLITE_IOERR_RDLOCK (SQLITE_IOERR | (9<<8)) |
#define SQLITE_IOERR_READ (SQLITE_IOERR | (1<<8)) |
#define SQLITE_IOERR_ROLLBACK_ATOMIC (SQLITE_IOERR | (31<<8)) |
#define SQLITE_IOERR_SEEK (SQLITE_IOERR | (22<<8)) |
#define SQLITE_IOERR_SHMLOCK (SQLITE_IOERR | (20<<8)) |
#define SQLITE_IOERR_SHMMAP (SQLITE_IOERR | (21<<8)) |
#define SQLITE_IOERR_SHMOPEN (SQLITE_IOERR | (18<<8)) |
#define SQLITE_IOERR_SHMSIZE (SQLITE_IOERR | (19<<8)) |
#define SQLITE_IOERR_SHORT_READ (SQLITE_IOERR | (2<<8)) |
#define SQLITE_IOERR_TRUNCATE (SQLITE_IOERR | (6<<8)) |
#define SQLITE_IOERR_UNLOCK (SQLITE_IOERR | (8<<8)) |
#define SQLITE_IOERR_VNODE (SQLITE_IOERR | (27<<8)) |
#define SQLITE_IOERR_WRITE (SQLITE_IOERR | (3<<8)) |
#define SQLITE_LAST_ERRNO SQLITE_FCNTL_LAST_ERRNO |
#define SQLITE_LOCKED 6 /* A table in the database is locked */ |
#define SQLITE_LOCKED_SHAREDCACHE (SQLITE_LOCKED | (1<<8)) |
#define SQLITE_LOCKED_VTAB (SQLITE_LOCKED | (2<<8)) |
#define SQLITE_MUTEX_STATIC_APP1 8 /* For use by application */ |
#define SQLITE_MUTEX_STATIC_APP2 9 /* For use by application */ |
#define SQLITE_MUTEX_STATIC_APP3 10 /* For use by application */ |
#define SQLITE_MUTEX_STATIC_MEM 3 /* sqlite3_malloc() */ |
#define SQLITE_MUTEX_STATIC_OPEN 4 /* sqlite3BtreeOpen() */ |
#define SQLITE_MUTEX_STATIC_PMEM 7 /* sqlite3PageMalloc() */ |
#define SQLITE_MUTEX_STATIC_PRNG 5 /* sqlite3_randomness() */ |
#define SQLITE_MUTEX_STATIC_VFS1 11 /* For use by built-in VFS */ |
#define SQLITE_MUTEX_STATIC_VFS2 12 /* For use by extension VFS */ |
#define SQLITE_MUTEX_STATIC_VFS3 13 /* For use by application VFS */ |
#define SQLITE_NOLFS 22 /* Uses OS features not supported on host */ |
#define SQLITE_NOTFOUND 12 /* Unknown opcode in sqlite3_file_control() */ |
#define SQLITE_NOTICE 27 /* Notifications from sqlite3_log() */ |
#define SQLITE_NOTICE_RECOVER_ROLLBACK (SQLITE_NOTICE | (2<<8)) |
#define SQLITE_NOTICE_RECOVER_WAL (SQLITE_NOTICE | (1<<8)) |
#define SQLITE_OPEN_CREATE 0x00000004 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_DELETEONCLOSE 0x00000008 /* VFS only */ |
#define SQLITE_OPEN_FULLMUTEX 0x00010000 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_MAIN_JOURNAL 0x00000800 /* VFS only */ |
#define SQLITE_OPEN_MASTER_JOURNAL 0x00004000 /* VFS only */ |
#define SQLITE_OPEN_MEMORY 0x00000080 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_NOFOLLOW 0x01000000 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_NOMUTEX 0x00008000 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_PRIVATECACHE 0x00040000 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_READONLY 0x00000001 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_READWRITE 0x00000002 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_SHAREDCACHE 0x00020000 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_OPEN_SUPER_JOURNAL 0x00004000 /* VFS only */ |
#define SQLITE_OPEN_TEMP_JOURNAL 0x00001000 /* VFS only */ |
#define SQLITE_OPEN_TRANSIENT_DB 0x00000400 /* VFS only */ |
#define SQLITE_OPEN_URI 0x00000040 /* Ok for sqlite3_open_v2() */ |
#define SQLITE_PROTOCOL 15 /* Database lock protocol error */ |
#define SQLITE_RANGE 25 /* 2nd parameter to sqlite3_bind out of range */ |
#define SQLITE_READONLY 8 /* Attempt to write a readonly database */ |
#define SQLITE_READONLY_CANTINIT (SQLITE_READONLY | (5<<8)) |
#define SQLITE_READONLY_CANTLOCK (SQLITE_READONLY | (2<<8)) |
#define SQLITE_READONLY_DBMOVED (SQLITE_READONLY | (4<<8)) |
#define SQLITE_READONLY_DIRECTORY (SQLITE_READONLY | (6<<8)) |
#define SQLITE_READONLY_RECOVERY (SQLITE_READONLY | (1<<8)) |
#define SQLITE_READONLY_ROLLBACK (SQLITE_READONLY | (3<<8)) |
#define SQLITE_ROW 100 /* sqlite3_step() has another row ready */ |
#define SQLITE_SAVEPOINT 32 /* Operation Savepoint Name */ |
#define SQLITE_SCHEMA 17 /* The database schema changed */ |
#define SQLITE_SERIALIZE_NOCOPY 0x001 /* Do no memory allocations */ |
#define SQLITE_SET_LOCKPROXYFILE SQLITE_FCNTL_SET_LOCKPROXYFILE |
#define SQLITE_SOURCE_ID "2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f" |
#define SQLITE_STATIC ((sqlite3_destructor_type)0) |
#define SQLITE_STDCALL SQLITE_APICALL |
#define SQLITE_TOOBIG 18 /* String or BLOB exceeds size limit */ |
#define SQLITE_TRANSIENT ((sqlite3_destructor_type)-1) |
#define SQLITE_UTF16_ALIGNED 8 /* sqlite3_create_collation only */ |
#define SQLITE_WARNING 28 /* Warnings from sqlite3_log() */ |
#define SQLITE_WARNING_AUTOINDEX (SQLITE_WARNING | (1<<8)) |
typedef void(* fts5_extension_function) (const Fts5ExtensionApi *pApi, Fts5Context *pFts, sqlite3_context *pCtx, int nVal, sqlite3_value **apVal) |
typedef struct Fts5Context Fts5Context |
typedef struct Fts5Tokenizer Fts5Tokenizer |
typedef struct sqlite3_blob sqlite3_blob |
typedef int(* sqlite3_callback) (void *, int, char **, char **) |
typedef sqlite_int64 sqlite3_int64 |
typedef struct sqlite3_mutex_methods sqlite3_mutex_methods |
typedef struct sqlite3_pcache sqlite3_pcache |
typedef struct sqlite3_pcache_methods sqlite3_pcache_methods |
typedef struct sqlite3_pcache_methods2 sqlite3_pcache_methods2 |
typedef double sqlite3_rtree_dbl |
typedef struct sqlite3_rtree_geometry sqlite3_rtree_geometry |
typedef struct sqlite3_rtree_query_info sqlite3_rtree_query_info |
typedef struct sqlite3_snapshot sqlite3_snapshot |
typedef struct sqlite3_stmt sqlite3_stmt |
typedef sqlite_uint64 sqlite3_uint64 |
typedef long long int sqlite_int64 |
typedef unsigned long long int sqlite_uint64 |
SQLITE_API void * sqlite3_aggregate_context | ( | sqlite3_context * | p, |
int | nBytes ) |
Definition at line 83867 of file sqlite3.c.
References createAggContext(), sqlite3_value::db, sqlite3_value::flags, MEM_Agg, sqlite3::mutex, sqlite3_context::pFunc, sqlite3_context::pMem, sqlite3_context::pOut, sqlite3_mutex_held(), testcase, FuncDef::xFinalize, and sqlite3_value::z.
Referenced by countInverse(), db_sql_finalize_function(), db_sql_normal_function(), minmaxStep(), ntileStepFunc(), rankStepFunc(), row_numberValueFunc(), and sumStep().
SQLITE_API SQLITE_DEPRECATED int sqlite3_aggregate_count | ( | sqlite3_context * | p | ) |
Definition at line 83969 of file sqlite3.c.
References sqlite3_value::n, sqlite3_context::pFunc, sqlite3_context::pMem, and FuncDef::xFinalize.
Referenced by lcontext_aggregate_count().
SQLITE_API int sqlite3_auto_extension | ( | void(*)(void) | xEntryPoint | ) |
Definition at line 124953 of file sqlite3.c.
References mutex, sqlite3_initialize(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3_realloc64(), sqlite3MutexAlloc(), SQLITE_MUTEX_STATIC_MAIN, SQLITE_NOMEM_BKPT, SQLITE_OK, wsdAutoext, and wsdAutoextInit.
SQLITE_API int sqlite3_backup_finish | ( | sqlite3_backup * | p | ) |
Definition at line 75625 of file sqlite3.c.
Referenced by cleanupbu(), and sqlite3BtreeCopyFile().
SQLITE_API sqlite3_backup * sqlite3_backup_init | ( | sqlite3 * | pDest, |
const char * | zDestName, | ||
sqlite3 * | pSource, | ||
const char * | zSourceName ) |
Definition at line 75191 of file sqlite3.c.
References checkReadTransaction(), findBtree(), sqlite3_backup::iNext, sqlite3_backup::isAttached, sqlite3::mutex, Btree::nBackup, sqlite3_backup::pDest, sqlite3_backup::pDestDb, sqlite3_backup::pSrc, sqlite3_backup::pSrcDb, sqlite3_free(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3Error(), sqlite3ErrorWithMsg(), sqlite3MallocZero(), sqlite3SafetyCheckOk(), SQLITE_ERROR, SQLITE_MISUSE_BKPT, SQLITE_NOMEM_BKPT, and SQLITE_OK.
Referenced by lsqlite_backup_init().
SQLITE_API int sqlite3_backup_pagecount | ( | sqlite3_backup * | p | ) |
Definition at line 75693 of file sqlite3.c.
Referenced by dbbu_pagecount().
SQLITE_API int sqlite3_backup_remaining | ( | sqlite3_backup * | p | ) |
Definition at line 75679 of file sqlite3.c.
Referenced by dbbu_remaining().
SQLITE_API int sqlite3_backup_step | ( | sqlite3_backup * | p, |
int | nPage ) |
Definition at line 75371 of file sqlite3.c.
Referenced by dbbu_step(), and sqlite3BtreeCopyFile().
SQLITE_API int sqlite3_bind_blob | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const void * | zData, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 84390 of file sqlite3.c.
Referenced by dbvm_bind_blob().
SQLITE_API int sqlite3_bind_blob64 | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const void * | zData, | ||
sqlite3_uint64 | nData, | ||
void(*)(void *) | xDel ) |
Definition at line 84402 of file sqlite3.c.
References bindText(), and SQLITE_MISUSE_BKPT.
SQLITE_API int sqlite3_bind_double | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
double | rValue ) |
Definition at line 84416 of file sqlite3.c.
References invokeValueDestructor().
Referenced by dbvm_bind_index().
SQLITE_API int sqlite3_bind_int | ( | sqlite3_stmt * | p, |
int | i, | ||
int | iValue ) |
Definition at line 84426 of file sqlite3.c.
References Vdbe::aVar, Vdbe::db, sqlite3::mutex, sqlite3_mutex_leave(), and sqlite3VdbeMemSetDouble().
Referenced by dbvm_bind_index().
SQLITE_API int sqlite3_bind_int64 | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
sqlite3_int64 | iValue ) |
Definition at line 84429 of file sqlite3.c.
Referenced by dbvm_bind_index().
SQLITE_API int sqlite3_bind_null | ( | sqlite3_stmt * | pStmt, |
int | i ) |
Definition at line 84439 of file sqlite3.c.
References Vdbe::aVar, Vdbe::db, sqlite3::mutex, sqlite3_mutex_leave(), and sqlite3VdbeMemSetInt64().
Referenced by dbvm_bind_index().
SQLITE_API int sqlite3_bind_parameter_count | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 84562 of file sqlite3.c.
Referenced by dbvm_bind_names(), dbvm_bind_parameter_count(), dbvm_bind_values(), and dbvm_check_bind_index().
SQLITE_API int sqlite3_bind_parameter_index | ( | sqlite3_stmt * | pStmt, |
const char * | zName ) |
Definition at line 84588 of file sqlite3.c.
References nName, Vdbe::pVList, sqlite3VListNameToNum(), and zName.
SQLITE_API const char * sqlite3_bind_parameter_name | ( | sqlite3_stmt * | pStmt, |
int | i ) |
Definition at line 84573 of file sqlite3.c.
References Vdbe::pVList, and sqlite3VListNumToName().
Referenced by dbvm_bind_names(), and dbvm_bind_parameter_name().
SQLITE_API int sqlite3_bind_pointer | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
void * | pPtr, | ||
const char * | zPTtype, | ||
void(*)(void *) | xDestructor ) |
Definition at line 84448 of file sqlite3.c.
SQLITE_API int sqlite3_bind_text | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const char * | zData, | ||
int | nData, | ||
void(*)(void *) | xDel ) |
Definition at line 84466 of file sqlite3.c.
Referenced by dbvm_bind_index().
SQLITE_API int sqlite3_bind_text16 | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const void * | zData, | ||
int | nData, | ||
void(*)(void *) | xDel ) |
Definition at line 84492 of file sqlite3.c.
SQLITE_API int sqlite3_bind_text64 | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const char * | zData, | ||
sqlite3_uint64 | nData, | ||
void(*)(void *) | xDel, | ||
unsigned char | encoding ) |
Definition at line 84475 of file sqlite3.c.
References bindText(), and SQLITE_UTF8.
SQLITE_API int sqlite3_bind_value | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
const sqlite3_value * | pValue ) |
Definition at line 84502 of file sqlite3.c.
References bindText(), and SQLITE_UTF16NATIVE.
SQLITE_API int sqlite3_bind_zeroblob | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
int | n ) |
SQLITE_API int sqlite3_bind_zeroblob64 | ( | sqlite3_stmt * | pStmt, |
int | i, | ||
sqlite3_uint64 | n ) |
Definition at line 84543 of file sqlite3.c.
References Vdbe::aVar, Vdbe::db, sqlite3::mutex, sqlite3_mutex_leave(), and sqlite3VdbeMemSetZeroBlob().
SQLITE_API int sqlite3_blob_bytes | ( | sqlite3_blob * | pBlob | ) |
Definition at line 93830 of file sqlite3.c.
References Incrblob::nByte, and Incrblob::pStmt.
SQLITE_API int sqlite3_blob_close | ( | sqlite3_blob * | pBlob | ) |
Definition at line 93719 of file sqlite3.c.
SQLITE_API int sqlite3_blob_open | ( | sqlite3 * | db, |
const char * | zDb, | ||
const char * | zTable, | ||
const char * | zColumn, | ||
sqlite3_int64 | iRow, | ||
int | flags, | ||
sqlite3_blob ** | ppBlob ) |
Definition at line 93486 of file sqlite3.c.
SQLITE_API int sqlite3_blob_read | ( | sqlite3_blob * | pBlob, |
void * | Z, | ||
int | N, | ||
int | iOffset ) |
SQLITE_API int sqlite3_blob_reopen | ( | sqlite3_blob * | pBlob, |
sqlite3_int64 | iRow ) |
Definition at line 93845 of file sqlite3.c.
References blobSeekToRow(), Incrblob::db, sqlite3::mutex, Incrblob::pStmt, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3ApiExit(), sqlite3DbFree(), sqlite3ErrorWithMsg(), SQLITE_ABORT, SQLITE_MISUSE_BKPT, SQLITE_OK, and SQLITE_SCHEMA.
SQLITE_API int sqlite3_blob_write | ( | sqlite3_blob * | pBlob, |
const void * | z, | ||
int | n, | ||
int | iOffset ) |
SQLITE_API int sqlite3_busy_handler | ( | sqlite3 * | db, |
int(*)(void *, int) | xBusy, | ||
void * | pArg ) |
Definition at line 162677 of file sqlite3.c.
Referenced by db_busy_handler(), and sqlite3_busy_timeout().
SQLITE_API int sqlite3_busy_timeout | ( | sqlite3 * | db, |
int | ms ) |
Definition at line 162731 of file sqlite3.c.
References sqlite3_busy_handler(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, and sqliteDefaultBusyCallback().
Referenced by db_busy_timeout(), and sqlite3Pragma().
SQLITE_API int sqlite3_cancel_auto_extension | ( | void(*)(void) | xEntryPoint | ) |
Definition at line 125000 of file sqlite3.c.
References mutex, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3MutexAlloc(), SQLITE_MUTEX_STATIC_MAIN, wsdAutoext, and wsdAutoextInit.
SQLITE_API int sqlite3_changes | ( | sqlite3 * | db | ) |
Definition at line 162082 of file sqlite3.c.
Referenced by changes(), and db_changes().
SQLITE_API int sqlite3_clear_bindings | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API int sqlite3_close | ( | sqlite3 * | db | ) |
Definition at line 162246 of file sqlite3.c.
Referenced by cleanupdb(), and openDatabase().
SQLITE_API int sqlite3_close_v2 | ( | sqlite3 * | db | ) |
Definition at line 162247 of file sqlite3.c.
References sqlite3Close().
SQLITE_API int sqlite3_collation_needed | ( | sqlite3 * | db, |
void * | pCollNeededArg, | ||
void(*)(void *, sqlite3 *, int eTextRep, const char *) | xCollNeeded ) |
Definition at line 164507 of file sqlite3.c.
References sqlite3::mutex, sqlite3::pCollNeededArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_OK, sqlite3::xCollNeeded, and sqlite3::xCollNeeded16.
SQLITE_API int sqlite3_collation_needed16 | ( | sqlite3 * | db, |
void * | pCollNeededArg, | ||
void(*)(void *, sqlite3 *, int eTextRep, const void *) | xCollNeeded16 ) |
Definition at line 164528 of file sqlite3.c.
References sqlite3::mutex, sqlite3::pCollNeededArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_OK, sqlite3::xCollNeeded, and sqlite3::xCollNeeded16.
SQLITE_API const void * sqlite3_column_blob | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84091 of file sqlite3.c.
Referenced by vm_push_column().
SQLITE_API int sqlite3_column_bytes | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84101 of file sqlite3.c.
Referenced by vm_push_column().
SQLITE_API int sqlite3_column_bytes16 | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
SQLITE_API int sqlite3_column_count | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83978 of file sqlite3.c.
Referenced by columnName(), dbvm_columns(), dbvm_get_named_types(), dbvm_get_names(), dbvm_get_types(), dbvm_get_unames(), dbvm_get_utypes(), and sqlite3_exec().
SQLITE_API const char * sqlite3_column_database_name | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const void * sqlite3_column_database_name16 | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const char * sqlite3_column_decltype | ( | sqlite3_stmt * | pStmt, |
int | N ) |
Definition at line 84241 of file sqlite3.c.
Referenced by dbvm_get_named_types(), dbvm_get_type(), dbvm_get_types(), and dbvm_get_utypes().
SQLITE_API const void * sqlite3_column_decltype16 | ( | sqlite3_stmt * | pStmt, |
int | N ) |
SQLITE_API double sqlite3_column_double | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84111 of file sqlite3.c.
Referenced by vm_push_column().
SQLITE_API int sqlite3_column_int | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84116 of file sqlite3.c.
SQLITE_API sqlite3_int64 sqlite3_column_int64 | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84121 of file sqlite3.c.
Referenced by vm_push_column().
SQLITE_API const char * sqlite3_column_name | ( | sqlite3_stmt * | pStmt, |
int | N ) |
Definition at line 84218 of file sqlite3.c.
Referenced by db_do_next_row(), dbvm_get_name(), dbvm_get_named_types(), dbvm_get_named_values(), dbvm_get_names(), dbvm_get_unames(), and sqlite3_exec().
SQLITE_API const void * sqlite3_column_name16 | ( | sqlite3_stmt * | pStmt, |
int | N ) |
SQLITE_API const char * sqlite3_column_origin_name | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const void * sqlite3_column_origin_name16 | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const char * sqlite3_column_table_name | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const void * sqlite3_column_table_name16 | ( | sqlite3_stmt * | , |
int | ) |
SQLITE_API const unsigned char * sqlite3_column_text | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84126 of file sqlite3.c.
Referenced by execSql(), sqlite3_exec(), and vm_push_column().
SQLITE_API const void * sqlite3_column_text16 | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
SQLITE_API int sqlite3_column_type | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84147 of file sqlite3.c.
References columnMallocFailure(), columnMem(), and sqlite3_value_text16().
Referenced by sqlite3_exec(), and vm_push_column().
SQLITE_API sqlite3_value * sqlite3_column_value | ( | sqlite3_stmt * | pStmt, |
int | iCol ) |
Definition at line 84131 of file sqlite3.c.
SQLITE_API void * sqlite3_commit_hook | ( | sqlite3 * | db, |
int(*)(void *) | xCallback, | ||
void * | pArg ) |
Definition at line 163156 of file sqlite3.c.
References sqlite3::mutex, sqlite3::pCommitArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, and sqlite3::xCommitCallback.
Referenced by db_commit_hook().
SQLITE_API const char * sqlite3_compileoption_get | ( | int | N | ) |
Definition at line 165586 of file sqlite3.c.
Referenced by sqlite3Pragma().
SQLITE_API int sqlite3_compileoption_used | ( | const char * | zOptName | ) |
Definition at line 165553 of file sqlite3.c.
References sqlite3CompileOptions(), sqlite3IsIdChar(), sqlite3Strlen30(), sqlite3StrNICmp, and SQLITE_MISUSE_BKPT.
Referenced by compileoptionusedFunc().
SQLITE_API int sqlite3_complete | ( | const char * | sql | ) |
Definition at line 160710 of file sqlite3.c.
References IdChar, sqlite3StrNICmp, SQLITE_MISUSE_BKPT, tkCREATE, tkEND, tkEXPLAIN, tkOTHER, tkSEMI, tkTEMP, tkTRIGGER, and tkWS.
Referenced by lsqlite_complete(), and sqlite3_complete16().
SQLITE_API int sqlite3_complete16 | ( | const void * | sql | ) |
Definition at line 160875 of file sqlite3.c.
References sqlite3_complete(), sqlite3_initialize(), sqlite3ValueFree(), sqlite3ValueNew(), sqlite3ValueSetStr(), sqlite3ValueText(), SQLITE_NOMEM_BKPT, SQLITE_STATIC, SQLITE_UTF16NATIVE, and SQLITE_UTF8.
SQLITE_API int sqlite3_config | ( | int | op, |
... ) |
Definition at line 161425 of file sqlite3.c.
References sqlite3GlobalConfig, sqlite3HeaderSizeBtree(), sqlite3HeaderSizePcache(), sqlite3HeaderSizePcache1(), sqlite3MemSetDefault(), sqlite3PCacheSetDefault(), SQLITE_CONFIG_COVERING_INDEX_SCAN, SQLITE_CONFIG_GETMALLOC, SQLITE_CONFIG_GETMUTEX, SQLITE_CONFIG_GETPCACHE, SQLITE_CONFIG_GETPCACHE2, SQLITE_CONFIG_HEAP, SQLITE_CONFIG_LOG, SQLITE_CONFIG_LOOKASIDE, SQLITE_CONFIG_MALLOC, SQLITE_CONFIG_MEMDB_MAXSIZE, SQLITE_CONFIG_MEMSTATUS, SQLITE_CONFIG_MMAP_SIZE, SQLITE_CONFIG_MULTITHREAD, SQLITE_CONFIG_MUTEX, SQLITE_CONFIG_PAGECACHE, SQLITE_CONFIG_PCACHE, SQLITE_CONFIG_PCACHE2, SQLITE_CONFIG_PCACHE_HDRSZ, SQLITE_CONFIG_PMASZ, SQLITE_CONFIG_SERIALIZED, SQLITE_CONFIG_SINGLETHREAD, SQLITE_CONFIG_SMALL_MALLOC, SQLITE_CONFIG_SORTERREF_SIZE, SQLITE_CONFIG_SQLLOG, SQLITE_CONFIG_STMTJRNL_SPILL, SQLITE_CONFIG_URI, SQLITE_CONFIG_WIN32_HEAPSIZE, SQLITE_DEFAULT_MMAP_SIZE, SQLITE_DEFAULT_SORTERREF_SIZE, SQLITE_ERROR, SQLITE_MAX_MMAP_SIZE, SQLITE_MISUSE_BKPT, and SQLITE_OK.
Referenced by sqlite3MemSetDefault().
SQLITE_API sqlite3 * sqlite3_context_db_handle | ( | sqlite3_context * | p | ) |
Definition at line 83794 of file sqlite3.c.
References sqlite3_value::db, and sqlite3_context::pOut.
Referenced by attachFunc(), changes(), contextMalloc(), detachFunc(), likeFunc(), loadExt(), renameColumnFunc(), renameEditSql(), renameTableFunc(), renameTableTest(), replaceFunc(), statInit(), strftimeFunc(), and substrFunc().
SQLITE_API int sqlite3_create_collation | ( | sqlite3 * | db, |
const char * | zName, | ||
int | eTextRep, | ||
void * | pArg, | ||
int(*)(void *, int, const void *, int, const void *) | xCompare ) |
SQLITE_API int sqlite3_create_collation16 | ( | sqlite3 * | db, |
const void * | zName, | ||
int | eTextRep, | ||
void * | pArg, | ||
int(*)(void *, int, const void *, int, const void *) | xCompare ) |
Definition at line 164477 of file sqlite3.c.
SQLITE_API int sqlite3_create_collation_v2 | ( | sqlite3 * | db, |
const char * | zName, | ||
int | eTextRep, | ||
void * | pArg, | ||
int(*)(void *, int, const void *, int, const void *) | xCompare, | ||
void(*)(void *) | xDestroy ) |
Definition at line 164452 of file sqlite3.c.
Referenced by db_create_collation().
SQLITE_API char * sqlite3_create_filename | ( | const char * | zDatabase, |
const char * | zJournal, | ||
const char * | zWal, | ||
int | nParam, | ||
const char ** | azParam ) |
Definition at line 165241 of file sqlite3.c.
References appendText(), and sqlite3_malloc64().
SQLITE_API int sqlite3_create_function | ( | sqlite3 * | db, |
const char * | zFunctionName, | ||
int | nArg, | ||
int | eTextRep, | ||
void * | pApp, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xFunc, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xStep, | ||
void(*)(sqlite3_context *) | xFinal ) |
Definition at line 162936 of file sqlite3.c.
Referenced by db_register_function().
SQLITE_API int sqlite3_create_function16 | ( | sqlite3 * | db, |
const void * | zFunctionName, | ||
int | nArg, | ||
int | eTextRep, | ||
void * | pApp, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xFunc, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xStep, | ||
void(*)(sqlite3_context *) | xFinal ) |
Definition at line 162980 of file sqlite3.c.
References createFunctionApi().
SQLITE_API int sqlite3_create_function_v2 | ( | sqlite3 * | db, |
const char * | zFunctionName, | ||
int | nArg, | ||
int | eTextRep, | ||
void * | pApp, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xFunc, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xStep, | ||
void(*)(sqlite3_context *) | xFinal, | ||
void(*)(void *) | xDestroy ) |
Definition at line 162949 of file sqlite3.c.
References createFunctionApi().
Referenced by sqlite3_overload_function().
SQLITE_API int sqlite3_create_module | ( | sqlite3 * | db, |
const char * | zName, | ||
const sqlite3_module * | p, | ||
void * | pClientData ) |
SQLITE_API int sqlite3_create_module_v2 | ( | sqlite3 * | db, |
const char * | zName, | ||
const sqlite3_module * | p, | ||
void * | pClientData, | ||
void(*)(void *) | xDestroy ) |
SQLITE_API int sqlite3_create_window_function | ( | sqlite3 * | db, |
const char * | zFunctionName, | ||
int | nArg, | ||
int | eTextRep, | ||
void * | pApp, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xStep, | ||
void(*)(sqlite3_context *) | xFinal, | ||
void(*)(sqlite3_context *) | xValue, | ||
void(*)(sqlite3_context *, int, sqlite3_value **) | xInverse, | ||
void(*)(void *) | xDestroy ) |
Definition at line 162963 of file sqlite3.c.
References createFunctionApi().
SQLITE_API int sqlite3_data_count | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83987 of file sqlite3.c.
Referenced by db_do_next_row(), and dbvm_step().
SQLITE_API sqlite3_file * sqlite3_database_file_object | ( | const char * | zName | ) |
SQLITE_API int sqlite3_db_cacheflush | ( | sqlite3 * | db | ) |
Definition at line 161881 of file sqlite3.c.
SQLITE_API int sqlite3_db_config | ( | sqlite3 * | db, |
int | op, | ||
... ) |
Definition at line 161910 of file sqlite3.c.
SQLITE_API const char * sqlite3_db_filename | ( | sqlite3 * | db, |
const char * | zDbName ) |
Definition at line 165384 of file sqlite3.c.
Referenced by db_db_filename().
SQLITE_API sqlite3 * sqlite3_db_handle | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API sqlite3_mutex * sqlite3_db_mutex | ( | sqlite3 * | db | ) |
SQLITE_API int sqlite3_db_readonly | ( | sqlite3 * | db, |
const char * | zDbName ) |
SQLITE_API int sqlite3_db_release_memory | ( | sqlite3 * | db | ) |
Definition at line 161857 of file sqlite3.c.
Referenced by sqlite3Pragma().
SQLITE_API int sqlite3_db_status | ( | sqlite3 * | db, |
int | op, | ||
int * | pCur, | ||
int * | pHiwtr, | ||
int | resetFlg ) |
Definition at line 21515 of file sqlite3.c.
SQLITE_API int sqlite3_declare_vtab | ( | sqlite3 * | db, |
const char * | zSQL ) |
Definition at line 140366 of file sqlite3.c.
References Table::aCol, VtabCtx::bDeclared, Parse::db, Parse::eParseMode, HasRowid, IsVirtual, sqlite3::mallocFailed, sqlite3::mutex, Table::nCol, Parse::nQueryLoop, PARSE_MODE_DECLARE_VTAB, PARSE_MODE_NORMAL, Table::pIndex, VTable::pMod, Module::pModule, Parse::pNewTable, Index::pNext, Table::pSelect, VtabCtx::pTab, Index::pTable, Parse::pVdbe, sqlite3::pVtabCtx, VtabCtx::pVTable, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3ApiExit(), sqlite3DbFree(), sqlite3DeleteTable(), sqlite3Error(), sqlite3ErrorWithMsg(), sqlite3ParserReset(), sqlite3PrimaryKeyIndex(), sqlite3RunParser(), sqlite3SafetyCheckOk(), sqlite3VdbeFinalize(), SQLITE_ERROR, SQLITE_MISUSE, SQLITE_MISUSE_BKPT, SQLITE_OK, Table::tabFlags, TF_NoVisibleRowid, TF_WithoutRowid, and sqlite3_module::xUpdate.
SQLITE_API int sqlite3_deserialize | ( | sqlite3 * | db, |
const char * | zSchema, | ||
unsigned char * | pData, | ||
sqlite3_int64 | szDb, | ||
sqlite3_int64 | szBuf, | ||
unsigned | mFlags ) |
SQLITE_API int sqlite3_drop_modules | ( | sqlite3 * | db, |
const char ** | azKeep ) |
Definition at line 139711 of file sqlite3.c.
SQLITE_API int sqlite3_enable_load_extension | ( | sqlite3 * | db, |
int | onoff ) |
Definition at line 124907 of file sqlite3.c.
Referenced by db_load_extension().
SQLITE_API int sqlite3_enable_shared_cache | ( | int | enable | ) |
Definition at line 64566 of file sqlite3.c.
References sqlite3GlobalConfig, and SQLITE_OK.
SQLITE_API int sqlite3_errcode | ( | sqlite3 * | db | ) |
Definition at line 163553 of file sqlite3.c.
References sqlite3SafetyCheckSickOrOk(), and SQLITE_MISUSE_BKPT.
Referenced by db_errcode(), db_prepare(), dbvm_reset(), lsqlite_do_open(), and openDatabase().
SQLITE_API const char * sqlite3_errmsg | ( | sqlite3 * | db | ) |
Definition at line 163483 of file sqlite3.c.
Referenced by blobSeekToRow(), db_do_next_row(), db_do_rows(), db_errmsg(), execSqlF(), lsqlite_do_open(), sqlite3_exec(), and sqlite3InitCallback().
SQLITE_API const void * sqlite3_errmsg16 | ( | sqlite3 * | db | ) |
Definition at line 163511 of file sqlite3.c.
References sqlite3::errCode, sqlite3::mallocFailed, sqlite3::mutex, sqlite3::pErr, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3_value_text16(), sqlite3ErrorWithMsg(), sqlite3ErrStr(), sqlite3OomClear(), and sqlite3SafetyCheckSickOrOk().
SQLITE_API const char * sqlite3_errstr | ( | int | rc | ) |
Definition at line 163580 of file sqlite3.c.
References sqlite3ErrStr().
SQLITE_API int sqlite3_exec | ( | sqlite3 * | db, |
const char * | sql, | ||
int(*)(void *, int, char **, char **) | callback, | ||
void * | pArg, | ||
char ** | errmsg ) |
Definition at line 123455 of file sqlite3.c.
References sqlite3::errMask, sqlite3::flags, sqlite3::mutex, sqlite3_column_count(), sqlite3_column_name(), sqlite3_column_text(), sqlite3_column_type(), sqlite3_errmsg(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3_prepare_v2(), sqlite3_step(), sqlite3ApiExit(), sqlite3DbFree(), sqlite3DbMallocRaw(), sqlite3DbStrDup(), sqlite3Error(), sqlite3Isspace, sqlite3OomFault(), sqlite3SafetyCheckOk(), sqlite3VdbeFinalize(), SQLITE_ABORT, SQLITE_DONE, SQLITE_MISUSE_BKPT, SQLITE_NOMEM, SQLITE_NOMEM_BKPT, SQLITE_NULL, SQLITE_NullCallback, SQLITE_OK, and SQLITE_ROW.
Referenced by db_exec(), lsqlite_open_ptr(), sqlite3_get_table(), sqlite3AnalysisLoad(), sqlite3InitOne(), and sqlite3VdbeExec().
SQLITE_API char * sqlite3_expanded_sql | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 84745 of file sqlite3.c.
References Vdbe::db, sqlite3::mutex, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3_sql(), and sqlite3VdbeExpandSql().
SQLITE_API SQLITE_DEPRECATED int sqlite3_expired | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83009 of file sqlite3.c.
References Vdbe::expired.
SQLITE_API int sqlite3_extended_errcode | ( | sqlite3 * | db | ) |
Definition at line 163562 of file sqlite3.c.
SQLITE_API int sqlite3_extended_result_codes | ( | sqlite3 * | db, |
int | onoff ) |
SQLITE_API int sqlite3_file_control | ( | sqlite3 * | db, |
const char * | zDbName, | ||
int | op, | ||
void * | pArg ) |
Definition at line 164781 of file sqlite3.c.
Referenced by sqlite3Pragma(), and sqlite3VdbeExec().
SQLITE_API const char * sqlite3_filename_database | ( | const char * | zFilename | ) |
SQLITE_API const char * sqlite3_filename_journal | ( | const char * | zFilename | ) |
Definition at line 165353 of file sqlite3.c.
References databaseName().
SQLITE_API const char * sqlite3_filename_wal | ( | const char * | zFilename | ) |
Definition at line 165362 of file sqlite3.c.
References sqlite3Strlen30().
SQLITE_API int sqlite3_finalize | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83080 of file sqlite3.c.
References checkProfileCallback, Vdbe::db, sqlite3::mutex, sqlite3_mutex_enter(), sqlite3ApiExit(), sqlite3LeaveMutexAndCloseZombie(), sqlite3VdbeFinalize(), SQLITE_MISUSE_BKPT, SQLITE_OK, and vdbeSafety().
Referenced by blobSeekToRow(), cleanupvm(), db_close_vm(), db_do_next_row(), and sqlite3InitCallback().
SQLITE_API void sqlite3_free | ( | void * | p | ) |
Definition at line 27692 of file sqlite3.c.
Referenced by attachFunc(), btreeRestoreCursorPosition(), charFunc(), clearAllSharedCacheTableLocks(), closeUnixFile(), createFunctionApi(), db_load_extension(), findInodeInfo(), loadExt(), lsqlite_temp_directory(), openDatabase(), pager_delsuper(), pcache1Destroy(), pcache1ResizeHash(), pthreadMutexFree(), quoteFunc(), rehash(), releaseAllSavepoints(), releaseInodeInfo(), renameColumnParseError(), renameEditSql(), replaceFunc(), saveCursorKey(), setupLookaside(), sqlite3_backup_init(), sqlite3_free_filename(), sqlite3_get_table(), sqlite3_get_table_cb(), sqlite3_overload_function(), sqlite3AnalysisLoad(), sqlite3AutoLoadExtensions(), sqlite3BitvecBuiltinTest(), sqlite3BtreeIntegrityCheck(), sqlite3BtreeMovetoUnpacked(), sqlite3BtreeOpen(), sqlite3InvalidFunction(), sqlite3LeaveMutexAndCloseZombie(), sqlite3LoadExtension(), sqlite3NotPureFunc(), sqlite3OsInit(), sqlite3PagerClose(), sqlite3PagerOpen(), sqlite3Pragma(), sqlite3RunParser(), sqlite3VdbeExec(), sqlite3VdbeList(), sqlite3VdbeMemGrow(), sqlite3VtabImportErrmsg(), sqlite3WalOpen(), statGet(), unixFullPathname(), unixOpen(), unixOpenSharedMemory(), unixShmPurge(), unixShmUnmap(), vdbePmaWriterFinish(), vdbeSorterListToPMA(), vtabBestIndex(), vtabCallConstructor(), walBeginShmUnreliable(), walIndexRecover(), walIteratorInit(), walRewriteChecksums(), whereLoopAddVirtual(), and whereLoopAddVirtualOne().
SQLITE_API void sqlite3_free_filename | ( | char * | p | ) |
Definition at line 165277 of file sqlite3.c.
References databaseName(), and sqlite3_free().
Referenced by attachFunc(), openDatabase(), and sqlite3ParseUri().
SQLITE_API void sqlite3_free_table | ( | char ** | result | ) |
Definition at line 136368 of file sqlite3.c.
Referenced by sqlite3_get_table().
SQLITE_API int sqlite3_get_autocommit | ( | sqlite3 * | db | ) |
Definition at line 164561 of file sqlite3.c.
References sqlite3::autoCommit, sqlite3SafetyCheckOk(), and SQLITE_MISUSE_BKPT.
SQLITE_API void * sqlite3_get_auxdata | ( | sqlite3_context * | pCtx, |
int | N ) |
Definition at line 83888 of file sqlite3.c.
References sqlite3_value::db, AuxData::iAuxArg, AuxData::iAuxOp, sqlite3_context::iOp, sqlite3::mutex, AuxData::pAux, Vdbe::pAuxData, AuxData::pNextAux, sqlite3_context::pOut, sqlite3_context::pVdbe, and sqlite3_mutex_held().
SQLITE_API int sqlite3_get_table | ( | sqlite3 * | db, |
const char * | zSql, | ||
char *** | pazResult, | ||
int * | pnRow, | ||
int * | pnColumn, | ||
char ** | pzErrmsg ) |
Definition at line 136299 of file sqlite3.c.
References TabResult::azResult, sqlite3::errCode, TabResult::nAlloc, TabResult::nColumn, TabResult::nData, TabResult::nRow, TabResult::rc, sqlite3_exec(), sqlite3_free(), sqlite3_free_table(), sqlite3_get_table_cb(), sqlite3_malloc64(), sqlite3_mprintf(), sqlite3Realloc(), sqlite3SafetyCheckOk(), SQLITE_ABORT, SQLITE_INT_TO_PTR, SQLITE_MISUSE_BKPT, SQLITE_NOMEM, SQLITE_NOMEM_BKPT, SQLITE_OK, and TabResult::zErrMsg.
SQLITE_API SQLITE_DEPRECATED int sqlite3_global_recover | ( | void | ) |
SQLITE_API sqlite3_int64 sqlite3_hard_heap_limit64 | ( | sqlite3_int64 | N | ) |
Definition at line 27449 of file sqlite3.c.
References mem0, sqlite3_initialize(), sqlite3_mutex_enter(), and sqlite3_mutex_leave().
Referenced by sqlite3Pragma().
SQLITE_API int sqlite3_initialize | ( | void | ) |
Definition at line 161196 of file sqlite3.c.
References MUTEX_LOGIC, sqlite3_mutex_enter(), sqlite3_mutex_free(), sqlite3_mutex_leave(), sqlite3BuiltinFunctions, sqlite3GlobalConfig, sqlite3IsNaN(), sqlite3MallocInit(), sqlite3MemoryBarrier(), sqlite3MutexAlloc(), sqlite3MutexInit(), sqlite3OsInit(), sqlite3PCacheBufferSetup(), sqlite3PcacheInitialize(), sqlite3RegisterBuiltinFunctions(), SQLITE_MUTEX_RECURSIVE, SQLITE_MUTEX_STATIC_MAIN, SQLITE_NOMEM_BKPT, SQLITE_OK, and SQLITE_PTRSIZE.
Referenced by openDatabase(), sqlite3_auto_extension(), sqlite3_complete16(), sqlite3_hard_heap_limit64(), sqlite3_soft_heap_limit64(), sqlite3_vfs_find(), and sqlite3_vfs_register().
SQLITE_API void sqlite3_interrupt | ( | sqlite3 * | db | ) |
Definition at line 162748 of file sqlite3.c.
Referenced by db_interrupt(), and sqlite3VdbeExec().
SQLITE_API int sqlite3_keyword_check | ( | const char * | zName, |
int | nName ) |
SQLITE_API int sqlite3_keyword_count | ( | void | ) |
SQLITE_API int sqlite3_keyword_name | ( | int | i, |
const char ** | pzName, | ||
int * | pnName ) |
Definition at line 159871 of file sqlite3.c.
References keywordCode(), and TK_ID.
SQLITE_API sqlite3_int64 sqlite3_last_insert_rowid | ( | sqlite3 * | db | ) |
Definition at line 162054 of file sqlite3.c.
Referenced by db_last_insert_rowid(), and dbvm_last_insert_rowid().
SQLITE_API const char * sqlite3_libversion | ( | void | ) |
Definition at line 161104 of file sqlite3.c.
References sqlite3_version.
Referenced by lsqlite_version().
SQLITE_API int sqlite3_libversion_number | ( | void | ) |
SQLITE_API int sqlite3_limit | ( | sqlite3 * | db, |
int | id, | ||
int | newVal ) |
Definition at line 163728 of file sqlite3.c.
References aHardLimit, sqlite3::aLimit, sqlite3SafetyCheckOk(), 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_MAX_ATTACHED, SQLITE_MAX_COLUMN, SQLITE_MAX_COMPOUND_SELECT, SQLITE_MAX_EXPR_DEPTH, SQLITE_MAX_FUNCTION_ARG, SQLITE_MAX_LENGTH, SQLITE_MAX_LIKE_PATTERN_LENGTH, SQLITE_MAX_SQL_LENGTH, SQLITE_MAX_TRIGGER_DEPTH, SQLITE_MAX_VARIABLE_NUMBER, SQLITE_MAX_VDBE_OP, SQLITE_MAX_WORKER_THREADS, SQLITE_MISUSE_BKPT, and SQLITE_N_LIMIT.
Referenced by sqlite3Pragma().
SQLITE_API int sqlite3_load_extension | ( | sqlite3 * | db, |
const char * | zFile, | ||
const char * | zProc, | ||
char ** | pzErrMsg ) |
Definition at line 124876 of file sqlite3.c.
Referenced by db_load_extension(), and loadExt().
SQLITE_API void sqlite3_log | ( | int | iErrCode, |
const char * | zFormat, | ||
... ) |
Definition at line 29399 of file sqlite3.c.
Referenced by constructAutomaticIndex(), errlogFunc(), logBadConnection(), lookupName(), pager_playback(), robust_open(), sqlite3CorruptError(), sqlite3MemMalloc(), sqlite3MemRealloc(), sqlite3PcacheFetchStress(), sqlite3RunParser(), sqlite3VdbeExec(), unixLogErrorAtLine(), vdbeCommit(), vdbeUnbind(), verifyDbFile(), and walIndexRecover().
SQLITE_API void * sqlite3_malloc | ( | int | n | ) |
Definition at line 27615 of file sqlite3.c.
Referenced by sqlite3OsInit(), unixFullPathname(), and walRewriteChecksums().
SQLITE_API void * sqlite3_malloc64 | ( | sqlite3_uint64 | n | ) |
Definition at line 27621 of file sqlite3.c.
Referenced by charFunc(), findInodeInfo(), sqlite3_create_filename(), sqlite3_get_table(), sqlite3_get_table_cb(), sqlite3BitvecBuiltinTest(), sqlite3LoadExtension(), sqlite3ParseUri(), unixOpen(), unixOpenSharedMemory(), unixShmMap(), walBeginShmUnreliable(), walIndexRecover(), and walIteratorInit().
SQLITE_API SQLITE_DEPRECATED int sqlite3_memory_alarm | ( | void(*)(void *, sqlite3_int64, int) | , |
void * | , | ||
sqlite3_int64 | ) |
SQLITE_API sqlite3_int64 sqlite3_memory_highwater | ( | int | resetFlag | ) |
Definition at line 27521 of file sqlite3.c.
References sqlite3_status64(), and SQLITE_STATUS_MEMORY_USED.
SQLITE_API sqlite3_int64 sqlite3_memory_used | ( | void | ) |
SQLITE_API char * sqlite3_mprintf | ( | const char * | zFormat, |
... ) |
Definition at line 29323 of file sqlite3.c.
Referenced by lsqlite_temp_directory(), renameColumnParseError(), sqlite3_get_table(), sqlite3_get_table_cb(), sqlite3_overload_function(), sqlite3AuthReadCol(), sqlite3InvalidFunction(), sqlite3LoadExtension(), sqlite3NotPureFunc(), sqlite3ParseUri(), sqlite3Pragma(), and unixOpen().
SQLITE_API sqlite3_uint64 sqlite3_msize | ( | void * | p | ) |
SQLITE_API sqlite3_mutex * sqlite3_mutex_alloc | ( | int | id | ) |
Definition at line 25922 of file sqlite3.c.
Referenced by findInodeInfo(), and unixOpenSharedMemory().
SQLITE_API void sqlite3_mutex_enter | ( | sqlite3_mutex * | p | ) |
Definition at line 25954 of file sqlite3.c.
References sqlite3GlobalConfig.
Referenced by backupUpdate(), columnMem(), columnName(), createFunctionApi(), createModule(), findReusableFd(), lockBtreeMutex(), openDatabase(), osLocaltime(), pcache1Alloc(), posixUnlock(), releaseInodeInfo(), removeFromSharingList(), sqlite3_auto_extension(), sqlite3_backup_init(), sqlite3_blob_reopen(), sqlite3_cancel_auto_extension(), sqlite3_collation_needed(), sqlite3_collation_needed16(), sqlite3_commit_hook(), sqlite3_declare_vtab(), sqlite3_errmsg16(), sqlite3_exec(), sqlite3_expanded_sql(), sqlite3_finalize(), sqlite3_hard_heap_limit64(), sqlite3_initialize(), sqlite3_next_stmt(), sqlite3_overload_function(), sqlite3_profile(), sqlite3_progress_handler(), sqlite3_reset(), sqlite3_set_authorizer(), sqlite3_soft_heap_limit64(), sqlite3_step(), sqlite3_table_column_metadata(), sqlite3_trace(), sqlite3_vfs_find(), sqlite3_vfs_register(), sqlite3_vtab_config(), sqlite3AutoLoadExtensions(), sqlite3BtreeOpen(), sqlite3Malloc(), sqlite3Prepare16(), sqlite3RunParser(), unixCheckReservedLock(), unixLeaveMutex(), unixLock(), unixOpenSharedMemory(), unixShmLock(), unixShmMap(), unixShmUnmap(), and vdbeUnbind().
SQLITE_API void sqlite3_mutex_free | ( | sqlite3_mutex * | p | ) |
Definition at line 25943 of file sqlite3.c.
Referenced by releaseInodeInfo(), removeFromSharingList(), sqlite3_initialize(), sqlite3LeaveMutexAndCloseZombie(), and unixShmPurge().
SQLITE_API int sqlite3_mutex_held | ( | sqlite3_mutex * | ) |
SQLITE_API void sqlite3_mutex_leave | ( | sqlite3_mutex * | p | ) |
Definition at line 25980 of file sqlite3.c.
References sqlite3GlobalConfig.
Referenced by backupUpdate(), columnMallocFailure(), columnName(), createFunctionApi(), createModule(), findReusableFd(), openDatabase(), osLocaltime(), pcache1Alloc(), posixUnlock(), releaseInodeInfo(), removeFromSharingList(), sqlite3_auto_extension(), sqlite3_backup_init(), sqlite3_bind_int(), sqlite3_bind_null(), sqlite3_bind_zeroblob64(), sqlite3_blob_reopen(), sqlite3_cancel_auto_extension(), sqlite3_collation_needed(), sqlite3_collation_needed16(), sqlite3_commit_hook(), sqlite3_declare_vtab(), sqlite3_errmsg16(), sqlite3_exec(), sqlite3_expanded_sql(), sqlite3_hard_heap_limit64(), sqlite3_initialize(), sqlite3_next_stmt(), sqlite3_overload_function(), sqlite3_profile(), sqlite3_progress_handler(), sqlite3_reset(), sqlite3_set_authorizer(), sqlite3_soft_heap_limit64(), sqlite3_step(), sqlite3_table_column_metadata(), sqlite3_trace(), sqlite3_vfs_find(), sqlite3_vfs_register(), sqlite3_vtab_config(), sqlite3AutoLoadExtensions(), sqlite3BtreeOpen(), sqlite3LeaveMutexAndCloseZombie(), sqlite3Malloc(), sqlite3Prepare16(), sqlite3RunParser(), unixCheckReservedLock(), unixLock(), unixOpenSharedMemory(), unixShmLock(), unixShmMap(), unixShmUnmap(), and vdbeUnbind().
SQLITE_API int sqlite3_mutex_notheld | ( | sqlite3_mutex * | ) |
SQLITE_API int sqlite3_mutex_try | ( | sqlite3_mutex * | p | ) |
Definition at line 25965 of file sqlite3.c.
References sqlite3GlobalConfig, and SQLITE_OK.
Referenced by btreeLockCarefully().
SQLITE_API sqlite3_stmt * sqlite3_next_stmt | ( | sqlite3 * | pDb, |
sqlite3_stmt * | pStmt ) |
Definition at line 84680 of file sqlite3.c.
References sqlite3::mutex, sqlite3::pVdbe, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), and SQLITE_MISUSE_BKPT.
SQLITE_API const char * sqlite3_normalized_sql | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API int sqlite3_open | ( | const char * | filename, |
sqlite3 ** | ppDb ) |
SQLITE_API int sqlite3_open16 | ( | const void * | filename, |
sqlite3 ** | ppDb ) |
Definition at line 164400 of file sqlite3.c.
SQLITE_API int sqlite3_open_v2 | ( | const char * | filename, |
sqlite3 ** | ppDb, | ||
int | flags, | ||
const char * | zVfs ) |
Definition at line 164387 of file sqlite3.c.
References openDatabase(), SQLITE_OPEN_CREATE, and SQLITE_OPEN_READWRITE.
SQLITE_API int sqlite3_os_end | ( | void | ) |
Definition at line 41473 of file sqlite3.c.
References SQLITE_OK, and unixBigLock.
Referenced by sqlite3_shutdown().
SQLITE_API int sqlite3_os_init | ( | void | ) |
Definition at line 41373 of file sqlite3.c.
References ArraySize, aSyscall, sqlite3_vfs_register(), sqlite3MutexAlloc(), SQLITE_MUTEX_STATIC_VFS1, SQLITE_OK, unixBigLock, and UNIXVFS.
Referenced by sqlite3OsInit().
SQLITE_API int sqlite3_overload_function | ( | sqlite3 * | db, |
const char * | zFuncName, | ||
int | nArg ) |
Definition at line 163042 of file sqlite3.c.
References sqlite3::mutex, sqlite3_create_function_v2(), sqlite3_free(), sqlite3_mprintf(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3FindFunction(), sqlite3InvalidFunction(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_NOMEM, SQLITE_OK, SQLITE_UTF8, and zName.
Referenced by sqlite3RegisterPerConnectionBuiltinFunctions().
SQLITE_API int sqlite3_prepare | ( | sqlite3 * | db, |
const char * | zSql, | ||
int | nByte, | ||
sqlite3_stmt ** | ppStmt, | ||
const char ** | pzTail ) |
SQLITE_API int sqlite3_prepare16 | ( | sqlite3 * | db, |
const void * | zSql, | ||
int | nByte, | ||
sqlite3_stmt ** | ppStmt, | ||
const void ** | pzTail ) |
SQLITE_API int sqlite3_prepare16_v2 | ( | sqlite3 * | db, |
const void * | zSql, | ||
int | nByte, | ||
sqlite3_stmt ** | ppStmt, | ||
const void ** | pzTail ) |
Definition at line 129262 of file sqlite3.c.
References sqlite3Prepare16(), and SQLITE_OK.
SQLITE_API int sqlite3_prepare16_v3 | ( | sqlite3 * | db, |
const void * | zSql, | ||
int | nByte, | ||
unsigned int | prepFlags, | ||
sqlite3_stmt ** | ppStmt, | ||
const void ** | pzTail ) |
Definition at line 129274 of file sqlite3.c.
References sqlite3Prepare16(), SQLITE_OK, and SQLITE_PREPARE_SAVESQL.
SQLITE_API int sqlite3_prepare_v2 | ( | sqlite3 * | db, |
const char * | zSql, | ||
int | nByte, | ||
sqlite3_stmt ** | ppStmt, | ||
const char ** | pzTail ) |
Definition at line 129146 of file sqlite3.c.
References sqlite3LockAndPrepare(), and SQLITE_OK.
Referenced by db_do_rows(), db_prepare(), execSql(), and sqlite3_exec().
SQLITE_API int sqlite3_prepare_v3 | ( | sqlite3 * | db, |
const char * | zSql, | ||
int | nByte, | ||
unsigned int | prepFlags, | ||
sqlite3_stmt ** | ppStmt, | ||
const char ** | pzTail ) |
Definition at line 129164 of file sqlite3.c.
SQLITE_API SQLITE_DEPRECATED void * sqlite3_profile | ( | sqlite3 * | db, |
void(*)(void *, const char *, sqlite3_uint64) | xProfile, | ||
void * | pArg ) |
Definition at line 163126 of file sqlite3.c.
References sqlite3::mTrace, sqlite3::mutex, sqlite3::pProfileArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_TRACE_NONLEGACY_MASK, SQLITE_TRACE_XPROFILE, and sqlite3::xProfile.
SQLITE_API void sqlite3_progress_handler | ( | sqlite3 * | db, |
int | nOps, | ||
int(*)(void *) | xProgress, | ||
void * | pArg ) |
Definition at line 162700 of file sqlite3.c.
References sqlite3::mutex, sqlite3::nProgressOps, sqlite3::pProgressArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, and sqlite3::xProgress.
Referenced by db_progress_handler().
SQLITE_API void sqlite3_randomness | ( | int | N, |
void * | P ) |
Definition at line 30261 of file sqlite3.c.
Referenced by randomFunc(), sqlite3BitvecBuiltinTest(), sqlite3ColumnsFromExprList(), sqlite3VdbeExec(), unixGetTempname(), unixOpen(), vdbeCommit(), walCheckpoint(), walRestartLog(), and writeJournalHdr().
SQLITE_API void * sqlite3_realloc | ( | void * | pOld, |
int | n ) |
Definition at line 27819 of file sqlite3.c.
Referenced by unixShmMap().
SQLITE_API void * sqlite3_realloc64 | ( | void * | pOld, |
sqlite3_uint64 | n ) |
SQLITE_API int sqlite3_release_memory | ( | int | n | ) |
Definition at line 27335 of file sqlite3.c.
References UNUSED_PARAMETER.
SQLITE_API int sqlite3_reset | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83107 of file sqlite3.c.
References checkProfileCallback, Vdbe::db, sqlite3::errMask, sqlite3::mutex, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3ApiExit(), sqlite3VdbeReset(), sqlite3VdbeRewind(), and SQLITE_OK.
Referenced by db_do_next_row(), dbvm_reset(), sqlite3_step(), and sqlite3Step().
SQLITE_API void sqlite3_reset_auto_extension | ( | void | ) |
Definition at line 125025 of file sqlite3.c.
Referenced by sqlite3_shutdown().
SQLITE_API void sqlite3_result_blob | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83379 of file sqlite3.c.
Referenced by lcontext_result_blob(), and statGet().
SQLITE_API void sqlite3_result_blob64 | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
sqlite3_uint64 | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83389 of file sqlite3.c.
References sqlite3_value::db, sqlite3::mutex, sqlite3_context::pOut, setResultStrOrError(), and sqlite3_mutex_held().
Referenced by substrFunc().
SQLITE_API void sqlite3_result_double | ( | sqlite3_context * | pCtx, |
double | rVal ) |
Definition at line 83403 of file sqlite3.c.
References invokeValueDestructor().
Referenced by absFunc(), juliandayFunc(), lcontext_result(), and lcontext_result_double().
SQLITE_API void sqlite3_result_error | ( | sqlite3_context * | pCtx, |
const char * | z, | ||
int | n ) |
Definition at line 83407 of file sqlite3.c.
Referenced by absFunc(), attachFunc(), db_sql_finalize_function(), db_sql_normal_function(), detachFunc(), lcontext_result_error(), likeFunc(), loadExt(), localtimeOffset(), ntileStepFunc(), renameColumnParseError(), sqlite3InvalidFunction(), and sqlite3NotPureFunc().
SQLITE_API void sqlite3_result_error16 | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
int | n ) |
Definition at line 83413 of file sqlite3.c.
References sqlite3_value::db, sqlite3_context::isError, sqlite3::mutex, sqlite3_context::pOut, sqlite3_mutex_held(), sqlite3VdbeMemSetStr(), SQLITE_ERROR, SQLITE_TRANSIENT, and SQLITE_UTF8.
SQLITE_API void sqlite3_result_error_code | ( | sqlite3_context * | pCtx, |
int | errCode ) |
Definition at line 83520 of file sqlite3.c.
References SQLITE_TOOBIG.
Referenced by attachFunc(), renameColumnFunc(), and renameTableFunc().
SQLITE_API void sqlite3_result_error_nomem | ( | sqlite3_context * | pCtx | ) |
Definition at line 83540 of file sqlite3.c.
Referenced by charFunc(), contextMalloc(), instrFunc(), replaceFunc(), statGet(), statInit(), and strftimeFunc().
SQLITE_API void sqlite3_result_error_toobig | ( | sqlite3_context * | pCtx | ) |
Definition at line 83532 of file sqlite3.c.
Referenced by contextMalloc(), invokeValueDestructor(), replaceFunc(), and strftimeFunc().
SQLITE_API void sqlite3_result_int | ( | sqlite3_context * | pCtx, |
int | iVal ) |
Definition at line 83419 of file sqlite3.c.
References sqlite3_value::db, sqlite3_context::isError, sqlite3::mutex, sqlite3_context::pOut, sqlite3_mutex_held(), sqlite3VdbeMemSetStr(), SQLITE_ERROR, SQLITE_TRANSIENT, and SQLITE_UTF16NATIVE.
Referenced by changes(), compileoptionusedFunc(), instrFunc(), lcontext_result_int(), likeFunc(), and renameTableTest().
SQLITE_API void sqlite3_result_int64 | ( | sqlite3_context * | pCtx, |
sqlite3_int64 | iVal ) |
Definition at line 83423 of file sqlite3.c.
Referenced by absFunc(), countInverse(), lcontext_result(), randomFunc(), and statGet().
SQLITE_API void sqlite3_result_null | ( | sqlite3_context * | pCtx | ) |
Definition at line 83427 of file sqlite3.c.
Referenced by absFunc(), lcontext_result(), and lcontext_result_null().
SQLITE_API void sqlite3_result_pointer | ( | sqlite3_context * | pCtx, |
void * | pPtr, | ||
const char * | zPType, | ||
void(*)(void *) | xDestructor ) |
Definition at line 83431 of file sqlite3.c.
SQLITE_API void sqlite3_result_subtype | ( | sqlite3_context * | pCtx, |
unsigned int | eSubtype ) |
SQLITE_API void sqlite3_result_text | ( | sqlite3_context * | pCtx, |
const char * | z, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83449 of file sqlite3.c.
References sqlite3_value::db, sqlite3_value::eSubtype, sqlite3_value::flags, MEM_Subtype, sqlite3::mutex, sqlite3_context::pOut, and sqlite3_mutex_held().
Referenced by dateFunc(), datetimeFunc(), lcontext_result(), lcontext_result_text(), quoteFunc(), renameEditSql(), replaceFunc(), sourceidFunc(), statGet(), strftimeFunc(), and timeFunc().
SQLITE_API void sqlite3_result_text16 | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83475 of file sqlite3.c.
SQLITE_API void sqlite3_result_text16be | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83484 of file sqlite3.c.
References sqlite3_value::db, sqlite3::mutex, sqlite3_context::pOut, setResultStrOrError(), sqlite3_mutex_held(), and SQLITE_UTF16NATIVE.
SQLITE_API void sqlite3_result_text16le | ( | sqlite3_context * | pCtx, |
const void * | z, | ||
int | n, | ||
void(*)(void *) | xDel ) |
Definition at line 83493 of file sqlite3.c.
References sqlite3_value::db, sqlite3::mutex, sqlite3_context::pOut, setResultStrOrError(), sqlite3_mutex_held(), and SQLITE_UTF16BE.
SQLITE_API void sqlite3_result_text64 | ( | sqlite3_context * | pCtx, |
const char * | z, | ||
sqlite3_uint64 | n, | ||
void(*)(void *) | xDel, | ||
unsigned char | encoding ) |
Definition at line 83458 of file sqlite3.c.
References sqlite3_value::db, sqlite3::mutex, sqlite3_context::pOut, setResultStrOrError(), sqlite3_mutex_held(), and SQLITE_UTF8.
Referenced by charFunc(), and substrFunc().
SQLITE_API void sqlite3_result_value | ( | sqlite3_context * | pCtx, |
sqlite3_value * | pValue ) |
Definition at line 83503 of file sqlite3.c.
References sqlite3_value::db, sqlite3::mutex, sqlite3_context::pOut, setResultStrOrError(), sqlite3_mutex_held(), and SQLITE_UTF16LE.
Referenced by last_valueFinalizeFunc(), nullifFunc(), quoteFunc(), and replaceFunc().
SQLITE_API void sqlite3_result_zeroblob | ( | sqlite3_context * | pCtx, |
int | n ) |
SQLITE_API int sqlite3_result_zeroblob64 | ( | sqlite3_context * | pCtx, |
sqlite3_uint64 | n ) |
Definition at line 83511 of file sqlite3.c.
SQLITE_API void * sqlite3_rollback_hook | ( | sqlite3 * | db, |
void(*)(void *) | xCallback, | ||
void * | pArg ) |
Definition at line 163206 of file sqlite3.c.
Referenced by db_rollback_hook().
SQLITE_API int sqlite3_rtree_geometry_callback | ( | sqlite3 * | db, |
const char * | zGeom, | ||
int(*)(sqlite3_rtree_geometry *, int, sqlite3_rtree_dbl *, int *) | xGeom, | ||
void * | pContext ) |
SQLITE_API int sqlite3_rtree_query_callback | ( | sqlite3 * | db, |
const char * | zQueryFunc, | ||
int(*)(sqlite3_rtree_query_info *) | xQueryFunc, | ||
void * | pContext, | ||
void(*)(void *) | xDestructor ) |
SQLITE_API unsigned char * sqlite3_serialize | ( | sqlite3 * | db, |
const char * | zSchema, | ||
sqlite3_int64 * | piSize, | ||
unsigned int | mFlags ) |
SQLITE_API int sqlite3_set_authorizer | ( | sqlite3 * | db, |
int(*)(void *, int, const char *, const char *, const char *, const char *) | xAuth, | ||
void * | pUserData ) |
Definition at line 110182 of file sqlite3.c.
References sqlite3::mutex, sqlite3::pAuthArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3ExpirePreparedStatements(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_OK, and sqlite3::xAuth.
SQLITE_API void sqlite3_set_auxdata | ( | sqlite3_context * | pCtx, |
int | N, | ||
void * | pAux, | ||
void(*)(void *) | xDelete ) |
Definition at line 83916 of file sqlite3.c.
References sqlite3_value::db, Vdbe::db, AuxData::iAuxArg, AuxData::iAuxOp, sqlite3_context::iOp, sqlite3_context::isError, sqlite3::mutex, AuxData::pAux, Vdbe::pAuxData, AuxData::pNextAux, sqlite3_context::pOut, sqlite3_context::pVdbe, sqlite3_mutex_held(), sqlite3DbMallocZero(), and AuxData::xDeleteAux.
SQLITE_API void sqlite3_set_last_insert_rowid | ( | sqlite3 * | db, |
sqlite3_int64 | iRowid ) |
SQLITE_API int sqlite3_shutdown | ( | void | ) |
Definition at line 161371 of file sqlite3.c.
References sqlite3_data_directory, sqlite3_os_end(), sqlite3_reset_auto_extension(), sqlite3_temp_directory, sqlite3GlobalConfig, sqlite3MallocEnd(), sqlite3MutexEnd(), sqlite3PcacheShutdown(), and SQLITE_OK.
SQLITE_API int sqlite3_sleep | ( | int | ms | ) |
Definition at line 164752 of file sqlite3.c.
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_cmp | ( | sqlite3_snapshot * | p1, |
sqlite3_snapshot * | p2 ) |
SQLITE_API SQLITE_EXPERIMENTAL void sqlite3_snapshot_free | ( | sqlite3_snapshot * | ) |
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_get | ( | sqlite3 * | db, |
const char * | zSchema, | ||
sqlite3_snapshot ** | ppSnapshot ) |
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_open | ( | sqlite3 * | db, |
const char * | zSchema, | ||
sqlite3_snapshot * | pSnapshot ) |
SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_snapshot_recover | ( | sqlite3 * | db, |
const char * | zDb ) |
SQLITE_API char * sqlite3_snprintf | ( | int | n, |
char * | zBuf, | ||
const char * | zFormat, | ||
... ) |
Definition at line 29363 of file sqlite3.c.
Referenced by createTableStmt(), dateFunc(), datetimeFunc(), detachFunc(), openDirectory(), quoteFunc(), sqlite3LoadExtension(), sqlite3VdbeReset(), statGet(), strftimeFunc(), timeFunc(), unixGetTempname(), unixOpenSharedMemory(), and vdbeCommit().
SQLITE_API SQLITE_DEPRECATED void sqlite3_soft_heap_limit | ( | int | N | ) |
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64 | ( | sqlite3_int64 | N | ) |
Definition at line 27407 of file sqlite3.c.
References AtomicStore, mem0, sqlite3_initialize(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3StatusValue(), and SQLITE_STATUS_MEMORY_USED.
Referenced by sqlite3Pragma().
SQLITE_API const char * sqlite3_sourceid | ( | void | ) |
Definition at line 230510 of file sqlite3.c.
References SQLITE_SOURCE_ID.
Referenced by sourceidFunc(), and sqlite3CorruptError().
SQLITE_API const char * sqlite3_sql | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 84731 of file sqlite3.c.
Referenced by sqlite3_expanded_sql(), and sqlite3Reprepare().
SQLITE_API int sqlite3_status | ( | int | op, |
int * | pCurrent, | ||
int * | pHighwater, | ||
int | resetFlag ) |
Definition at line 21472 of file sqlite3.c.
SQLITE_API int sqlite3_status64 | ( | int | op, |
sqlite3_int64 * | pCurrent, | ||
sqlite3_int64 * | pHighwater, | ||
int | resetFlag ) |
Definition at line 21447 of file sqlite3.c.
Referenced by sqlite3_memory_highwater().
SQLITE_API int sqlite3_step | ( | sqlite3_stmt * | pStmt | ) |
Definition at line 83730 of file sqlite3.c.
References Vdbe::db, Vdbe::doingRerun, Vdbe::expired, sqlite3::mallocFailed, sqlite3::mutex, Vdbe::pc, sqlite3::pErr, Vdbe::rc, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3_reset(), sqlite3_value_text(), sqlite3ApiExit(), sqlite3DbFree(), sqlite3DbStrDup(), sqlite3Reprepare(), sqlite3Step(), SQLITE_MAX_SCHEMA_RETRY, SQLITE_MISUSE_BKPT, SQLITE_NOMEM_BKPT, SQLITE_OK, SQLITE_SCHEMA, vdbeSafetyNotNull(), and Vdbe::zErrMsg.
Referenced by blobSeekToRow(), execSql(), sqlite3_exec(), and stepvm().
SQLITE_API int sqlite3_stmt_busy | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API int sqlite3_stmt_isexplain | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API int sqlite3_stmt_readonly | ( | sqlite3_stmt * | pStmt | ) |
SQLITE_API int sqlite3_stmt_scanstatus | ( | sqlite3_stmt * | pStmt, |
int | idx, | ||
int | iScanStatusOp, | ||
void * | pOut ) |
SQLITE_API void sqlite3_stmt_scanstatus_reset | ( | sqlite3_stmt * | ) |
SQLITE_API int sqlite3_stmt_status | ( | sqlite3_stmt * | pStmt, |
int | op, | ||
int | resetFlg ) |
Definition at line 84701 of file sqlite3.c.
SQLITE_API void sqlite3_str_append | ( | sqlite3_str * | p, |
const char * | zIn, | ||
int | N ) |
Definition at line 29123 of file sqlite3.c.
Referenced by explainAppendTerm(), explainIndexRange(), sqlite3_str_vappendf(), sqlite3RunParser(), sqlite3VdbeDisplayP4(), sqlite3VdbeExpandSql(), and sqlite3WhereExplainOneScan().
SQLITE_API void sqlite3_str_appendall | ( | sqlite3_str * | p, |
const char * | zIn ) |
Definition at line 29140 of file sqlite3.c.
Referenced by explainAppendTerm(), sqlite3_str_vappendf(), sqlite3VdbeDisplayP4(), and sqlite3WhereExplainOneScan().
SQLITE_API void sqlite3_str_appendchar | ( | sqlite3_str * | p, |
int | N, | ||
char | C ) |
SQLITE_API void sqlite3_str_appendf | ( | sqlite3_str * | p, |
const char * | zFormat, | ||
... ) |
Definition at line 29440 of file sqlite3.c.
References sqlite3_str_vappendf().
Referenced by explainIndexRange(), sqlite3RunParser(), sqlite3VdbeDisplayP4(), sqlite3VdbeExpandSql(), sqlite3WhereExplainOneScan(), and vdbeMemRenderNum().
SQLITE_API int sqlite3_str_errcode | ( | sqlite3_str * | p | ) |
SQLITE_API char * sqlite3_str_finish | ( | sqlite3_str * | p | ) |
Definition at line 29185 of file sqlite3.c.
References SQLITE_NOMEM.
Referenced by sqlite3RunParser().
SQLITE_API int sqlite3_str_length | ( | sqlite3_str * | p | ) |
Definition at line 29202 of file sqlite3.c.
References sqlite3_str::accError, and SQLITE_NOMEM.
SQLITE_API sqlite3_str * sqlite3_str_new | ( | sqlite3 * | db | ) |
Definition at line 29251 of file sqlite3.c.
Referenced by sqlite3RunParser().
SQLITE_API void sqlite3_str_reset | ( | sqlite3_str * | p | ) |
Definition at line 29216 of file sqlite3.c.
Referenced by sqlite3BtreeIntegrityCheck(), sqlite3StrAccumEnlarge(), and sqlite3VdbeExpandSql().
SQLITE_API char * sqlite3_str_value | ( | sqlite3_str * | p | ) |
Definition at line 29207 of file sqlite3.c.
References sqlite3_str::nChar.
SQLITE_API void sqlite3_str_vappendf | ( | sqlite3_str * | pAccum, |
const char * | zFormat, | ||
va_list | ap ) |
Definition at line 28341 of file sqlite3.c.
References SrcList::a, sqlite3_str::accError, aDigits, aPrefix, ArraySize, arRound, et_info::base, et_info::charset, sqlite3_str::db, deliberate_fall_through, et_getdigit(), etBUFSIZE, etCHARX, etDECIMAL, etDYNSTRING, etEXP, etFLOAT, etGENERIC, etINVALID, etORDINAL, etPERCENT, etPOINTER, etRADIX, etSIZE, etSQLESCAPE, etSQLESCAPE2, etSQLESCAPE3, etSRCLIST, etSTRING, etTOKEN, FLAG_SIGNED, et_info::flags, fmtinfo, getDoubleArg(), getIntArg(), getTextArg(), LONGDOUBLE_TYPE, MAX, sqlite3_str::mxAlloc, Token::n, sqlite3_str::nAlloc, sqlite3_str::nChar, et_info::prefix, sqlite3_str::printfFlags, printfTempBuf(), SMALLEST_INT64, sqlite3_str_append(), sqlite3_str_appendall(), sqlite3_str_appendchar(), sqlite3DbFree(), sqlite3DbMallocSize(), sqlite3IsNaN(), SQLITE_FP_PRECISION_LIMIT, SQLITE_PRINTF_INTERNAL, SQLITE_PRINTF_MALLOCED, SQLITE_PRINTF_SQLFUNC, SQLITE_SKIP_UTF8, testcase, et_info::type, Token::z, and sqlite3_str::zText.
Referenced by renderLogMsg(), and sqlite3_str_appendf().
SQLITE_API int sqlite3_strglob | ( | const char * | zGlob, |
const char * | zStr ) |
Definition at line 117856 of file sqlite3.c.
Referenced by decodeIntArray().
SQLITE_API int sqlite3_stricmp | ( | const char * | zLeft, |
const char * | zRight ) |
Definition at line 31460 of file sqlite3.c.
Referenced by analysisLoader(), isSelfJoinView(), lookupName(), parseModifier(), renameColumnElistNames(), renameColumnFunc(), renameColumnIdlistNames(), renameTableFunc(), resolveAsName(), sqlite3AddColumn(), sqlite3CheckObjectName(), sqlite3ExprCompare(), sqlite3FindDbName(), sqlite3FkCheck(), sqlite3FkRequired(), sqlite3GenerateRowDelete(), sqlite3Pragma(), sqlite3Select(), xferCompatibleIndex(), and xferOptimization().
SQLITE_API int sqlite3_strlike | ( | const char * | zGlob, |
const char * | zStr, | ||
unsigned int | cEsc ) |
Definition at line 117864 of file sqlite3.c.
Referenced by analyzeOneTable(), and sqlite3VdbeExec().
SQLITE_API int sqlite3_strnicmp | ( | const char * | zLeft, |
const char * | zRight, | ||
int | N ) |
Definition at line 31487 of file sqlite3.c.
Referenced by codeInteger(), execSql(), parseModifier(), sqlite3InitCallback(), sqlite3IsShadowTableOf(), sqlite3LoadExtension(), sqlite3LocateTable(), sqlite3PragmaVtabRegister(), and yy_reduce().
SQLITE_API int sqlite3_system_errno | ( | sqlite3 * | db | ) |
SQLITE_API int sqlite3_table_column_metadata | ( | sqlite3 * | db, |
const char * | zDbName, | ||
const char * | zTableName, | ||
const char * | zColumnName, | ||
char const ** | pzDataType, | ||
char const ** | pzCollSeq, | ||
int * | pNotNull, | ||
int * | pPrimaryKey, | ||
int * | pAutoinc ) |
Definition at line 164634 of file sqlite3.c.
References Table::aCol, COLFLAG_PRIMKEY, Column::colFlags, HasRowid, Table::iPKey, sqlite3::mutex, Table::nCol, Column::notNull, Table::pSelect, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3ApiExit(), sqlite3BtreeEnterAll(), sqlite3BtreeLeaveAll(), sqlite3ColumnType(), sqlite3DbFree(), sqlite3ErrorWithMsg(), sqlite3FindTable(), sqlite3Init(), sqlite3IsRowid(), sqlite3MPrintf(), sqlite3SafetyCheckOk(), sqlite3StrBINARY, sqlite3StrICmp(), SQLITE_ERROR, SQLITE_MISUSE_BKPT, SQLITE_OK, Table::tabFlags, TF_Autoincrement, Column::zColl, and Column::zName.
SQLITE_API int sqlite3_test_control | ( | int | op, |
... ) |
Definition at line 164829 of file sqlite3.c.
SQLITE_API SQLITE_DEPRECATED void sqlite3_thread_cleanup | ( | void | ) |
SQLITE_API int sqlite3_threadsafe | ( | void | ) |
SQLITE_API int sqlite3_total_changes | ( | sqlite3 * | db | ) |
Definition at line 162095 of file sqlite3.c.
Referenced by db_total_changes().
SQLITE_API SQLITE_DEPRECATED void * sqlite3_trace | ( | sqlite3 * | db, |
void(*)(void *, const char *) | xTrace, | ||
void * | pArg ) |
Definition at line 163075 of file sqlite3.c.
References sqlite3::mTrace, sqlite3::mutex, sqlite3::pTraceArg, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_TRACE_LEGACY, sqlite3::trace, and sqlite3::xLegacy.
Referenced by db_trace().
SQLITE_API int sqlite3_trace_v2 | ( | sqlite3 * | db, |
unsigned | uMask, | ||
int(*)(unsigned, void *, void *, void *) | xCallback, | ||
void * | pCtx ) |
SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings | ( | sqlite3_stmt * | pFromStmt, |
sqlite3_stmt * | pToStmt ) |
Definition at line 84622 of file sqlite3.c.
References Vdbe::expired, Vdbe::expmask, Vdbe::nVar, Vdbe::prepFlags, sqlite3TransferBindings(), SQLITE_ERROR, and SQLITE_PREPARE_SAVESQL.
SQLITE_API int sqlite3_unlock_notify | ( | sqlite3 * | pBlocked, |
void(*)(void **apArg, int nArg) | xNotify, | ||
void * | pNotifyArg ) |
SQLITE_API void * sqlite3_update_hook | ( | sqlite3 * | db, |
void(*)(void *, int, char const *, char const *, sqlite3_int64) | xCallback, | ||
void * | pArg ) |
Definition at line 163181 of file sqlite3.c.
Referenced by db_update_hook().
SQLITE_API int sqlite3_uri_boolean | ( | const char * | zFile, |
const char * | zParam, | ||
int | bDefault ) |
Definition at line 165318 of file sqlite3.c.
Referenced by sqlite3PagerOpen(), and unixOpenSharedMemory().
SQLITE_API sqlite3_int64 sqlite3_uri_int64 | ( | const char * | zFilename, |
const char * | zParam, | ||
sqlite3_int64 | bDflt ) |
Definition at line 165327 of file sqlite3.c.
SQLITE_API const char * sqlite3_uri_key | ( | const char * | zFilename, |
int | N ) |
Definition at line 165304 of file sqlite3.c.
SQLITE_API const char * sqlite3_uri_parameter | ( | const char * | zFilename, |
const char * | zParam ) |
Definition at line 165295 of file sqlite3.c.
References databaseName().
Referenced by findCreateFileMode().
SQLITE_API void * sqlite3_user_data | ( | sqlite3_context * | p | ) |
Definition at line 83779 of file sqlite3.c.
References sqlite3_context::pFunc, and FuncDef::pUserData.
Referenced by db_sql_finalize_function(), db_sql_normal_function(), lcontext_check_aggregate(), lcontext_user_data(), likeFunc(), minmaxStep(), and sqlite3InvalidFunction().
SQLITE_API const void * sqlite3_value_blob | ( | sqlite3_value * | pVal | ) |
Definition at line 83153 of file sqlite3.c.
References ExpandBlob, sqlite3_value::flags, MEM_Blob, MEM_Null, MEM_Str, SQLITE_OK, and sqlite3_value::z.
Referenced by db_push_value(), instrFunc(), quoteFunc(), statGet(), statPush(), and substrFunc().
SQLITE_API int sqlite3_value_bytes | ( | sqlite3_value * | pVal | ) |
Definition at line 83166 of file sqlite3.c.
Referenced by db_push_value(), instrFunc(), isDate(), likeFunc(), quoteFunc(), replaceFunc(), statPush(), and substrFunc().
SQLITE_API int sqlite3_value_bytes16 | ( | sqlite3_value * | pVal | ) |
SQLITE_API double sqlite3_value_double | ( | sqlite3_value * | pVal | ) |
Definition at line 83172 of file sqlite3.c.
References sqlite3ValueBytes(), and SQLITE_UTF8.
Referenced by absFunc(), db_push_value(), isDate(), and quoteFunc().
SQLITE_API sqlite3_value * sqlite3_value_dup | ( | const sqlite3_value * | pOrig | ) |
Definition at line 83313 of file sqlite3.c.
References sqlite3_value::flags, and MEM_FromBind.
Referenced by instrFunc().
SQLITE_API void sqlite3_value_free | ( | sqlite3_value * | pOld | ) |
Definition at line 83336 of file sqlite3.c.
Referenced by instrFunc(), and last_valueValueFunc().
SQLITE_API int sqlite3_value_frombind | ( | sqlite3_value * | pVal | ) |
SQLITE_API int sqlite3_value_int | ( | sqlite3_value * | pVal | ) |
Definition at line 83175 of file sqlite3.c.
References sqlite3ValueBytes(), and SQLITE_UTF16NATIVE.
Referenced by compileoptiongetFunc(), errlogFunc(), renameColumnFunc(), renameTableFunc(), renameTableTest(), statGet(), statInit(), statPush(), substrFunc(), and windowExprGtZero().
SQLITE_API sqlite3_int64 sqlite3_value_int64 | ( | sqlite3_value * | pVal | ) |
Definition at line 83178 of file sqlite3.c.
References sqlite3VdbeRealValue().
Referenced by absFunc(), charFunc(), db_push_value(), ntileStepFunc(), statInit(), statPush(), and sumStep().
SQLITE_API int sqlite3_value_nochange | ( | sqlite3_value * | pVal | ) |
Definition at line 83302 of file sqlite3.c.
Referenced by sqlite3_vtab_nochange(), and sqlite3VdbeMemExpandBlob().
SQLITE_API int sqlite3_value_numeric_type | ( | sqlite3_value * | pVal | ) |
Definition at line 85640 of file sqlite3.c.
References applyNumericAffinity(), eType, sqlite3_value_type(), and SQLITE_TEXT.
Referenced by sumStep().
SQLITE_API void * sqlite3_value_pointer | ( | sqlite3_value * | pVal, |
const char * | zPType ) |
Definition at line 83185 of file sqlite3.c.
SQLITE_API unsigned int sqlite3_value_subtype | ( | sqlite3_value * | pVal | ) |
SQLITE_API const unsigned char * sqlite3_value_text | ( | sqlite3_value * | pVal | ) |
Definition at line 83198 of file sqlite3.c.
References sqlite3_value::z.
Referenced by attachFunc(), columnName(), compileoptionusedFunc(), db_push_value(), detachFunc(), errlogFunc(), exprCompareVariable(), instrFunc(), isDate(), isLikeOrGlob(), likeFunc(), loadExt(), quoteFunc(), renameColumnFunc(), renameColumnParseError(), renameTableFunc(), renameTableTest(), replaceFunc(), sqlite3_step(), sqlite3VdbeExec(), strftimeFunc(), and substrFunc().
SQLITE_API const void * sqlite3_value_text16 | ( | sqlite3_value * | pVal | ) |
Definition at line 83202 of file sqlite3.c.
Referenced by columnName(), sqlite3_column_type(), and sqlite3_errmsg16().
SQLITE_API const void * sqlite3_value_text16be | ( | sqlite3_value * | pVal | ) |
SQLITE_API const void * sqlite3_value_text16le | ( | sqlite3_value * | pVal | ) |
Definition at line 83208 of file sqlite3.c.
References sqlite3ValueText(), and SQLITE_UTF16NATIVE.
SQLITE_API int sqlite3_value_type | ( | sqlite3_value * | pVal | ) |
Definition at line 83216 of file sqlite3.c.
Referenced by absFunc(), db_push_value(), exprCompareVariable(), instrFunc(), isDate(), isLikeOrGlob(), likeFunc(), minmaxStep(), quoteFunc(), replaceFunc(), sqlite3_value_numeric_type(), statPush(), and substrFunc().
SQLITE_API sqlite3_vfs * sqlite3_vfs_find | ( | const char * | zVfsName | ) |
Definition at line 23307 of file sqlite3.c.
References mutex, sqlite3_vfs::pNext, sqlite3_initialize(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3MutexAlloc(), SQLITE_MUTEX_STATIC_MAIN, vfsList, and sqlite3_vfs::zName.
Referenced by attachFunc(), and sqlite3ParseUri().
SQLITE_API int sqlite3_vfs_register | ( | sqlite3_vfs * | pVfs, |
int | makeDflt ) |
Definition at line 23353 of file sqlite3.c.
References mutex, MUTEX_LOGIC, sqlite3_vfs::pNext, sqlite3_initialize(), sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3MutexAlloc(), SQLITE_MISUSE_BKPT, SQLITE_MUTEX_STATIC_MAIN, SQLITE_OK, vfsList, and vfsUnlink().
Referenced by sqlite3_os_init().
SQLITE_API int sqlite3_vfs_unregister | ( | sqlite3_vfs * | pVfs | ) |
SQLITE_API char * sqlite3_vmprintf | ( | const char * | zFormat, |
va_list | ap ) |
Definition at line 29299 of file sqlite3.c.
SQLITE_API char * sqlite3_vsnprintf | ( | int | n, |
char * | zBuf, | ||
const char * | zFormat, | ||
va_list | ap ) |
Definition at line 29348 of file sqlite3.c.
References SQLITE_MISUSE_BKPT.
SQLITE_API SQLITE_EXPERIMENTAL const char * sqlite3_vtab_collation | ( | sqlite3_index_info * | pIdxInfo, |
int | iCons ) |
Definition at line 148920 of file sqlite3.c.
References WhereClause::a, sqlite3_index_info::aConstraint, sqlite3_index_info::sqlite3_index_constraint::iTermOffset, WhereTerm::pExpr, Expr::pLeft, HiddenIndexInfo::pParse, HiddenIndexInfo::pWC, sqlite3ExprCompareCollSeq(), sqlite3StrBINARY, and CollSeq::zName.
SQLITE_API int sqlite3_vtab_config | ( | sqlite3 * | db, |
int | op, | ||
... ) |
Definition at line 140848 of file sqlite3.c.
References VTable::bConstraint, VTable::eVtabRisk, IsVirtual, sqlite3::mutex, VtabCtx::pTab, sqlite3::pVtabCtx, VtabCtx::pVTable, sqlite3_mutex_enter(), sqlite3_mutex_leave(), sqlite3Error(), sqlite3SafetyCheckOk(), SQLITE_MISUSE_BKPT, SQLITE_OK, SQLITE_VTAB_CONSTRAINT_SUPPORT, SQLITE_VTAB_DIRECTONLY, SQLITE_VTAB_INNOCUOUS, SQLITE_VTABRISK_High, and SQLITE_VTABRISK_Low.
SQLITE_API int sqlite3_vtab_nochange | ( | sqlite3_context * | p | ) |
Definition at line 83813 of file sqlite3.c.
References sqlite3_context::pOut, and sqlite3_value_nochange().
SQLITE_API int sqlite3_vtab_on_conflict | ( | sqlite3 * | db | ) |
Definition at line 140830 of file sqlite3.c.
References OE_Abort, OE_Fail, OE_Ignore, OE_Replace, OE_Rollback, sqlite3SafetyCheckOk(), SQLITE_ABORT, SQLITE_FAIL, SQLITE_IGNORE, SQLITE_MISUSE_BKPT, SQLITE_REPLACE, SQLITE_ROLLBACK, and sqlite3::vtabOnConflict.
SQLITE_API int sqlite3_wal_autocheckpoint | ( | sqlite3 * | db, |
int | N ) |
Definition at line 163281 of file sqlite3.c.
References sqlite3_wal_hook(), sqlite3SafetyCheckOk(), sqlite3WalDefaultHook(), SQLITE_INT_TO_PTR, SQLITE_MISUSE_BKPT, SQLITE_OK, and UNUSED_PARAMETER.
Referenced by openDatabase(), and sqlite3Pragma().
SQLITE_API int sqlite3_wal_checkpoint | ( | sqlite3 * | db, |
const char * | zDb ) |
Definition at line 163391 of file sqlite3.c.
References sqlite3_wal_checkpoint_v2(), and SQLITE_CHECKPOINT_PASSIVE.
Referenced by sqlite3WalDefaultHook().
SQLITE_API int sqlite3_wal_checkpoint_v2 | ( | sqlite3 * | db, |
const char * | zDb, | ||
int | eMode, | ||
int * | pnLog, | ||
int * | pnCkpt ) |
Definition at line 163329 of file sqlite3.c.
Referenced by sqlite3_wal_checkpoint().
SQLITE_API void * sqlite3_wal_hook | ( | sqlite3 * | db, |
int(*)(void *, sqlite3 *, const char *, int) | xCallback, | ||
void * | pArg ) |
Definition at line 163302 of file sqlite3.c.
Referenced by sqlite3_wal_autocheckpoint().
SQLITE_API int sqlite3_win32_set_directory | ( | unsigned long | type, |
void * | zValue ) |
SQLITE_API int sqlite3_win32_set_directory16 | ( | unsigned long | type, |
const void * | zValue ) |
SQLITE_API int sqlite3_win32_set_directory8 | ( | unsigned long | type, |
const char * | zValue ) |
SQLITE_API SQLITE_EXTERN char* sqlite3_data_directory |
SQLITE_API SQLITE_EXTERN char* sqlite3_temp_directory |
SQLITE_API SQLITE_EXTERN const char sqlite3_version[] |