/external/regex-re2/re2/testing/ |
backtrack.cc | 37 // parenthesis was passed. cap_[0] and cap_[1] are the 38 // left and right parenthesis in $0, cap_[2] and cap_[3] in $1, etc. 73 const char* cap_[64]; // capture registers member in class:re2::Backtracker 110 CHECK(2*nsubmatch_ < arraysize(cap_)); 111 memset(cap_, 0, sizeof cap_); 131 cap_[0] = text.begin(); 139 cap_[0] = p [all...] |
/external/regex-re2/re2/ |
bitstate.cc | 59 const char** cap_; // capture registers member in class:re2::BitState 78 cap_(NULL), 90 delete[] cap_; 231 Push(id, cap_[ip->cap()], 1); // come back when we're done 232 cap_[ip->cap()] = p; 239 cap_[ip->cap()] = p; 269 cap_[1] = p; 273 submatch_[i] = StringPiece(cap_[2*i], cap_[2*i+1] - cap_[2*i]) [all...] |
prog.h | 54 kInstCapture, // capturing parenthesis number cap_ 102 int cap() { DCHECK_EQ(opcode(), kInstCapture); return cap_; } 146 int32 cap_; // opcode == kInstCapture member in union:re2::Prog::Inst::__anon14707
|
regexp.h | 124 // Parenthesized (capturing) subexpression. Index is cap_. 330 int cap() { DCHECK_EQ(op_, kRegexpCapture); return cap_; } 552 int cap_; member in struct:re2::Regexp::__anon14710::__anon14712
|