Searched refs:ofst (Results 76 - 100 of 120) sorted by relevance

12345

/external/openfst/src/include/fst/
H A Dstate-map.h130 void StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { argument
134 ofst->DeleteStates();
137 ofst->SetInputSymbols(ifst.InputSymbols());
139 ofst->SetInputSymbols(0);
142 ofst->SetOutputSymbols(ifst.OutputSymbols());
144 ofst->SetOutputSymbols(0);
149 if (iprops & kError) ofst->SetProperties(kError, kError);
155 ofst->ReserveStates(CountStates(ifst));
157 ofst->AddState();
159 ofst
177 StateMap(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) argument
[all...]
H A Ddifference.h161 MutableFst<Arc> *ofst,
168 *ofst = DifferenceFst<Arc>(ifst1, ifst2, nopts);
172 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
176 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
180 *ofst = DifferenceFst<Arc>(ifst1, ifst2, dopts);
184 Connect(ofst);
160 Difference(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, MutableFst<Arc> *ofst, const DifferenceOptions &opts = DifferenceOptions()) argument
H A Dpush.h125 MutableFst<Arc> *ofst,
130 *ofst = ifst;
131 Push(ofst, rtype, delta, ptype & kPushRemoveTotalWeight);
164 ArcMap(fwfst, ofst, FromGallicMapper<Arc, stype>());
165 ofst->SetOutputSymbols(ifst.OutputSymbols());
169 *ofst = ifst;
124 Push(const Fst<Arc> &ifst, MutableFst<Arc> *ofst, uint32 ptype, float delta = kDelta) argument
H A Darc-map.h200 void ArcMap(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { argument
204 ofst->DeleteStates();
207 ofst->SetInputSymbols(ifst.InputSymbols());
209 ofst->SetInputSymbols(0);
212 ofst->SetOutputSymbols(ifst.OutputSymbols());
214 ofst->SetOutputSymbols(0);
219 if (iprops & kError) ofst->SetProperties(kError, kError);
225 ofst->ReserveStates(CountStates(ifst) +
231 ofst->AddState();
235 superfinal = ofst
293 ArcMap(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) argument
[all...]
H A Dmutable-fst.h139 Fst<A> *ofst = Convert(*ifst, convert_type); local
141 if (!ofst) return 0;
142 if (!ofst->Properties(kMutable, false))
144 return static_cast<MutableFst *>(ofst);
H A Dvisit.h200 CopyVisitor(MutableFst<Arc> *ofst) : ifst_(0), ofst_(ofst) {} argument
H A Drandgen.h611 RandGenVisitor(MutableFst<OArc> *ofst) : ofst_(ofst) {} argument
681 void RandGen(const Fst<IArc> &ifst, MutableFst<OArc> *ofst, argument
694 *ofst = rfst;
696 RandGenVisitor<IArc, OArc> rand_visitor(ofst);
704 void RandGen(const Fst<IArc> &ifst, MutableFst<OArc> *ofst) { argument
707 RandGen(ifst, ofst, opts);
H A Dcompose.h700 MutableFst<Arc> *ofst,
707 *ofst = ComposeFst<Arc>(ifst1, ifst2, nopts);
711 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
715 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
719 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
723 Connect(ofst);
699 Compose(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, MutableFst<Arc> *ofst, const ComposeOptions &opts = ComposeOptions()) argument
/external/openfst/src/bin/
H A Dfstmap.cc92 FstClass *ofst = s::Map(*ifst, mt, FLAGS_delta, w); local
94 ofst->Write(out_name);
/external/openfst/src/script/
H A Dprune.cc42 MutableFstClass *ofst,
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta);
41 Prune(const FstClass &ifst, MutableFstClass *ofst, const WeightClass& weight_threshold, int64 state_threshold, float delta) argument
H A Dfst-class.cc103 MutableFstClass *ofst = new VectorFstClass(*ifst); local
105 return ofst;
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
H A Dobj_int_extract.c217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\
218 if(ofst + sizeof((*(dst))) > sz) goto bail;\
219 memcpy(dst, buf+ofst, sizeof((*(dst))));\
364 int parse_elf_symbol(elf_obj_t *elf, unsigned int ofst, Elf32_Sym *sym32, Elf64_Sym *sym64) { argument
366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz);
374 COPY_STRUCT(sym64, elf->buf, ofst, elf->sz);
389 unsigned int ofst; local
445 for (ofst = shdr.sh_offset;
446 ofst < shdr.sh_offset + shdr.sh_size;
447 ofst
[all...]
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\
218 if(ofst + sizeof((*(dst))) > sz) goto bail;\
219 memcpy(dst, buf+ofst, sizeof((*(dst))));\
364 int parse_elf_symbol(elf_obj_t *elf, unsigned int ofst, Elf32_Sym *sym32, Elf64_Sym *sym64) { argument
366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz);
374 COPY_STRUCT(sym64, elf->buf, ofst, elf->sz);
389 unsigned int ofst; local
445 for (ofst = shdr.sh_offset;
446 ofst < shdr.sh_offset + shdr.sh_size;
447 ofst
[all...]
/external/openfst/src/include/fst/script/
H A Drmepsilon.h137 MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); local
145 Reverse(rfst, ofst);
147 *ofst = ifst;
149 RmEpsilonHelper(ofst, &distance, args->arg4);
190 void RmEpsilon(const FstClass &ifst, MutableFstClass *ofst,
/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_demovfs.c168 off_t ofst; /* Return value from lseek() */ local
171 ofst = lseek(p->fd, iOfst, SEEK_SET);
172 if( ofst!=iOfst ){
220 off_t ofst; /* Return value from lseek() */ local
235 ofst = lseek(p->fd, iOfst, SEEK_SET);
236 if( ofst!=iOfst ){
H A Dos_os2.c824 ** Apply advisory locks for all n bytes beginning at ofst.
833 int ofst, /* Offset to first byte to be locked/unlocked */
845 area.lOffset = ofst;
1208 int ofst, /* First lock to acquire or release */
1219 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
1227 mask = (u32)((1U<<(ofst+n)) - (1U<<ofst));
1228 assert( n>1 || mask==(1<<ofst) );
1245 rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst
830 os2ShmSystemLock( os2ShmNode *pNode, int lockType, int ofst, int nByte ) argument
1206 os2ShmLock( sqlite3_file *id, int ofst, int n, int flags ) argument
[all...]
H A Dtest_devsym.c238 static int devsymShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ argument
240 return sqlite3OsShmLock(p->pReal, ofst, n, flags);
H A Dos_win.c1333 ** Apply advisory locks for all n bytes beginning at ofst.
1341 int ofst, /* Offset to first byte to be locked/unlocked */
1356 ovlp.Offset = ofst;
1592 int ofst, /* First lock to acquire or release */
1603 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
1611 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
1612 assert( n>1 || mask==(1<<ofst) );
1626 rc = winShmSystemLock(pShmNode, _SHM_UNLCK, ofst
1338 winShmSystemLock( winShmNode *pFile, int lockType, int ofst, int nByte ) argument
1590 winShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument
[all...]
H A Dos_unix.c3614 ** Apply posix advisory locks for all bytes from ofst through ofst+n-1.
3622 int ofst, /* First byte of the locking range */
3642 f.l_start = ofst;
3653 mask = (1<<(ofst+n)) - (1<<ofst);
3656 OSTRACE(("unlock %d ok", ofst));
3660 OSTRACE(("read-lock %d ok", ofst));
3665 OSTRACE(("write-lock %d ok", ofst));
3671 OSTRACE(("unlock %d failed", ofst));
3619 unixShmSystemLock( unixShmNode *pShmNode, int lockType, int ofst, int n ) argument
3996 unixShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dmap.h158 void Map(const Fst<A> &ifst, MutableFst<B> *ofst, C* mapper) { argument
162 ofst->DeleteStates();
163 ofst->SetInputSymbols(ifst.InputSymbols());
164 ofst->SetOutputSymbols(ifst.OutputSymbols());
171 ofst->AddState();
176 superfinal = ofst->AddState();
177 ofst->SetFinal(superfinal, B::Weight::One());
182 ofst->SetStart(s);
185 ofst->AddArc(s, (*mapper)(aiter.Value()));
192 ofst
231 Map(const Fst<A> &ifst, MutableFst<B> *ofst, C mapper) argument
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dshortest-path.h424 void ShortestPath(MutableFst<Arc> *ofst) { argument
425 Init(ofst);
429 if (error_) ofst->SetProperties(kError, kError);
455 void Init(MutableFst<Arc> *ofst);
486 void PdtShortestPath<Arc, Queue>::Init(MutableFst<Arc> *ofst) { argument
487 ofst_ = ofst;
488 ofst->DeleteStates();
489 ofst->SetInputSymbols(ifst_->InputSymbols());
490 ofst->SetOutputSymbols(ifst_->OutputSymbols());
779 MutableFst<Arc> *ofst,
776 ShortestPath(const Fst<Arc> &ifst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<Arc> *ofst, const PdtShortestPathOptions<Arc, Queue> &opts) argument
786 ShortestPath(const Fst<Arc> &ifst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<Arc> *ofst) argument
[all...]
H A Dcompose.h499 MutableFst<Arc> *ofst,
506 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
508 Connect(ofst);
522 MutableFst<Arc> *ofst,
529 *ofst = ComposeFst<Arc>(ifst1, ifst2, copts);
531 Connect(ofst);
495 Compose(const Fst<Arc> &ifst1, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, const Fst<Arc> &ifst2, MutableFst<Arc> *ofst, const PdtComposeOptions &opts = PdtComposeOptions()) argument
518 Compose(const Fst<Arc> &ifst1, const Fst<Arc> &ifst2, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<Arc> *ofst, const PdtComposeOptions &opts = PdtComposeOptions()) argument
H A Dexpand.h379 // Writes the result in 'ofst'.
380 void Expand(MutableFst<A> *ofst, const Weight &threshold);
466 bool keep_parentheses_; // Keep parentheses in ofst?
471 vector<Weight> distance_; // Distance from initial state in efst_/ofst
472 vector<Weight> fdistance_; // Distance to final states in efst_/ofst
474 vector<uint8> flags_; // Status flags for states in efst_/ofst
869 // Writes the result in 'ofst'.
872 MutableFst<A> *ofst, const typename A::Weight &threshold) {
873 ofst_ = ofst;
936 MutableFst<Arc> *ofst,
871 Expand( MutableFst<A> *ofst, const typename A::Weight &threshold) argument
933 Expand( const Fst<Arc> &ifst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<Arc> *ofst, const ExpandOptions<Arc> &opts) argument
965 Expand( const Fst<Arc> &ifst, const vector<pair<typename Arc::Label, typename Arc::Label> > &parens, MutableFst<Arc> *ofst, bool connect = true, bool keep_parentheses = false) argument
[all...]
/external/srec/tools/make_cfst/
H A Dmake_cfst.cpp229 fst::StdVectorFst* ofst = &myCfst; local
240 ofst = &fst2;
262 ofst->Write((const char*)cfstFilename);
/external/libhevc/decoder/
H A Dihevcd_parse_headers.c212 WORD32 ofst; local
219 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom);
220 ofst = value - ofst + shift;
222 ps_wt_ofst->i2_chroma_offset_l0_cb[i] = CLIP_S8(ofst);
229 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom);
230 ofst = value - ofst + shift;
232 ps_wt_ofst->i2_chroma_offset_l0_cr[i] = CLIP_S8(ofst);
289 WORD32 ofst; local
[all...]

Completed in 4948 milliseconds

12345