Lines Matching defs:zFile

7473 ** [SQLite extension] library contained in the file zFile.  If
7512 const char *zFile, /* Name of the shared library containing extension */
7513 const char *zProc, /* Entry point. Derived from zFile if 0 */
26347 const char *zFile,
26356 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
38766 static int posixOpen(const char *zFile, int flags, int mode){
38767 return open(zFile, flags, mode);
43266 const char *zFile = pShmNode->zFilename;
43267 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
44491 ** Find the mode, uid and gid of file zFile.
44494 const char *zFile, /* File name */
44495 mode_t *pMode, /* OUT: Permissions of zFile */
44496 uid_t *pUid, /* OUT: uid of zFile. */
44497 gid_t *pGid /* OUT: gid of zFile. */
44501 if( 0==osStat(zFile, &sStat) ){
87896 char const *zFile = sqlite3BtreeGetJournalname(pBt);
87897 if( zFile==0 ){
87900 assert( zFile[0]!=0 );
87901 rc = sqlite3OsWrite(pSuperJrnl, zFile, sqlite3Strlen30(zFile)+1,offset);
87902 offset += sqlite3Strlen30(zFile)+1;
120559 const char *zFile;
120569 zFile = (const char *)sqlite3_value_text(argv[0]);
120571 if( zFile==0 ) zFile = "";
120647 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
120731 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
130366 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
130384 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
137669 ** zFile. The entry point is zProc. zProc may be 0 in which case a
137681 const char *zFile, /* Name of the shared library containing extension */
137692 u64 nMsg = strlen(zFile);
137696 /* Shared library endings to try if zFile cannot be loaded as written */
137740 handle = sqlite3OsDlOpen(pVfs, zFile);
137743 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
137767 int ncFile = sqlite3Strlen30(zFile);
137774 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
137776 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
137777 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
137793 "no entry point [%s] in shared library [%s]", zEntry, zFile);
137834 "unable to open shared library [%.*s]", SQLITE_MAX_PATHLEN, zFile);
137842 const char *zFile, /* Name of the shared library containing extension */
137848 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
182764 char *zFile;
182785 zFile = sqlite3_malloc64(nByte);
182786 if( !zFile ) return SQLITE_NOMEM_BKPT;
182788 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
182789 zFile += 4;
182818 /* Copy the filename and any query parameters into the zFile buffer.
182862 if( zFile[iOut-1]==0 ){
182868 zFile[iOut++] = '\0';
182877 zFile[iOut++] = c;
182879 if( eState==1 ) zFile[iOut++] = '\0';
182880 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
182886 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
182960 zFile = sqlite3_malloc64(nUri+8);
182961 if( !zFile ) return SQLITE_NOMEM_BKPT;
182962 memset(zFile, 0, 4);
182963 zFile += 4;
182965 memcpy(zFile, zUri, nUri);
182967 memset(zFile+nUri, 0, 4);
182978 sqlite3_free_filename(zFile);
182979 zFile = 0;
182982 *pzFile = zFile;
220905 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
220906 p->zState = rbuMPrintf(p, "file:///%s-vacuum?modeof=%s", zFile, zFile);