Home | History | Annotate | Download | only in orig

Lines Matching defs:Module

1091 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
1132 ** The zName field holds the name of the VFS module. The name must
1417 ** setting up a default [sqlite3_vfs] module, or setting up
2677 #define SQLITE_CREATE_VTABLE 29 /* Table Name Module Name */
2678 #define SQLITE_DROP_VTABLE 30 /* Table Name Module Name */
2988 const char *zVfs /* Name of VFS module to use */
5405 ** KEYWORDS: sqlite3_module {virtual table module}
5407 ** This structure, sometimes called a "virtual table module",
5409 ** This structure consists mostly of methods for the module.
5411 ** ^A virtual table module is created by filling in a persistent
5415 ** module or until the [database connection] closes. The content
5461 ** method of a [virtual table module]. The fields under **Inputs** are the
5565 ** ^These routines are used to register a new [virtual table module] name.
5566 ** ^Module names must be registered before
5567 ** creating a new [virtual table] using the module and before using a
5568 ** preexisting [virtual table] for the module.
5570 ** ^The module name is registered on the [database connection] specified
5571 ** by the first parameter. ^The name of the module is given by the
5573 ** the implementation of the [virtual table module]. ^The fourth
5575 ** into the [xCreate] and [xConnect] methods of the virtual table module
5588 sqlite3 *db, /* SQLite connection to register module with */
5589 const char *zName, /* Name of the module */
5590 const sqlite3_module *p, /* Methods for the module */
5594 sqlite3 *db, /* SQLite connection to register module with */
5595 const char *zName, /* Name of the module */
5596 const sqlite3_module *p, /* Methods for the module */
5598 void(*xDestroy)(void*) /* Module destructor function */
5605 ** Every [virtual table module] implementation uses a subclass
5608 ** be tailored to the specific needs of the module implementation.
5610 ** common to all module implementations.
5620 const sqlite3_module *pModule; /* The module for this virtual table */
5630 ** Every [virtual table module] implementation uses a subclass of the
5634 ** [sqlite3_module.xOpen | xOpen] method of the module and are destroyed
5637 ** of the module. Each module implementation will define
5652 ** [virtual table module] call this interface
5662 ** using the [xFindFunction] method of the [virtual table module].
6609 ** the pluggable module. The SQLite core has no knowledge of
8802 typedef struct Module Module;
9945 /* Try to return memory used by the pcache module to the main memory heap */
10759 ** Each SQLite module (virtual table definition) is defined by an
10763 struct Module {
10767 void (*xDestroy)(void *); /* Module destructor function */
10900 Module *pMod; /* Pointer to module implementation */
10963 int nModuleArg; /* Number of arguments to the module */
10964 char **azModuleArg; /* Text of all module args. [0] is module name */
12001 Token sArg; /* Complete text of a module argument */
13854 ** This module implements the sqlite3_status() interface and related
16507 ** Initialize this module.
16543 ** Deinitialize this module.
16649 ** All of the static variables used by this module are collected
16652 ** when this module is combined with other in the amalgamation.
17197 ** All of the static variables used by this module are collected
17200 ** when this module is combined with other in the amalgamation.
17652 ** Initialize this module.
17677 ** Deinitialize this module.
17878 ** All of the static variables used by this module are collected
17881 ** when this module is combined with other in the amalgamation.
18297 ** Deinitialize this module.
23723 ** only zeroes the requested number of bytes whereas this module will
29830 ** used by the test_multiplex.c module.
33432 ** Initialize this module.
33481 ** Deinitialize this module.
37954 sqlite3_pcache *pCache; /* Pluggable cache module */
39312 ** optimization: The common case is to exit the module before reaching
39517 ** install the default pluggable cache module, assuming the user has not
39610 ** This module implements an object we call a "RowSet".
39992 /* While this module could theoretically support it, sqlite3RowSetNext()
40252 /* Return true if the argument is non-NULL and the WAL module is using
40254 ** WAL module is using shared-memory, return false.
40778 ** the pcache module to the pagerStress() routine to write cached data
40784 ** comes up during savepoint rollback that requires the pcache module
45471 ** read from the database file. In some cases, the pcache module may
46905 ** This function is called by the wal module when writing page content
47266 ** Return a pointer to the pPager->pBackup variable. The backup module
47267 ** in backup.c maintains the content of this variable. This module
47347 /* If the pager is already in exclusive-mode, the WAL module will use
48734 sqlite3_vfs *pVfs, /* vfs module to open wal and wal-index */
50554 ** Return true if the argument is non-NULL and the WAL module is using
50556 ** WAL module is using shared-memory, return false.
51412 ** omitted if that module is not used.
51671 ** as this module treats each table as a separate structure. To determine
60350 ** Then clear the Btree layer MemPage.isInit flag. Both this module
64135 ** virtual module tables written in this transaction. This has to
74050 ** method of the module. The interpretation of the P4 string is left
74051 ** to the module implementation.
74197 /* Invoke the xNext() method of the module. There is no way for the
93538 ** Externally accessible module functions
95959 /* Record that this module has started */
99081 ** buffer that the pager module resizes using sqlite3_realloc().
109360 ** The actual function that does the work of creating a new module.
109365 sqlite3 *db, /* Database in which module is registered */
109366 const char *zName, /* Name assigned to this module */
109367 const sqlite3_module *pModule, /* The definition of the module */
109369 void (*xDestroy)(void *) /* Module destructor function */
109379 Module *pMod;
109380 pMod = (Module *)sqlite3DbMallocRaw(db, sizeof(Module) + nName + 1);
109382 Module *pDel;
109389 pDel = (Module *)sqlite3HashInsert(&db->aModule,zCopy,nName,(void*)pMod);
109406 ** External API function used to create a new virtual-table module.
109409 sqlite3 *db, /* Database in which module is registered */
109410 const char *zName, /* Name assigned to this module */
109411 const sqlite3_module *pModule, /* The definition of the module */
109418 ** External API function used to create a new virtual-table module.
109421 sqlite3 *db, /* Database in which module is registered */
109422 const char *zName, /* Name assigned to this module */
109423 const sqlite3_module *pModule, /* The definition of the module */
109425 void (*xDestroy)(void *) /* Module destructor function */
109604 ** Add a new module argument to pTable->azModuleArg[].
109631 ** statement. The module name has been parsed, but the optional list
109632 ** of parameters that follow the module name are still pending.
109638 Token *pModuleName, /* Name of the module for the virtual table */
109675 ** This routine takes the module argument that has been accumulating
109772 ** of an argument to the module name in a CREATE VIRTUAL TABLE statement.
109782 ** in an argument to the module name in a CREATE VIRTUAL TABLE statement.
109803 Module *pMod,
109916 Module *pMod;
109924 /* Locate the required virtual table module */
109926 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod, sqlite3Strlen30(zMod));
109930 sqlite3ErrorMsg(pParse, "no such module: %s", zModule);
109986 Module *pMod;
109992 /* Locate the required virtual table module */
109994 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod, sqlite3Strlen30(zMod));
109996 /* If the module has been registered and includes a Create method,
109997 ** invoke it now. If the module has not been registered, return an
110001 *pzErr = sqlite3MPrintf(db, "no such module: %s", zMod);
110022 ** virtual table module.
110196 ** virtual module xSync() callback. It is illegal to write to
110197 ** virtual module tables in this case, so return SQLITE_LOCKED.
110442 ** This module contains C code that generates VDBE code used to process
110443 ** the WHERE clause of SQL statements. This module is responsible for
110446 ** so is applicable. Because this module is responsible for selecting
110447 ** indices, you might also think of this module as the "query optimizer".
113520 /* This module is only called on query plans that use an index. */
123138 Module *pMod = (Module *)sqliteHashData(i);
124847 const char *zVfs /* Name of VFS module to use */
125428 ** SQL Logic Test or SLT test module) can run the same SQL multiple times
125971 ** This is an SQLite module implementing full-text search.
125977 ** * The FTS3 module is being built as an extension
125980 ** * The FTS3 module is being built into the core of
126370 ** Destroy an existing tokenizer. The fts3 module calls this method
126387 ** Destroy an existing tokenizer cursor. The fts3 module calls this
126435 const sqlite3_tokenizer_module *pModule; /* The module for this tokenizer */
126467 ** hash table implementation for the full-text indexing module.
126943 /* The following are used by the fts3_eval.c module. */
127904 ** argv[0] -> module name ("fts3" or "fts4")
127907 ** argv[...] -> "column name" and other module argument fields.
127970 ** module (i.e. all the column names and special arguments). This loop
129591 ** made by an fts4aux module, not an FTS table. In this case calling
130564 ** This function is registered as the module destructor (called when an
130660 ** module with sqlite.
131007 ** through doclists. It is used by this module to iterate through phrase
131008 ** doclists in reverse and by the fts3_write.c module to iterate through
132372 ** This function is used by the matchinfo() module to query a phrase
132587 ** the eval module. Specifically, this means to free:
133070 ** this module will not return a row with a negative languageid), and
133149 ** Register the fts3aux module with database connection db. Return SQLITE_OK
133200 ** This module contains code that implements a parser for fts3 query strings
133208 ** By default, this module parses the legacy syntax that has been
133224 ** If compiled with SQLITE_TEST defined, then this module exports the
133226 ** to zero causes the module to use the old syntax. If it is set to
133232 ** generator. This module does not use actually lemon, it uses a
133280 sqlite3_tokenizer *pTokenizer; /* Tokenizer module */
133705 ** first implemented. Whichever it was, this module duplicates the
134121 sqlite3_tokenizer *pTokenizer, /* Tokenizer module */
134171 ** The first parameter, pTokenizer, is passed the fts3 tokenizer module to
134184 sqlite3_tokenizer *pTokenizer, /* Tokenizer module */
134396 sqlite3_result_error(context, "No such tokenizer module", -1);
134486 ** implementation for the full-text indexing module.
134492 ** * The FTS3 module is being built as an extension
134495 ** * The FTS3 module is being built into the core of
134875 ** * The FTS3 module is being built as an extension
134878 ** * The FTS3 module is being built into the core of
135532 ** This is part of an SQLite module implementing full-text search.
135539 ** * The FTS3 module is being built as an extension
135542 ** * The FTS3 module is being built into the core of
136028 ** * The FTS3 module is being built as an extension
136031 ** * The FTS3 module is being built into the core of
136257 ** This file contains code for the "fts3tokenize" virtual table module.
136272 ** The virtual table module tokenizes this <string>, using the FTS3
136396 ** argv[0]: module name
136662 ** Register the fts3tok module with database connection db. Return SQLITE_OK
136713 ** This file is part of the SQLite FTS3 extension module. Specifically,
136754 ** If this module is built with SQLITE_TEST defined, these constants may
142983 sqlite3_tokenizer_module *pMod; /* Tokenizer module methods object */
144263 static const sqlite3_tokenizer_module module = {
144272 *ppModule = &module;
144660 ** algorithms packaged as an SQLite virtual table module.
145396 ** the virtual table module xCreate() and xConnect() methods.
145403 ** Rtree virtual table module xCreate method.
145416 ** Rtree virtual table module xConnect method.
145456 ** Rtree virtual table module xDisconnect method.
145464 ** Rtree virtual table module xDestroy method.
145491 ** Rtree virtual table module xOpen method.
145528 ** Rtree virtual table module xClose method.
145542 ** Rtree virtual table module xEof method.
145565 ** implementation will only be used if this module is compiled as part
146030 ** Rtree virtual table module xNext method.
146044 ** Rtree virtual table module xRowid method.
146058 ** Rtree virtual table module xColumn method.
146165 ** Rtree virtual table module xFilter method.
146282 ** Rtree virtual table module xBestIndex method. There are three
147438 ** The xUpdate method for rtree module virtual tables.
147559 ** The xRename method for rtree module virtual tables.
147792 ** argv[0] -> module name
147971 ** Register the r-tree module with database handle db. This creates the
147972 ** virtual table module "rtree" and the debugging/analysis scalar