Home
last modified time | relevance | path

Searched refs:column_type (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/kyua/utils/sqlite/
H A Dstatement.cpp237 sqlite::statement::column_type(const int index) in column_type() function in sqlite::statement
281 PRE(column_type(index) == type_blob); in column_blob()
295 PRE(column_type(index) == type_float); in column_double()
310 PRE(column_type(index) == type_integer); in column_int()
323 PRE(column_type(index) == type_integer); in column_int64()
339 PRE(column_type(index) == type_text); in column_text()
357 PRE(column_type(index) == type_blob || column_type(index) == type_text); in column_bytes()
374 if (column_type(column) != sqlite::type_blob) in safe_column_blob()
393 if (column_type(column) != sqlite::type_float) in safe_column_double()
412 if (column_type(column) != sqlite::type_integer) in safe_column_int()
[all …]
H A Dstatement_test.cpp160 ATF_REQUIRE(sqlite::type_blob == stmt.column_type(0)); in ATF_TEST_CASE_BODY()
161 ATF_REQUIRE(sqlite::type_float == stmt.column_type(1)); in ATF_TEST_CASE_BODY()
162 ATF_REQUIRE(sqlite::type_integer == stmt.column_type(2)); in ATF_TEST_CASE_BODY()
163 ATF_REQUIRE(sqlite::type_null == stmt.column_type(3)); in ATF_TEST_CASE_BODY()
164 ATF_REQUIRE(sqlite::type_text == stmt.column_type(4)); in ATF_TEST_CASE_BODY()
167 ATF_REQUIRE(sqlite::type_null == stmt.column_type(i)); in ATF_TEST_CASE_BODY()
180 ATF_REQUIRE(sqlite::type_integer == stmt.column_type(0)); in ATF_TEST_CASE_BODY()
181 ATF_REQUIRE(sqlite::type_null == stmt.column_type(1)); in ATF_TEST_CASE_BODY()
182 ATF_REQUIRE(sqlite::type_null == stmt.column_type(512)); in ATF_TEST_CASE_BODY()
543 ATF_REQUIRE(sqlite::type_integer == stmt.column_type(0)); in ATF_TEST_CASE_BODY()
[all …]
H A Dstatement.hpp99 type column_type(const int);
/freebsd/contrib/kyua/store/
H A Ddbtypes.cpp148 if (stmt.column_type(id) != sqlite::type_text) in column_bool()
173 if (stmt.column_type(id) != sqlite::type_integer) in column_delta()
192 switch (stmt.column_type(id)) { in column_optional_string()
215 if (stmt.column_type(id) != sqlite::type_text) in column_test_result_type()
247 if (stmt.column_type(id) != sqlite::type_integer) in column_timestamp()
H A Dmetadata.cpp63 if (stmt.column_type(index) != sqlite::type_integer) in int64_column()
H A Dwrite_transaction.cpp106 if (stmt.column_type(0) == sqlite::type_null) { in last_rowid()
109 INV(stmt.column_type(0) == sqlite::type_integer); in last_rowid()
H A Dread_transaction.cpp200 if (stmt.column_type(stmt.column_id(reason_column)) != in parse_result()
H A Dwrite_transaction_test.cpp96 ATF_REQUIRE(stmt.column_type(2) == sqlite::type_null); in do_put_result_ok_test()
/freebsd/contrib/kyua/cli/
H A Dcmd_db_exec_test.cpp53 do_format_cell_test(const std::string column_type, in do_format_cell_test() argument
59 F("CREATE TABLE test (column %s)") % column_type); in do_format_cell_test()
H A Dcmd_db_exec.cpp94 switch (stmt.column_type(index)) { in format_cell()
/freebsd/contrib/sqlite3/
H A Dsqlite3ext.h73 int (*column_type)(sqlite3_stmt*,int iCol); member
433 #define sqlite3_column_type sqlite3_api->column_type
H A Dsqlite3.c136506 int (*column_type)(sqlite3_stmt*,int iCol);
136866 #define sqlite3_column_type sqlite3_api->column_type