Lines Matching refs:cap_
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
110 CHECK(2*nsubmatch_ < arraysize(cap_));
111 memset(cap_, 0, sizeof cap_);
131 cap_[0] = text.begin();
139 cap_[0] = p;
187 if (0 <= ip->cap() && ip->cap() < arraysize(cap_)) {
189 const char* q = cap_[ip->cap()];
190 cap_[ip->cap()] = p;
193 cap_[ip->cap()] = q;
211 cap_[1] = p;
215 submatch_[i] = StringPiece(cap_[2*i], cap_[2*i+1] - cap_[2*i]);