pcre_exec.c File Reference

#include "pcre_internal.h"

Go to the source code of this file.

Defines

#define NLBLOCK   md
#define PSSTART   start_subject
#define PSEND   end_subject
#define match_condassert   0x01
#define match_cbegroup   0x02
#define MATCH_MATCH   1
#define MATCH_NOMATCH   0
#define MATCH_COMMIT   (-999)
#define MATCH_PRUNE   (-998)
#define MATCH_SKIP   (-997)
#define MATCH_THEN   (-996)
#define REC_STACK_SAVE_MAX   30
#define REGISTER   register
#define RMATCH(ra, rb, rc, rd, re, rf, rg, rw)   rrc = match(ra,rb,mstart,rc,rd,re,rf,rg,rdepth+1)
#define RRETURN(ra)   return ra
#define fi   i
#define fc   c

Enumerations

enum  

Functions

static BOOL match_ref (int offset, register USPTR eptr, int length, match_data *md, unsigned long int ims)
static int match (REGISTER USPTR eptr, REGISTER const uschar *ecode, const uschar *mstart, int offset_top, match_data *md, unsigned long int ims, eptrblock *eptrb, int flags, unsigned int rdepth)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_exec (const pcre *argument_re, const pcre_extra *extra_data, PCRE_SPTR subject, int length, int start_offset, int options, int *offsets, int offsetcount)

Variables

static const char rep_min [] = { 0, 0, 1, 1, 0, 0 }
static const char rep_max [] = { 0, 0, 0, 0, 1, 1 }


Define Documentation

#define fc   c

Referenced by TSpider::AddVariable(), TProof::AssertDataSet(), TAlienCollection::CheckIfOnline(), ClassImp(), TProof::ClearData(), TSpider::DeleteVariable(), do_anadist(), do_info_server(), do_ls_files_server(), draw_text_internal(), TEfficiency::FeldmanCousinsInterval(), RooBrentRootFinder::findRoot(), FourBinInstructional(), GetDataSet(), TDataSetManagerFile::GetDataSet(), GetDataSets(), TFileCollection::GetFilesOnServer(), TFileCollection::GetFilesPerServer(), TProof::GetMissingFiles(), XrdProofdAux::GetNumCPUs(), TDataSetManager::GetSubDataSets(), TProofServ::HandleDataSets(), XrdCryptosslX509Crl::Init(), IntervalExamples(), MakeCleanupScript(), match(), TProofPlayerRemote::MergeOutputFiles(), TView3D::MoveFocus(), pq2register(), PT_DataSets(), PT_H1FileCollection(), PT_H1SimpleAsync(), TEveCaloLegoOverlay::RenderLogaritmicScales(), TMVA::RootFinder::Root(), rs101_limitexample(), rs401c_FeldmanCousins(), rs401d_FeldmanCousins(), runProof(), TSpider::SetNx(), TSpider::SetNy(), TSpider::SetSegmentDisplay(), TDataSetManager::ShowDataSets(), TAlienCollection::Stage(), StandardFeldmanCousinsDemo(), TAlienCollection::Status(), TDSet::TDSet(), TestAuth(), testDistr1D(), unuranDistr(), XrdCryptosslX509::XrdCryptosslX509(), XrdSslgsiX509CreateProxy(), TView3D::ZoomIn(), and TView3D::ZoomOut().

#define fi   i

Referenced by TDSet::Add(), TFileCollection::Add(), TChain::AddFileInfoList(), TRootIconBox::AddObjItem(), afm_parse_kern_pairs(), afm_parse_track_kern(), afm_parser_parse(), TRootIconList::Browse(), TUploadDataSetDlg::BrowseFiles(), TGuiBldDragManager::ChangeImage(), TGuiBldDragManager::ChangePicture(), TProof::ClearData(), TTreeCloner::CollectBranches(), TFractionFitter::ComputeChisquareLambda(), do_anadist_ds(), do_ls_files_server(), TGQt::DrawText(), TDSet::ExportFileList(), TMath::FDistI(), ProofAux::GenerateFriend(), TFileCollection::GetFilesOnServer(), TFileCollection::GetFilesPerServer(), TProof::GetMissingFiles(), TPacketizerFile::GetNextPacket(), TFileStager::GetPathName(), TGQt::GetTextExtent(), TGuiBldDragManager::HandleKey(), SplitGLView::HandleMenu(), TRootBrowser::HandleMenu(), TestMainFrame::HandleMenu(), DNDMainFrame::HandleMenu(), TMatrixTBase< Element >::IndexedLexSort(), TProofPlayerRemote::InitPacketizer(), TGRootIDE::LoadFile(), TGTextEditor::LoadFile(), main(), match(), TProofOutputFile::Merge(), TFumili::Minimize(), TNewQueryDlg::OnBrowseSelector(), TSessionFrame::OnBtnAddClicked(), TSessionServerFrame::OnConfigFileClicked(), TASPaletteEditor::Open(), TGDocument::Open(), OpenFileDialog(), TRootGuiBuilder::OpenProject(), TSpectrum2Painter::Paint(), printDataSet(), TDataSetManager::PrintDataSet(), TGLSAViewer::ProcessFrameMessage(), XSGui::ProcessMenuMessage(), TRootBrowserLite::ProcessMessage(), TGTextEdit::ProcessMessage(), TestMainFrame::ProcessMessage(), RootShower::ProcessMessage(), TGHtmlBrowser::ProcessMessage(), TRootCanvas::ProcessMessage(), TPacketizerAdaptive::ReassignPacket(), TFileCollection::RemoveDuplicates(), TGRecorder::Replay(), TASPaletteEditor::Save(), TGuiBldDragManager::Save(), TGTextEdit::SaveFile(), TGRootIDE::SaveFileAs(), TGTextEditor::SaveFileAs(), SaveFileDialog(), TGuiBldDragManager::SaveFrame(), TGMainFrame::SaveFrameAsCodeOrImage(), TRootGuiBuilder::SaveProject(), TGQt::SetFileName(), TProof::ShowMissingFiles(), TGRecorder::StartStop(), T1_Get_Track_Kerning(), T1_Read_Metrics(), and templateClassImp().

#define match_cbegroup   0x02

Definition at line 63 of file pcre_exec.c.

Referenced by match().

#define MATCH_COMMIT   (-999)

Definition at line 74 of file pcre_exec.c.

Referenced by match().

#define match_condassert   0x01

Definition at line 62 of file pcre_exec.c.

Referenced by match().

#define MATCH_MATCH   1

Definition at line 68 of file pcre_exec.c.

Referenced by match().

#define MATCH_NOMATCH   0

Definition at line 69 of file pcre_exec.c.

Referenced by match().

#define MATCH_PRUNE   (-998)

Definition at line 75 of file pcre_exec.c.

Referenced by match().

#define MATCH_SKIP   (-997)

Definition at line 76 of file pcre_exec.c.

Referenced by match().

#define MATCH_THEN   (-996)

Definition at line 77 of file pcre_exec.c.

Referenced by match().

#define NLBLOCK   md

Definition at line 49 of file pcre_exec.c.

#define PSEND   end_subject

Definition at line 51 of file pcre_exec.c.

#define PSSTART   start_subject

Definition at line 50 of file pcre_exec.c.

#define REC_STACK_SAVE_MAX   30

Definition at line 83 of file pcre_exec.c.

Referenced by match().

#define REGISTER   register

Definition at line 255 of file pcre_exec.c.

#define RMATCH ( ra,
rb,
rc,
rd,
re,
rf,
rg,
rw   )     rrc = match(ra,rb,mstart,rc,rd,re,rf,rg,rdepth+1)

Definition at line 270 of file pcre_exec.c.

Referenced by match().

#define RRETURN ( ra   )     return ra

Definition at line 272 of file pcre_exec.c.

Referenced by match().


Enumeration Type Documentation

anonymous enum

Definition at line 243 of file pcre_exec.c.


Function Documentation

static int match ( REGISTER USPTR  eptr,
REGISTER const uschar ecode,
const uschar mstart,
int  offset_top,
match_data md,
unsigned long int  ims,
eptrblock eptrb,
int  flags,
unsigned int  rdepth 
) [static]

Definition at line 428 of file pcre_exec.c.

References _pcre_OP_lengths, _pcre_ord2utf8(), _pcre_ucp_gentype, _pcre_xclass(), recursion_info::after_call, match_data::bsr_anycrlf, match_data::callout_data, pcre_callout_block::callout_data, pcre_callout_block::callout_number, pcre_callout_block::capture_last, match_data::capture_last, pcre_callout_block::capture_top, ucd_record::chartype, ctype_digit, ctype_space, ctype_word, match_data::ctypes, pcre_callout_block::current_position, d, data, DPRINTF, match_data::end_match_ptr, match_data::end_offset_top, match_data::end_subject, match_data::endonly, eptrblock::epb_prev, eptrblock::epb_saved_eptr, FALSE, fc, fi, for(), GET2, GET_UCD, GETCHAR, GETCHARINC, GETCHARINCTEST, GETCHARLEN, recursion_info::group_num, match_data::hitend, i, if(), int, IS_NEWLINE, match_data::jscript_compat, match_data::lcc, len, LINK_SIZE, match_data::match_call_count, match_cbegroup, MATCH_COMMIT, match_condassert, match_data::match_limit, match_data::match_limit_recursion, MATCH_MATCH, MATCH_NOMATCH, MATCH_PRUNE, match_ref(), MATCH_SKIP, MATCH_THEN, max, memmove, min, pcre_callout_block::next_item_length, match_data::nllen, match_data::notbol, match_data::notempty, match_data::noteol, NULL, number, match_data::offset_end, match_data::offset_max, match_data::offset_overflow, recursion_info::offset_save, match_data::offset_vector, pcre_callout_block::offset_vector, OP_ACCEPT, OP_ALLANY, OP_ALT, OP_ANY, OP_ANYBYTE, OP_ANYNL, OP_ASSERT, OP_ASSERT_NOT, OP_ASSERTBACK, OP_ASSERTBACK_NOT, OP_BRA, OP_BRAMINZERO, OP_BRAZERO, OP_CALLOUT, OP_CBRA, OP_CHAR, OP_CHARNC, OP_CIRC, OP_CLASS, OP_COMMIT, OP_COND, OP_CREF, OP_CRMINPLUS, OP_CRMINQUERY, OP_CRMINRANGE, OP_CRMINSTAR, OP_CRPLUS, OP_CRQUERY, OP_CRRANGE, OP_CRSTAR, OP_DEF, OP_DIGIT, OP_DOLL, OP_END, OP_EOD, OP_EODN, OP_EXACT, OP_EXTUNI, OP_FAIL, OP_HSPACE, OP_KET, OP_KETRMAX, OP_KETRMIN, OP_MINPLUS, OP_MINQUERY, OP_MINSTAR, OP_MINUPTO, OP_NCLASS, OP_NOT, OP_NOT_DIGIT, OP_NOT_HSPACE, OP_NOT_VSPACE, OP_NOT_WHITESPACE, OP_NOT_WORD_BOUNDARY, OP_NOT_WORDCHAR, OP_NOTEXACT, OP_NOTMINPLUS, OP_NOTMINQUERY, OP_NOTMINSTAR, OP_NOTMINUPTO, OP_NOTPLUS, OP_NOTPOSPLUS, OP_NOTPOSQUERY, OP_NOTPOSSTAR, OP_NOTPOSUPTO, OP_NOTPROP, OP_NOTQUERY, OP_NOTSTAR, OP_NOTUPTO, OP_ONCE, OP_OPT, OP_PLUS, OP_POSPLUS, OP_POSQUERY, OP_POSSTAR, OP_POSUPTO, OP_PROP, OP_PRUNE, OP_QUERY, OP_RECURSE, OP_REF, OP_REVERSE, OP_RREF, OP_SBRA, OP_SCBRA, OP_SCOND, OP_SET_SOM, OP_SKIP, OP_SKIPZERO, OP_SOD, OP_SOM, OP_STAR, OP_THEN, OP_TYPEEXACT, OP_TYPEMINPLUS, OP_TYPEMINQUERY, OP_TYPEMINSTAR, OP_TYPEMINUPTO, OP_TYPEPLUS, OP_TYPEPOSPLUS, OP_TYPEPOSQUERY, OP_TYPEPOSSTAR, OP_TYPEPOSUPTO, OP_TYPEQUERY, OP_TYPESTAR, OP_TYPEUPTO, OP_UPTO, OP_VSPACE, OP_WHITESPACE, OP_WORD_BOUNDARY, OP_WORDCHAR, OP_XCLASS, match_data::partial, pcre_callout_block::pattern_position, pchars(), pcre_callout, PCRE_CASELESS, PCRE_ERROR_INTERNAL, PCRE_ERROR_MATCHLIMIT, PCRE_ERROR_NOMEMORY, PCRE_ERROR_RECURSIONLIMIT, PCRE_ERROR_UNKNOWN_OPCODE, pcre_free, PCRE_IMS, pcre_malloc, PCRE_MULTILINE, PCRE_SPTR, pcre_stack_malloc, recursion_info::prevrec, PT_ANY, PT_GC, PT_LAMP, PT_PC, PT_SC, REC_STACK_SAVE_MAX, match_data::recursive, rep_max, rep_min, RM1, RM10, RM11, RM12, RM13, RM14, RM15, RM16, RM17, RM18, RM19, RM2, RM20, RM21, RM22, RM23, RM24, RM25, RM26, RM27, RM28, RM29, RM3, RM30, RM31, RM32, RM33, RM34, RM35, RM36, RM37, RM38, RM39, RM4, RM40, RM41, RM42, RM43, RM44, RM45, RM46, RM47, RM48, RM49, RM5, RM50, RM51, RM52, RM53, RM6, RM7, RM8, RM9, RMATCH, RREF_ANY, RRETURN, recursion_info::save_start, recursion_info::saved_max, ucd_record::script, match_data::start_code, pcre_callout_block::start_match, match_data::start_match_ptr, match_data::start_offset, match_data::start_subject, pcre_callout_block::subject, pcre_callout_block::subject_length, TRUE, UCD_CATEGORY, UCD_CHARTYPE, UCD_OTHERCASE, UCD_SCRIPT, ucp_Ll, ucp_Lt, ucp_Lu, ucp_M, USPTR, match_data::utf8, utf8, pcre_callout_block::version, WAS_NEWLINE, x09, x20, and x80.

static BOOL match_ref ( int  offset,
register USPTR  eptr,
int  length,
match_data md,
unsigned long int  ims 
) [static]

Definition at line 139 of file pcre_exec.c.

References d, match_data::end_subject, FALSE, GETCHARINC, match_data::lcc, match_data::offset_vector, pchars(), PCRE_CASELESS, match_data::start_subject, TRUE, UCD_OTHERCASE, USPTR, and match_data::utf8.

Referenced by match().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_exec ( const pcre argument_re,
const pcre_extra extra_data,
PCRE_SPTR  subject,
int  length,
int  start_offset,
int  options,
int *  offsets,
int  offsetcount 
)

Definition at line 4389 of file pcre_exec.c.

References _pcre_default_tables, _pcre_try_flipped(), _pcre_valid_utf8(), anchored(), match_data::bsr_anycrlf, pcre_extra::callout_data, match_data::callout_data, match_data::capture_last, match_data::ctypes, ctypes_offset, DPRINTF, match_data::end_subject, match_data::endonly, FALSE, fcc_offset, real_pcre::first_byte, pcre_extra::flags, flags, real_pcre::flags, match_data::hitend, if(), int, IS_NEWLINE, match_data::jscript_compat, match_data::lcc, lcc_offset, MAGIC_NUMBER, real_pcre::magic_number, match_data::match_limit, pcre_extra::match_limit, MATCH_LIMIT, MATCH_LIMIT_RECURSION, pcre_extra::match_limit_recursion, match_data::match_limit_recursion, real_pcre::name_count, real_pcre::name_entry_size, real_pcre::name_table_offset, NEWLINE, newline, match_data::nl, match_data::nllen, match_data::nltype, NLTYPE_ANY, NLTYPE_ANYCRLF, NLTYPE_FIXED, match_data::notbol, match_data::notempty, match_data::noteol, NULL, match_data::offset_end, match_data::offset_max, match_data::offset_overflow, match_data::offset_vector, pcre_study_data::options, real_pcre::options, match_data::partial, PCRE_ANCHORED, PCRE_BSR_ANYCRLF, PCRE_BSR_UNICODE, PCRE_CASELESS, PCRE_DOLLAR_ENDONLY, PCRE_DOTALL, PCRE_ERROR_BADCOUNT, PCRE_ERROR_BADMAGIC, PCRE_ERROR_BADNEWLINE, PCRE_ERROR_BADOPTION, PCRE_ERROR_BADPARTIAL, PCRE_ERROR_BADUTF8, PCRE_ERROR_BADUTF8_OFFSET, PCRE_ERROR_NOMEMORY, PCRE_ERROR_NULL, PCRE_EXTRA_CALLOUT_DATA, PCRE_EXTRA_MATCH_LIMIT, PCRE_EXTRA_MATCH_LIMIT_RECURSION, PCRE_EXTRA_STUDY_DATA, PCRE_EXTRA_TABLES, PCRE_FIRSTLINE, PCRE_FIRSTSET, PCRE_JAVASCRIPT_COMPAT, pcre_malloc, PCRE_MULTILINE, PCRE_NEWLINE_ANY, PCRE_NEWLINE_ANYCRLF, PCRE_NEWLINE_BITS, PCRE_NEWLINE_CR, PCRE_NEWLINE_LF, PCRE_NO_UTF8_CHECK, PCRE_NOPARTIAL, PCRE_NOTBOL, PCRE_NOTEMPTY, PCRE_NOTEOL, PCRE_PARTIAL, PCRE_REQCHSET, PCRE_STARTLINE, PCRE_STUDY_MAPPED, PCRE_UTF8, PUBLIC_EXEC_OPTIONS, match_data::recursive, real_pcre::req_byte, REQ_CASELESS, pcre_study_data::start_bits, match_data::start_code, match_data::start_offset, match_data::start_subject, pcre_extra::study_data, t, pcre_extra::tables, real_pcre::tables, real_pcre::top_backref, real_pcre::top_bracket, TRUE, USPTR, match_data::utf8, utf8, WAS_NEWLINE, and x80.


Variable Documentation

const char rep_max[] = { 0, 0, 0, 0, 1, 1 } [static]

Definition at line 88 of file pcre_exec.c.

Referenced by match().

const char rep_min[] = { 0, 0, 1, 1, 0, 0 } [static]

Definition at line 87 of file pcre_exec.c.

Referenced by match().


Generated on Tue Jul 5 15:57:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1