Lines Matching refs:method
576 ** in the 4th parameter to the [sqlite3_vfs.xOpen] method.
622 ** The xDeviceCharacteristics method of the [sqlite3_io_methods]
688 ** When SQLite invokes the xSync() method of an
702 ** xSync VFS method occur and applies uniformly across all platforms.
734 ** Every file opened by the [sqlite3_vfs.xOpen] method populates an
740 ** If the [sqlite3_vfs.xOpen] method sets the sqlite3_file.pMethods element
741 ** to a non-NULL pointer, then the sqlite3_io_methods.xClose method
769 ** The xCheckReservedLock() method checks whether any database connection,
774 ** The xFileControl() method is a generic interface that allows custom
785 ** Applications that define a custom xFileControl method should use opcodes
790 ** The xSectorSize() method returns the sector size of the
794 ** method returns a bit vector describing behaviors of the
863 ** These integer constants are opcodes for the xFileControl method
870 ** opcode causes the xFileControl method to write the current state of
918 ** sent to the VFS immediately before the xSync method is invoked on a
919 ** database file descriptor. Or, if the xSync method is not invoked
922 ** of the xSync method. In most cases, the pointer argument passed with
1086 ** opcode causes the xFileControl method to swap the file handle with the one
1116 ** except for calls to the xWrite method and the xFileControl method
1270 ** xOpen method of a [VFS]. It may be cast to (const char*) and treated
1374 ** SQLite might also add one of the following flags to the xOpen method:
1397 ** argument to xOpen. The xOpen method does not have to
1399 ** the xOpen method must set the sqlite3_file.pMethods to either
1412 ** directory. The xAccess method returns [SQLITE_OK] on success or some
1431 ** The xSleep() method causes the calling thread to sleep for at
1433 ** method returns a Julian Day Number for the current date and time as
1435 ** ^The xCurrentTimeInt64() method returns, as an integer, the Julian
1438 ** ^SQLite will use the xCurrentTimeInt64() method to get the current
1439 ** date and time if that method is available (if iVersion is 2 or
1497 ** CAPI3REF: Flags for the xAccess VFS method
1500 ** the xAccess method of an [sqlite3_vfs] object. They determine
1501 ** what kind of permissions the xAccess method is looking for.
1502 ** With SQLITE_ACCESS_EXISTS, the xAccess method
1504 ** With SQLITE_ACCESS_READWRITE, the xAccess method
1511 ** With SQLITE_ACCESS_READ, the xAccess method
1521 ** CAPI3REF: Flags for the xShmLock VFS method
1524 ** allowed by the xShmLock method of [sqlite3_io_methods]. The
1526 ** xShmLock method:
1538 ** The xShmLock method can transition between unlocked and SHARED or
1550 ** The xShmLock method on [sqlite3_io_methods] may use values
1724 ** The xRoundup method returns what would be the allocated size of
1732 ** The xInit method initializes the memory allocator. For example,
1734 ** structures. The xShutdown method is invoked (indirectly) by
1740 ** the xInit method, so the xInit method need not be threadsafe. The
1741 ** xShutdown method is only called from [sqlite3_shutdown()] so it does
2526 ** The sqlite3_set_last_insert_rowid(D, R) method allows the application to
3043 ** seeded using randomness obtained from the xRandomness method of
3048 ** method.
3516 ** [sqlite3_config()] method or by the [SQLITE_USE_URI] compile-time option.
3680 ** passed into the xOpen() method of a VFS implemention, or
3722 ** into the xOpen VFS method, then the behavior of this routine is undefined
3775 ** passed into the xOpen method of [sqlite3_vfs], then
3782 ** has been passed into [sqlite3_vfs].xOpen method where the
3831 ** that if the [sqlite3_vfs.xOpen()] method of a VFS has been called using Y,
3832 ** then the corresponding [sqlite3_module.xClose() method should also be
5555 ** ^Within the [xUpdate] method of a [virtual table], the
5558 ** that the xUpdate method call was invoked to implement and if
5559 ** and the prior [xColumn] method call that was invoked to extracted
5562 ** was unchanging). ^Within an [xUpdate] method, any value for which
5565 ** than within an [xUpdate] method call for an UPDATE statement, then
6151 ** method of the default [sqlite3_vfs] object. If the xSleep() method
6362 ** xFullPathname method of the [VFS]. ^In other words, the filename
6661 ** Note: This method is disabled on MacOS X 10.7 and iOS version 5.0
6899 ** [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method be used to enable only this
6934 ** be enabled using the [SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION] method
7077 ** method of a [virtual table module]. The fields under **Inputs** are the
7113 ** The [xBestIndex] method must fill aConstraintUsage[] with information
7127 ** [xFilter] method.
7144 ** The xBestIndex method may optionally populate the idxFlags field with a
7146 ** SQLITE_INDEX_SCAN_UNIQUE. If the xBestIndex method sets this flag, SQLite
7150 ** SQLite also assumes that if a call to the xUpdate() method is made as
7157 ** the xUpdate method are automatically rolled back by SQLite.
7231 ** by the [xFindFunction|xFindFunction method] of the virtual table
7344 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
7365 ** [sqlite3_module.xOpen | xOpen] method of the module and are destroyed
7366 ** by the [sqlite3_module.xClose | xClose] method. Cursors are used
7394 ** using the [xFindFunction] method of the [virtual table module].
7829 ** ^The xMutexInit method defined by this structure is invoked as
7834 ** ^The xMutexEnd method defined by this structure is invoked as
7836 ** implementation of this method is expected to release all outstanding
7838 ** those obtained by the xMutexInit method. ^The xMutexEnd()
7863 ** The xMutexInit() method must be threadsafe. It must be harmless to
7873 ** ^SQLite will invoke the xMutexEnd() method when [sqlite3_shutdown()] is
7974 ** xFileControl method for the [sqlite3_io_methods] object associated
7983 ** the xFileControl method. ^The return value of the xFileControl
7984 ** method becomes the return value of this routine.
7988 ** sqlite3_io_methods.xFileControl method.
8002 ** or [sqlite3_errmsg()]. The underlying xFileControl method might
8005 ** xFileControl method.
8198 ** ^The [sqlite3_str_append(X,S,N)] method appends exactly N bytes from string S
8202 ** method instead.
8204 ** ^The [sqlite3_str_appendall(X,S)] method appends the complete content of
8207 ** ^The [sqlite3_str_appendchar(X,N,C)] method appends N copies of the
8209 ** ^This method can be used, for example, to add whitespace indentation.
8211 ** ^The [sqlite3_str_reset(X)] method resets the string under construction
8232 ** in sqlite3_str X, then the [sqlite3_str_errcode(X)] method will return
8233 ** an appropriate error code. ^The [sqlite3_str_errcode(X)] method returns
8238 ** ^The [sqlite3_str_length(X)] method returns the current length, in bytes,
8243 ** ^The [sqlite3_str_value(X)] method returns a pointer to the current
8246 ** and might be freed or altered by any subsequent method on the same
8248 ** [sqlite3_str_value(X)] after any subsequent method call on the same
8252 ** write any byte after any subsequent sqlite3_str method call.
8308 ** sizes as reported by the xSize method in [sqlite3_mem_methods].</dd>)^
8678 ** [[the xInit() page cache method]]
8679 ** ^(The xInit() method is called once for each effective
8682 ** method is passed a copy of the sqlite3_pcache_methods2.pArg value.)^
8683 ** The intent of the xInit() method is to set up global data structures
8685 ** ^(If the xInit() method is NULL, then the
8689 ** [[the xShutdown() page cache method]]
8690 ** ^The xShutdown() method is called by [sqlite3_shutdown()].
8693 ** ^The xShutdown() method may be NULL.
8695 ** ^SQLite automatically serializes calls to the xInit method,
8696 ** so the xInit method need not be threadsafe. ^The
8697 ** xShutdown method is only called from [sqlite3_shutdown()] so it does
8705 ** ^SQLite invokes the xCreate() method to construct a new cache instance.
8727 ** [[the xCachesize() page cache method]]
8728 ** ^(The xCachesize() method may be called at any time by SQLite to set the
8736 ** The xPagecount() method must return the number of pages currently
8740 ** The xFetch() method locates a page in the cache and returns a pointer to
8773 ** [[the xUnpin() page cache method]]
8787 ** The xRekey() method is used to change the key value associated with the
8793 ** When SQLite calls the xTruncate() method, the cache must discard all
8799 ** [[the xDestroy() page cache method]]
8800 ** ^The xDestroy() method is used to delete a cache allocated by xCreate().
8802 ** calling the xDestroy() method, SQLite considers the [sqlite3_pcache*]
8806 ** [[the xShrink() page cache method]]
8807 ** ^SQLite invokes the xShrink() method when it wants the page cache to
9083 ** sqlite3_unlock_notify() method with the blocked connection handle as
9467 ** This function may be called by either the [xConnect] or [xCreate] method
9472 ** xCreate virtual table method then the behavior is undefined.
9477 ** method that is invoking sqlite3_vtab_config(). The C parameter is one
9499 ** [xCreate] or [xConnect] method invoked [sqlite3_vtab_config()] does not
9501 ** a call to the [xUpdate] method returns [SQLITE_CONSTRAINT], then the entire
9512 ** If the ON CONFLICT mode is REPLACE and the [xUpdate] method returns
9517 ** must do so within the [xUpdate] method. If a call to the
9553 ** This function may only be called from within a call to the [xUpdate] method
9557 ** of the SQL statement that triggered the call to the [xUpdate] method of the
9566 ** method of a [virtual table], then it might return true if the
9571 ** [xUpdate] method understands as a "no-change" value.
9573 ** If the [xColumn] method calls sqlite3_vtab_nochange() and finds that
9575 ** method can optionally return without setting a result, without calling
9578 ** same column in the [xUpdate] method.
9593 ** method of a [virtual table]. This function returns a pointer to a string
9598 ** that is the first parameter to the xBestIndex() method. The second argument
9604 ** xBestMethod() method. The first parameter may not be a pointer to a
9627 ** This API may only be used from within an [xBestIndex|xBestIndex method]
9644 ** the xBestIndex method to set the "orderByConsumed" flag, regardless of
9700 ** [xBestIndex|xBestIndex() method] of a [virtual table] implementation.
9706 ** communicated to the xBestIndex method as a
9711 ** that invokes the [xFilter|xFilter() method] once for each value
9739 ** within the same xBestIndex method call. ^For any given P,N pair,
9762 ** xFilter method will be an [sqlite3_value] that appears to be NULL,
9773 ** [xFilter|xFilter() method] of a [virtual table] implementation.
9779 ** xFilter method which invokes these routines, and specifically
9782 ** [xBestIndex|xBestIndex method]. ^(If the X parameter is not
9811 ** method from which these routines were called. If the virtual table
9822 ** This API may only be used from within the [xBestIndex|xBestIndex method]
9824 ** from outside of an xBestIndex method are undefined and probably harmful.
9827 ** the [xBestIndex] method of a [virtual table] implementation, with P being
9851 ** and remains valid for the duration of the xBestIndex method call.