Lines Matching refs:map_
532 NamedCapturesWalker() : map_(NULL) {} in NamedCapturesWalker()
533 ~NamedCapturesWalker() { delete map_; } in ~NamedCapturesWalker()
536 map<string, int>* m = map_; in TakeMap()
537 map_ = NULL; in TakeMap()
544 if (map_ == NULL) in PreVisit()
545 map_ = new map<string, int>; in PreVisit()
550 if (map_->find(*re->name()) == map_->end()) in PreVisit()
551 (*map_)[*re->name()] = re->cap(); in PreVisit()
563 map<string, int>* map_; member in re2::NamedCapturesWalker
576 CaptureNamesWalker() : map_(NULL) {} in CaptureNamesWalker()
577 ~CaptureNamesWalker() { delete map_; } in ~CaptureNamesWalker()
580 map<int, string>* m = map_; in TakeMap()
581 map_ = NULL; in TakeMap()
588 if (map_ == NULL) in PreVisit()
589 map_ = new map<int, string>; in PreVisit()
591 (*map_)[re->cap()] = *re->name(); in PreVisit()
603 map<int, string>* map_; member in re2::CaptureNamesWalker