/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | dfa_test.cc | 46 static void DoBuild(Prog* prog) { in DoBuild() 47 ASSERT_TRUE(prog->BuildEntireDFA(Prog::kFirstMatch, nullptr)); in DoBuild() 61 Prog* prog = re->CompileToProg(0); in TEST() 72 Prog* prog = re->CompileToProg(0); in TEST() 82 prog->BuildEntireDFA(Prog::kFirstMatch, nullptr); in TEST() 103 Prog* prog = re->CompileToProg(limit); in TEST() 107 prog->BuildEntireDFA(Prog::kFirstMatch, nullptr); in TEST() 108 prog->BuildEntireDFA(Prog::kLongestMatch, nullptr); in TEST() 146 Prog::TEST_dfa_should_bail_when_slow(false); in TEST() 170 Prog* prog = re->CompileToProg(1<<n); in TEST() [all …]
|
D | tester.cc | 119 static std::string FormatKind(Prog::MatchKind kind) { in FormatKind() 121 case Prog::kFullMatch: in FormatKind() 123 case Prog::kLongestMatch: in FormatKind() 125 case Prog::kFirstMatch: in FormatKind() 127 case Prog::kManyMatch: in FormatKind() 134 static std::string FormatAnchor(Prog::Anchor anchor) { in FormatAnchor() 136 case Prog::kAnchored: in FormatAnchor() 138 case Prog::kUnanchored: in FormatAnchor() 171 TestInstance::TestInstance(const StringPiece& regexp_str, Prog::MatchKind kind, in TestInstance() 241 if (kind_ == Prog::kLongestMatch) in TestInstance() [all …]
|
D | regexp_benchmark.cc | 37 Prog* prog = re->CompileToProg(0); in Test() 43 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in Test() 66 Prog* prog = re->CompileToProg(0); in MemoryUsage() 75 CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); in MemoryUsage() 117 sizeof(PCRE), sizeof(RE2), sizeof(Prog), sizeof(Prog::Inst)); in MemoryUsage() 129 const StringPiece& text, Prog::Anchor anchor, 173 search(state, regexp, s, Prog::kUnanchored, false); in Search() 279 search(state, regexp.c_str(), s, Prog::kUnanchored, true); in SearchBigFixed() 319 search(state, regexp, s, Prog::kAnchored, true); in SearchSuccess() 390 search(state, "\\C*", s, Prog::kAnchored, true); in SearchAltMatch() [all …]
|
D | tester.h | 54 TestInstance(const StringPiece& regexp, Prog::MatchKind kind, 63 Prog::Anchor anchor); 69 Prog::Anchor anchor, 73 const StringPiece& context, Prog::Anchor anchor); 76 Prog::MatchKind kind_; // kind of match 82 Prog* prog_; // compiled program 83 Prog* rprog_; // compiled reverse program 102 Prog::Anchor anchor);
|
D | backtrack.cc | 56 explicit Backtracker(Prog* prog); 72 Prog* prog_; // program being run 89 Backtracker::Backtracker(Prog* prog) in Backtracker() 169 Prog::Inst* ip = prog_->inst(id); in Visit() 189 Prog::Inst* ip = prog_->inst(id); in Try() 218 if (ip->empty() & ~Prog::EmptyFlags(context_, p)) in Try() 246 bool Prog::UnsafeSearchBacktrack(const StringPiece& text, in UnsafeSearchBacktrack()
|
D | compile_test.cc | 124 Prog* prog = re->CompileToProg(0); in TEST() 151 Prog* prog = re->CompileToProg(0); in DumpByteMap() 158 Prog* prog = re->CompileToReverseProg(0); in DumpByteMap() 239 Prog* prog = re->CompileToProg(850); in TEST() 252 Prog* prog = re->CompileToProg(0); in Dump() 259 Prog* prog = re->CompileToReverseProg(0); in Dump()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | prog.cc | 32 void Prog::Inst::InitAlt(uint32_t out, uint32_t out1) { in InitAlt() 38 void Prog::Inst::InitByteRange(int lo, int hi, int foldcase, uint32_t out) { in InitByteRange() 46 void Prog::Inst::InitCapture(int cap, uint32_t out) { in InitCapture() 52 void Prog::Inst::InitEmptyWidth(EmptyOp empty, uint32_t out) { in InitEmptyWidth() 58 void Prog::Inst::InitMatch(int32_t id) { in InitMatch() 64 void Prog::Inst::InitNop(uint32_t out) { in InitNop() 69 void Prog::Inst::InitFail() { in InitFail() 74 std::string Prog::Inst::Dump() { in Dump() 108 Prog::Prog() in Prog() function in re2::Prog 127 Prog::~Prog() { in ~Prog() [all …]
|
D | compile.cc | 46 static void Patch(Prog::Inst *inst0, PatchList l, uint32_t v); 49 static PatchList Deref(Prog::Inst *inst0, PatchList l); 52 static PatchList Append(Prog::Inst *inst0, PatchList l1, PatchList l2); 65 PatchList PatchList::Deref(Prog::Inst* inst0, PatchList l) { in Deref() 66 Prog::Inst* ip = &inst0[l.p>>1]; in Deref() 75 void PatchList::Patch(Prog::Inst *inst0, PatchList l, uint32_t val) { in Patch() 77 Prog::Inst* ip = &inst0[l.p>>1]; in Patch() 89 PatchList PatchList::Append(Prog::Inst* inst0, PatchList l1, PatchList l2) { in Append() 103 Prog::Inst* ip = &inst0[l.p>>1]; in Append() 136 static Prog *Compile(Regexp* re, bool reversed, int64_t max_mem); [all …]
|
D | prog.h | 56 class Prog { 58 Prog(); 59 ~Prog(); 81 int id(Prog* p) { return static_cast<int>(this - p->inst_.data()); } in id() 94 bool greedy(Prog* p) { in greedy() 166 friend class Prog; variable 361 static Prog* CompileSet(Regexp* re, RE2::Anchor anchor, int64_t max_mem); 430 Prog(const Prog&) = delete; 431 Prog& operator=(const Prog&) = delete;
|
D | dfa.cc | 69 DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem); 72 Prog::MatchKind kind() { return kind_; } in kind() 95 int BuildAllStates(const Prog::DFAStateCallback& cb); 324 Prog* prog_; // The regular expression program to run. 325 Prog::MatchKind kind_; // The kind of DFA. 423 DFA::DFA(Prog* prog, Prog::MatchKind kind, int64_t max_mem) in DFA() 433 if (kind_ == Prog::kLongestMatch) in DFA() 611 if (sawmatch && (kind_ == Prog::kFirstMatch || q->is_mark(id))) in WorkqToCachedState() 620 Prog::Inst* ip = prog_->inst(id); in WorkqToCachedState() 627 if (kind_ != Prog::kManyMatch && in WorkqToCachedState() [all …]
|
D | re2.cc | 244 re2::Prog* RE2::ReverseProg() const { in ReverseProg() 285 Prog* prog = ReverseProg(); in ReverseProgramSize() 313 static int Fanout(Prog* prog, std::vector<int>* histogram) { in Fanout() 341 Prog* prog = ReverseProg(); in ReverseProgramFanout() 686 Prog::Anchor anchor = Prog::kUnanchored; in GlobalReplace() 687 Prog::MatchKind kind = Prog::kFirstMatch; in GlobalReplace() 689 kind = Prog::kLongestMatch; in GlobalReplace() 691 bool can_one_pass = (is_one_pass_ && ncap <= Prog::kMaxOnePassCapture); in GlobalReplace() 716 Prog* prog = ReverseProg(); in GlobalReplace() 722 if (!prog->SearchDFA(subtext, text, Prog::kAnchored, in GlobalReplace() [all …]
|
D | nfa.cc | 49 NFA(Prog* prog); 115 Prog* prog_; // underlying program 133 NFA::NFA(Prog* prog) { in NFA() 239 Prog::Inst* ip = prog_->inst(id); in AddToThreadq() 316 if (ip->empty() & ~Prog::EmptyFlags(context, p)) in AddToThreadq() 349 Prog::Inst* ip = prog_->inst(id); in Step() 540 Prog::Inst* ip = prog_->inst(id); in Search() 632 Prog::SearchNFA(const StringPiece& text, const StringPiece& context, in SearchNFA() 660 void Prog::Fanout(SparseArray<int>* fanout) { in Fanout() 671 Prog::Inst* ip = inst(id); in Fanout()
|
D | bitstate.cc | 41 explicit BitState(Prog* prog); 56 Prog* prog_; // program being run 76 BitState::BitState(Prog* prog) in BitState() 168 Prog::Inst* ip = prog_->inst(id); in TrySearch() 221 if (ip->empty() & ~Prog::EmptyFlags(context_, p)) in TrySearch() 356 bool Prog::SearchBitState(const StringPiece& text, in SearchBitState()
|
D | set.h | 15 class Prog; variable 70 re2::Prog* prog_;
|
D | set.cc | 100 prog_ = Prog::CompileSet(re, anchor_, options_.max_mem()); in Compile() 123 bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, Prog::kManyMatch, in Match()
|
D | onepass.cc | 188 static_assert(kMaxCap == Prog::kMaxOnePassCapture*2, in OnePass_Checks() 193 uint32_t satisfied = Prog::EmptyFlags(context, p); in Satisfy() 214 bool Prog::SearchOnePass(const StringPiece& text, in SearchOnePass() 384 bool Prog::IsOnePass() { in IsOnePass() 444 Prog::Inst* ip = inst(id); in IsOnePass()
|
D | regexp.h | 223 class Prog; variable 421 Prog* CompileToProg(int64_t max_mem); 422 Prog* CompileToReverseProg(int64_t max_mem);
|
/external/ltp/testcases/kernel/fs/doio/ |
D | rwtest | 39 Prog=${0##*/} 55 echo "$Prog: [-chq] [-N name] [ iogen options ] [ doio options ] files" >&2 208 echo "$Prog: Illegal option $1" >&2 408 echo "$Prog$Name : iogen reported errors (r=$r)" >&2 416 echo "$Prog$Name : doio reported errors (r=$r)" >&2
|
/external/llvm/tools/bugpoint/ |
D | OptimizerDriver.cpp | 179 std::string Prog; in runPasses() local 182 Prog = *Path; in runPasses() 186 Prog = tool; in runPasses() 187 if (Prog.empty()) { in runPasses() 236 int result = sys::ExecuteAndWait(Prog, Args.data(), nullptr, in runPasses()
|
/external/llvm-project/llvm/tools/bugpoint/ |
D | OptimizerDriver.cpp | 183 std::string Prog; in runPasses() local 186 Prog = *Path; in runPasses() 190 Prog = tool; in runPasses() 191 if (Prog.empty()) { in runPasses() 243 int result = sys::ExecuteAndWait(Prog, Args, None, Redirects, Timeout, in runPasses()
|
/external/clang/tools/scan-build/bin/ |
D | scan-build | 29 my $Prog = "scan-build"; 83 print BOLD, MAGENTA "$Prog: @_"; 87 print "$Prog: @_"; 93 print STDERR BOLD, RED "$Prog: "; 97 print STDERR "$Prog: @_"; 111 print STDERR BOLD, RED "$Prog: "; 116 print STDERR "$Prog: ", @_; 190 next if (!($f =~ /^$Prog-(.+)/)); 230 $NewDir = "$Dir/$Prog-$DateString-$RunNumber"; 1107 USAGE: $Prog [options] <build command> [build options]
|
/external/llvm-project/clang/tools/scan-build/bin/ |
D | scan-build | 28 my $Prog = "scan-build"; 87 print BOLD, MAGENTA "$Prog: @_"; 91 print "$Prog: @_"; 97 print STDERR BOLD, RED "$Prog: "; 101 print STDERR "$Prog: @_"; 115 print STDERR BOLD, RED "$Prog: "; 120 print STDERR "$Prog: ", @_; 194 next if (!($f =~ /^$Prog-(.+)/)); 234 $NewDir = "$Dir/$Prog-$DateString-$RunNumber"; 1179 USAGE: $Prog [options] <build command> [build options]
|
/external/starlark-go/internal/compile/ |
D | codegen_test.go | 102 switch x := f.Prog.Constants[arg].(type) { 111 fmt.Fprintf(out, " %s", f.Prog.Names[arg])
|
/external/starlark-go/starlark/ |
D | interp.go | 390 name := f.Prog.Names[arg] 402 name := f.Prog.Names[arg] 500 funcode := f.Prog.Functions[arg] 592 err = fmt.Errorf("global variable %s referenced before assignment", f.Prog.Globals[arg].Name) 599 name := f.Prog.Names[arg] 609 stack[sp] = Universe[f.Prog.Names[arg]]
|
/external/llvm-project/polly/lib/CodeGen/ |
D | PPCGCodeGeneration.cpp | 330 gpu_prog *Prog, GPURuntime Runtime, GPUArch Arch) in GPUNodeBuilder() argument 332 Prog(Prog), Runtime(Runtime), Arch(Arch) { in GPUNodeBuilder() 379 gpu_prog *Prog; member in GPUNodeBuilder 775 for (int i = 0; i < Prog->n_array; ++i) { in allocateDeviceArrays() 776 gpu_array_info *Array = &Prog->array[i]; in allocateDeviceArrays() 812 for (int i = 0; i < Prog->n_array; ++i) { in prepareManagedDeviceArrays() 813 gpu_array_info *Array = &Prog->array[i]; in prepareManagedDeviceArrays() 1635 for (long i = 0; i < Prog->n_array; i++) { in createLaunchParameters() 1639 isl_id *Id = isl_space_get_tuple_id(Prog->array[i].space, isl_dim_set); in createLaunchParameters() 1647 DevArray = getManagedDeviceArray(&Prog->array[i], in createLaunchParameters() [all …]
|