Searched refs:contextMap_ (Results 1 – 5 of 5) sorted by relevance
35 contextMap_.clear(); in VideoCallbackNapi()46 if (contextMap_.find(context->asyncWorkType) == contextMap_.end()) { in QueueAsyncWork()65 for (auto it = contextMap_.begin(); it != contextMap_.end(); it++) { in ClearAsyncWorkWithErrorCode()76 contextMap_.clear(); in ClearAsyncWorkWithErrorCode()131 if (contextMap_.find(AsyncWorkType::ASYNC_WORK_SEEK) == contextMap_.end() || in OnSeekDoneCb()152 if (contextMap_.find(AsyncWorkType::ASYNC_WORK_SPEED) == contextMap_.end() || in OnSpeedDoneCb()169 if (contextMap_.find(AsyncWorkType::ASYNC_WORK_BITRATE) == contextMap_.end() || in OnBitRateDoneCb()186 if (contextMap_.find(AsyncWorkType::ASYNC_WORK_VOLUME) == contextMap_.end() || in OnVolumeDoneCb()275 if (contextMap_.find(asyncWork) == contextMap_.end() || in DequeueAsyncWork()276 contextMap_.at(asyncWork).empty()) { in DequeueAsyncWork()[all …]
91 std::map<AsyncWorkType, std::queue<VideoPlayerAsyncContext *>> contextMap_; variable
45 contextMap_.clear(); in EnrollIntellVoiceEngineCallbackNapi()50 contextMap_.clear(); in ~EnrollIntellVoiceEngineCallbackNapi()56 if (contextMap_.find(context->type) == contextMap_.end()) { in QueueAsyncWork()59 contextMap_[context->type] = contextQue; in QueueAsyncWork()61 contextMap_.at(context->type).push(context); in QueueAsyncWork()89 for (auto it = contextMap_.begin(); it != contextMap_.end(); it++) { in ClearAsyncWork()119 contextMap_.clear(); in ClearAsyncWork()141 if (contextMap_.find(asyncType) == contextMap_.end() || contextMap_.at(asyncType).empty()) { in OnEvent()146 EnrollAsyncContext *context = contextMap_.at(asyncType).front(); in OnEvent()147 contextMap_.at(asyncType).pop(); in OnEvent()
77 std::map<EnrollAsyncWorkType, std::queue<EnrollAsyncContext *>> contextMap_; variable
74 for (auto iter = contextMap_.begin(); iter != contextMap_.end(); iter++) { in CheckPreemptContext()99 if (contextMap_.size() >= MAX_CONTEXT_NUM) { in Insert()105 auto result = contextMap_.try_emplace(contextId, context); in Insert()120 auto iter = contextMap_.find(contextId); in Delete()121 if (iter == contextMap_.end()) { in Delete()126 contextMap_.erase(iter); in Delete()139 for (const auto &context : contextMap_) { in CancelAll()154 auto iter = contextMap_.find(contextId); in Select()155 if (iter != contextMap_.end()) { in Select()165 for (const auto &context : contextMap_) { in Select()[all …]