Lines Matching refs:enums
100 /* Look in enums defined in this file. */
103 const google_protobuf_EnumDescriptorProto* const* enums =
108 if (upb_strview_eql(google_protobuf_EnumDescriptorProto_name(enums[i]),
110 matching_enum = enums[i];
169 google_protobuf_EnumDescriptorProto* const* enums,
172 VALUE enum_pos = rb_hash_aref(msg_ent, ID2SYM(rb_intern("enums")));
199 rewrite_nesting(submsg_ent, msg_msgs[i], msgs, enums, arena);
204 msg_enums[i] = enums[NUM2INT(pos)];
260 google_protobuf_EnumDescriptorProto** enums;
275 enums = google_protobuf_FileDescriptorProto_mutable_enum_type(file_proto,
278 upb_strview name = google_protobuf_EnumDescriptorProto_name(enums[i]);
307 upb_strview name = google_protobuf_EnumDescriptorProto_name(enums[i]);
309 google_protobuf_EnumDescriptorProto_set_name(enums[i], name);
314 enum_ents = rb_hash_aref(nesting, ID2SYM(rb_intern("enums")));
323 rewrite_nesting(msg_ent, msgs[i], msgs, enums, arena);
328 enums[i] = enums[NUM2INT(enum_pos)];
1706 // Validate the key type. We can't accept enums, messages, or floats/doubles
2218 * FileBuilderContext#add_enum to define new messages or enums, respectively.
2282 * files generated by protoc which don't add enums within "add_file" block.