Searched refs:state_ (Results 1 - 25 of 798) sorted by last modified time

1234567891011>>

/external/webp/src/dec/
H A Didec.c66 DecState state_; // current decoding state member in struct:WebPIDecoder
96 if (idec->state_ == STATE_WEBP_HEADER) {
105 assert(dec != NULL); // Must be true as idec->state_ != STATE_WEBP_HEADER.
247 idec->state_ = STATE_DONE;
252 idec->state_ = STATE_DONE;
276 if (idec->state_ == STATE_VP8_DATA) {
282 idec->state_ = STATE_ERROR;
289 idec->state_ = new_state;
355 idec->state_ = STATE_VP8_PARTS0;
428 idec->state_
[all...]
H A Dvp8l.c817 if (pos == end) dec->state_ = READ_DATA;
934 if (src == src_end) dec->state_ = READ_DATA;
1051 dec->state_ = READ_DIM;
1145 dec->state_ = READ_HDR;
1336 dec->state_ = READ_DIM;
H A Dvp8li.h59 VP8LDecodeState state_; member in struct:VP8LDecoder
/external/webp/src/demux/
H A Ddemux.c64 WebPDemuxState state_; member in struct:WebPDemuxer
448 dmux->state_ = WEBP_DEMUX_PARSED_HEADER;
585 dmux->state_ = WEBP_DEMUX_PARSED_HEADER;
598 if (dmux->state_ == WEBP_DEMUX_PARSING_HEADER) return 1;
601 if (dmux->state_ == WEBP_DEMUX_DONE && frame == NULL) return 0;
633 if (dmux->state_ == WEBP_DEMUX_PARSING_HEADER) return 1;
637 if (dmux->state_ == WEBP_DEMUX_DONE && dmux->frames_ == NULL) return 0;
666 if (dmux->state_ == WEBP_DEMUX_DONE) return 0;
696 dmux->state_ = WEBP_DEMUX_PARSING_HEADER;
740 if (status == PARSE_OK) dmux->state_
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dcache.h436 state_ = fst.impl_->ExtendState(s);
437 ++state_->ref_count;
440 ~CacheArcIterator() { --state_->ref_count; }
442 bool Done() const { return i_ >= state_->arcs.size(); }
444 const Arc& Value() const { return state_->arcs[i_]; }
453 const State *state_; member in class:fst::CacheArcIterator
H A Dmap.h769 state_ = fst_->AddState();
770 fst_->SetStart(state_);
771 fst_->SetFinal(state_, AW::One());
801 for(ssize_t i = 0, p = state_;
804 n = i == w1.Size() - 1 ? state_ : fst_->AddState();
843 StateId state_; member in struct:fst::GallicToNewSymbolsMapper
H A Dqueue.h293 order_(0), state_(0) {
299 state_.resize(order_.size(), kNoStateId);
306 order_(order), state_(order.size(), kNoStateId) {}
308 StateId Head() const { return state_[front_]; }
314 state_[order_[s]] = s;
318 state_[front_] = kNoStateId;
319 while ((front_ <= back_) && (state_[front_] == kNoStateId)) ++front_;
327 for (StateId i = front_; i <= back_; ++i) state_[i] = kNoStateId;
336 vector<StateId> state_; member in class:fst::TopOrderQueue
H A Dvector-fst.h731 state_ = fst->impl_->GetState(s);
735 virtual bool Done() const { return i_ >= state_->arcs.size(); }
737 virtual const A& Value() const { return state_->arcs[i_]; }
746 A& oarc = state_->arcs[i_];
750 --state_->niepsilons;
756 --state_->noepsilons;
765 ++state_->niepsilons;
771 ++state_->noepsilons;
781 struct VectorState<A> *state_; member in class:fst::MutableArcIterator
/external/protobuf/src/google/protobuf/stubs/
H A Donce_unittest.cc51 state_ = INIT_NOT_STARTED;
143 return state_;
157 State state_; member in class:google::protobuf::__anon29003::OnceInitTest
163 EXPECT_EQ(INIT_NOT_STARTED, state_);
164 state_ = INIT_STARTED;
169 state_ = INIT_DONE;
/external/protobuf/gtest/include/gtest/internal/
H A Dgtest-internal.h766 explicit Random(UInt32 seed) : state_(seed) {}
768 void Reseed(UInt32 seed) { state_ = seed; }
775 UInt32 state_; member in class:testing::internal::Random
/external/protobuf/gtest/src/
H A Dgtest.cc263 state_ = (1103515245U*state_ + 12345U) % kMaxRange;
274 return state_ % range;
/external/protobuf/gtest/test/
H A Dgtest-typed-test_test.cc181 state_.AddTestName("foo.cc", 0, "FooTest", "A");
182 state_.AddTestName("foo.cc", 0, "FooTest", "B");
183 state_.AddTestName("foo.cc", 0, "FooTest", "C");
186 TypedTestCasePState state_; member in class:TypedTestCasePStateTest
192 state_.VerifyRegisteredTestNames("foo.cc", 1, tests));
200 state_.VerifyRegisteredTestNames("foo.cc", 1, tests));
207 state_.VerifyRegisteredTestNames("foo.cc", 1, "A, B, A, C"),
213 state_.VerifyRegisteredTestNames("foo.cc", 1, "A, B, C, D"),
219 state_.VerifyRegisteredTestNames("foo.cc", 1, "A, C"),
226 state_
[all...]
/external/openfst/src/include/fst/
H A Darc-map.h876 state_ = fst_->AddState();
877 fst_->SetStart(state_);
878 fst_->SetFinal(state_, AW::One());
910 for(size_t i = 0, p = state_;
913 n = i == w1.Size() - 1 ? state_ : fst_->AddState();
960 StateId state_; member in struct:fst::GallicToNewSymbolsMapper
H A Dcache.h721 state_ = impl->ExtendState(s);
722 ++state_->ref_count;
725 ~CacheArcIterator() { --state_->ref_count; }
727 bool Done() const { return i_ >= state_->arcs.size(); }
729 const Arc& Value() const { return state_->arcs[i_]; }
746 const State *state_; member in class:fst::CacheArcIterator
767 state_ = impl_->ExtendState(s_);
768 ++state_->ref_count;
772 --state_->ref_count;
775 bool Done() const { return i_ >= state_
854 State *state_; member in class:fst::CacheMutableArcIterator
[all...]
H A Dcompact-fst.h1063 : compactor_(fst.GetImpl()->GetCompactor()), state_(s), compacts_(0),
1090 arc_ = compactor_->Expand(state_, compacts_[pos_], flags_);
1111 StateId state_; member in class:fst::ArcIterator
1131 // : fst_(fst), state_(s), pos_(0), num_arcs_(0), offset_(0),
1135 // if (fst_.GetImpl()->HasArcs(state_)) {
1170 // arc_ = fst_.GetImpl()->ComputeArc(state_, pos_ + offset_);
1173 // fst_.GetImpl()->InitArcIterator(state_, &cache_data_);
1194 // fst_.GetImpl()->InitArcIterator(state_, &cache_data_);
1199 // StateId state_;
H A Dcompose-filter.h58 IntegerFilterState() : state_(kNoStateId) {}
59 explicit IntegerFilterState(T s) : state_(s) {}
63 size_t Hash() const { return static_cast<size_t>(state_); }
66 return state_ == f.state_;
70 return state_ != f.state_;
73 T GetState() const { return state_; }
75 void SetState(T state) { state_ = state; }
78 T state_; member in class:fst::IntegerFilterState
[all...]
H A Dmatcher.h775 state_(kNoStateId),
797 state_(kNoStateId),
813 state_ = s;
825 phi_arc_ = Arc(kNoLabel, 0, Weight::One(), state_);
874 StateId state_; // State where looking for matches member in class:fst::PhiMatcher
890 matcher_->SetState(state_);
907 StateId state = state_;
H A Dqueue.h323 order_(0), state_(0) {
331 state_.resize(order_.size(), kNoStateId);
338 order_(order), state_(order.size(), kNoStateId) {}
340 StateId Head() const { return state_[front_]; }
346 state_[order_[s]] = s;
350 state_[front_] = kNoStateId;
351 while ((front_ <= back_) && (state_[front_] == kNoStateId)) ++front_;
359 for (StateId i = front_; i <= back_; ++i) state_[i] = kNoStateId;
368 vector<StateId> state_; member in class:fst::TopOrderQueue
H A Dreplace.h1057 : fst_(fst), state_(s), pos_(0), offset_(0), flags_(0), arcs_(0),
1064 !(fst_.GetImpl()->HasArcs(state_)))
1065 fst_.GetImpl()->Expand(state_);
1068 if (fst_.GetImpl()->HasArcs(state_)) {
1069 (fst_.GetImpl())->template CacheImpl<A>::InitArcIterator(state_,
1075 tuple_ = fst_.GetImpl()->GetStateTable()->Tuple(state_);
1118 // fst_.GetImpl()->Expand(state_, tuple_, local_data_);
1119 // (fst_.GetImpl())->CacheImpl<A>*>::InitArcIterator(state_,
1122 fst_.InitArcIterator(state_, &cache_data_); // Expand and cache state.
1201 if (!fst_.GetImpl()->HasArcs(state_))
1212 StateId state_; // State in the FST member in class:fst::ArcIterator
[all...]
H A Dvector-fst.h631 state_ = fst->GetImpl()->GetState(s);
635 bool Done() const { return i_ >= state_->arcs.size(); }
637 const A& Value() const { return state_->arcs[i_]; }
648 A& oarc = state_->arcs[i_];
652 --state_->niepsilons;
658 --state_->noepsilons;
669 ++state_->niepsilons;
678 ++state_->noepsilons;
712 struct VectorState<A> *state_; member in class:fst::MutableArcIterator
/external/openfst/src/include/fst/extensions/ngram/
H A Dngram-fst.h47 StateId state_; member in struct:fst::NGramFstInst
55 : state_(kNoStateId), node_state_(kNoStateId),
198 if (inst->state_ != state) {
199 inst->state_ = state;
208 if (inst->node_state_ != inst->state_) {
209 inst->node_state_ = inst->state_;
210 inst->node_ = context_index_.Select1(inst->state_);
216 if (inst->context_state_ != inst->state_) {
217 inst->context_state_ = inst->state_;
803 loop_.nextstate = inst_.state_;
[all...]
/external/openfst/src/include/fst/extensions/pdt/
H A Dshortest-path.h125 : state_(kNoStateId, kNoStateId),
143 state_ = SearchState(kNoStateId, kNoStateId);
245 if (s == state_)
251 state_ = s;
254 state_ = s;
284 mutable SearchState state_; // Last state accessed member in class:fst::PdtShortestPathData
/external/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-internal.h754 explicit Random(UInt32 seed) : state_(seed) {}
756 void Reseed(UInt32 seed) { state_ = seed; }
763 UInt32 state_; member in class:testing::internal::Random
/external/mesa3d/src/gtest/src/
H A Dgtest.cc286 state_ = (1103515245U*state_ + 12345U) % kMaxRange;
297 return state_ % range;
/external/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h783 explicit Random(UInt32 seed) : state_(seed) {}
785 void Reseed(UInt32 seed) { state_ = seed; }
792 UInt32 state_; member in class:testing::internal::Random

Completed in 4290 milliseconds

1234567891011>>