Home
last modified time | relevance | path

Searched refs:SetFromEnumValueName (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.cc140 bool MutableFlatbuffer::SetFromEnumValueName(const reflection::Field* field, in SetFromEnumValueName() function in libtextclassifier3::MutableFlatbuffer
153 bool MutableFlatbuffer::SetFromEnumValueName(StringPiece field_name, in SetFromEnumValueName() function in libtextclassifier3::MutableFlatbuffer
156 return SetFromEnumValueName(field, value_name); in SetFromEnumValueName()
161 bool MutableFlatbuffer::SetFromEnumValueName(const FlatbufferFieldPath* path, in SetFromEnumValueName() function in libtextclassifier3::MutableFlatbuffer
168 return parent->SetFromEnumValueName(field, value_name); in SetFromEnumValueName()
174 if (IsEnum(field->type()) && SetFromEnumValueName(field, value)) { in ParseAndSet()
Dmutable.h101 bool SetFromEnumValueName(StringPiece field_name, StringPiece value_name);
105 bool SetFromEnumValueName(const reflection::Field* field,
110 bool SetFromEnumValueName(const FlatbufferFieldPath* path,
Dmutable_test.cc75 EXPECT_TRUE(buffer->SetFromEnumValueName("enum_value", "VALUE_1")); in TEST_F()