NCBI C++ ToolKit
|
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | lookup_int |
struct | attribute |
Macros | |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | TYPE(s) { #s, s } |
#define | ATTR(s, t) { #s, s, type_##t, NULL } |
#define | ATTR2(s, t, l) { #s, s, type_##t, l } |
#define | SEP " \t\n" |
#define | ATTR_PARAMS const struct attribute *attr, int expected |
#define | TEST_FILE "attributes.in" |
Typedefs | |
typedef int(* | get_attr_t) (const struct attribute *attr, int expected) |
Enumerations | |
enum | test_type_t { type_INTEGER , type_UINTEGER , type_SMALLINT , type_LEN , type_CHARP , type_DESC , type_VOIDP , type_INTEGER , type_SMALLINT , type_LEN , type_CHARP } |
Functions | |
static void | fatal (const char *msg,...) |
static int | get_int (const char *s) |
static int | lookup (const char *name, const struct lookup_int *table) |
static const char * | unlookup (int value, const struct lookup_int *table) |
static const struct attribute * | lookup_attr (const char *name) |
static int | get_attr_stmt (const struct attribute *attr, int expected) |
int | main (int argc, char *argv[]) |
Variables | |
static int | g_result = 0 |
static unsigned int | line_num |
static struct lookup_int | concurrency [] |
static struct lookup_int | scrollable [] |
static struct lookup_int | sensitivity [] |
static struct lookup_int | cursor_type [] |
static struct lookup_int | noscan [] |
static struct lookup_int | retrieve_data [] |
static struct lookup_int | simulate_cursor [] |
static struct lookup_int | use_bookmarks [] |
static const struct attribute | attributes [] |
Definition at line 222 of file attributes.c.
#define SEP " \t\n" |
Definition at line 220 of file attributes.c.
#define TEST_FILE "attributes.in" |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
#define TYPE | ( | s | ) | { #s, s } |
Definition at line 223 of file attributes.c.
enum test_type_t |
Enumerator | |
---|---|
type_INTEGER | |
type_UINTEGER | |
type_SMALLINT | |
type_LEN | |
type_CHARP | |
type_DESC | |
type_VOIDP | |
type_INTEGER | |
type_SMALLINT | |
type_LEN | |
type_CHARP |
Definition at line 146 of file attributes.c.
Definition at line 18 of file attributes.c.
References exit().
Referenced by CGvfReadRecord::AssignFromGff(), get_attr_stmt(), get_int(), lookup_attr(), main(), RecursiveSummary(), RecursiveText(), s_ReadHeader(), CBedAutoSql::Validate(), CAutoSqlStandardFields::Validate(), CTabDelimitedValidator::ValidateInput(), CNcbiApplicationAPI::x_TryInit(), CGff3Reader::xFindFeatureUnderConstruction(), and CMultiReaderApp::xProcessDefault().
Definition at line 226 of file attributes.c.
References fatal(), i, line_num, odbc_stmt, si, SQL_ERROR, SQL_SUCCEEDED, SQLGetStmtAttr(), SQLLEN, type_CHARP, type_DESC, type_INTEGER, type_LEN, type_SMALLINT, type_UINTEGER, and type_VOIDP.
Referenced by main().
|
static |
Definition at line 50 of file attributes.c.
References get_int(), util::strcmp(), and table.
Referenced by AalookupTestFixture::AalookupTestFixture(), BlastAaLookupFinalize(), BlastAaLookupIndexQuery(), BlastAaLookupTableDestruct(), BlastAaLookupTableNew(), BlastCompressedAaLookupTableDestruct(), BlastCompressedAaLookupTableNew(), BlastNaHashLookupTableDestruct(), BlastNaHashLookupTableNew(), BlastNaLookupTableDestruct(), BlastNaLookupTableNew(), BlastNaWordFinder(), BlastRPSScanSubject(), BlastSmallNaLookupTableDestruct(), BlastSmallNaLookupTableNew(), BOOST_AUTO_TEST_CASE(), CompressedAalookupTestFixture::CompressedAalookupTestFixture(), CompressedAalookupTestFixture::FillLookupTable(), AalookupTestFixture::FillLookupTable(), GetOffsetArraySize(), CSeqDBLMDB::GetTaxIdsForOids(), JumperNaWordFinder(), LookupTableWrapFree(), LookupTableWrapInit_MT(), main(), NaHashLookupThreadDataNew(), CSeqDBLMDB::NegativeSeqIdsToOids(), CSeqDBLMDB::NegativeTaxIdsToOids(), CAlignSort::SAlignExtractor::operator()(), RPSLookupTableDestruct(), RPSLookupTableNew(), s_AddNeighboringWords(), s_AddPSSMNeighboringWords(), s_AddPSSMWordHits(), s_AddPSSMWordHitsCore(), s_AddWordHits(), s_AddWordHitsCore(), s_BlastAaScanSubject(), s_BlastAaWordFinder_OneHit(), s_BlastAaWordFinder_TwoHit(), s_BlastCompressedAaScanSubject(), s_BlastLookupGetNumHits(), s_BlastLookupRetrieve(), s_BlastMBLookupHasHits(), s_BlastMBLookupRetrieve(), s_BlastMBLookupRetrieve2(), s_BlastNaHashLookupFinalize(), s_BlastNaHashLookupRetieveHits(), s_BlastNaHashScanSubject_Any(), s_BlastNaLookupFinalize(), s_BlastNaScanSubject_8_4(), s_BlastNaScanSubject_Any(), s_BlastRPSWordFinder_OneHit(), s_BlastRPSWordFinder_TwoHit(), s_BlastSearchEngineCore(), s_BlastSearchEngineOneContext(), s_BlastSmallAaScanSubject(), s_BlastSmallNaLookupFinalize(), s_BlastSmallNaScanSubject_4_1(), s_BlastSmallNaScanSubject_5_1(), s_BlastSmallNaScanSubject_6_1(), s_BlastSmallNaScanSubject_6_2(), s_BlastSmallNaScanSubject_7_1(), s_BlastSmallNaScanSubject_7_2(), s_BlastSmallNaScanSubject_7_3(), s_BlastSmallNaScanSubject_8_1Mod4(), s_BlastSmallNaScanSubject_8_2Mod4(), s_BlastSmallNaScanSubject_8_3Mod4(), s_BlastSmallNaScanSubject_8_4(), s_BlastSmallNaScanSubject_Any(), s_CompressedAddNeighboringWords(), s_CompressedAddWordHits(), s_CompressedAddWordHitsCore(), s_CompressedListGetNewCell(), s_CompressedLookupAddEncoded(), s_CompressedLookupAddUnencoded(), s_CompressedLookupAddWordHit(), s_CompressedLookupFinalize(), s_ComputeCompressedIndex(), s_GetAlignmentMismatches(), s_NaChooseScanSubject(), s_NaHashChooseScanSubject(), s_NaHashLookupCountWordsInSubject_16_1(), s_NaHashLookupFillPV(), s_NaHashLookupRemovePolyAWords(), s_NaHashLookupScanSubjectForWordCounts(), s_NaLookup(), s_PopulateScores(), s_PopulateScoreSet(), s_RPSPreliminarySearchEngine(), s_SmallNaChooseScanSubject(), s_SmallNaLookup(), SubjectIndexIteratorNew(), SubjectIndexIteratorNext(), SubjectIndexIteratorPrev(), COrg_ref::UpdateFromTable(), and CTaxValidationAndCleanup::x_CreateQualifierMap().
Definition at line 207 of file attributes.c.
References attributes, fatal(), i, line_num, attribute::name, NULL, and util::strcmp().
Referenced by main().
Definition at line 271 of file attributes.c.
References buf, cmd, exit(), expected, f(), fatal(), FREETDS_SRCDIR, g_result, get_attr_stmt(), get_int(), i, int2ptr, isspace(), len, line_num, lookup(), attribute::lookup, lookup_attr(), attribute::name, NULL, odbc_check_cursor(), odbc_command, odbc_connect(), odbc_disconnect(), odbc_reset_statement, odbc_stmt, odbc_use_version3, SEP, SQL_C_SLONG, SQL_ERROR, SQL_NTS, SQL_SUCCEEDED, SQLBindCol(), SQLLEN, SQLSetStmtAttr(), util::strcmp(), TEST_FILE, attribute::type, type_CHARP, type_DESC, type_INTEGER, type_LEN, type_SMALLINT, type_UINTEGER, type_VOIDP, unlookup(), attribute::value, and value.
|
static |
Definition at line 63 of file attributes.c.
Referenced by main().
Definition at line 63 of file attributes.c.
Referenced by CQueue::CheckJobsExpiry(), CollectAttributes(), CAnnotationASN1::CImplementationData::create_internal_feature(), CGff3ImportData::Initialize(), CGtfImportData::Initialize(), lookup_attr(), mbedtls_cipher_setkey_ncbicxx_2_28_3(), mbedtls_pk_write_pubkey_der_ncbicxx_2_28_3(), mbedtls_psa_aead_decrypt_ncbicxx_2_28_3(), mbedtls_psa_aead_encrypt_ncbicxx_2_28_3(), operator>>(), ParseAttributes(), psa_aead_decrypt_ncbicxx_2_28_3(), psa_aead_encrypt_ncbicxx_2_28_3(), psa_aead_setup(), psa_cipher_decrypt_ncbicxx_2_28_3(), psa_cipher_encrypt_ncbicxx_2_28_3(), psa_cipher_setup(), psa_driver_wrapper_aead_decrypt_ncbicxx_2_28_3(), psa_driver_wrapper_aead_encrypt_ncbicxx_2_28_3(), psa_driver_wrapper_cipher_decrypt_ncbicxx_2_28_3(), psa_driver_wrapper_cipher_decrypt_setup_ncbicxx_2_28_3(), psa_driver_wrapper_cipher_encrypt_ncbicxx_2_28_3(), psa_driver_wrapper_cipher_encrypt_setup_ncbicxx_2_28_3(), psa_driver_wrapper_export_key_ncbicxx_2_28_3(), psa_driver_wrapper_export_public_key_ncbicxx_2_28_3(), psa_driver_wrapper_generate_key_ncbicxx_2_28_3(), psa_driver_wrapper_get_builtin_key_ncbicxx_2_28_3(), psa_driver_wrapper_get_key_buffer_size_ncbicxx_2_28_3(), psa_driver_wrapper_import_key_ncbicxx_2_28_3(), psa_driver_wrapper_mac_compute_ncbicxx_2_28_3(), psa_driver_wrapper_mac_sign_setup_ncbicxx_2_28_3(), psa_driver_wrapper_mac_verify_setup_ncbicxx_2_28_3(), psa_driver_wrapper_sign_hash_ncbicxx_2_28_3(), psa_driver_wrapper_sign_message_ncbicxx_2_28_3(), psa_driver_wrapper_verify_hash_ncbicxx_2_28_3(), psa_driver_wrapper_verify_message_ncbicxx_2_28_3(), psa_export_key_internal_ncbicxx_2_28_3(), psa_export_key_ncbicxx_2_28_3(), psa_export_public_key_internal_ncbicxx_2_28_3(), psa_export_public_key_ncbicxx_2_28_3(), psa_generate_derived_key_internal(), psa_generate_key_internal_ncbicxx_2_28_3(), psa_generate_key_ncbicxx_2_28_3(), psa_get_key_algorithm(), psa_get_key_attributes_ncbicxx_2_28_3(), psa_get_key_bits(), psa_get_key_enrollment_algorithm(), psa_get_key_id(), psa_get_key_lifetime(), psa_get_key_type(), psa_get_key_usage_flags(), psa_import_key_into_slot_ncbicxx_2_28_3(), psa_import_key_ncbicxx_2_28_3(), psa_key_derivation_output_key_ncbicxx_2_28_3(), psa_mac_compute_internal(), psa_mac_finalize_alg_and_key_validation(), psa_mac_setup(), psa_set_key_algorithm(), psa_set_key_bits(), psa_set_key_enrollment_algorithm(), psa_set_key_id(), psa_set_key_lifetime(), psa_set_key_type(), psa_set_key_usage_flags(), psa_sign_hash_builtin_ncbicxx_2_28_3(), psa_sign_internal(), psa_sign_message_builtin_ncbicxx_2_28_3(), psa_start_key_creation(), psa_validate_key_attributes(), psa_validate_optional_attributes(), psa_verify_hash_builtin_ncbicxx_2_28_3(), psa_verify_internal(), psa_verify_message_builtin_ncbicxx_2_28_3(), readGFF3(), CNSNotificationList::RegisterListener(), RestoreModelAttributes(), CGff3SourceRecord::StrAttributes(), CGff3FeatureRecord::StrAttributes(), CGffBaseRecord::StrAttributes(), CGffAlignRecord::StrAttributes(), CGtfReadRecord::xAssignAttributesFromGff(), CGvfReadRecord::xAssignAttributesFromGff(), CGtfReader::xFeatureSetDataCds(), CGtfReader::xFeatureSetDataGene(), CGtfReader::xFeatureTrimQualifiers(), CGff3ImportData::xInitializeAttributes(), CGtfImportData::xInitializeAttributes(), CGff3LineReader::xInitializeAttributes(), CGtfLineReader::xInitializeAttributes(), CGff3LineReader::xInitializeRecord(), CGtfLineReader::xInitializeRecord(), CGff2Record::xMigrateAttributeDefault(), CGff2Record::xMigrateAttributeSingle(), CGff2Record::xSplitGffAttributes(), CGff3LineReader::xSplitLine(), and CGtfLineReader::xSplitLine().
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.
Referenced by SQLSetScrollOptions().
|
static |
Definition at line 10 of file attributes.c.
Referenced by main().
|
static |
Definition at line 11 of file attributes.c.
Referenced by AgpRead(), CAlnError::CAlnError(), get_attr_stmt(), get_int(), CAgpErrEx::LineDone(), lookup_attr(), main(), CAltValidator::QueueLine(), s_AddDeflineFromOrganismLine(), s_AddLineInfo(), s_AddStringCount(), s_BracketedCommentListAddLine(), s_BracketedCommentListNew(), s_FormatErrors(), s_LineInfoNew(), s_ReadOrgNamesFromText(), s_ReportBadNumSegError(), s_ReportBlockLengthError(), s_ReportDuplicateIDError(), s_ReprocessIds(), CAltValidator::x_AddToTaxidMap(), CAgpValidateApplication::x_LoadLenFa(), and CAgpValidateApplication::x_ValidateFile().
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.
|
static |
Definition at line 63 of file attributes.c.