Lines Matching refs:stats
64 sqlite3_result_text(ctx, stats::kNames[key_], -1, kSqliteStatic); in Column()
67 if (stats::kTypes[key_] == stats::kIndexed) { in Column()
74 switch (stats::kSeverities[key_]) { in Column()
75 case stats::kInfo: in Column()
78 case stats::kError: in Column()
84 switch (stats::kSources[key_]) { in Column()
85 case stats::kTrace: in Column()
88 case stats::kAnalysis: in Column()
94 if (stats::kTypes[key_] == stats::kIndexed) { in Column()
97 sqlite3_result_int64(ctx, storage_->stats()[key_].value); in Column()
108 static_assert(stats::kTypes[0] == stats::kSingle, in Next()
110 const auto* cur_entry = &storage_->stats()[key_]; in Next()
111 if (stats::kTypes[key_] == stats::kIndexed) { in Next()
116 while (++key_ < stats::kNumKeys) { in Next()
117 cur_entry = &storage_->stats()[key_]; in Next()
119 if (stats::kTypes[key_] == stats::kSingle || in Next()
128 return key_ >= stats::kNumKeys; in Eof()