Lines Matching defs:xInit
1847 ** The xInit method initializes the memory allocator. (For example,
1851 ** by xInit. The pAppData pointer is used as the only parameter to
1852 ** xInit and xShutdown.
1855 ** the xInit method, so the xInit method need not be threadsafe. The
1865 ** SQLite will never invoke xInit() more than once without an intervening
1875 int (*xInit)(void*); /* Initialize the memory allocator */
1877 void *pAppData; /* Argument to xInit() and xShutdown() */
6684 ** [[the xInit() page cache method]]
6685 ** ^(The xInit() method is called once for each effective
6687 ** (usually only once during the lifetime of the process). ^(The xInit()
6689 ** The intent of the xInit() method is to set up global data structures
6691 ** ^(If the xInit() method is NULL, then the
6701 ** ^SQLite automatically serializes calls to the xInit method,
6702 ** so the xInit method need not be threadsafe. ^The
6707 ** ^SQLite will never invoke xInit() more than once without an intervening
6822 int (*xInit)(void*);
6844 int (*xInit)(void*);
18778 return sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData);
36394 if( sqlite3GlobalConfig.pcache2.xInit==0 ){
36395 /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the
36400 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
37396 ** Implementation of the sqlite3_pcache.xInit method.
37413 ** Note that the static mutex allocated in xInit does
37821 pcache1Init, /* xInit */
91842 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
91878 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
91880 if( xInit==0 ){
91892 }else if( xInit(db, &zErrmsg, &sqlite3Apis) ){
92003 SQLITE_API int sqlite3_auto_extension(void (*xInit)(void)){
92019 if( wsdAutoext.aExt[i]==xInit ) break;
92029 wsdAutoext.aExt[wsdAutoext.nExt] = xInit;
92068 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
92082 xInit = 0;
92085 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
92090 if( xInit && (rc = xInit(db, &zErrmsg, &sqlite3Apis))!=0 ){
112650 ** to the xInit method, so the xInit method need not be threadsafe.
112652 ** The following mutex is what serializes access to the appdef pcache xInit
112653 ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the
112859 if( sqlite3GlobalConfig.pcache2.xInit==0 ){