Home
last modified time | relevance | path

Searched refs:key_getter (Results 1 – 2 of 2) sorted by relevance

/external/flatbuffers/src/
Didl_gen_java.cpp525 std::string key_getter = " "; in GenLookupKeyGetter() local
526 key_getter += "int tableOffset = "; in GenLookupKeyGetter()
527 key_getter += "__indirect(vectorLocation + 4 * (start + middle)"; in GenLookupKeyGetter()
528 key_getter += ", bb);\n "; in GenLookupKeyGetter()
530 key_getter += "int comp = "; in GenLookupKeyGetter()
531 key_getter += "compareStrings("; in GenLookupKeyGetter()
532 key_getter += GenOffsetGetter(key_field); in GenLookupKeyGetter()
533 key_getter += ", byteKey, bb);\n"; in GenLookupKeyGetter()
536 key_getter += GenTypeNameDest(key_field->value.type) + " val = "; in GenLookupKeyGetter()
537 key_getter += get_val + ";\n"; in GenLookupKeyGetter()
[all …]
Didl_gen_csharp.cpp480 std::string key_getter = " "; in GenLookupKeyGetter() local
481 key_getter += "int tableOffset = Table."; in GenLookupKeyGetter()
482 key_getter += "__indirect(vectorLocation + 4 * (start + middle)"; in GenLookupKeyGetter()
483 key_getter += ", bb);\n "; in GenLookupKeyGetter()
485 key_getter += "int comp = Table."; in GenLookupKeyGetter()
486 key_getter += "CompareStrings("; in GenLookupKeyGetter()
487 key_getter += GenOffsetGetter(key_field); in GenLookupKeyGetter()
488 key_getter += ", byteKey, bb);\n"; in GenLookupKeyGetter()
491 key_getter += "int comp = " + get_val + ".CompareTo(key);\n"; in GenLookupKeyGetter()
493 return key_getter; in GenLookupKeyGetter()
[all …]