Home
last modified time | relevance | path

Searched refs:fielddef (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/php/ext/google/protobuf/
Ddef.c205 upb_fielddef *fielddef = upb_msg_iter_field(&iter); in descriptor_free_c() local
206 upb_fielddef_unref(fielddef, &fielddef); in descriptor_free_c()
216 const upb_fielddef *fielddef) { in descriptor_add_field() argument
218 upb_fielddef *mut_field_def = check_fielddef_notfrozen(fielddef); in descriptor_add_field()
243 static void field_descriptor_name_set(const upb_fielddef* fielddef, in field_descriptor_name_set() argument
245 upb_fielddef *mut_def = check_fielddef_notfrozen(fielddef); in field_descriptor_name_set()
250 static void field_descriptor_label_set(const upb_fielddef* fielddef, in field_descriptor_label_set() argument
252 upb_fielddef *mut_def = check_fielddef_notfrozen(fielddef); in field_descriptor_label_set()
287 static void field_descriptor_type_set(const upb_fielddef* fielddef, in field_descriptor_type_set() argument
289 upb_fielddef *mut_def = check_fielddef_notfrozen(fielddef); in field_descriptor_type_set()
[all …]
Dprotobuf.h87 const upb_fielddef* fielddef; member
Dupb.h1420 UPB_DECLARE_DEF_TYPE(upb::FieldDef, fielddef, FIELD)
/external/flatbuffers/src/
Dreflection.cpp87 auto &fielddef = **it; in GetAnyValueS() local
88 if (!table_field->CheckField(fielddef.offset())) continue; in GetAnyValueS()
89 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
90 if (fielddef.type()->base_type() == reflection::String) in GetAnyValueS()
92 s += fielddef.name()->str(); in GetAnyValueS()
220 auto &fielddef = **it; in ResizeTable() local
221 auto base_type = fielddef.type()->base_type(); in ResizeTable()
225 auto offset = table->GetOptionalFieldOffset(fielddef.offset()); in ResizeTable()
229 schema_.objects()->Get(fielddef.type()->index()) : nullptr; in ResizeTable()
244 auto elem_type = fielddef.type()->element(); in ResizeTable()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c387 upb_fielddef* mut_field_def = check_field_notfrozen(def->fielddef); in Descriptor_add_field()
391 add_def_obj(def->fielddef, obj); in Descriptor_add_field()
486 upb_fielddef_unref(self->fielddef, &self->fielddef); in FieldDescriptor_free()
500 upb_fielddef* fielddef = upb_fielddef_new(&self->fielddef); in FieldDescriptor_alloc() local
501 upb_fielddef_setpacked(fielddef, false); in FieldDescriptor_alloc()
502 self->fielddef = fielddef; in FieldDescriptor_alloc()
535 return rb_str_maybe_null(upb_fielddef_name(self->fielddef)); in FieldDescriptor_name()
547 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_name_set()
676 if (!upb_fielddef_typeisset(self->fielddef)) { in FieldDescriptor_type()
679 return descriptortype_to_ruby(upb_fielddef_descriptortype(self->fielddef)); in FieldDescriptor_type()
[all …]
Dencode_decode.c480 const upb_fielddef* fielddef, in add_handlers_for_mapfield() argument
483 const upb_msgdef* map_msgdef = upb_fielddef_msgsubdef(fielddef); in add_handlers_for_mapfield()
489 upb_handlers_setstartsubmsg(h, fielddef, startmapentry_handler, &attr); in add_handlers_for_mapfield()
Dprotobuf.h126 const upb_fielddef* fielddef; member
Dupb.h1832 UPB_DECLARE_DEF_TYPE(upb::FieldDef, fielddef, FIELD)