Searched refs:nstk (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | regexp_generator.cc | 107 int nstk, int ops, int atoms) { in GeneratePostfix() argument 108 if (nstk == 1) in GeneratePostfix() 114 if (ops + nstk - 1 > maxops_) in GeneratePostfix() 121 GeneratePostfix(post, nstk + 1, ops, atoms + 1); in GeneratePostfix() 131 if (nargs <= nstk) { in GeneratePostfix() 133 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms); in GeneratePostfix() 143 int nstk, int ops, int atoms) { in GenerateRandomPostfix() argument 153 if (nstk == 1 && random_stop(rng_) == 0) { in GenerateRandomPostfix() 161 if (ops + nstk - 1 > maxops_) in GenerateRandomPostfix() 168 if (nargs <= nstk) { in GenerateRandomPostfix() [all …]
|
D | regexp_generator.h | 52 int nstk, int ops, int lits); 54 int nstk, int ops, int lits);
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | nfa.cc | 208 int nstk = 0; in AddToThreadq() local 210 stk[nstk++] = {id0, NULL}; in AddToThreadq() 211 while (nstk > 0) { in AddToThreadq() 212 DCHECK_LE(nstk, stack_.size()); in AddToThreadq() 213 AddState a = stk[--nstk]; in AddToThreadq() 259 stk[nstk++] = {id+1, NULL}; in AddToThreadq() 267 stk[nstk++] = {id+1, NULL}; in AddToThreadq() 272 stk[nstk++] = {0, t0}; in AddToThreadq() 313 stk[nstk++] = {id+1, NULL}; in AddToThreadq()
|
D | dfa.cc | 828 int nstk = 0; in AddToQueue() local 830 stk[nstk++] = id; in AddToQueue() 831 while (nstk > 0) { in AddToQueue() 832 DCHECK_LE(nstk, stack_.size()); in AddToQueue() 833 id = stk[--nstk]; in AddToQueue() 870 stk[nstk++] = id+1; in AddToQueue() 878 stk[nstk++] = Mark; in AddToQueue() 889 stk[nstk++] = id+1; in AddToQueue()
|