/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
randgen.h | 31 // ARC SELECTORS - these function objects are used to select a random 74 const A &arc = aiter.Value(); local 75 sum += exp(-arc.weight.Value()); 84 const A &arc = aiter.Value(); local 85 p += exp(-arc.weight.Value()); 100 const S &arc_selector; // How an arc is selected at a state 116 template<class Arc, class ArcSelector> 117 void RandGen(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, 119 typedef typename Arc::Weight Weight [all...] |
test-properties.h | 73 template<class Arc> 74 uint64 ComputeProperties(const Fst<Arc> &fst, uint64 mask, uint64 *known, 76 typedef typename Arc::Label Label; 77 typedef typename Arc::Weight Weight; 78 typedef typename Arc::StateId StateId; 104 SccVisitor<Arc> scc_visitor(&comp_props); 121 for (StateIterator< Fst<Arc> > siter(fst); 126 Arc prev_arc(kNoLabel, kNoLabel, Weight::One(), 0); 133 for (ArcIterator< Fst<Arc> > aiter(fst, s); 136 const Arc &arc =aiter.Value() local [all...] |
union.h | 36 template <class Arc> 37 void Union(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) { 38 typedef typename Arc::StateId StateId; 39 typedef typename Arc::Label Label; 40 typedef typename Arc::Weight Weight; 51 for (StateIterator< Fst<Arc> > siter(fst2); 57 for (ArcIterator< Fst<Arc> > aiter(fst2, s2); 60 Arc arc = aiter.Value() local [all...] |
shortest-distance.h | 33 template <class Arc, class Queue, class ArcFilter> 35 typedef typename Arc::StateId StateId; 38 ArcFilter arc_filter; // Arc filter (e.g., limit to only epsilon graph) 54 template<class Arc, class Queue, class ArcFilter> 57 typedef typename Arc::StateId StateId; 58 typedef typename Arc::Weight Weight; 61 const Fst<Arc> &fst, 63 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts, 78 const Fst<Arc> *fst_; 93 template <class Arc, class Queue, class ArcFilter 144 const Arc &arc = aiter.Value(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasPathMethods.cpp | 140 /* http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#dom-context-2d-arc 143 * then the arc is the whole circumference of this ellipse, and the point at startAngle along this circle's circumference, 152 * Otherwise, the arc is the path along the circumference of this ellipse from the start point to the end point, 155 * the arc can never cover an angle greater than 2pi radians. 158 * We draw the entire circle, because some web sites use arc(x, y, r, 0, 2*Math.PI, true) to draw circle. 236 // First, if the object's path has any subpaths, then the method must add a straight line from the last point in the subpath to the start point of the arc. 257 void CanvasPathMethods::arc(float x, float y, float radius, float startAngle, float endAngle, bool anticlockwise, ExceptionState& exceptionState) function in class:WebCore::CanvasPathMethods 271 // The arc is empty but we still need to draw the connecting line.
|
/external/lzma/CPP/7zip/UI/Common/ |
Extract.cpp | 19 const CArc &arc,
29 IInArchive *archive = arc.Archive;
39 RINOK(arc.GetItemPath(i, filePath));
56 outDir.Replace(L"*", GetCorrectFsPath(arc.DefaultName));
75 &arc,
240 CArc &arc = archiveLink.Arcs.Back();
local 241 arc.MTimeDefined = (!options.StdInMode && !fi.IsDevice);
242 arc.MTime = fi.MTime;
245 RINOK(DecompressArchive(arc,
|
LoadCodecs.h | 220 const CArcInfoEx &arc = Formats[i];
local 221 if (!arc.UpdateEnabled)
223 if (arc.Name.CompareNoCase(name) == 0)
|
/external/openfst/src/include/fst/extensions/pdt/ |
info.h | 41 typedef A Arc; 108 const A &arc = aiter.Value(); local 111 = paren_map.find(arc.ilabel); 115 if (arc.ilabel == open_paren) { 121 if (!open_paren_state_set.count(arc.nextstate)) { 123 open_paren_state_set.insert(arc.nextstate); 149 cout << "arc type" << pdtinfo.ArcType().c_str() << endl;
|
replace.h | 50 template <class Arc> 51 void Replace(const vector<pair<typename Arc::Label, 52 const Fst<Arc>* > >& ifst_array, 53 MutableFst<Arc> *ofst, 54 vector<pair<typename Arc::Label, 55 typename Arc::Label> > *parens, 56 typename Arc::Label root) { 57 typedef typename Arc::Label Label; 58 typedef typename Arc::StateId StateId; 59 typedef typename Arc::Weight Weight 108 Arc arc = aiter.Value(); local 153 Arc arc = aiter->Value(); local [all...] |
/external/openfst/src/include/fst/ |
prune.h | 44 // Arc filter. 99 template <class Arc, class ArcFilter> 100 void Prune(MutableFst<Arc> *fst, 101 const PruneOptions<Arc, ArcFilter> &opts) { 102 typedef typename Arc::Weight Weight; 103 typedef typename Arc::StateId StateId; 153 for (MutableArcIterator< MutableFst<Arc> > ait(fst, s); 156 Arc arc = ait.Value(); local 157 if (!opts.filter(arc)) continue 282 const Arc &arc = ait.Value(); local [all...] |
shortest-distance.h | 38 template <class Arc, class Queue, class ArcFilter> 40 typedef typename Arc::StateId StateId; 43 ArcFilter arc_filter; // Arc filter (e.g., limit to only epsilon graph) 71 template<class Arc, class Queue, class ArcFilter> 74 typedef typename Arc::StateId StateId; 75 typedef typename Arc::Weight Weight; 78 const Fst<Arc> &fst, 80 const ShortestDistanceOptions<Arc, Queue, ArcFilter> &opts, 96 const Fst<Arc> &fst_; 115 template <class Arc, class Queue, class ArcFilter 181 const Arc &arc = aiter.Value(); local [all...] |
string.h | 38 typedef A Arc; 101 fst->AddArc(i, Arc(labels[i], labels[i], Weight::One(), i + 1)); 161 typedef A Arc; 225 const A& arc = aiter.Value(); local 226 labels_.push_back(arc.olabel); 228 s = arc.nextstate;
|
visit.h | 40 // template <class Arc> 43 // typedef typename Arc::StateId StateId; 47 // void InitVisit(const Fst<Arc> &fst); 50 // // Invoked when arc to white/undiscovered state examined 51 // bool WhiteArc(StateId s, const Arc &a); 52 // // Invoked when arc to grey/unfinished state examined 53 // bool GreyArc(StateId s, const Arc &a); 54 // // Invoked when arc to black/finished state examined 55 // bool BlackArc(StateId s, const Arc &a); 68 template <class Arc, class V, class Q, class ArcFilter 137 const Arc &arc = aiter->Value(); local [all...] |
relabel.h | 79 A arc = aiter.Value(); local 84 input_map.find(arc.ilabel); 87 FSTERROR() << "Input symbol id " << arc.ilabel 92 arc.ilabel = it->second; 96 it = output_map.find(arc.olabel); 99 FSTERROR() << "Output symbol id " << arc.olabel 104 arc.olabel = it->second; 107 aiter.SetValue(arc); 206 typedef A Arc; 333 return FstImpl<Arc>::Properties(mask) 345 A arc = aiter.Value(); local [all...] |
shortest-path.h | 39 template <class Arc, class Queue, class ArcFilter> 41 : public ShortestDistanceOptions<Arc, Queue, ArcFilter> { 42 typedef typename Arc::StateId StateId; 43 typedef typename Arc::Weight Weight; 60 : ShortestDistanceOptions<Arc, Queue, ArcFilter>(q, filt, kNoStateId, d), 70 // such as the queue discipline, the arc filter and delta. 77 template<class Arc, class Queue, class ArcFilter> 78 void SingleShortestPath(const Fst<Arc> &ifst, 79 MutableFst<Arc> *ofst, 80 vector<typename Arc::Weight> *distance 158 const Arc &arc = aiter.Value(); local 448 const ReverseArc &arc = aiter.Value(); local [all...] |
synchronize.h | 64 typedef A Arc; 164 return FstImpl<Arc>::Properties(mask); 246 const A &arc = ait.Value(); local 247 if (!Empty(e.istring, arc.ilabel) && !Empty(e.ostring, arc.olabel)) { 248 const String *istring = Cdr(e.istring, arc.ilabel); 249 const String *ostring = Cdr(e.ostring, arc.olabel); 250 StateId d = FindState(Element(arc.nextstate, istring, ostring)); 251 PushArc(s, Arc(Car(e.istring, arc.ilabel) [all...] |
/external/openfst/src/include/fst/script/ |
compile-impl.h | 48 typedef A Arc; 86 Arc arc; local 96 arc.nextstate = d = StrToStateId(col[1]); 97 arc.ilabel = StrToILabel(col[2]); 98 arc.olabel = arc.ilabel; 99 arc.weight = Weight::One(); 100 fst_.AddArc(s, arc); 103 arc.nextstate = d = StrToStateId(col[1]) [all...] |
print-impl.h | 40 typedef A Arc; 99 PrintId(l, isyms_, "arc input label"); 103 PrintId(l, osyms_, "arc output label"); 111 Arc arc = aiter.Value(); local 114 PrintStateId(arc.nextstate); 116 PrintILabel(arc.ilabel); 119 PrintOLabel(arc.olabel); 121 if (show_weight_one_ || arc.weight != Weight::One()) 122 *ostrm_ << FLAGS_fst_field_separator[0] << arc.weight [all...] |
draw-impl.h | 38 typedef A Arc; 153 PrintId(l, isyms_, "arc input label"); 157 PrintId(l, osyms_, "arc output label"); 189 Arc arc = aiter.Value(); local 193 Print(arc.nextstate); 195 PrintILabel(arc.ilabel); 198 PrintOLabel(arc.olabel); 200 if (show_weight_one_ || (arc.weight != Weight::One())) { 202 Print(arc.weight) [all...] |
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
grammar.h | 12 /* A label of an arc */ 28 /* An arc from one state to another */ 31 short a_lbl; /* Label of this arc */ 32 short a_arrow; /* State where this arc goes to */ 33 } arc; typedef in typeref:struct:__anon60457 39 arc *s_arc; /* Array of arcs */
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
grammar.h | 12 /* A label of an arc */ 28 /* An arc from one state to another */ 31 short a_lbl; /* Label of this arc */ 32 short a_arrow; /* State where this arc goes to */ 33 } arc; typedef in typeref:struct:__anon60580 39 arc *s_arc; /* Array of arcs */
|
/external/lzma/CPP/7zip/UI/Console/ |
Main.cpp | 253 const CArcInfoEx &arc = codecs->Formats[i];
local 255 if (arc.LibIndex >= 0)
258 ConvertUInt32ToString(arc.LibIndex, s);
265 stdStream << (char)(arc.UpdateEnabled ? 'C' : ' ');
266 stdStream << (char)(arc.KeepName ? 'K' : ' ');
268 PrintString(stdStream, arc.Name, 6);
271 for (int t = 0; t < arc.Exts.Size(); t++)
273 const CArcExtInfo &ext = arc.Exts[t];
285 const CByteBuffer &sig = arc.StartSignature;
|
/external/openfst/src/test/ |
fst_test.h | 43 typedef typename F::Arc Arc; 44 typedef typename Arc::StateId StateId; 45 typedef typename Arc::Weight Weight; 46 typedef typename Arc::Label Label; 49 VectorFst<Arc> vfst; 80 const Arc &arc = aiter.Value(); local 81 CHECK_EQ(arc.ilabel, na); 82 CHECK_EQ(arc.olabel, 0) 137 Arc arc = aiter.Value(); local [all...] |
/external/srec/srec/Grammar/src/ |
SR_GrammarImpl.c | 714 fst->FSMarc_list[i].cost |= DISABLEcostdata; /* disable this arc */ 718 /* pfprintf(PSTDOUT, "enabling arc %d for %d %s\n", 720 fst->FSMarc_list[i].cost &= ~(DISABLEcostdata); /* enable this arc */ 727 FSMarc* arc; local 739 for (j = fst->FSMnode_list[node].un_ptr.first_next_arc; j != MAXarcID; j = arc->linkl_next_arc) 741 arc = &fst->FSMarc_list[j]; 742 if (arc->cost < mincost) mincost = arc->cost; 767 fst->FSMarc_list[i].cost &= ~(DISABLEcostdata); /* enable this arc */
|
/external/srec/tools/grxmlcompile/ |
fst-io.h | 27 // on the arc type to support multiple and extensible arc types. 43 typedef A Arc; 100 PrintId(l, isyms_, "arc input label"); 104 PrintId(l, osyms_, "arc output label"); 112 Arc arc = aiter.Value(); local 115 PrintStateId(arc.nextstate); 117 PrintILabel(arc.ilabel); 120 PrintOLabel(arc.olabel) 239 Arc arc; local [all...] |