Searched refs:fielddef (Results 1 – 9 of 9) sorted by relevance
/external/flatbuffers/src/ |
D | reflection.cpp | 96 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 …]
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | defs.c | 417 upb_fielddef* mut_field_def = check_field_notfrozen(def->fielddef); in Descriptor_add_field() 421 add_def_obj(def->fielddef, obj); in Descriptor_add_field() 652 upb_fielddef_unref(self->fielddef, &self->fielddef); in FieldDescriptor_free() 666 upb_fielddef* fielddef = upb_fielddef_new(&self->fielddef); in FieldDescriptor_alloc() local 667 upb_fielddef_setpacked(fielddef, false); in FieldDescriptor_alloc() 668 self->fielddef = fielddef; in FieldDescriptor_alloc() 705 return rb_str_maybe_null(upb_fielddef_name(self->fielddef)); in FieldDescriptor_name() 717 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_name_set() 846 if (!upb_fielddef_typeisset(self->fielddef)) { in FieldDescriptor_type() 849 return descriptortype_to_ruby(upb_fielddef_descriptortype(self->fielddef)); in FieldDescriptor_type() [all …]
|
D | encode_decode.c | 616 const upb_fielddef* fielddef, in add_handlers_for_mapfield() argument 619 const upb_msgdef* map_msgdef = upb_fielddef_msgsubdef(fielddef); in add_handlers_for_mapfield() 625 upb_handlers_setstartsubmsg(h, fielddef, startmapentry_handler, &attr); in add_handlers_for_mapfield()
|
D | protobuf.h | 130 const upb_fielddef* fielddef; member
|
D | upb.h | 1945 UPB_DECLARE_DEF_TYPE(upb::FieldDef, fielddef, FIELD)
|
/external/protobuf/php/ext/google/protobuf/ |
D | def.c | 214 field_php->fielddef = field; in PHP_METHOD() 372 self->fielddef = NULL; in field_descriptor_init_c_instance() 410 const char* name = upb_fielddef_name(intern->fielddef); in PHP_METHOD() 416 RETURN_LONG(upb_fielddef_number(intern->fielddef)); in PHP_METHOD() 421 RETURN_LONG(upb_fielddef_label(intern->fielddef)); in PHP_METHOD() 426 RETURN_LONG(upb_fielddef_descriptortype(intern->fielddef)); in PHP_METHOD() 431 RETURN_BOOL(upb_fielddef_ismap(intern->fielddef)); in PHP_METHOD() 436 if (upb_fielddef_type(intern->fielddef) != UPB_TYPE_ENUM) { in PHP_METHOD() 439 upb_fielddef_name(intern->fielddef)); in PHP_METHOD() 442 const upb_enumdef *enumdef = upb_fielddef_enumsubdef(intern->fielddef); in PHP_METHOD() [all …]
|
D | encode_decode.c | 902 const upb_fielddef* fielddef, in add_handlers_for_mapfield() argument 905 const upb_msgdef* map_msgdef = upb_fielddef_msgsubdef(fielddef); in add_handlers_for_mapfield() 911 upb_handlers_setstartsubmsg(h, fielddef, startmapentry_handler, &attr); in add_handlers_for_mapfield()
|
D | protobuf.h | 816 const upb_fielddef* fielddef;
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/json/ |
D | parser.rl | 183 /* The table mapping json name to fielddef for this message. */ 297 /* Maps json_name -> fielddef */
|