NCBI C++ ToolKit
Functions | Variables
genparams.c File Reference
#include "common.h"
#include <time.h>
#include <common/test_assert.h>
+ Include dependency graph for genparams.c:

Go to the source code of 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
 

Function Documentation

◆ AllTests()

static void AllTests ( void  )
static

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ NullInput()

static void NullInput ( SQLSMALLINT  out_c_type,
SQLSMALLINT  out_sql_type,
const char *  param_type 
)
static

◆ pack()

static const char* pack ( const char *  fmt,
  ... 
)
static

◆ TestInput()

static void TestInput ( SQLSMALLINT  out_c_type,
const char *  type,
SQLSMALLINT  out_sql_type,
const char *  param_type,
const char *  value_to_convert 
)
static

◆ TestOutput()

static int TestOutput ( const char *  type,
const char *  value_to_convert,
SQLSMALLINT  out_c_type,
SQLSMALLINT  out_sql_type,
const char *  expected 
)
static

Variable Documentation

◆ big_endian

int big_endian = 1
static

Definition at line 251 of file genparams.c.

Referenced by AllTests(), main(), odbc_init_bools(), and pack().

◆ check_truncation

char check_truncation = 0
static

Definition at line 104 of file genparams.c.

Referenced by AllTests(), and TestInput().

◆ exec_direct

char exec_direct = 0
static

Definition at line 29 of file genparams.c.

Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().

◆ only_test

int only_test = 0
static

Definition at line 32 of file genparams.c.

Referenced by AllTests(), and TestOutput().

◆ precision

char precision = 18
static
Examples
/home/coremake/doxygen/cxx/include/corelib/ncbistr.hpp.

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().

◆ prepare_before

char prepare_before = 0
static

Definition at line 30 of file genparams.c.

Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().

◆ tds_no_dm

const char tds_no_dm = 0
static

Definition at line 25 of file genparams.c.

Referenced by main().

◆ use_cursors

char use_cursors = 0
static

Definition at line 31 of file genparams.c.

Referenced by AllTests(), main(), NullInput(), TestInput(), and TestOutput().

◆ use_nts

char use_nts = 0
static

Definition at line 105 of file genparams.c.

Referenced by AllTests(), and TestInput().

Modified on Mon May 20 05:04:53 2024 by modify_doxy.py rev. 669887