Lines Matching defs:Module
1407 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
1448 ** The zName field holds the name of the VFS module. The name must
1733 ** setting up a default [sqlite3_vfs] module, or setting up
2937 #define SQLITE_CREATE_VTABLE 29 /* Table Name Module Name */
2938 #define SQLITE_DROP_VTABLE 30 /* Table Name Module Name */
3210 const char *zVfs /* Name of VFS module to use */
5484 ** KEYWORDS: sqlite3_module {virtual table module}
5486 ** This structure, sometimes called a "virtual table module",
5488 ** This structure consists mostly of methods for the module.
5490 ** ^A virtual table module is created by filling in a persistent
5494 ** module or until the [database connection] closes. The content
5540 ** method of a [virtual table module]. The fields under **Inputs** are the
5630 ** ^These routines are used to register a new [virtual table module] name.
5631 ** ^Module names must be registered before
5632 ** creating a new [virtual table] using the module and before using a
5633 ** preexisting [virtual table] for the module.
5635 ** ^The module name is registered on the [database connection] specified
5636 ** by the first parameter. ^The name of the module is given by the
5638 ** the implementation of the [virtual table module]. ^The fourth
5640 ** into the [xCreate] and [xConnect] methods of the virtual table module
5653 sqlite3 *db, /* SQLite connection to register module with */
5654 const char *zName, /* Name of the module */
5655 const sqlite3_module *p, /* Methods for the module */
5659 sqlite3 *db, /* SQLite connection to register module with */
5660 const char *zName, /* Name of the module */
5661 const sqlite3_module *p, /* Methods for the module */
5663 void(*xDestroy)(void*) /* Module destructor function */
5670 ** Every [virtual table module] implementation uses a subclass
5673 ** be tailored to the specific needs of the module implementation.
5675 ** common to all module implementations.
5685 const sqlite3_module *pModule; /* The module for this virtual table */
5695 ** Every [virtual table module] implementation uses a subclass of the
5699 ** [sqlite3_module.xOpen | xOpen] method of the module and are destroyed
5702 ** of the module. Each module implementation will define
5717 ** [virtual table module] call this interface
5727 ** using the [xFindFunction] method of the [virtual table module].
6634 ** the pluggable module. The SQLite core has no knowledge of
8146 typedef struct Module Module;
9188 /* Try to return memory used by the pcache module to the main memory heap */
9992 ** Each SQLite module (virtual table definition) is defined by an
9996 struct Module {
10000 void (*xDestroy)(void *); /* Module destructor function */
10136 Module *pMod; /* Pointer to module implementation */
10196 int nModuleArg; /* Number of arguments to the module */
10197 char **azModuleArg; /* Text of all module args. [0] is module name */
10782 ** This object is intended to be opaque outside of the where.c module.
10785 ** the where.c module.
10806 ** is intended to be private the the where.c module and should not be
11165 Token sArg; /* Complete text of a module argument */
12823 ** This module implements the sqlite3_status() interface and related
12894 const sqlite3_module *pModule; /* Module for cursor pVtabCursor */
15392 ** Initialize this module.
15428 ** Deinitialize this module.
15534 ** All of the static variables used by this module are collected
15537 ** when this module is combined with other in the amalgamation.
16082 ** All of the static variables used by this module are collected
16085 ** when this module is combined with other in the amalgamation.
16537 ** Initialize this module.
16562 ** Deinitialize this module.
16763 ** All of the static variables used by this module are collected
16766 ** when this module is combined with other in the amalgamation.
17187 ** Deinitialize this module.
25744 ** this module never makes such a call. And the code in SQLite itself
30005 ** used by the test_multiplex.c module.
32971 ** Initialize this module.
33000 ** Deinitialize this module.
36279 sqlite3_pcache *pCache; /* Pluggable cache module */
37614 ** optimization: The common case is to exit the module before reaching
37814 ** install the default pluggable cache module, assuming the user has not
37905 ** This module implements an object we call a "RowSet".
38460 /* Return true if the argument is non-NULL and the WAL module is using
38462 ** WAL module is using shared-memory, return false.
38979 ** (calls made by the pcache module to the pagerStress() routine to
38984 ** comes up during savepoint rollback that requires the pcache module
43405 ** read from the database file. In some cases, the pcache module may
45134 ** Return a pointer to the pPager->pBackup variable. The backup module
45135 ** in backup.c maintains the content of this variable. This module
45215 /* If the pager is already in exclusive-mode, the WAL module will use
45344 ** This function is called by the wal module when writing page content
46612 sqlite3_vfs *pVfs, /* vfs module to open wal and wal-index */
48424 ** Return true if the argument is non-NULL and the WAL module is using
48426 ** WAL module is using shared-memory, return false.
49265 ** omitted if that module is not used.
49505 ** as this module treats each table as a separate structure. To determine
57940 ** Then clear the Btree layer MemPage.isInit flag. Both this module
61293 ** virtual module tables written in this transaction. This has to
70734 ** method of the module. The interpretation of the P4 string is left
70735 ** to the module implementation.
70887 /* Invoke the xNext() method of the module. There is no way for the
87893 ** Externally accessible module functions
89520 ** module table).
92548 ** buffer that the pager module resizes using sqlite3_realloc().
101529 ** The actual function that does the work of creating a new module.
101534 sqlite3 *db, /* Database in which module is registered */
101535 const char *zName, /* Name assigned to this module */
101536 const sqlite3_module *pModule, /* The definition of the module */
101538 void (*xDestroy)(void *) /* Module destructor function */
101541 Module *pMod;
101545 pMod = (Module *)sqlite3DbMallocRaw(db, sizeof(Module) + nName + 1);
101547 Module *pDel;
101554 pDel = (Module *)sqlite3HashInsert(&db->aModule, zCopy, nName, (void*)pMod);
101573 ** External API function used to create a new virtual-table module.
101576 sqlite3 *db, /* Database in which module is registered */
101577 const char *zName, /* Name assigned to this module */
101578 const sqlite3_module *pModule, /* The definition of the module */
101585 ** External API function used to create a new virtual-table module.
101588 sqlite3 *db, /* Database in which module is registered */
101589 const char *zName, /* Name assigned to this module */
101590 const sqlite3_module *pModule, /* The definition of the module */
101592 void (*xDestroy)(void *) /* Module destructor function */
101746 ** Add a new module argument to pTable->azModuleArg[].
101773 ** statement. The module name has been parsed, but the optional list
101774 ** of parameters that follow the module name are still pending.
101780 Token *pModuleName, /* Name of the module for the virtual table */
101817 ** This routine takes the module argument that has been accumulating
101914 ** of an argument to the module name in a CREATE VIRTUAL TABLE statement.
101924 ** in an argument to the module name in a CREATE VIRTUAL TABLE statement.
101945 Module *pMod,
102053 Module *pMod;
102061 /* Locate the required virtual table module */
102063 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod, sqlite3Strlen30(zMod));
102067 sqlite3ErrorMsg(pParse, "no such module: %s", zModule);
102123 Module *pMod;
102129 /* Locate the required virtual table module */
102131 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod, sqlite3Strlen30(zMod));
102133 /* If the module has been registered and includes a Create method,
102134 ** invoke it now. If the module has not been registered, return an
102138 *pzErr = sqlite3MPrintf(db, "no such module: %s", zMod);
102159 ** virtual table module.
102335 ** virtual module xSync() callback. It is illegal to write to
102336 ** virtual module tables in this case, so return SQLITE_LOCKED.
102581 ** This module contains C code that generates VDBE code used to process
102582 ** the WHERE clause of SQL statements. This module is responsible for
102585 ** so is applicable. Because this module is responsible for selecting
102586 ** indices, you might also think of this module as the "query optimizer".
104866 ** table module. This routine is really just a wrapper that sets up
104922 /* The module name must be defined. Also, by this point there must
106153 /* This module is only called on query plans that use an index. */
113288 Module *pMod = (Module *)sqliteHashData(i);
114823 const char *zVfs /* Name of VFS module to use */
115368 ** SQL Logic Test or SLT test module) can run the same SQL multiple times
115874 ** This is an SQLite module implementing full-text search.
115880 ** * The FTS3 module is being built as an extension
115883 ** * The FTS3 module is being built into the core of
116273 ** Destroy an existing tokenizer. The fts3 module calls this method
116290 ** Destroy an existing tokenizer cursor. The fts3 module calls this
116338 const sqlite3_tokenizer_module *pModule; /* The module for this tokenizer */
116370 ** hash table implementation for the full-text indexing module.
116806 /* The following are used by the fts3_eval.c module. */
117705 ** argv[0] -> module name ("fts3" or "fts4")
117708 ** argv[...] -> "column name" and other module argument fields.
117759 ** module (i.e. all the column names and special arguments). This loop
119286 ** made by an fts4aux module, not an FTS table. In this case calling
119363 /* "isScan" is only set to true by the ft4aux module, an ordinary
120150 ** This function is registered as the module destructor (called when an
120232 ** module with sqlite.
120561 ** through doclists. It is used by this module to iterate through phrase
120562 ** doclists in reverse and by the fts3_write.c module to iterate through
121700 ** This function is used by the matchinfo() module to query a phrase
121815 ** the eval module. Specifically, this means to free:
122297 ** Register the fts3aux module with database connection db. Return SQLITE_OK
122348 ** This module contains code that implements a parser for fts3 query strings
122356 ** By default, this module parses the legacy syntax that has been
122372 ** If compiled with SQLITE_TEST defined, then this module exports the
122374 ** to zero causes the module to use the old syntax. If it is set to
122380 ** generator. This module does not use actually lemon, it uses a
122428 sqlite3_tokenizer *pTokenizer; /* Tokenizer module */
122852 ** first implemented. Whichever it was, this module duplicates the
123094 ** The first parameter, pTokenizer, is passed the fts3 tokenizer module to
123107 sqlite3_tokenizer *pTokenizer, /* Tokenizer module */
123291 sqlite3_result_error(context, "No such tokenizer module", -1);
123364 ** implementation for the full-text indexing module.
123370 ** * The FTS3 module is being built as an extension
123373 ** * The FTS3 module is being built into the core of
123753 ** * The FTS3 module is being built as an extension
123756 ** * The FTS3 module is being built into the core of
124394 ** This is part of an SQLite module implementing full-text search.
124401 ** * The FTS3 module is being built as an extension
124404 ** * The FTS3 module is being built into the core of
124890 ** * The FTS3 module is being built as an extension
124893 ** * The FTS3 module is being built into the core of
125119 ** This file is part of the SQLite FTS3 extension module. Specifically,
125157 ** If this module is built with SQLITE_TEST defined, these constants may
129276 sqlite3_tokenizer_module *pMod; /* Tokenizer module methods object */
130176 ** algorithms packaged as an SQLite virtual table module.
130866 ** the virtual table module xCreate() and xConnect() methods.
130873 ** Rtree virtual table module xCreate method.
130886 ** Rtree virtual table module xConnect method.
130926 ** Rtree virtual table module xDisconnect method.
130934 ** Rtree virtual table module xDestroy method.
130961 ** Rtree virtual table module xOpen method.
130998 ** Rtree virtual table module xClose method.
131011 ** Rtree virtual table module xEof method.
131243 ** Rtree virtual table module xNext method.
131288 ** Rtree virtual table module xRowid method.
131301 ** Rtree virtual table module xColumn method.
131392 ** Rtree virtual table module xFilter method.
131483 ** Rtree virtual table module xBestIndex method. There are three
132879 ** The xUpdate method for rtree module virtual tables.
132997 ** The xRename method for rtree module virtual tables.
133185 ** argv[0] -> module name
133347 ** Register the r-tree module with database handle db. This creates the
133348 ** virtual table module "rtree" and the debugging/analysis scalar