Lines Matching refs:zFile
7686 ** [SQLite extension] library contained in the file zFile. If
7725 const char *zFile, /* Name of the shared library containing extension */
7726 const char *zProc, /* Entry point. Derived from zFile if 0 */
26846 const char *zFile,
26855 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
39252 static int posixOpen(const char *zFile, int flags, int mode){
39253 return open(zFile, flags, mode);
43746 const char *zFile = pShmNode->zFilename;
43747 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
44970 ** Find the mode, uid and gid of file zFile.
44973 const char *zFile, /* File name */
44974 mode_t *pMode, /* OUT: Permissions of zFile */
44975 uid_t *pUid, /* OUT: uid of zFile. */
44976 gid_t *pGid /* OUT: gid of zFile. */
44980 if( 0==osStat(zFile, &sStat) ){
88977 char const *zFile = sqlite3BtreeGetJournalname(pBt);
88978 if( zFile==0 ){
88981 assert( zFile[0]!=0 );
88982 rc = sqlite3OsWrite(pSuperJrnl, zFile, sqlite3Strlen30(zFile)+1,offset);
88983 offset += sqlite3Strlen30(zFile)+1;
122198 const char *zFile;
122208 zFile = (const char *)sqlite3_value_text(argv[0]);
122210 if( zFile==0 ) zFile = "";
122286 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
122374 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
132200 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
132218 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
133086 char *zFile = 0;
133096 rc = sqlite3ParseUri(zVfs, zUri, &flgs, &pVfs, &zFile, &zErr);
133104 sqlite3_str_appendf(pResult, ", file=%Q", zFile);
133105 if( zFile ){
133106 const char *z = zFile;
133116 sqlite3_str_appendf(pResult, ", '%d:%q'",k,sqlite3_uri_key(zFile, k));
133119 zArg, sqlite3_uri_parameter(zFile,zArg));
133127 sqlite3_free_filename(zFile);
139613 ** zFile. The entry point is zProc. zProc may be 0 in which case a
139625 const char *zFile, /* Name of the shared library containing extension */
139636 u64 nMsg = strlen(zFile);
139640 /* Shared library endings to try if zFile cannot be loaded as written */
139684 handle = sqlite3OsDlOpen(pVfs, zFile);
139687 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
139711 int ncFile = sqlite3Strlen30(zFile);
139718 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
139720 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
139721 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
139737 "no entry point [%s] in shared library [%s]", zEntry, zFile);
139778 "unable to open shared library [%.*s]", SQLITE_MAX_PATHLEN, zFile);
139786 const char *zFile, /* Name of the shared library containing extension */
139792 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
185672 char *zFile;
185693 zFile = sqlite3_malloc64(nByte);
185694 if( !zFile ) return SQLITE_NOMEM_BKPT;
185696 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
185697 zFile += 4;
185726 /* Copy the filename and any query parameters into the zFile buffer.
185770 if( zFile[iOut-1]==0 ){
185776 zFile[iOut++] = '\0';
185785 zFile[iOut++] = c;
185787 if( eState==1 ) zFile[iOut++] = '\0';
185788 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
185794 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
185868 zFile = sqlite3_malloc64(nUri+8);
185869 if( !zFile ) return SQLITE_NOMEM_BKPT;
185870 memset(zFile, 0, 4);
185871 zFile += 4;
185873 memcpy(zFile, zUri, nUri);
185875 memset(zFile+nUri, 0, 4);
185886 sqlite3_free_filename(zFile);
185887 zFile = 0;
185890 *pzFile = zFile;
224082 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
224083 p->zState = rbuMPrintf(p, "file:///%s-vacuum?modeof=%s", zFile, zFile);