NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Go to the SVN repository for this file.
Functions | |
static int | TestOutput (const char *type, const char *value_to_convert, SQLSMALLINT out_c_type, SQLSMALLINT out_sql_type, const char *expected) |
static void | TestInput (SQLSMALLINT out_c_type, const char *type, SQLSMALLINT out_sql_type, const char *param_type, const char *value_to_convert) |
static void | NullInput (SQLSMALLINT out_c_type, SQLSMALLINT out_sql_type, const char *param_type) |
static const char * | pack (const char *fmt,...) |
static void | AllTests (void) |
int | main (int argc, char *argv[]) |
Variables | |
static const char | tds_no_dm = 0 |
static char | precision = 18 |
static char | exec_direct = 0 |
static char | prepare_before = 0 |
static char | use_cursors = 0 |
static int | only_test = 0 |
static char | check_truncation = 0 |
static char | use_nts = 0 |
static int | big_endian = 1 |
|
static |
Definition at line 285 of file genparams.c.
References a, b, big_endian, buf, check_truncation, exec_direct, NULL, NullInput(), odbc_command, odbc_db_is_microsoft(), odbc_db_version(), odbc_db_version_int(), odbc_driver_is_freetds(), odbc_stmt, odbc_tds_version(), only_test, pack(), precision, prepare_before, SQL_BIGINT, SQL_BIT, SQL_C_BINARY, SQL_C_BIT, SQL_C_CHAR, SQL_C_DOUBLE, SQL_C_FLOAT, SQL_C_LONG, SQL_C_NUMERIC, SQL_C_SBIGINT, SQL_C_TYPE_DATE, SQL_C_TYPE_TIME, SQL_C_TYPE_TIMESTAMP, SQL_C_UTINYINT, SQL_C_WCHAR, SQL_DECIMAL, SQL_DOUBLE, SQL_FLOAT, SQL_INTEGER, SQL_LONGVARBINARY, SQL_LONGVARCHAR, SQL_NUMERIC, SQL_REAL, SQL_SUCCESS, SQL_TIMESTAMP, SQL_TINYINT, SQL_TYPE_TIMESTAMP, SQL_UNBIND, SQL_VARBINARY, SQL_VARCHAR, SQL_WCHAR, SQL_WLONGVARCHAR, SQL_WVARCHAR, SQLBindCol(), SQLFetch(), SQLFreeStmt(), SQLMoreResults(), util::strncmp(), TestInput(), TestOutput(), use_cursors, and use_nts.
Referenced by main(), CDiscRepApp::Run(), and CDiscrepancyConf::UpdateList().
Definition at line 471 of file genparams.c.
References AllTests(), big_endian, exec_direct, odbc_check_cursor(), odbc_connect(), odbc_disconnect(), odbc_driver_is_freetds(), odbc_reset_statement, odbc_use_version3, prepare_before, setenv, tds_no_dm, and use_cursors.
|
static |
Definition at line 200 of file genparams.c.
References CHKBindParameter, CHKExecDirect, CHKExecute, CHKFetch, CHKMoreResults, CHKPrepare, CHKSetStmtAttr, exec_direct, NULL, odbc_command, odbc_db_is_microsoft(), ODBC_FREE, odbc_reset_statement, prepare_before, SQL_ATTR_CURSOR_SCROLLABLE, SQL_ATTR_CURSOR_TYPE, SQL_CURSOR_DYNAMIC, SQL_NTS, SQL_NULL_DATA, SQL_PARAM_INPUT, SQL_SCROLLABLE, SQLLEN, util::strcmp(), T, and use_cursors.
Referenced by AllTests().
Definition at line 254 of file genparams.c.
References assert, big_endian, i, n, and out().
Referenced by AllTests(), C2DLayoutEngine::Layout(), OkToAdjustLoc(), s_CheckPackedInt(), SeqLocAdjustForTrim(), and CFeatureTrack::x_AddFeaturesLayout().
|
static |
Definition at line 108 of file genparams.c.
References check_truncation, CHKBindParameter, CHKExecDirect, CHKExecute, CHKFetch, CHKMoreResults, CHKPrepare, CHKSetStmtAttr, exec_direct, expected, NULL, odbc_command, ODBC_FREE, odbc_reset_statement, odbc_stmt, prepare_before, SQL_ATTR_CURSOR_SCROLLABLE, SQL_ATTR_CURSOR_TYPE, SQL_CURSOR_DYNAMIC, SQL_NTS, SQL_PARAM_INPUT, SQL_SCROLLABLE, SQLBindCol(), SQLLEN, util::strcmp(), util::strncmp(), T, use_cursors, and use_nts.
Referenced by AllTests().
|
static |
Definition at line 35 of file genparams.c.
References CHKBindParameter, CHKExecDirect, CHKExecute, CHKPrepare, CHKSetStmtAttr, exec_direct, exit(), expected, odbc_c2string(), odbc_command, odbc_driver_is_freetds(), ODBC_FREE, odbc_reset_statement, odbc_stmt, only_test, precision, prepare_before, SQL_ATTR_CURSOR_SCROLLABLE, SQL_ATTR_CURSOR_TYPE, SQL_CURSOR_DYNAMIC, SQL_NTS, SQL_PARAM_OUTPUT, SQL_SCROLLABLE, SQLLEN, SQLMoreResults(), util::strcmp(), util::strncmp(), T, and use_cursors.
Referenced by AllTests().
|
static |
Definition at line 251 of file genparams.c.
Referenced by AllTests(), main(), odbc_init_bools(), and pack().
|
static |
Definition at line 104 of file genparams.c.
Referenced by AllTests(), and TestInput().
|
static |
Definition at line 29 of file genparams.c.
Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().
|
static |
Definition at line 32 of file genparams.c.
Referenced by AllTests(), and TestOutput().
|
static |
Definition at line 28 of file genparams.c.
Referenced by AllTests(), CDB_Numeric::Assign(), CStopWatch::AsSmartString(), CTimeSpan::AsSmartString(), Blur(), CDB_Numeric::CDB_Numeric(), IPhyloTreeRender::ComputeScale(), NStr::DoubleToString(), alp_reg::find_single_tetta_general(), CSubSource::FixAltitude(), CSubSource::FixLatLonFormat(), DeBruijn::LargeInt< precision >::getName(), DeBruijn::LargeInt< precision >::getSize(), DeBruijn::LargeInt< precision >::LargeInt(), CVariant::Numeric(), numeric_to_longlong(), DeBruijn::LargeInt< precision >::oahash(), DeBruijn::LargeInt< precision >::operator!=(), DeBruijn::LargeInt< precision >::operator%(), DeBruijn::LargeInt< precision >::operator&(), DeBruijn::LargeInt< precision >::operator&=(), DeBruijn::LargeInt< precision >::operator+(), DeBruijn::LargeInt< precision >::operator-(), DeBruijn::LargeInt< precision >::operator/(), DeBruijn::LargeInt< precision >::operator<(), DeBruijn::LargeInt< precision >::operator<<(), DeBruijn::LargeInt< precision >::operator==(), DeBruijn::LargeInt< precision >::operator>>(), DeBruijn::LargeInt< precision >::operator^(), DeBruijn::LargeInt< precision >::operator^=(), DeBruijn::LargeInt< precision >::operator|(), DeBruijn::LargeInt< precision >::operator|=(), DeBruijn::LargeInt< precision >::operator~(), CBDB_Cache::Purge(), DeBruijn::revcomp(), CTime::Round(), CCompression::SRecommendedBufferSizes::RoundUp(), s_GetLatLong(), s_NormalizeTokens(), s_ReorderNorthSouthEastWest(), CQueue::SetParameters(), swap_numeric_endian(), tds_convert_datetime(), tds_numeric_change_prec_scale(), TestOutput(), CTime::Truncate(), CObjectOStreamAsnBinary::WriteDouble2(), CObjectOStreamXml::WriteDouble2(), CTL_BCPInCmd::x_AssignParams(), CTimeSpan::x_AsSmartString_Precision(), CHistogramGlyph::x_DrawLinearRuler(), CHistogramGlyph::x_DrawLogRuler(), CSubSource::x_FormatWithPrecision(), CSubSource::x_GetPrecision(), CDB_Numeric::x_MakeFromString(), IPhyloTreeRender::x_RenderScaleMarker(), and CXmlValueItem::x_RenderXml().
|
static |
Definition at line 30 of file genparams.c.
Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().
|
static |
Definition at line 25 of file genparams.c.
Referenced by main().
|
static |
Definition at line 31 of file genparams.c.
Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().
|
static |
Definition at line 105 of file genparams.c.
Referenced by AllTests(), and TestInput().