Home
last modified time | relevance | path

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

/external/libtextclassifier/native/utils/flatbuffers/
Dreflection.cc21 const reflection::Field* GetFieldOrNull(const reflection::Object* type, in GetFieldOrNull() function
27 const reflection::Field* GetFieldOrNull(const reflection::Object* type, in GetFieldOrNull() function
40 const reflection::Field* GetFieldOrNull(const reflection::Object* type, in GetFieldOrNull() function
46 return GetFieldOrNull(type, field_name.data()); in GetFieldOrNull()
48 return GetFieldOrNull(type, field_offset); in GetFieldOrNull()
51 const reflection::Field* GetFieldOrNull(const reflection::Object* type, in GetFieldOrNull() function
55 return GetFieldOrNull(type, field->field_offset()); in GetFieldOrNull()
57 return GetFieldOrNull( in GetFieldOrNull()
63 const reflection::Field* GetFieldOrNull(const reflection::Object* type, in GetFieldOrNull() function
66 return GetFieldOrNull(type, field->field_name, field->field_offset); in GetFieldOrNull()
[all …]
Dreflection.h148 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
153 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
157 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
163 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
166 const reflection::Field* GetFieldOrNull(const reflection::Object* type,
Dmutable.cc103 const reflection::Field* MutableFlatbuffer::GetFieldOrNull( in GetFieldOrNull() function in libtextclassifier3::MutableFlatbuffer
105 return libtextclassifier3::GetFieldOrNull(type_, field_name); in GetFieldOrNull()
108 const reflection::Field* MutableFlatbuffer::GetFieldOrNull( in GetFieldOrNull() function in libtextclassifier3::MutableFlatbuffer
110 return libtextclassifier3::GetFieldOrNull(type_, field); in GetFieldOrNull()
126 *field = (*parent)->GetFieldOrNull(path->Get(i)); in GetFieldWithParent()
135 const reflection::Field* MutableFlatbuffer::GetFieldOrNull( in GetFieldOrNull() function in libtextclassifier3::MutableFlatbuffer
137 return libtextclassifier3::GetFieldOrNull(type_, field_offset); in GetFieldOrNull()
155 if (const reflection::Field* field = GetFieldOrNull(field_name)) { in SetFromEnumValueName()
207 const reflection::Field* field = GetFieldOrNull(field_name); in Add()
227 if (const reflection::Field* field = GetFieldOrNull(field_name)) { in Mutable()
[all …]
Dmutable.h74 const reflection::Field* GetFieldOrNull(const StringPiece field_name) const;
75 const reflection::Field* GetFieldOrNull(const FlatbufferField* field) const;
76 const reflection::Field* GetFieldOrNull(const int field_offset) const;
307 if (const reflection::Field* field = GetFieldOrNull(field_name)) { in Set()
350 const reflection::Field* field = GetFieldOrNull(field_name); in Add()
Dreflection_test.cc51 GetFieldOrNull(schema->root_table(), "enum_value"); in TEST()
Dmutable_test.cc73 EXPECT_TRUE(IsEnum(buffer->GetFieldOrNull("enum_value")->type())); in TEST_F()
93 buffer->GetFieldOrNull("mystic")->offset()) in TEST_F()
108 buffer->Mutable("flight_number")->GetFieldOrNull("carrier_code")); in TEST_F()
/external/libtextclassifier/native/utils/
Dlua-utils.cc224 const reflection::Field* field = buffer->GetFieldOrNull(key); in ReadFlatbuffer()