Apply the capture bits in cond, saving p to the appropriate locations in cap[].
| 199 | // Apply the capture bits in cond, saving p to the appropriate |
| 200 | // locations in cap[]. |
| 201 | static void ApplyCaptures(uint32_t cond, const char* p, |
| 202 | const char** cap, int ncap) { |
| 203 | for (int i = 2; i < ncap; i++) |
| 204 | if (cond & (1 << kCapShift << i)) |
| 205 | cap[i] = p; |
| 206 | } |
| 207 | |
| 208 | // Computes the OneState* for the given nodeindex. |
| 209 | static inline OneState* IndexToNode(uint8_t* nodes, int statesize, |