Home
last modified time | relevance | path

Searched refs:zFile (Results 1 – 6 of 6) sorted by relevance

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dattach.c29 char *zFile, *zName; in sqliteAttach() local
50 zFile = 0; in sqliteAttach()
51 sqliteSetNString(&zFile, pFilename->z, pFilename->n, 0); in sqliteAttach()
52 if( zFile==0 ) return; in sqliteAttach()
53 sqliteDequote(zFile); in sqliteAttach()
55 if( sqliteAuthCheck(pParse, SQLITE_ATTACH, zFile, 0, 0)!=SQLITE_OK ){ in sqliteAttach()
56 sqliteFree(zFile); in sqliteAttach()
69 sqliteFree(zFile); in sqliteAttach()
90 rc = sqliteBtreeFactory(db, zFile, 0, MAX_PAGES, &aNew->pBt); in sqliteAttach()
92 sqliteErrorMsg(pParse, "unable to open database: %s", zFile); in sqliteAttach()
[all …]
H A Dcopy.c40 char *zFile = 0; in sqliteCopy() local
49 zFile = sqliteStrNDup(pFilename->z, pFilename->n); in sqliteCopy()
50 sqliteDequote(zFile); in sqliteCopy()
54 || sqliteAuthCheck(pParse, SQLITE_COPY, pTab->zName, zFile, zDb) ){ in sqliteCopy()
108 sqliteFree(zFile); in sqliteCopy()
H A Dutil.c55 void *sqliteMalloc_(int n, int bZero, char *zFile, int line){ in sqliteMalloc_() argument
65 n, zFile,line); in sqliteMalloc_()
86 ++memcnt, n, (int)p, zFile,line); in sqliteMalloc_()
116 void sqliteFree_(void *p, char *zFile, int line){ in sqliteFree_() argument
139 ++memcnt, n, (int)p, zFile,line); in sqliteFree_()
154 return sqliteMalloc_(n,1,zFile,line); in sqliteRealloc_()
157 sqliteFree_(oldP,zFile,line); in sqliteRealloc_()
193 ++memcnt, oldN, n, (int)oldP, (int)p, zFile, line); in sqliteRealloc_()
223 char *sqliteStrDup_(const char *z, char *zFile, int line){ in sqliteStrDup_() argument
226 zNew = sqliteMalloc_(strlen(z)+1, 0, zFile, line); in sqliteStrDup_()
[all …]
H A Dpager.c895 static int sqlitepager_opentemp(char *zFile, OsFile *fd){ in sqlitepager_opentemp() argument
900 sqliteOsTempFileName(zFile); in sqlitepager_opentemp()
901 rc = sqliteOsOpenExclusive(zFile, fd, 1); in sqlitepager_opentemp()
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.h4645 const char *zFile, /* Name of the shared library containing extension */
H A Dsqlite3.c14452 const char *zFile, in sqlite3OsOpenMalloc() argument
59404 if( zFile==0 ){
59411 rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset);
76602 const char *zFile;
76614 if( zFile==0 ) zFile = "";
83418 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
109750 char *zFile;
109850 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
109925 zFile[nUri] = '\0';
109937 zFile = 0;
[all …]

Completed in 275 milliseconds