Home
last modified time | relevance | path

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

/external/flatbuffers/tests/
Dtest.cpp248 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/
DFlatBuffersExampleTests.cs126 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/
DJavaCsharpUsage.md154 - 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`
DCppUsage.md242 - 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/
Dreflection.h362 auto type_field = parent.fields()->LookupByKey( in GetUnionType()
366 auto enumval = enumdef->values()->LookupByKey(union_type); in GetUnionType()
Dflatbuffers.h418 template<typename K> return_type LookupByKey(K key) const {
/external/flatbuffers/tests/MyGame/Example/
DMonster.cs136 public static Monster? LookupByKey(VectorOffset vectorOffset, string key, ByteBuffer bb) { in LookupByKey() method