Lines Matching refs:stat
11168 ** CREATE TABLE sqlite_stat1(tbl,idx,stat)
35959 #include <sys/stat.h>
36041 struct stat buf;
36045 || stat(zXKey, &buf)!=0
36861 #include <sys/stat.h> /* amalgamator: keep */
37216 { "stat", (sqlite3_syscall_ptr)stat, 0 },
37217 #define osStat ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent)
37230 #define osFstat ((int(*)(int,struct stat*))aSyscall[5].pCurrent)
37351 #define osLstat ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent)
37515 struct stat statbuf;
37874 ** st_dev and st_ino fields of the stat structure that fstat() fills in)
38186 struct stat statbuf; /* Low-level file information */
38284 struct stat buf;
38302 struct stat buf;
40490 struct stat buf;
40691 struct stat buf;
40730 struct stat buf; /* Used to hold return values of fstat() */
41501 struct stat sStat; /* fstat() info for database file */
41660 struct stat sStat; /* Used by fstat() */
42143 struct stat statbuf; /* Low-level file information */
42733 struct stat buf;
42823 struct stat sStat; /* Results of stat() call */
42827 /* A stat() call may fail for various reasons. If this happens, it is
42829 ** For this reason, if an error occurs in the stat() call here, it is
42870 struct stat sStat; /* Output of stat() on database file */
43328 struct stat buf;
43456 /* Call stat() on path zIn. Set bLink to true if the path is a symbolic
43459 struct stat buf;
44206 struct stat buf;
44406 struct stat buf;
44666 struct stat conchInfo;
114626 ** CREATE TABLE sqlite_stat1(tbl, idx, stat);
114651 ** which the index belongs. In each such row, the stat column will be
114660 ** a K-column index, there will be K+1 integers in the stat column. If
114663 ** The list of integers in the stat column can optionally be followed
114669 ** If the sqlite_stat1.idx column is NULL, then the sqlite_stat1.stat
114770 ** If zWhere==0, then code is generated to delete all stat table entries.
114783 { "sqlite_stat1", "tbl,idx,stat" },
115394 #define STAT_GET_STAT1 0 /* "stat" column of stat1 table */
115395 #define STAT_GET_ROWID 1 /* "rowid" column of stat[34] entry */
115396 #define STAT_GET_NEQ 2 /* "neq" column of stat[34] entry */
115397 #define STAT_GET_NLT 3 /* "nlt" column of stat[34] entry */
115398 #define STAT_GET_NDLT 4 /* "ndlt" column of stat[34] entry */
115439 /* Return the value to store in the "stat" column of the sqlite_stat1
115465 sqlite3_str sStat; /* Text of the constructed "stat" line */
115601 int regStat1 = iMem++; /* Value for the stat column of sqlite_stat1 */
116506 "SELECT tbl,idx,stat FROM %Q.sqlite_stat1", sInfo.zDatabase);
120914 if( sqlite3StrNICmp(pTab->zName+7, "stat", 4)==0 ) return 0;
122001 ** 2020-05-27: If some of the stat data is coming from the sqlite_stat1
160076 ** stat guesses are wrong. Reduce the 3.0 penalty slightly
183615 "content", "docsize", "segdir", "segments", "stat",
204382 const char *zFmt = "SELECT stat FROM %Q.sqlite_stat1 WHERE tbl = '%q_rowid'";
209194 char zStateDb[5]; /* Db name for state ("stat" or "main") */
211602 rbuMPrintfExec(p, p->dbRbu, "ATTACH %Q AS stat", p->zState);
211603 memcpy(p->zStateDb, "stat", 4);
211624 "SELECT count(*) FROM stat.sqlite_schema"
213048 int rc2 = sqlite3_exec(p->dbRbu, "DELETE FROM stat.rbu_state", 0, 0, 0);
216538 "SELECT 2, 'stat', '', 0, '', 0"
217919 "SELECT tbl, ?2, stat FROM %Q.sqlite_stat1 WHERE tbl IS ?1 AND "
219618 "AND (?4 OR stat IS ?3)"