| 190 | } |
| 191 | |
| 192 | static bool Satisfy(uint32_t cond, const StringPiece& context, const char* p) { |
| 193 | uint32_t satisfied = Prog::EmptyFlags(context, p); |
| 194 | if (cond & kEmptyAllFlags & ~satisfied) |
| 195 | return false; |
| 196 | return true; |
| 197 | } |
| 198 | |
| 199 | // Apply the capture bits in cond, saving p to the appropriate |
| 200 | // locations in cap[]. |