Home
last modified time | relevance | path

Searched refs:state_ (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/oss/src/utils/
A DThreadExecutor.cc26 state_(State::Free) in ThreadExecutor()
33 while (!state_.compare_exchange_strong(expected, State::Shutdown)) in ~ThreadExecutor()
61 if (state_.compare_exchange_strong(expected, State::Locked)) in execute()
66 state_ = State::Free; in execute()
79 if (state_.compare_exchange_strong(expected, State::Locked)) in detach()
85 state_ = State::Free; in detach()
A DThreadExecutor.h37 std::atomic<State> state_; variable
/AliOS-Things-master/components/amp/libjs/init/
A Dpromise.js107 var settled = owner.state_;
177 if (promise.state_ === PENDING) {
178 promise.state_ = SEALED;
186 if (promise.state_ === PENDING) {
187 promise.state_ = SEALED;
204 promise.state_ = FULFILLED;
209 promise.state_ = REJECTED;
231 state_: PENDING, property in Promise
243 if (this.state_ === FULFILLED || this.state_ === REJECTED) {
/AliOS-Things-master/components/amp/libjs/
A Dinit.js1state_,o=n.data_,r=t[e],i=t.then;if("function"==typeof r){e=c;try{o=r(o)}catch(t){b(i,t)}}m(i,o)||… property in T
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/
A Dtop_n.h204 State state_ = UNORDERED; variable
217 if (state_ != HEAP_SORTED) { in PushInternal()
219 if (state_ == UNORDERED || cmp_(elements_.back(), elements_.front())) { in PushInternal()
235 state_ = HEAP_SORTED; in PushInternal()
253 if (state_ == UNORDERED) { in peek_bottom()
267 state_ = BOTTOM_KNOWN; in peek_bottom()
276 if (state_ != HEAP_SORTED) { in Extract()
289 if (state_ == HEAP_SORTED) { in ExtractUnsorted()
307 if (state_ != HEAP_SORTED) { in ExtractNondestructive()
326 if (state_ == HEAP_SORTED) { in ExtractUnsortedNondestructive()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dthread_pool.cc47 state_(State::Startup), in Thread()
66 State old_state = state_.load(std::memory_order_relaxed); in ChangeState()
98 state_.store(new_state, std::memory_order_relaxed); in ChangeState()
126 return state_.load(std::memory_order_acquire) != State::Ready; in ThreadFuncImpl()
132 switch (state_.load(std::memory_order_acquire)) { in ThreadFuncImpl()
161 std::atomic<State> state_; member in ruy::Thread
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Didec_dec.c98 if (idec->state_ == STATE_WEBP_HEADER) { in NeedCompressedAlpha()
250 idec->state_ = STATE_DONE; in FinishDecoding()
284 if (idec->state_ == STATE_VP8_DATA) { in IDecError()
288 idec->state_ = STATE_ERROR; in IDecError()
295 idec->state_ = new_state; in ChangeState()
361 idec->state_ = STATE_VP8_PARTS0; in DecodeVP8FrameHeader()
438 idec->state_ = STATE_VP8_DATA; in DecodePartition0()
543 idec->state_ = STATE_VP8L_DATA; in DecodeVP8LHeader()
606 idec->state_ = STATE_WEBP_HEADER; in NewDecoder()
767 if (idec->state_ == STATE_ERROR) { in IDecCheckStatus()
[all …]
A Dvp8li_dec.h60 VP8LDecodeState state_; member
A Dvp8l_dec.c1374 dec->state_ = READ_DIM; in VP8LNew()
1468 dec->state_ = READ_HDR; in DecodeImageStream()
1656 dec->state_ = READ_DIM; in VP8LDecodeHeader()
1686 if (dec->state_ != READ_DATA) { in VP8LDecodeImage()
1724 dec->state_ = READ_DATA; in VP8LDecodeImage()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/demux/
A Ddemux.c63 WebPDemuxState state_; member
421 dmux->state_ = WEBP_DEMUX_PARSED_HEADER; in ParseSingleImage()
552 dmux->state_ = WEBP_DEMUX_PARSED_HEADER; in ParseVP8X()
565 if (dmux->state_ == WEBP_DEMUX_PARSING_HEADER) return 1; in IsValidSimpleFormat()
568 if (dmux->state_ == WEBP_DEMUX_DONE && frame == NULL) return 0; in IsValidSimpleFormat()
597 if (dmux->state_ == WEBP_DEMUX_PARSING_HEADER) return 1; in IsValidExtendedFormat()
625 if (dmux->state_ == WEBP_DEMUX_DONE) return 0; in IsValidExtendedFormat()
652 dmux->state_ = WEBP_DEMUX_PARSING_HEADER; in InitDemux()
681 dmux->state_ = WEBP_DEMUX_DONE; in CreateRawImageDemuxer()
740 if (status == PARSE_OK) dmux->state_ = WEBP_DEMUX_DONE; in WebPDemuxInternal()
[all …]

Completed in 19 milliseconds