Home
last modified time | relevance | path

Searched refs:ConstRefValue (Results 1 – 7 of 7) sorted by relevance

/external/libtextclassifier/native/utils/
Dvariant.h151 const T& ConstRefValue() const;
154 const std::string& ConstRefValue() const { in ConstRefValue() function
160 const std::vector<std::string>& ConstRefValue() const { in ConstRefValue() function
166 const std::vector<float>& ConstRefValue() const { in ConstRefValue() function
172 const std::vector<int>& ConstRefValue() const { in ConstRefValue() function
178 const std::map<std::string, Variant>& ConstRefValue() const { in ConstRefValue() function
Dvariant.cc46 return ConstRefValue<std::string>(); in ToString()
Dvariant_test.cc69 EXPECT_EQ(Variant("hello").ConstRefValue<std::string>(), "hello"); in TEST()
/external/libtextclassifier/native/utils/intents/
Djni.cc205 jni_cache_->ConvertToJavaString(value.ConstRefValue<std::string>())); in AsNamedVariant()
214 AsStringArray(value.ConstRefValue<std::vector<std::string>>())); in AsNamedVariant()
224 AsFloatArray(value.ConstRefValue<std::vector<float>>())); in AsNamedVariant()
233 AsIntArray(value.ConstRefValue<std::vector<int>>())); in AsNamedVariant()
244 value.ConstRefValue<std::map<std::string, Variant>>())); in AsNamedVariant()
/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.cc324 builder->CreateString(it.second.ConstRefValue<std::string>()).o}); in Serialize()
672 offsets[i] = builder->CreateString(items_[i].ConstRefValue<std::string>()); in SerializeString()
Dmutable_test.cc263 .ConstRefValue<std::string>()); in TEST_F()
/external/libtextclassifier/native/actions/
Dactions-suggestions.cc102 param_index, param_value.ConstRefValue<std::vector<T>>(), interpreter); in SetVectorOrScalarAsModelInput()