Home
last modified time | relevance | path

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

/third_party/flatbuffers/src/
Dreflection.cpp96 auto &fielddef = **it; in GetAnyValueS() local
97 if (!table_field->CheckField(fielddef.offset())) continue; in GetAnyValueS()
98 auto val = GetAnyFieldS(*table_field, fielddef, schema); in GetAnyValueS()
99 if (fielddef.type()->base_type() == reflection::String) { in GetAnyValueS()
105 s += fielddef.name()->str(); in GetAnyValueS()
239 auto &fielddef = **it; in ResizeTable() local
240 auto base_type = fielddef.type()->base_type(); in ResizeTable()
244 auto offset = table->GetOptionalFieldOffset(fielddef.offset()); in ResizeTable()
249 ? schema_.objects()->Get(fielddef.type()->index()) in ResizeTable()
264 auto elem_type = fielddef.type()->element(); in ResizeTable()
[all …]
/third_party/protobuf/php/ext/google/protobuf/
Ddef.c331 const upb_fielddef *fielddef; member
347 ret->fielddef = f; in FieldDescriptor_FromFieldDef()
397 RETURN_STRING(upb_fielddef_name(intern->fielddef)); in PHP_METHOD()
407 RETURN_LONG(upb_fielddef_number(intern->fielddef)); in PHP_METHOD()
417 RETURN_LONG(upb_fielddef_label(intern->fielddef)); in PHP_METHOD()
427 RETURN_LONG(upb_fielddef_descriptortype(intern->fielddef)); in PHP_METHOD()
437 RETURN_BOOL(upb_fielddef_ismap(intern->fielddef)); in PHP_METHOD()
447 const upb_enumdef *e = upb_fielddef_enumsubdef(intern->fielddef); in PHP_METHOD()
453 upb_fielddef_name(intern->fielddef)); in PHP_METHOD()
468 Descriptor* desc = Descriptor_GetFromFieldDef(intern->fielddef); in PHP_METHOD()
[all …]
/third_party/protobuf/ruby/ext/google/protobuf_c/
Ddefs.c784 self->fielddef = NULL; in FieldDescriptor_alloc()
824 self->fielddef = (const upb_fielddef*)NUM2ULL(ptr); in FieldDescriptor_initialize()
837 return rb_str_maybe_null(upb_fielddef_name(self->fielddef)); in FieldDescriptor_name()
985 return descriptortype_to_ruby(upb_fielddef_descriptortype(self->fielddef)); in FieldDescriptor_type()
996 return layout_get_default(self->fielddef); in FieldDescriptor_default()
1010 switch (upb_fielddef_label(self->fielddef)) { in FieldDescriptor_label()
1032 return INT2NUM(upb_fielddef_number(self->fielddef)); in FieldDescriptor_number()
1046 switch (upb_fielddef_type(self->fielddef)) { in FieldDescriptor_submsg_name()
1049 upb_enumdef_fullname(upb_fielddef_enumsubdef(self->fielddef))); in FieldDescriptor_submsg_name()
1052 upb_msgdef_fullname(upb_fielddef_msgsubdef(self->fielddef))); in FieldDescriptor_submsg_name()
[all …]
Dencode_decode.c759 const upb_fielddef* fielddef, in add_handlers_for_mapfield() argument
762 const upb_msgdef* map_msgdef = upb_fielddef_msgsubdef(fielddef); in add_handlers_for_mapfield()
768 upb_handlers_setstartsubmsg(h, fielddef, startmap_handler, &attr); in add_handlers_for_mapfield()
769 upb_handlers_setendsubmsg(h, fielddef, endmap_handler, &attr); in add_handlers_for_mapfield()
Dprotobuf.h134 const upb_fielddef* fielddef; member
/third_party/grpc/third_party/upb/upb/json/
Dparser.rl183 /* The table mapping json name to fielddef for this message. */
297 /* Maps json_name -> fielddef */