Searched refs:LookupByKey (Results 1 – 7 of 7) sorted by relevance
/external/flatbuffers/tests/ |
D | test.cpp | 248 TEST_NOTNULL(vecoftables->LookupByKey("Barney")); in AccessFlatBufferTest() 249 TEST_NOTNULL(vecoftables->LookupByKey("Fred")); in AccessFlatBufferTest() 250 TEST_NOTNULL(vecoftables->LookupByKey("Wilma")); in AccessFlatBufferTest() 477 auto hp_field_ptr = fields->LookupByKey("hp"); in ReflectionTest() 483 auto friendly_field_ptr = fields->LookupByKey("friendly"); in ReflectionTest() 486 TEST_NOTNULL(friendly_field_ptr->attributes()->LookupByKey("priority")); in ReflectionTest() 489 auto pos_field_ptr = fields->LookupByKey("pos"); in ReflectionTest() 519 *pos_struct, *pos_table_ptr->fields()->LookupByKey("z")), 3.0f); in ReflectionTest() 521 auto test3_field = pos_table_ptr->fields()->LookupByKey("test3"); in ReflectionTest() 527 *test3_struct, *test3_object->fields()->LookupByKey("a")), 10); in ReflectionTest() [all …]
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersExampleTests.cs | 126 Assert.IsTrue(Monster.LookupByKey(sortMons, "Frodo", fbb.DataBuffer) != null); in CanCreateNewFlatBufferFromScratch() 127 Assert.IsTrue(Monster.LookupByKey(sortMons, "Barney", fbb.DataBuffer) != null); in CanCreateNewFlatBufferFromScratch() 128 Assert.IsTrue(Monster.LookupByKey(sortMons, "Wilma", fbb.DataBuffer)!= null); in CanCreateNewFlatBufferFromScratch()
|
/external/flatbuffers/docs/source/ |
D | JavaCsharpUsage.md | 154 - Now when you're accessing the FlatBuffer, you can use `LookupByKey` 159 `LookupByKey` performs a binary search, so should have a similar speed to 160 `Dictionary`, though may be faster because of better caching. `LookupByKey`
|
D | CppUsage.md | 242 - Now when you're accessing the FlatBuffer, you can use `Vector::LookupByKey` 244 `myvector->LookupByKey("Fred")`, which returns a pointer to the 246 `LookupByKey` performs a binary search, so should have a similar speed to 247 `std::map`, though may be faster because of better caching. `LookupByKey`
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 362 auto type_field = parent.fields()->LookupByKey( in GetUnionType() 366 auto enumval = enumdef->values()->LookupByKey(union_type); in GetUnionType()
|
D | flatbuffers.h | 418 template<typename K> return_type LookupByKey(K key) const {
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.cs | 136 public static Monster? LookupByKey(VectorOffset vectorOffset, string key, ByteBuffer bb) { in LookupByKey() method
|