NCBI C++ ToolKit
Macros | Functions | Variables
pcre2posix_test.c File Reference
#include <stdio.h>
#include <string.h>
#include <pcre2posix.h>
+ Include dependency graph for pcre2posix_test.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define CAPCOUNT   5 /* Number of captures supported */
 
#define PRINTF   if (v) printf /* Shorthand for testing output */
 
#define count   (int)(sizeof(cflags)/sizeof(int))
 

Functions

int main (int argc, char **argv)
 

Variables

static int cflags []
 
static int mflags []
 
static const char * data0_1 [] = { "posix", "lower posix", "upper POSIX", NULL }
 
static const char * data2_3 []
 
static const char * data4 [] = { "*badpattern", NULL }
 
static char ** data []
 
static int results0 []
 
static int results1 []
 
static int results2 []
 
static int results3 []
 
static int results4 []
 
static intresults []
 

Macro Definition Documentation

◆ CAPCOUNT

#define CAPCOUNT   5 /* Number of captures supported */

Definition at line 29 of file pcre2posix_test.c.

◆ count

#define count   (int)(sizeof(cflags)/sizeof(int))

◆ PRINTF

#define PRINTF   if (v) printf /* Shorthand for testing output */

Definition at line 30 of file pcre2posix_test.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Variable Documentation

◆ cflags

int cflags[]
static
Initial value:
= {
0,
0,
0
}
#define REG_ICASE
Definition: pcre2posix.h:58
#define REG_NEWLINE
Definition: pcre2posix.h:59

Definition at line 34 of file pcre2posix_test.c.

Referenced by find_firstassertedcu(), main(), pcre2_regcomp(), and process_pattern().

◆ data

char** data[]
static
Initial value:
= {
(char **)(&data0_1),
(char **)(&data0_1),
(char **)(&data2_3),
(char **)(&data2_3),
(char **)(&data4)
}
static const char * data2_3[]
static const char * data0_1[]
static const char * data4[]

Definition at line 67 of file pcre2posix_test.c.

Referenced by main().

◆ data0_1

const char* data0_1[] = { "posix", "lower posix", "upper POSIX", NULL }
static

Definition at line 60 of file pcre2posix_test.c.

◆ data2_3

const char* data2_3[]
static
Initial value:
= { "(*LF)^(cat|dog)", "catastrophic\ncataclysm",
"dogfight", "no animals", NULL }
#define NULL
Definition: ncbistd.hpp:225

Definition at line 61 of file pcre2posix_test.c.

◆ data4

const char* data4[] = { "*badpattern", NULL }
static

Definition at line 63 of file pcre2posix_test.c.

Referenced by BOOST_AUTO_TEST_CASE().

◆ mflags

int mflags[]
static
Initial value:
= {
0,
0,
0,
0
}
#define REG_NOTBOL
Definition: pcre2posix.h:60

Definition at line 44 of file pcre2posix_test.c.

Referenced by main().

◆ results

int* results[]
static
Initial value:
= {
(int *)(&results0),
(int *)(&results1),
(int *)(&results2),
(int *)(&results3),
(int *)(&results4)
}
static int results0[]
static int results2[]
static int results3[]
static int results4[]
static int results1[]

Definition at line 111 of file pcre2posix_test.c.

Referenced by CGBProjectHelper::AddProjectItemsFromRID(), CSplignFormatter::AsAlignmentText(), CSplignFormatter::AsExonTable(), CSplignFormatter::AsSeqAlignSet(), AsyncConvertObjects(), BLAST_ComputeTraceback_MT(), Blast_FindRepeatFilterLoc(), Blast_HSPResultsApplyMasklevel(), Blast_HSPResultsFree(), Blast_HSPResultsInsertHSPList(), Blast_HSPResultsReverseOrder(), Blast_HSPResultsReverseSort(), Blast_HSPResultsSortByEvalue(), Blast_MappingResultsFree(), Blast_RedoAlignmentCore(), Blast_RedoAlignmentCore_MT(), Blast_RunFullSearch(), Blast_RunTracebackSearch(), Blast_RunTracebackSearchWithInterrupt(), BlastBuildArchive(), BlastCompo_HeapPop(), BlastFormatter_PreFetchSequenceData(), BlastHSPCBSStreamClose(), BlastHSPStreamClose(), BlastHSPStreamMappingClose(), BlastHSPStreamRead(), BlastHSPStreamTBackClose(), BOOST_AUTO_TEST_CASE(), BLASTer::CalculateSelfHitScores(), CCmdLineBlastXMLReportData::CCmdLineBlastXMLReportData(), CFlatSeqLoc::CFlatSeqLoc(), CReadBlastApp::check_alignment(), CIndexedDb_Old::CheckOid(), CSRSearch::combine(), CEntropyCalculator::ComputeSlidingWindowEntropy(), CSRSearch_Impl< index_t >::copyOffsets(), create_type(), BLASTer::CreateNewPairwiseAlignmentsByBlast(), dbbind(), do_results(), CPsiBlastApp::DoIterations(), CPMCIDSearch::DoPMCIDSearch(), CDeltaBlastApp::DoPsiBlastIterations(), CVcfTrackData::DoSearch(), CVcfFeatureDS::DoSearch(), ex_display_results(), CFindRSites::Find(), COrf::FindOrfs(), COrgMod::FixStrain(), FormatAsAsn(), NSearchFeatPanel::GatherFeatures(), variation::CVariationUtil::CCdregionIndex::Get(), CFindRSites::GetAnnot(), GetFieldsByName(), CTaxon1::GetInheritedPropertyDefines(), CObjectIndex::GetMatches(), CIndexedDb_Old::GetResults(), CNcbiTestApplication::GetToFixTestsCount(), GetTreeNeighborhood(), CAttribTableColumnIdPanel::IsInputValid(), main(), CBlastnNode::Main(), CBlastpNode::Main(), CBlastxNode::Main(), CRPSBlastNode::Main(), CRPSTBlastnNode::Main(), CTblastnNode::Main(), CIgBlastnApp::CIgWorker::Main(), CIgBlastnApp::CIgFormatter::Main(), CMagicBlastThread::Main(), MakeCompartments(), MakeSubjectScores(), CSRSearch_Impl< index_t >::mergeOffsets(), CSRSearch::mergeResults(), RpsTestFixture::NuclSearch(), CRemarksAndSerialNumberPanel::OnButtonClick(), CPublicationTypePanel::OnDoiLookup(), PHIBlast_HSPResultsSplit(), PhiBlastResults2SeqAlign_OMF(), CIndexedDb_Old::PreSearch(), PrintErrorArchive(), PrintFastaUnaligned(), CBlastFormatterApp::PrintFormattedOutput(), CBlastFormatterVdbApp::PrintFormattedOutput(), CBlastFormat::PrintOneResultSet(), CBlastFormat::PrintReport(), PrintResults(), PrintSAM(), PrintSAMUnaligned(), PrintTabular(), PrintTabularUnaligned(), PrintUnaligned(), CBlastAsyncFormatThread::QueueResults(), CSRSearch::reportResults(), CNetBlastJobDescriptor::Retrieve(), CDeltaBlast::Run(), CIgBlast::Run(), CLocalVDBBlast::Run(), CTableDataSUCJob::Run(), CSRSearchApplication::Run(), CDemoSeqQaApp::Run(), CDeltaBlastApp::Run(), CSeedTopApp::Run(), CTblastxApp::Run(), CIgBlastpApp::Run(), CRMBlastnApp::Run(), CPubmedFetchApplication::Run(), CVectorScreen::Run(), CMagicBlast::Run(), CBlastKmerSearch::Run(), CMultiApplication::Run(), CVDBBlastnApp::Run(), CVDBTblastnApp::Run(), CBlastDemoApplication::Run(), CMagicBlast::RunEx(), CRedoAlignmentTestFixture::runRedoAlignmentCoreUnitTest(), CVDBThread::RunTandemSearches(), CSeqTestManager::RunTests(), CLocalVDBBlast::RunThreadedSearch(), CIgBlast::s_AppendResults(), s_BLAST_OneSubjectResults2CSeqAlign(), s_BlastHSPBestHitFinal(), s_BlastHSPBestHitInit(), s_BlastHSPBestHitPipeRun(), s_BlastHSPCollectorInit(), s_BlastHSPCollectorRun(), s_BlastHSPCollectorRun_RPS(), s_BlastHSPCullingFinal(), s_BlastHSPCullingPipeRun(), s_BlastHSPMapperFinal(), s_BlastHSPMapperPairedInit(), s_BlastPruneExtraHits(), s_BlastResults2SeqAlignDatabaseSearch_OMF(), s_BlastResults2SeqAlignSequenceCmp_OMF(), s_BuildArchiveAll(), s_ConvertObjects(), s_ConvertObjectsCat(), s_DoSearch(), s_ExtractSeqidsAndRanges(), s_FillBlastOutput(), s_FillMaskLocFromBlastResults(), s_FillResultsFromCompoHeaps(), s_FilterBlastResults(), s_Finalize(), s_FindOrfs(), s_GetAllGis(), s_GetIndels(), s_GetSequencesIntoScope(), s_PreFetchSeqs(), s_ReplaceGIs(), s_ResolveFieldsOfChoice(), s_ResolveFieldsOfClass(), s_ResolveFieldsOfContainer(), s_ResolveFieldsOfPointer(), s_RPSComputeTraceback(), s_RunLocalVDBSearch(), s_RunPsiVDBSearch(), s_SetFieldsOfChoice(), s_SetFieldsOfClass(), s_SetFieldsOfContainer(), s_SetFieldsOfPointer(), CIgBlast::s_SortResultsByEvalue(), s_Start_GetFields(), s_Start_SetFields(), s_TrimResultsByTotalHSPLimit(), s_TrimResultsByTotalHSPLimitEx(), CGPipeAlignmentScorer::ScoreAlignments(), CSRSearch_Impl< index_t >::search(), CSRSearch_Impl< index_t >::searchExact(), CSRSearch_Impl< index_t >::searchOneMismatch(), SelectCompartmentsHits(), SetFieldsByName(), SortAndFetchSeqData(), CSeqDBImpl::SSeqResBuffer::SSeqResBuffer(), test(), testNuclHitList(), CAlignmentTrack::x_AddAlignFeatLayout(), CGeneModelTrack::x_AddFeatProductLayout(), CIgBlast::x_AnnotateV(), CMagicBlast::x_BuildResultSet(), CMagicBlast::x_BuildSeqAlignSet(), CBlastPrelimSearch::x_BuildStdSegList(), CTracebackTestFixture::x_ComputeTracebak(), CAlgoToolManagerBase::x_ConvertInputObjects(), CNetBlastLoadingJob::x_CreateProjectItems(), CNetBlastLoadingJob::x_CreateProjectItemsFromBlastResult(), CBlastFormat::x_DisplayAlignsWithTemplates(), CValidError_imp::x_DoBarcodeTests(), CVcfSearchJob::x_DoSearch(), CSelectionVisitor::x_DoSelection(), CSGAlignStatJob::x_Execute(), CIgBlast::x_ExtendAlign3end(), CIgBlast::x_ExtendAlign5end(), CMultiAligner::x_FindRPSHits(), x_FindRSite(), CProSplignJob::x_GenerateCompartments(), CObjectIndex::x_GetMatches(), CSeqDBImpl::x_GetSeqBuffer(), CCmdLineBlastXMLReportData::x_Init(), CCmdLineBlastXML2ReportData::x_InitResults(), CMultiAligner::x_MultiAlignClusters(), CMultiAlignView::x_OnSetSelection(), CPhyTreeView::x_OnSetSelection(), CFeatTableView::x_OnSetSelection(), x_PredictAGSites(), CBlastFormat::x_PrintAirrRearrangement(), CBlastFormat::x_PrintIgTabularReport(), CBlastFormat::x_PrintStructuredReport(), CBlastFormat::x_PrintTabularReport(), CBlastFormat::x_PrintTaxReport(), CBlastFormat::x_PrintXML2Report(), CBlastFormat::x_ReverseQuery(), CVecscreenRun::x_RunBlast(), CPsiBlastApp::x_RunLocalPsiBlastIterations(), CBlastnApp::x_RunMTBySplitDB(), CBlastpApp::x_RunMTBySplitDB(), CBlastxApp::x_RunMTBySplitDB(), CRPSBlastApp::x_RunMTBySplitDB(), CRPSTBlastnApp::x_RunMTBySplitDB(), CTblastnApp::x_RunMTBySplitDB(), CSplignApp::x_RunSplign(), CIgBlast::x_ScreenByAlignLength(), CProSplignTool::x_SelectCompatibleInputObjects(), CSplignTool::x_SelectCompatibleInputObjects(), CIgBlast::x_SetChainType(), CProSplignJob::x_SetupAndRuntBlastn(), and CPhiblastTestFixture::x_SetupResults().

◆ results0

int results0[]
static
Initial value:
= {
0,
0, 6, 11,
}
@ REG_NOMATCH
Definition: pcre2posix.h:96

Definition at line 79 of file pcre2posix_test.c.

◆ results1

int results1[]
static
Initial value:
= {
0,
0, 6, 11,
0, 6, 11
}

Definition at line 85 of file pcre2posix_test.c.

Referenced by BlastHSPStreamMerge(), and BOOST_AUTO_TEST_CASE().

◆ results2

int results2[]
static
Initial value:
= {
0,
0, 0, 3, 0, 3,
0, 0, 3, 0, 3,
}

Definition at line 91 of file pcre2posix_test.c.

Referenced by BlastHSPStreamMerge(), and BOOST_AUTO_TEST_CASE().

◆ results3

int results3[]
static
Initial value:
= {
0,
0, 13, 16, 13, 16,
}

Definition at line 98 of file pcre2posix_test.c.

◆ results4

int results4[]
static
Initial value:
= {
}
@ REG_BADRPT
Definition: pcre2posix.h:83

Definition at line 105 of file pcre2posix_test.c.

Modified on Fri Sep 20 14:58:30 2024 by modify_doxy.py rev. 669887