/external/regex-re2/re2/testing/ |
regexp_generator.h | 48 void GeneratePostfix(vector<string>* post, int nstk, int ops, int lits); 49 bool GenerateRandomPostfix(vector<string>* post, int nstk, int ops, int lits);
|
regexp_generator.cc | 92 // nstk: the number of elements that would be on the stack after executing 97 // then nstk = 2, ops = 1, atoms = 3. 101 void RegexpGenerator::GeneratePostfix(vector<string>* post, int nstk, 103 if (nstk == 1) 109 if (ops + nstk - 1 > maxops_) 116 GeneratePostfix(post, nstk + 1, ops, atoms + 1); 126 if (nargs <= nstk) { 128 GeneratePostfix(post, nstk - nargs + 1, ops + 1, atoms); 137 bool RegexpGenerator::GenerateRandomPostfix(vector<string> *post, int nstk, 141 if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) [all...] |
/external/regex-re2/re2/ |
nfa.cc | 196 int nstk = 0; local 198 stk[nstk++] = AddState(id0); 200 while (nstk > 0) { 201 DCHECK_LE(nstk, nastack_); 202 const AddState& a = stk[--nstk]; 242 stk[nstk++] = AddState(ip->out1()); 243 stk[nstk++] = AddState(ip->out()); 248 stk[nstk++] = AddState(ip->out()); 255 stk[nstk++] = AddState(0, capture[j], j); 260 stk[nstk++] = AddState(ip->out()) [all...] |
dfa.cc | 816 int nstk = 0; local 818 stk[nstk++] = id; 819 while (nstk > 0) { 820 DCHECK_LE(nstk, nastack_); 821 id = stk[--nstk]; 853 stk[nstk++] = ip->out(); 864 stk[nstk++] = ip->out1(); 867 stk[nstk++] = Mark; 868 stk[nstk++] = ip->out(); 873 stk[nstk++] = ip->out() [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
mprof.go | 48 nstk uintptr 99 func newBucket(typ bucketType, nstk int) *bucket { 100 size := unsafe.Sizeof(bucket{}) + uintptr(nstk)*unsafe.Sizeof(uintptr(0)) 113 b.nstk = uintptr(nstk) 120 return stk[:b.nstk:b.nstk] 128 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0))) 137 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0))) 141 // Return the bucket for stk[0:nstk], allocating new bucket if needed [all...] |
trace.go | 512 var nstk int 514 nstk = callers(skip, buf.stk[:]) 517 nstk = gcallers(gp, skip, buf.stk[:]) 519 if nstk > 0 { 520 nstk-- // skip runtime.goexit 522 if nstk > 0 && gp.goid == 1 { 523 nstk-- // skip runtime.main 525 id := trace.stackTab.put(buf.stk[:nstk])
|
heapdump.go | 571 func dumpmemprof_callback(b *bucket, nstk uintptr, pstk *uintptr, size, allocs, frees uintptr) { 576 dumpint(uint64(nstk)) 577 for i := uintptr(0); i < nstk; i++ {
|
/prebuilts/go/linux-x86/src/runtime/ |
mprof.go | 48 nstk uintptr 99 func newBucket(typ bucketType, nstk int) *bucket { 100 size := unsafe.Sizeof(bucket{}) + uintptr(nstk)*unsafe.Sizeof(uintptr(0)) 113 b.nstk = uintptr(nstk) 120 return stk[:b.nstk:b.nstk] 128 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0))) 137 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0))) 141 // Return the bucket for stk[0:nstk], allocating new bucket if needed [all...] |
trace.go | 512 var nstk int 514 nstk = callers(skip, buf.stk[:]) 517 nstk = gcallers(gp, skip, buf.stk[:]) 519 if nstk > 0 { 520 nstk-- // skip runtime.goexit 522 if nstk > 0 && gp.goid == 1 { 523 nstk-- // skip runtime.main 525 id := trace.stackTab.put(buf.stk[:nstk])
|
heapdump.go | 571 func dumpmemprof_callback(b *bucket, nstk uintptr, pstk *uintptr, size, allocs, frees uintptr) { 576 dumpint(uint64(nstk)) 577 for i := uintptr(0); i < nstk; i++ {
|
/prebuilts/go/darwin-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 435 var count, nstk uint64 437 nstk, b = parse(b) 438 if b == nil || nstk > uint64(len(b)/4) { 442 addrs := make([]uint64, nstk) 443 for i := 0; i < int(nstk); i++ { 447 if count == 0 && nstk == 1 && addrs[0] == 0 {
|
/prebuilts/go/linux-x86/src/cmd/pprof/internal/profile/ |
legacy_profile.go | 435 var count, nstk uint64 437 nstk, b = parse(b) 438 if b == nil || nstk > uint64(len(b)/4) { 442 addrs := make([]uint64, nstk) 443 for i := 0; i < int(nstk); i++ { 447 if count == 0 && nstk == 1 && addrs[0] == 0 {
|