Lines Matching refs:zFile

4643 SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault);
7585 ** [SQLite extension] library contained in the file zFile. If
7624 const char *zFile, /* Name of the shared library containing extension */
7625 const char *zProc, /* Entry point. Derived from zFile if 0 */
23206 const char *zFile,
23215 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
33820 static int posixOpen(const char *zFile, int flags, int mode){
33821 return open(zFile, flags, mode);
38190 const char *zFile = pShmNode->zFilename;
38191 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
39286 ** Find the mode, uid and gid of file zFile.
39289 const char *zFile, /* File name */
39290 mode_t *pMode, /* OUT: Permissions of zFile */
39291 uid_t *pUid, /* OUT: uid of zFile. */
39292 gid_t *pGid /* OUT: gid of zFile. */
39296 if( 0==osStat(zFile, &sStat) ){
80336 char const *zFile = sqlite3BtreeGetJournalname(pBt);
80337 if( zFile==0 ){
80340 assert( zFile[0]!=0 );
80341 rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset);
80342 offset += sqlite3Strlen30(zFile)+1;
109234 const char *zFile;
109244 zFile = (const char *)sqlite3_value_text(argv[0]);
109246 if( zFile==0 ) zFile = "";
109309 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
109393 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
118124 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
118142 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
124327 ** zFile. The entry point is zProc. zProc may be 0 in which case a
124339 const char *zFile, /* Name of the shared library containing extension */
124350 u64 nMsg = 300 + sqlite3Strlen30(zFile);
124354 /* Shared library endings to try if zFile cannot be loaded as written */
124384 handle = sqlite3OsDlOpen(pVfs, zFile);
124387 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
124398 "unable to open shared library [%s]", zFile);
124419 int ncFile = sqlite3Strlen30(zFile);
124426 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
124428 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
124429 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
124444 "no entry point [%s] in shared library [%s]", zEntry, zFile);
124480 const char *zFile, /* Name of the shared library containing extension */
124486 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
162982 char *zFile;
163003 zFile = sqlite3_malloc64(nByte);
163004 if( !zFile ) return SQLITE_NOMEM_BKPT;
163006 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
163007 zFile += 4;
163036 /* Copy the filename and any query parameters into the zFile buffer.
163080 if( zFile[iOut-1]==0 ){
163086 zFile[iOut++] = '\0';
163095 zFile[iOut++] = c;
163097 if( eState==1 ) zFile[iOut++] = '\0';
163098 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
163104 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
163178 zFile = sqlite3_malloc64(nUri+8);
163179 if( !zFile ) return SQLITE_NOMEM_BKPT;
163180 memset(zFile, 0, 4);
163181 zFile += 4;
163183 memcpy(zFile, zUri, nUri);
163185 memset(zFile+nUri, 0, 4);
163196 sqlite3_free_filename(zFile);
163197 zFile = 0;
163200 *pzFile = zFile;
197726 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
197727 p->zState = rbuMPrintf(p, "file://%s-vacuum?modeof=%s", zFile, zFile);