Lines Matching defs:file
98 " add Generate or updates semantic index file for c-source code;\n"
103 " -D, --database=FILE Specify database file (default: %2$s);\n"
109 " SINDEX_DATABASE Database file location.\n"
169 " -e, --explain Show what happens in the specified file position;\n"
170 " -l, --location Show usage of symbols from a specific file position;\n"
540 " file INTEGER NOT NULL,"
558 "CREATE TABLE file ("
564 " file INTEGER NOT NULL REFERENCES file(id) ON DELETE CASCADE,"
572 "CREATE UNIQUE INDEX semind_0 ON semind (symbol, kind, mode, file, line, column)",
573 "CREATE INDEX semind_1 ON semind (file)",
610 sqlite3_int64 file;
621 sqlite_bind_int64(insert_rec_stmt, "@file", rec->file);
733 rec.file = semind_streams[pos->stream].id;
772 rec.file = semind_streams[pos->stream].id;
810 "(context, symbol, kind, mode, file, line, column) "
811 "VALUES (@context, @symbol, @kind, @mode, @file, @line, @column)",
815 "SELECT id, mtime FROM file WHERE name == @name",
819 "INSERT INTO file (name, mtime) VALUES (@name, @mtime)",
823 "DELETE FROM file WHERE name == @name",
846 sqlite_prepare("DELETE FROM file WHERE name GLOB @file", &stmt);
852 sqlite_bind_text(stmt, "@file", argv[i], -1);
891 * the file and read it line by line.
1034 " file.name,"
1041 "FROM semind, file "
1042 "WHERE semind.file == file.id") < 0)
1074 if (query_appendf(query, " AND file.name GLOB %Q", semind_search_path) < 0)
1079 if (query_appendf(query, " AND file.name == %Q", semind_search_filename) < 0)
1091 "SELECT semind.symbol FROM semind, file WHERE"
1092 " semind.file == file.id AND"
1093 " file.name == %Q", semind_search_filename) < 0)
1105 if (query_appendf(query, " ORDER BY file.name, semind.line, semind.column ASC", semind_search_path) < 0)