Searched refs:GetFieldOrNull (Results 1 – 7 of 7) sorted by relevance
/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection.cc | 21 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 …]
|
D | reflection.h | 148 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,
|
D | mutable.cc | 103 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 …]
|
D | mutable.h | 74 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()
|
D | reflection_test.cc | 51 GetFieldOrNull(schema->root_table(), "enum_value"); in TEST()
|
D | mutable_test.cc | 73 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/ |
D | lua-utils.cc | 224 const reflection::Field* field = buffer->GetFieldOrNull(key); in ReadFlatbuffer()
|