Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/kyua-cli/dist/utils/sqlite/
H A Dstatement.cpp235 sqlite::statement::column_type(const int index) in column_type() function in sqlite::statement
279 PRE(column_type(index) == type_blob); in column_blob()
293 PRE(column_type(index) == type_float); in column_double()
308 PRE(column_type(index) == type_integer); in column_int()
321 PRE(column_type(index) == type_integer); in column_int64()
337 PRE(column_type(index) == type_text); in column_text()
355 PRE(column_type(index) == type_blob || column_type(index) == type_text); in column_bytes()
372 if (column_type(column) != sqlite::type_blob) in safe_column_blob()
390 if (column_type(column) != sqlite::type_float) in safe_column_double()
408 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.hpp109 type column_type(const int);
/netbsd-src/external/bsd/kyua-cli/dist/store/
H A Ddbtypes.cpp111 if (stmt.column_type(id) != sqlite::type_text) in column_bool()
136 if (stmt.column_type(id) != sqlite::type_integer) in column_delta()
155 switch (stmt.column_type(id)) { in column_optional_string()
178 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 Dtransaction.cpp215 if (stmt.column_type(stmt.column_id(reason_column)) != in parse_result()
279 if (stmt.column_type(0) == sqlite::type_null) { in last_rowid()
282 INV(stmt.column_type(0) == sqlite::type_integer); in last_rowid()
H A Dtransaction_test.cpp97 ATF_REQUIRE(stmt.column_type(2) == sqlite::type_null); in do_put_result_ok_test()
/netbsd-src/external/bsd/kyua-cli/dist/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.cpp86 switch (stmt.column_type(index)) { in format_cell()
/netbsd-src/external/public-domain/sqlite/dist/
H A Dsqlite3ext.h73 int (*column_type)(sqlite3_stmt*,int iCol); member
433 #define sqlite3_column_type sqlite3_api->column_type
H A Dsqlite3.c135545 int (*column_type)(sqlite3_stmt*,int iCol);
135905 #define sqlite3_column_type sqlite3_api->column_type