Lines Matching refs:zFile
7487 const char *zFile, /* Name of the shared library containing extension */
26068 const char *zFile, in sqlite3OsOpenMalloc() argument
26077 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags); in sqlite3OsOpenMalloc()
38426 static int posixOpen(const char *zFile, int flags, int mode){
38427 return open(zFile, flags, mode);
42922 const char *zFile = pShmNode->zFilename;
42923 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
44150 const char *zFile, /* File name */
44157 if( 0==osStat(zFile, &sStat) ){
87420 char const *zFile = sqlite3BtreeGetJournalname(pBt);
87421 if( zFile==0 ){
87424 assert( zFile[0]!=0 );
87425 rc = sqlite3OsWrite(pSuperJrnl, zFile, sqlite3Strlen30(zFile)+1,offset);
87426 offset += sqlite3Strlen30(zFile)+1;
119809 const char *zFile;
119819 zFile = (const char *)sqlite3_value_text(argv[0]);
119821 if( zFile==0 ) zFile = "";
119897 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
119981 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
129615 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
129633 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
136720 const char *zFile, /* Name of the shared library containing extension */
136731 u64 nMsg = strlen(zFile);
136779 handle = sqlite3OsDlOpen(pVfs, zFile);
136782 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
136806 int ncFile = sqlite3Strlen30(zFile);
136813 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
136815 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
136816 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
136832 "no entry point [%s] in shared library [%s]", zEntry, zFile);
136873 "unable to open shared library [%.*s]", SQLITE_MAX_PATHLEN, zFile);
136881 const char *zFile, /* Name of the shared library containing extension */
136887 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
181148 char *zFile;
181169 zFile = sqlite3_malloc64(nByte);
181170 if( !zFile ) return SQLITE_NOMEM_BKPT;
181172 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
181173 zFile += 4;
181246 if( zFile[iOut-1]==0 ){
181252 zFile[iOut++] = '\0';
181261 zFile[iOut++] = c;
181263 if( eState==1 ) zFile[iOut++] = '\0';
181264 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
181270 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
181344 zFile = sqlite3_malloc64(nUri+8);
181345 if( !zFile ) return SQLITE_NOMEM_BKPT;
181346 memset(zFile, 0, 4);
181347 zFile += 4;
181349 memcpy(zFile, zUri, nUri);
181351 memset(zFile+nUri, 0, 4);
181362 sqlite3_free_filename(zFile);
181363 zFile = 0;
181366 *pzFile = zFile;
219062 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
219063 p->zState = rbuMPrintf(p, "file:///%s-vacuum?modeof=%s", zFile, zFile);