Lines Matching refs:key_field
311 flatbuffers::FieldDef *key_field = nullptr; in GenTableWriter() local
326 if (field.key) key_field = &field; in GenTableWriter()
363 if (key_field != nullptr && !struct_def.fixed && struct_def.has_key) { in GenTableWriter()
365 code_.SetValue("VOFFSET", NumToString(key_field->value.offset)); in GenTableWriter()
379 GenLookup(*key_field); in GenTableWriter()
601 auto &key_field = **kit; in GenTableReaderVectorFields() local
602 if (key_field.key) { in GenTableReaderVectorFields()
603 GenByKeyFunctions(key_field); in GenTableReaderVectorFields()
610 void GenByKeyFunctions(const FieldDef &key_field) { in GenByKeyFunctions() argument
611 code_.SetValue("TYPE", GenType(key_field.value.type)); in GenByKeyFunctions()
689 void GenLookup(const FieldDef &key_field) { in GenLookup() argument
690 code_.SetValue("OFFSET", NumToString(key_field.value.offset)); in GenLookup()
697 code_.SetValue("TYPE", GenType(key_field.value.type)); in GenLookup()
703 if (key_field.value.type.base_type == BASE_TYPE_STRING) in GenLookup()
713 if (key_field.value.type.base_type == BASE_TYPE_STRING) { in GenLookup()