Home | History | Annotate | Download | only in re2

Lines Matching refs:ref_map

62 static map<Regexp*, int> *ref_map;
71 if (ref_map != NULL) {
72 r = (*ref_map)[this];
83 if (ref_map == NULL) {
84 ref_map = new map<Regexp*, int>;
88 (*ref_map)[this]++;
91 (*ref_map)[this] = kMaxRef;
107 int r = (*ref_map)[this] - 1;
110 ref_map->erase(this);
112 (*ref_map)[this] = r;