Lines Matching defs:zFile
3410 SQLITE_API int sqlite3_uri_boolean(const char *zFile, const char *zParam, int bDefault);
5607 ** [SQLite extension] library contained in the file zFile. If
5637 const char *zFile, /* Name of the shared library containing extension */
5638 const char *zProc, /* Entry point. Derived from zFile if 0 */
15343 const char *zFile,
15352 rc = sqlite3OsOpen(pVfs, zFile, pFile, flags, pOutFlags);
23429 static int posixOpen(const char *zFile, int flags, int mode){
23430 return open(zFile, flags, mode);
27453 const char *zFile = pShmNode->zFilename;
27454 rc = unixLogError(SQLITE_IOERR_SHMSIZE, "write", zFile);
61822 char const *zFile = sqlite3BtreeGetJournalname(pBt);
61823 if( zFile==0 ){
61826 assert( zFile[0]!=0 );
61830 rc = sqlite3OsWrite(pMaster, zFile, sqlite3Strlen30(zFile)+1, offset);
61831 offset += sqlite3Strlen30(zFile)+1;
81441 const char *zFile;
81451 zFile = (const char *)sqlite3_value_text(argv[0]);
81453 if( zFile==0 ) zFile = "";
81501 rc = sqlite3ParseUri(db->pVfs->zName, zFile, &flags, &pVfs, &zPath, &zErr);
81595 zErrDyn = sqlite3MPrintf(db, "unable to open database: %s", zFile);
88467 const char *zFile = (const char *)sqlite3_value_text(argv[0]);
88477 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
93042 ** zFile. The entry point is zProc. zProc may be 0 in which case a
93054 const char *zFile, /* Name of the shared library containing extension */
93065 int nMsg = 300 + sqlite3Strlen30(zFile);
93068 /* Shared library endings to try if zFile cannot be loaded as written */
93097 handle = sqlite3OsDlOpen(pVfs, zFile);
93100 char *zAltFile = sqlite3_mprintf("%s.%s", zFile, azEndings[ii]);
93111 "unable to open shared library [%s]", zFile);
93133 int ncFile = sqlite3Strlen30(zFile);
93140 for(iFile=ncFile-1; iFile>=0 && zFile[iFile]!='/'; iFile--){}
93142 if( sqlite3_strnicmp(zFile+iFile, "lib", 3)==0 ) iFile += 3;
93143 for(iEntry=8; (c = zFile[iFile])!=0 && c!='.'; iFile++){
93159 "no entry point [%s] in shared library [%s]", zEntry, zFile);
93193 const char *zFile, /* Name of the shared library containing extension */
93199 rc = sqlite3LoadExtension(db, zFile, zProc, pzErrMsg);
116935 char *zFile;
116955 zFile = sqlite3_malloc(nByte);
116956 if( !zFile ) return SQLITE_NOMEM;
116973 /* Copy the filename and any query parameters into the zFile buffer.
117010 if( zFile[iOut-1]==0 ){
117016 zFile[iOut++] = '\0';
117025 zFile[iOut++] = c;
117027 if( eState==1 ) zFile[iOut++] = '\0';
117028 zFile[iOut++] = '\0';
117029 zFile[iOut++] = '\0';
117035 zOpt = &zFile[sqlite3Strlen30(zFile)+1];
117109 zFile = sqlite3_malloc(nUri+2);
117110 if( !zFile ) return SQLITE_NOMEM;
117111 memcpy(zFile, zUri, nUri);
117112 zFile[nUri] = '\0';
117113 zFile[nUri+1] = '\0';
117124 sqlite3_free(zFile);
117125 zFile = 0;
117128 *pzFile = zFile;