OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nstk
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/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/chromium_org/third_party/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
818
int
nstk
= 0;
local
820
stk[
nstk
++] = id;
821
while (
nstk
> 0) {
822
DCHECK_LE(
nstk
, nastack_);
823
id = stk[--
nstk
];
855
stk[
nstk
++] = ip->out();
866
stk[
nstk
++] = ip->out1();
869
stk[
nstk
++] = Mark;
870
stk[
nstk
++] = ip->out();
875
stk[
nstk
++] = ip->out()
[
all
...]
Completed in 40 milliseconds