/external/libtextclassifier/native/lang_id/common/fel/ |
D | task-context.cc | 26 std::string TaskContext::GetInputPath(const std::string &name) const { in GetInputPath() 34 void TaskContext::SetInputPath(const std::string &name, in SetInputPath() 39 std::string TaskContext::Get(const std::string &name, in Get() 48 int TaskContext::Get(const std::string &name, int defval) const { in Get() 57 float TaskContext::Get(const std::string &name, float defval) const { in Get() 66 bool TaskContext::Get(const std::string &name, bool defval) const { in Get() 71 void TaskContext::SetParameter(const std::string &name, in SetParameter()
|
D | feature-extractor.h | 183 SAFTM_MUST_USE_RESULT virtual bool Setup(TaskContext *context) { in Setup() 191 SAFTM_MUST_USE_RESULT virtual bool Init(TaskContext *context) { return true; } in Init() 391 SAFTM_MUST_USE_RESULT bool Setup(TaskContext *context) override { in Setup() 405 SAFTM_MUST_USE_RESULT virtual bool SetupNested(TaskContext *context) { in SetupNested() 412 SAFTM_MUST_USE_RESULT bool Init(TaskContext *context) override { in Init() 423 SAFTM_MUST_USE_RESULT virtual bool InitNested(TaskContext *context) { in InitNested() 573 SAFTM_MUST_USE_RESULT bool Setup(TaskContext *context) { in Setup() 584 SAFTM_MUST_USE_RESULT bool Init(TaskContext *context) { in Init()
|
D | task-context.h | 41 class TaskContext {
|
/external/webrtc/rtc_base/ |
D | task_queue_gcd.cc | 53 struct TaskContext { struct in webrtc::__anon8d2de7380111::TaskQueueGcd 54 TaskContext(TaskQueueGcd* queue, std::unique_ptr<QueuedTask> task) in TaskContext() argument 101 auto* context = new TaskContext(this, std::move(task)); in PostTask() 107 auto* context = new TaskContext(this, std::move(task)); in PostDelayedTask() 115 std::unique_ptr<TaskContext> tc(static_cast<TaskContext*>(task_context)); in RunTask()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/scheduling/ |
D | Tasks.kt | 67 internal interface TaskContext { interface 72 internal object NonBlockingContext : TaskContext { in afterTask() 82 @JvmField var taskContext: TaskContext 94 taskContext: TaskContext
|
D | Dispatcher.kt | 113 internal fun dispatchWithContext(block: Runnable, context: TaskContext, tailDispatch: Boolean) { in toString() 148 ) : ExecutorCoroutineDispatcher(), TaskContext, Executor {
|
D | CoroutineScheduler.kt | 383 …fun dispatch(block: Runnable, taskContext: TaskContext = NonBlockingContext, tailDispatch: Boolean… in <lambda>() 406 internal fun createTask(block: Runnable, taskContext: TaskContext): Task { in <lambda>()
|
/external/libtextclassifier/native/lang_id/common/ |
D | embedding-feature-extractor.h | 58 SAFTM_MUST_USE_RESULT virtual bool Setup(TaskContext *context); 59 SAFTM_MUST_USE_RESULT virtual bool Init(TaskContext *context); 115 SAFTM_MUST_USE_RESULT bool Setup(TaskContext *context) override { in Setup() 129 SAFTM_MUST_USE_RESULT bool Init(TaskContext *context) override { in Init()
|
D | embedding-feature-extractor.cc | 36 bool GenericEmbeddingFeatureExtractor::Setup(TaskContext *context) { in Setup() 68 bool GenericEmbeddingFeatureExtractor::Init(TaskContext *context) { in Init()
|
D | embedding-feature-interface.h | 43 SAFTM_MUST_USE_RESULT bool SetupForProcessing(TaskContext *context) { in SetupForProcessing() 49 SAFTM_MUST_USE_RESULT bool InitForProcessing(TaskContext *context) { in InitForProcessing()
|
D | embedding-network-params.h | 182 mobile::TaskContext *task_context) = 0;
|
/external/libtextclassifier/native/lang_id/features/ |
D | relevant-script-feature.h | 45 bool Setup(TaskContext *context) override; 46 bool Init(TaskContext *context) override;
|
D | char-ngram-feature.h | 58 bool Setup(TaskContext *context) override; 59 bool Init(TaskContext *context) override;
|
D | relevant-script-feature.cc | 32 bool RelevantScriptFeature::Setup(TaskContext *context) { in Setup() 52 bool RelevantScriptFeature::Init(TaskContext *context) { in Init()
|
D | char-ngram-feature.cc | 33 bool ContinuousBagOfNgramsFunction::Setup(TaskContext *context) { in Setup() 60 bool ContinuousBagOfNgramsFunction::Init(TaskContext *context) { in Init()
|
/external/libtextclassifier/native/lang_id/fb_model/ |
D | model-provider-from-fb.h | 71 const TaskContext *GetTaskContext() const override { in GetTaskContext() 106 TaskContext context_;
|
/external/libtextclassifier/native/lang_id/ |
D | lang-id.cc | 87 TaskContext context = *model_provider_->GetTaskContext(); in LangIdImpl() 211 bool Setup(TaskContext *context) { in Setup() 238 bool Init(TaskContext *context) { in Init()
|
D | custom-tokenizer.h | 33 void Setup(TaskContext *context);
|
D | model-provider.h | 45 virtual const TaskContext *GetTaskContext() const = 0;
|
D | custom-tokenizer.cc | 98 void TokenizerForLangId::Setup(TaskContext *context) { in Setup()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/ |
D | SchedulerTask.kt | 11 internal actual typealias SchedulerTaskContext = TaskContext
|
/external/libtextclassifier/native/lang_id/common/flatbuffers/ |
D | model-utils.h | 59 bool FillParameters(const Model &model, mobile::TaskContext *context);
|
D | model-utils.cc | 104 bool FillParameters(const Model &model, mobile::TaskContext *context) { in FillParameters()
|
D | embedding-network-params-from-flatbuffer.h | 51 bool UpdateTaskContextParameters(mobile::TaskContext *task_context) override { in UpdateTaskContextParameters()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/ |
D | CoroutineSchedulerTest.kt | 171 private class TaskContextImpl(override val taskMode: Int) : TaskContext { in <lambda>()
|