Lines Matching refs:zFile
4008 SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault);
7083 ** [SQLite extension] library contained in the file zFile. If
7122 const char *zFile, /* Name of the shared library containing extension */
7123 const char *zProc, /* Entry point. Derived from zFile if 0 */
24222 const char *zFile,
24231 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
34606 static int posixOpen(const char *zFile, int flags, int mode){
34607 return open(zFile, flags, mode);
39044 const char *zFile = pShmNode->zFilename;
39045 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
40183 ** Find the mode, uid and gid of file zFile.
40186 const char *zFile, /* File name */
40187 mode_t *pMode, /* OUT: Permissions of zFile */
40188 uid_t *pUid, /* OUT: uid of zFile. */
40189 gid_t *pGid /* OUT: gid of zFile. */
40193 if( 0==osStat(zFile, &sStat) ){
81974 char const *zFile = sqlite3BtreeGetJournalname(pBt);
81975 if( zFile==0 ){
81978 assert( zFile[0]!=0 );
81979 rc = sqlite3OsWrite(pSuperJrnl, zFile, sqlite3Strlen30(zFile)+1,offset);
81980 offset += sqlite3Strlen30(zFile)+1;
112243 const char *zFile;
112253 zFile = (const char *)sqlite3_value_text(argv[0]);
112255 if( zFile==0 ) zFile = "";
112318 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
112402 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
121658 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
121676 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
128473 ** zFile. The entry point is zProc. zProc may be 0 in which case a
128485 const char *zFile, /* Name of the shared library containing extension */
128496 u64 nMsg = strlen(zFile);
128500 /* Shared library endings to try if zFile cannot be loaded as written */
128536 handle = sqlite3OsDlOpen(pVfs, zFile);
128539 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
128561 int ncFile = sqlite3Strlen30(zFile);
128568 for(iFile=ncFile-1; iFile>=0 && !DirSep(zFile[iFile]); iFile--){}
128570 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
128571 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
128587 "no entry point [%s] in shared library [%s]", zEntry, zFile);
128628 "unable to open shared library [%.*s]", SQLITE_MAX_PATHLEN, zFile);
128636 const char *zFile, /* Name of the shared library containing extension */
128642 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
169493 char *zFile;
169514 zFile = sqlite3_malloc64(nByte);
169515 if( !zFile ) return SQLITE_NOMEM_BKPT;
169517 memset(zFile, 0, 4); /* 4-byte of 0x00 is the start of DB name marker */
169518 zFile += 4;
169547 /* Copy the filename and any query parameters into the zFile buffer.
169591 if( zFile[iOut-1]==0 ){
169597 zFile[iOut++] = '\0';
169606 zFile[iOut++] = c;
169608 if( eState==1 ) zFile[iOut++] = '\0';
169609 memset(zFile+iOut, 0, 4); /* end-of-options + empty journal filenames */
169615 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
169689 zFile = sqlite3_malloc64(nUri+8);
169690 if( !zFile ) return SQLITE_NOMEM_BKPT;
169691 memset(zFile, 0, 4);
169692 zFile += 4;
169694 memcpy(zFile, zUri, nUri);
169696 memset(zFile+nUri, 0, 4);
169707 sqlite3_free_filename(zFile);
169708 zFile = 0;
169711 *pzFile = zFile;
204565 const char *zFile = sqlite3_db_filename(p->dbRbu, "main");
204566 p->zState = rbuMPrintf(p, "file://%s-vacuum?modeof=%s", zFile, zFile);