Home
last modified time | relevance | path

Searched refs:SAFTM_MUST_USE_RESULT (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/lang_id/common/fel/
Dfeature-extractor.h129 SAFTM_MUST_USE_RESULT bool Parse(const std::string &source);
144 SAFTM_MUST_USE_RESULT bool InitializeFeatureTypes();
150 SAFTM_MUST_USE_RESULT virtual bool InitializeFeatureFunctions() = 0;
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()
440 SAFTM_MUST_USE_RESULT static bool CreateNested( in CreateNested()
[all …]
/external/libtextclassifier/native/lang_id/common/lite_base/
Dattributes.h56 #define SAFTM_MUST_USE_RESULT [[nodiscard]] macro
58 #define SAFTM_MUST_USE_RESULT __attribute__((warn_unused_result)) macro
60 #define SAFTM_MUST_USE_RESULT macro
/external/libtextclassifier/native/lang_id/common/
Dembedding-feature-extractor.h58 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()
Dembedding-feature-interface.h43 SAFTM_MUST_USE_RESULT bool SetupForProcessing(TaskContext *context) { in SetupForProcessing()
49 SAFTM_MUST_USE_RESULT bool InitForProcessing(TaskContext *context) { in InitForProcessing()