Home | History | Annotate | Download | only in lib

Lines Matching refs:arca

431   void AddArc(StateId s, const A &arca, const A &arcb, int f,
436 arc.olabel = arca.olabel;
437 arc.weight = Times(arcb.weight, arca.weight);
438 StateTuple tuple(arcb.nextstate, arca.nextstate, f);
441 arc.ilabel = arca.ilabel;
443 arc.weight = Times(arca.weight, arcb.weight);
444 StateTuple tuple(arca.nextstate, arcb.nextstate, f);
485 const A &arca = aitera.Value();
486 Label match_labela = find_input ? arca.ilabel : arca.olabel;
499 AddArc(s, arca, arcb, 0, find_input);
503 AddArc(s, arca, earcb, 0, find_input); // move forward on epsilon
515 const A &arca = aitera.Value();
516 Label match_labela = find_input ? arca.ilabel : arca.olabel;
519 AddArc(s, arca, arcb, 0, find_input); // move forward on match
526 A arca = aitera.Value();
527 Label labela = find_input ? arca.ilabel : arca.olabel;
537 while (labela == kPhiLabel && sf != arca.nextstate) {
538 sf = arca.nextstate;
551 arca = aiterf.Value();
552 labela = find_input ? arca.ilabel : arca.olabel;
557 if (labela == kPhiLabel && sf == arca.nextstate) {
569 arca.ilabel = match_labelb;
570 if (arca.olabel == kRhoLabel)
571 arca.olabel = match_labelb;
573 arca.olabel = match_labelb;
574 if (arca.ilabel == kRhoLabel)
575 arca.ilabel = match_labelb;
577 AddArc(s, arca, arcb, 0, find_input); // move fwd on match