| /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...] |
| sub_grph.h | 133 delete arc[ii]; 135 delete [] arc; 215 NUANArc **arc; member in class:SubGraph
|
| /external/srec/tools/thirdparty/OpenFst/fst/lib/ |
| const-fst.h | 31 // Arc definition. 80 // Provide information needed for the generic arc iterator 149 const A &arc = aiter.Value(); local 151 if (arc.ilabel == 0) 153 if (arc.olabel == 0) 155 arcs_[pos++] = arc; 229 typedef A Arc;
|
| relabel.h | 66 A arc = aiter.Value(); local 71 input_map.find(arc.ilabel); 72 if (it != input_map.end()) {arc.ilabel = it->second; } 75 it = output_map.find(arc.olabel); 76 if (it != output_map.end()) { arc.olabel = it->second; } 78 aiter.SetValue(arc); 275 A arc = aiter.Value(); local 280 input_map_.find(arc.ilabel); 281 if (it != input_map_.end()) { arc.ilabel = it->second; } 287 output_map_.find(arc.olabel) [all...] |
| shortest-path.h | 32 template <class Arc, class Queue, class ArcFilter> 34 : public ShortestDistanceOptions<Arc, Queue, ArcFilter> { 35 typedef typename Arc::StateId StateId; 44 : ShortestDistanceOptions<Arc, Queue, ArcFilter>(q, filt, kNoStateId, d), 53 // such as the queue discipline, the arc filter and delta. 60 template<class Arc, class Queue, class ArcFilter> 61 void SingleShortestPath(const Fst<Arc> &ifst, 62 MutableFst<Arc> *ofst, 63 vector<typename Arc::Weight> *distance, 64 ShortestPathOptions<Arc, Queue, ArcFilter> &opts) 115 const Arc &arc = aiter.Value(); local [all...] |
| cache.h | 53 // garbage collection of states (not in use in an arc iterator) is 61 using FstImpl<typename S::Arc>::Type; 66 typedef typename S::Arc Arc; 67 typedef typename Arc::Weight Weight; 68 typedef typename Arc::StateId StateId; 140 cache_first_state_->arcs.capacity() * sizeof(Arc); 170 void AddArc(StateId s, const Arc &arc) { 172 state->arcs.push_back(arc); 181 const Arc &arc = arcs[a]; local [all...] |
| factor-weight.h | 145 typedef A Arc; 259 const A &arc = ait.Value(); local 260 Weight w = Times(e.weight, arc.weight); 263 StateId d = FindState(Element(arc.nextstate, Weight::One())); 264 this->AddArc(s, Arc(arc.ilabel, arc.olabel, w, d)); 268 StateId d = FindState(Element(arc.nextstate, 270 this->AddArc(s, Arc(arc.ilabel, arc.olabel, p.first, d)) [all...] |
| minimize.h | 79 // # arcs are equal, check for arc match 213 // allocate arc iterator queue 220 // Prep priority queue. Open arc iterator for each state in C, and 229 // Now pop arc iterator from queue, split entering equivalence class 240 const RevA& arc = aiter->Value(); local 242 Label from_label = arc.ilabel; 283 // Priority queue of open arc iterators for all states in the 'splitter' 334 // invoked when tree arc examined (to undiscoverted state) 335 bool TreeArc(StateId s, const A& arc) { 339 // invoked when back arc examined (to unfinished state 458 A arc = aiter.Value(); local [all...] |
| queue.h | 286 // This constructor computes the top. order. It accepts an arc filter 289 template <class Arc, class ArcFilter> 291 TopOrderQueue(const Fst<Arc> &fst, ArcFilter filter) 295 TopOrderVisitor<Arc> top_order_visitor(&order_, &acyclic); 504 template <class Arc, class ArcFilter> 505 AutoQueue(const Fst<Arc> &fst, const vector<typename Arc::Weight> *distance, 507 typedef typename Arc::Weight Weight; 525 SccVisitor<Arc> scc_visitor(&scc_, 0, 0, &props); 615 template <class Arc, class ArcFilter, class Less 666 const Arc &arc = ait.Value(); local [all...] |
| rmepsilon.h | 38 template <class Arc, class Queue> 40 : public ShortestDistanceOptions<Arc, Queue, EpsilonArcFilter<Arc> > { 41 typedef typename Arc::StateId StateId; 46 : ShortestDistanceOptions<Arc, Queue, EpsilonArcFilter<Arc> >( 47 q, EpsilonArcFilter<Arc>(), kNoStateId, d), connect(c) {} 53 template <class Arc, class Queue> 56 typedef typename Arc::Label Label; 57 typedef typename Arc::StateId StateId 152 Arc arc = ait.Value(); local [all...] |
| synchronize.h | 51 typedef A Arc; 215 const A &arc = ait.Value(); local 216 if (!Empty(e.istring, arc.ilabel) && !Empty(e.ostring, arc.olabel)) { 217 const String *istring = Cdr(e.istring, arc.ilabel); 218 const String *ostring = Cdr(e.ostring, arc.olabel); 219 StateId d = FindState(Element(arc.nextstate, istring, ostring)); 220 AddArc(s, Arc(Car(e.istring, arc.ilabel), 221 Car(e.ostring, arc.olabel), arc.weight, d)) [all...] |
| determinize.h | 201 // It is templated on the arc type A and the common divisor C. 312 const A &arc = aiter.Value(); local 313 Element dest_element(arc.nextstate, 314 Times(src_element.weight, arc.weight)); 315 Subset* &dest_subset = (*label_map)[arc.ilabel]; 323 // Adds an arc from state S to the destination state associated 326 A arc; local 327 arc.ilabel = label; 328 arc.olabel = label; 329 arc.weight = Weight::Zero() [all...] |
| map.h | 35 // A final weight is mapped to an arc to the superfinal state 40 // A final weight is mapped to an arc to the superfinal state 52 // // Maps an arc type A to arc type B. 53 // B operator()(const A &arc); 78 // Maps an arc type A using a mapper function object C, passed 100 const A &arc = aiter.Value(); local 101 aiter.SetValue((*mapper)(arc)); 146 // Maps an arc type A using a mapper function object C, passed 154 // Maps an arc type A to an arc type B using mapper functio [all...] |
| replace.h | 31 // By default ReplaceFst will copy the input label of the 'replace arc'. 33 // create an epsilon arc when recursing into the appropriate Fst. 76 typedef A Arc; 179 // an arc from each state (representing the fst) to the 186 const A& arc = aiter.Value(); local 189 nonterminal_hash_.find(arc.olabel); 192 depfst.AddArc(i - 1, A(arc.olabel, arc.olabel, Weight::One(), j)); 272 // return the base arc iterator, if arcs have not been computed yet, 318 const Arc& arc = aiter.Value() local [all...] |
| /external/lzma/CPP/7zip/UI/Common/ |
| OpenArchive.cpp | 404 CArc arc;
local 405 arc.Path = filePath;
406 arc.SubfileIndex = (UInt32)(Int32)-1;
407 RINOK(arc.OpenStreamOrFile(codecs, formatIndex, stdInMode, stream, callback));
408 Arcs.Add(arc);
412 const CArc &arc = Arcs.Back();
local 419 RINOK(arc.Archive->GetArchiveProperty(kpidMainSubfile, &prop));
425 RINOK(arc.Archive->GetNumberOfItems(&numItems));
432 if (arc.Archive->QueryInterface(IID_IInArchiveGetStream, (void **)&getStream) != S_OK || !getStream)
444 RINOK(arc.GetItemPath(mainSubfile, arc2.Path)); [all...] |
| LoadCodecs.cpp | 431 const CArcInfo &arc = *g_Arcs[i];
local 433 item.Name = arc.Name;
434 item.CreateInArchive = arc.CreateInArchive;
435 item.CreateOutArchive = arc.CreateOutArchive;
436 item.AddExts(arc.Ext, arc.AddExt);
437 item.UpdateEnabled = (arc.CreateOutArchive != 0);
438 item.KeepName = arc.KeepName;
441 SetBuffer(item.StartSignature, arc.Signature, arc.SignatureSize); 466 const CArcInfoEx &arc = Formats[i]; local [all...] |
| Update.cpp | 514 const CArc &arc,
519 IInArchive *archive = arc.Archive;
526 RINOK(arc.GetItemPath(i, ai.Name));
529 RINOK(arc.GetItemMTime(i, ai.MTime, ai.MTimeDefined));
706 CArc &arc = arcLink.Arcs.Back();
local 707 arc.MTimeDefined = !fi.IsDevice;
708 arc.MTime = fi.MTime;
|
| /external/srec/tools/test_g2g/ |
| test_g2g.c | 249 FSMarc* arc = &fst->FSMarc_list[i]; local 250 nodeID fr_node = arc->fr_node; 252 ilabels_following[0] = arc->ilabel; 255 for( ; fr_node!=fst->start_node; fr_node=arc->fr_node) { 258 for( ; iarc!=MAXarcID; iarc=arc->linkl_prev_arc) { 259 arc = &fst->FSMarc_list[iarc]; 260 if(arc->fr_node != fr_node) break; 266 if(arc->ilabel == WORD_BOUNDARY) break; 267 ilabels_preceding[num_ilabels_preceding++] = arc->ilabel; 269 arc = &fst->FSMarc_list[i] [all...] |
| /frameworks/base/libs/hwui/ |
| PathCache.h | 140 struct Arc { 146 } arc; member in union:android::uirenderer::PathDescription::Shape
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
| QuickDraw_Graphics_Suite.py | 18 class arc(aetools.ComponentItem): class in inherits:aetools.ComponentItem 19 """arc - An arc """ 22 """arc angle - the angle of the arc in degrees """ 26 """bounds - the smallest rectangle that contains the entire arc """ 30 """definition rect - the rectangle that contains the circle or oval used to define the arc """ 54 """start angle - the angle that defines the start of the arc, in degrees """ 62 arcs = arc 229 arc._superclassnames = [ [all...] |
| /external/chromium_org/third_party/skia/tests/ |
| PathOpsAngleIdeas.cpp | 43 SkDQuad arc = arcRef; local 45 arc[0] += offset; 46 arc[1] += offset; 47 arc[2] += offset; 49 i.intersect(arc, quad); 58 i.intersect(arc, quad); 62 i.intersect(arc, quad); [all...] |
| /external/lzma/CPP/7zip/UI/Console/ |
| List.cpp | 181 HRESULT PrintItemInfo(const CArc &arc, UInt32 index, bool techMode);
285 HRESULT CFieldPrinter::PrintItemInfo(const CArc &arc, UInt32 index, bool techMode)
305 RINOK(arc.GetItemPath(index, s));
310 RINOK(arc.Archive->GetProperty(index, fieldInfo.PropID, &prop));
321 RINOK(IsArchiveItemFolder(arc.Archive, index, isFolder));
504 const CArc &arc = archiveLink.Arcs[i];
local 507 PrintPropPair(L"Path", arc.Path);
508 PrintPropPair(L"Type", codecs->Formats[arc.FormatIndex].Name);
509 if (!arc.ErrorMessage.IsEmpty())
510 PrintPropPair(L"Error", arc.ErrorMessage); 564 const CArc &arc = archiveLink.Arcs.Back(); local [all...] |
| /external/skia/tests/ |
| PathOpsAngleIdeas.cpp | 43 SkDQuad arc = arcRef; local 45 arc[0] += offset; 46 arc[1] += offset; 47 arc[2] += offset; 49 i.intersect(arc, quad); 58 i.intersect(arc, quad); 62 i.intersect(arc, quad); [all...] |
| /external/srec/srec/crec/ |
| astar.c | 89 /* the arc token is NULL for partial paths just starting; but 1013 arc_token* arc = parp1->arc_for_wtoken; local [all...] |