Lines Matching refs:zFile

4683 SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault);
7676 ** [SQLite extension] library contained in the file zFile. If
7715 const char *zFile, /* Name of the shared library containing extension */
7716 const char *zProc, /* Entry point. Derived from zFile if 0 */
23549 const char *zFile,
23558 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
34231 static int posixOpen(const char *zFile, int flags, int mode){
34232 return open(zFile, flags, mode);
38623 const char *zFile = pShmNode->zFilename;
38624 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
39752 ** Find the mode, uid and gid of file zFile.
39755 const char *zFile, /* File name */
39756 mode_t *pMode, /* OUT: Permissions of zFile */
39757 uid_t *pUid, /* OUT: uid of zFile. */
39758 gid_t *pGid /* OUT: gid of zFile. */
39762 if( 0==osStat(zFile, &sStat) ){
81176 char const *zFile = sqlite3BtreeGetJournalname(pBt);
81177 if( zFile==0 ){
81180 assert( zFile[0]!=0 );
81181 rc = sqlite3OsWrite(pSuperJrnl, zFile, sqlite3Strlen30(zFile)+1,offset);
81182 offset += sqlite3Strlen30(zFile)+1;
110796 const char *zFile;
110806 zFile = (const char *)sqlite3_value_text(argv[0]);
110808 if( zFile==0 ) zFile = "";
110871 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
110955 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
119901 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
119919 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
126532 ** zFile. The entry point is zProc. zProc may be 0 in which case a
126544 const char *zFile, /* Name of the shared library containing extension */
126555 u64 nMsg = 300 + sqlite3Strlen30(zFile);
126559 /* Shared library endings to try if zFile cannot be loaded as written */
126589 handle = sqlite3OsDlOpen(pVfs, zFile);
126592 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
126603 "unable to open shared library [%s]", zFile);
126624 int ncFile = sqlite3Strlen30(zFile);
126631 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
126633 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
126634 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
126649 "no entry point [%s] in shared library [%s]", zEntry, zFile);
126685 const char *zFile, /* Name of the shared library containing extension */
126691 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
166903 char *zFile;
166924 zFile = sqlite3_malloc64(nByte);
166925 if( !zFile ) return SQLITE_NOMEM_BKPT;
166927 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
166928 zFile += 4;
166957 /* Copy the filename and any query parameters into the zFile buffer.
167001 if( zFile[iOut-1]==0 ){
167007 zFile[iOut++] = '\0';
167016 zFile[iOut++] = c;
167018 if( eState==1 ) zFile[iOut++] = '\0';
167019 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
167025 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
167099 zFile = sqlite3_malloc64(nUri+8);
167100 if( !zFile ) return SQLITE_NOMEM_BKPT;
167101 memset(zFile, 0, 4);
167102 zFile += 4;
167104 memcpy(zFile, zUri, nUri);
167106 memset(zFile+nUri, 0, 4);
167117 sqlite3_free_filename(zFile);
167118 zFile = 0;
167121 *pzFile = zFile;
201755 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
201756 p->zState = rbuMPrintf(p, "file://%s-vacuum?modeof=%s", zFile, zFile);