/src/usr.sbin/makemandb/ |
whatis.c | 57 sqlite3_stmt *stmt = NULL; local in function:whatis 60 if (sqlite3_prepare_v2(db, sqlstr, -1, &stmt, NULL) != SQLITE_OK) 64 if (sqlite3_bind_text(stmt, i + 1, cmd, -1, NULL) != SQLITE_OK) 69 while (sqlite3_step(stmt) == SQLITE_ROW) { 70 printf("%s(%s) - %s\n", sqlite3_column_text(stmt, 0), 71 sqlite3_column_text(stmt, 1), 72 sqlite3_column_text(stmt, 2)); 75 sqlite3_finalize(stmt);
|
makemandb.c | 517 sqlite3_stmt *stmt = NULL; local in function:build_file_cache 526 rc = sqlite3_prepare_v2(db, sqlstr, -1, &stmt, NULL); 533 idx = sqlite3_bind_parameter_index(stmt, ":device"); 534 rc = sqlite3_bind_int64(stmt, idx, device_cache); 538 sqlite3_finalize(stmt); 542 idx = sqlite3_bind_parameter_index(stmt, ":inode"); 543 rc = sqlite3_bind_int64(stmt, idx, inode_cache); 547 sqlite3_finalize(stmt); 551 idx = sqlite3_bind_parameter_index(stmt, ":mtime"); 552 rc = sqlite3_bind_int64(stmt, idx, mtime_cache) 706 sqlite3_stmt *stmt = NULL; local in function:update_db 1468 sqlite3_stmt *stmt = NULL; local in function:insert_into_db 1816 sqlite3_stmt *stmt = NULL; local in function:check_md5 [all...] |
apropos-utils.c | 88 sqlite3_stmt *stmt; local in function:register_tokenizer 95 rc = sqlite3_prepare_v2(db, sql, -1, &stmt, 0); 99 sqlite3_bind_text(stmt, 1, name, -1, SQLITE_STATIC); 100 sqlite3_bind_blob(stmt, 2, &p, sizeof(p), SQLITE_STATIC); 101 sqlite3_step(stmt); 103 return sqlite3_finalize(stmt); 353 sqlite3_stmt *stmt; local in function:init_db 416 rc = sqlite3_prepare_v2(db, "PRAGMA user_version", -1, &stmt, NULL); 422 if (sqlite3_step(stmt) != SQLITE_ROW) { 423 sqlite3_finalize(stmt); 671 sqlite3_stmt *stmt; local in function:execute_search_query [all...] |
/src/usr.sbin/mrouted/ |
cfparse.y | 105 | stmts stmt 108 stmt : error label
|
/src/lib/lua/sqlite/ |
sqlite.c | 136 sqlite3_stmt **stmt; local in function:db_prepare 140 stmt = lua_newuserdata(L, sizeof(sqlite3_stmt *)); 143 (int)strlen(sql) + 1, stmt, NULL)); 204 sqlite3_stmt **stmt; local in function:stmt_bind 207 stmt = luaL_checkudata(L, 1, SQLITE_STMT_METATABLE); 212 lua_pushinteger(L, sqlite3_bind_double(*stmt, pidx, 216 lua_pushinteger(L, sqlite3_bind_text(*stmt, pidx, 220 lua_pushinteger(L, sqlite3_bind_null(*stmt, pidx)); 232 sqlite3_stmt **stmt; local in function:stmt_bind_parameter_count 234 stmt = luaL_checkudata(L, 1, SQLITE_STMT_METATABLE) 242 sqlite3_stmt **stmt; local in function:stmt_bind_parameter_index 253 sqlite3_stmt **stmt; local in function:stmt_bind_parameter_name 265 sqlite3_stmt **stmt; local in function:stmt_step 275 sqlite3_stmt **stmt; local in function:stmt_column_name 288 sqlite3_stmt **stmt; local in function:stmt_column_count 298 sqlite3_stmt **stmt; local in function:stmt_column 326 sqlite3_stmt **stmt; local in function:stmt_reset 336 sqlite3_stmt **stmt; local in function:stmt_clear_bindings 349 sqlite3_stmt **stmt; local in function:stmt_finalize [all...] |