Home
last modified time | relevance | path

Searched refs:capture_ (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/v8/testing/
H A Dgmock-support.h41 explicit CaptureEqMatcher(Capture<T>* capture) : capture_(capture) {} in CaptureEqMatcher()
44 *os << "captured by " << static_cast<const void*>(capture_); in DescribeTo()
45 if (capture_->has_value()) *os << " which has value " << capture_->value(); in DescribeTo()
49 if (!capture_->has_value()) { in MatchAndExplain()
50 capture_->SetValue(value); in MatchAndExplain()
53 if (value != capture_->value()) { in MatchAndExplain()
54 *listener << "which is not equal to " << capture_->value(); in MatchAndExplain()
61 Capture<T>* capture_; member in testing::internal::CaptureEqMatcher
/third_party/node/deps/v8/src/regexp/
H A Dregexp-ast.h565 : capture_(capture), flags_(flags) {} in RegExpBackReference()
573 int index() const { return capture_->index(); } in index()
574 RegExpCapture* capture() const { return capture_; } in capture()
575 void set_capture(RegExpCapture* capture) { capture_ = capture; } in set_capture()
580 RegExpCapture* capture_ = nullptr; member in v8::internal::final

Completed in 3 milliseconds