/osnet-11/usr/src/lib/libsqlite/src/ |
H A D | copy.c | 43 char *zFile = 0; local 52 zFile = sqliteStrNDup(pFilename->z, pFilename->n); 53 sqliteDequote(zFile); 57 || sqliteAuthCheck(pParse, SQLITE_COPY, pTab->zName, zFile, zDb) ){ 111 sqliteFree(zFile);
|
H A D | attach.c | 32 char *zFile, *zName; local 53 zFile = 0; 54 sqliteSetNString(&zFile, pFilename->z, pFilename->n, 0); 55 if( zFile==0 ) return; 56 sqliteDequote(zFile); 58 if( sqliteAuthCheck(pParse, SQLITE_ATTACH, zFile, 0, 0)!=SQLITE_OK ){ 59 sqliteFree(zFile); 72 sqliteFree(zFile); 93 rc = sqliteBtreeFactory(db, zFile, 0, MAX_PAGES, &aNew->pBt); 95 sqliteErrorMsg(pParse, "unable to open database: %s", zFile); [all...] |
H A D | tclsqlite.c | 1032 const char *zFile; local 1090 zFile = Tcl_GetStringFromObj(objv[2], 0); 1092 p->db = sqlite_open_encrypted(zFile, pKey, nKey, 0, &zErrMsg); 1094 p->db = sqlite_open(zFile, mode, &zErrMsg);
|
H A D | util.c | 58 void *sqliteMalloc_(int n, int bZero, char *zFile, int line){ argument 68 n, zFile,line); 89 ++memcnt, n, (int)p, zFile,line); 119 void sqliteFree_(void *p, char *zFile, int line){ argument 142 ++memcnt, n, (int)p, zFile,line); 153 void *sqliteRealloc_(void *oldP, int n, char *zFile, int line){ argument 157 return sqliteMalloc_(n,1,zFile,line); 160 sqliteFree_(oldP,zFile,line); 196 ++memcnt, oldN, n, (int)oldP, (int)p, zFile, line); 226 char *sqliteStrDup_(const char *z, char *zFile, in argument 233 sqliteStrNDup_(const char *z, int n, char *zFile, int line) argument [all...] |
H A D | pager.c | 904 static int sqlitepager_opentemp(char *zFile, OsFile *fd){ argument 909 sqliteOsTempFileName(zFile); 910 rc = sqliteOsOpenExclusive(zFile, fd, 1);
|
/osnet-11/usr/src/lib/libsqlite/test/ |
H A D | threadtest1.c | 64 const char *zFile; /* Filename - used for error reporting */ member in struct:QueryResult 89 fprintf(stdout,"%s: malloc failed\n", pResult->zFile); 105 char **db_query(sqlite *db, const char *zFile, const char *zFormat, ...){ argument 115 sResult.zFile = zFile; 116 if( verbose ) printf("QUERY %s: %s\n", zFile, zSql); 122 if( verbose ) printf("DONE %s %s\n", zFile, zSql); 124 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg); 140 void db_execute(sqlite *db, const char *zFile, const char *zFormat, ...){ argument 148 if( verbose ) printf("EXEC %s: %s\n", zFile, zSq 178 db_check(const char *zFile, const char *zMsg, char **az, ...) argument 254 char *zFile; local [all...] |