/external/protobuf/php/ext/google/protobuf/ |
D | wkt.inc | 70 intern->desc->msgdef, "type_url"); 79 intern->desc->msgdef, "type_url"); 92 intern->desc->msgdef, "value"); 101 intern->desc->msgdef, "value"); 215 intern->desc->msgdef, "name"); 224 intern->desc->msgdef, "name"); 237 intern->desc->msgdef, "methods"); 246 intern->desc->msgdef, "methods"); 259 intern->desc->msgdef, "options"); 268 intern->desc->msgdef, "options"); [all …]
|
D | message.c | 114 const upb_MessageDef *m = msg->desc->msgdef; in get_field() 211 return MessageEq(val1.msg_val, val2.msg_val, type.desc->msgdef); in ValueEq() 259 const upb_MessageDef *m = intern1->desc->msgdef; in Message_compare_objects() 261 if (intern2->desc->msgdef != m) return 1; in Message_compare_objects() 429 upb_Message *clone = upb_Message_New(intern->desc->msgdef, Arena_Get(&intern->arena)); in Message_clone_obj() 433 memcpy(clone, intern->msg, upb_MessageDef_MiniTable(intern->desc->msgdef)->size); in Message_clone_obj() 582 intern->msg = upb_Message_New(desc->msgdef, Arena_Get(&intern->arena)); in Message_Initialize() 625 Message_InitFromPhp(intern->msg, desc->msgdef, init_arr, arena); in PHP_METHOD() 636 upb_Message_DiscardUnknown(intern->msg, intern->desc->msgdef, 64); in PHP_METHOD() 646 upb_Message_Clear(intern->msg, intern->desc->msgdef); in PHP_METHOD() [all …]
|
D | def.c | 581 ret->msgdef = m; in Descriptor_FromMessageDef() 644 RETURN_STRING(upb_MessageDef_FullName(intern->msgdef)); in PHP_METHOD() 655 int count = upb_MessageDef_FieldCount(intern->msgdef); in PHP_METHOD() 669 FieldDescriptor_FromFieldDef(&ret, upb_MessageDef_Field(intern->msgdef, index)); in PHP_METHOD() 680 RETURN_LONG(upb_MessageDef_FieldCount(intern->msgdef)); in PHP_METHOD() 699 if (index < 0 || index >= upb_MessageDef_OneofCount(intern->msgdef)) { in PHP_METHOD() 704 OneofDescriptor_FromOneofDef(&ret, upb_MessageDef_Oneof(intern->msgdef, index)); in PHP_METHOD() 715 RETURN_LONG(upb_MessageDef_OneofCount(intern->msgdef)); in PHP_METHOD()
|
D | def.h | 55 const upb_MessageDef *msgdef; member
|
/external/cronet/third_party/protobuf/php/ext/google/protobuf/ |
D | wkt.inc | 70 intern->desc->msgdef, "type_url"); 79 intern->desc->msgdef, "type_url"); 92 intern->desc->msgdef, "value"); 101 intern->desc->msgdef, "value"); 215 intern->desc->msgdef, "name"); 224 intern->desc->msgdef, "name"); 237 intern->desc->msgdef, "methods"); 246 intern->desc->msgdef, "methods"); 259 intern->desc->msgdef, "options"); 268 intern->desc->msgdef, "options"); [all …]
|
D | message.c | 114 const upb_MessageDef *m = msg->desc->msgdef; in get_field() 211 return MessageEq(val1.msg_val, val2.msg_val, type.desc->msgdef); in ValueEq() 259 const upb_MessageDef *m = intern1->desc->msgdef; in Message_compare_objects() 261 if (intern2->desc->msgdef != m) return 1; in Message_compare_objects() 429 upb_Message *clone = upb_Message_New(intern->desc->msgdef, Arena_Get(&intern->arena)); in Message_clone_obj() 433 memcpy(clone, intern->msg, upb_MessageDef_MiniTable(intern->desc->msgdef)->size); in Message_clone_obj() 582 intern->msg = upb_Message_New(desc->msgdef, Arena_Get(&intern->arena)); in Message_Initialize() 626 Message_InitFromPhp(intern->msg, desc->msgdef, init_arr, arena); in PHP_METHOD() 637 upb_Message_DiscardUnknown(intern->msg, intern->desc->msgdef, 64); in PHP_METHOD() 647 upb_Message_Clear(intern->msg, intern->desc->msgdef); in PHP_METHOD() [all …]
|
D | def.c | 536 ret->msgdef = m; in Descriptor_FromMessageDef() 599 RETURN_STRING(upb_MessageDef_FullName(intern->msgdef)); in PHP_METHOD() 610 int count = upb_MessageDef_FieldCount(intern->msgdef); in PHP_METHOD() 624 FieldDescriptor_FromFieldDef(&ret, upb_MessageDef_Field(intern->msgdef, index)); in PHP_METHOD() 635 RETURN_LONG(upb_MessageDef_FieldCount(intern->msgdef)); in PHP_METHOD() 654 if (index < 0 || index >= upb_MessageDef_OneofCount(intern->msgdef)) { in PHP_METHOD() 659 OneofDescriptor_FromOneofDef(&ret, upb_MessageDef_Oneof(intern->msgdef, index)); in PHP_METHOD() 670 RETURN_LONG(upb_MessageDef_OneofCount(intern->msgdef)); in PHP_METHOD()
|
D | def.h | 55 const upb_MessageDef *msgdef; member
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | message.c | 58 msgdef; // kept alive by self.class.descriptor reference. member 83 msg->msgdef = Descriptor_GetMsgDef(descriptor); in Message_alloc() 95 if (m) *m = msg->msgdef; in Message_Get() 233 const upb_MessageDef* m = self->msgdef; in extract_method_call() 514 upb_Message_New(map_init->val_type.def.msgdef, map_init->arena); in Map_initialize_kwarg() 515 Message_InitFromValue(msg, map_init->val_type.def.msgdef, val, in Map_initialize_kwarg() 544 upb_Message* msg = upb_Message_New(info.def.msgdef, arena); in MessageValue_FromValue() 545 Message_InitFromValue(msg, info.def.msgdef, val, arena); in MessageValue_FromValue() 602 const upb_MessageDef* msgdef; member 621 upb_MessageDef_FindFieldByName(msg_init->msgdef, name); in Message_initialize_kwarg() [all …]
|
D | defs.c | 176 const upb_MessageDef* msgdef; in DescriptorPool_lookup() local 179 msgdef = upb_DefPool_FindMessageByName(self->symtab, name_str); in DescriptorPool_lookup() 180 if (msgdef) { in DescriptorPool_lookup() 181 return get_msgdef_obj(_self, msgdef); in DescriptorPool_lookup() 225 const upb_MessageDef* msgdef; member 262 self->msgdef = NULL; in Descriptor_alloc() 284 self->msgdef = (const upb_MessageDef*)NUM2ULL(ptr); in Descriptor_initialize() 298 upb_MessageDef_File(self->msgdef)); in Descriptor_file_descriptor() 310 return rb_str_maybe_null(upb_MessageDef_FullName(self->msgdef)); in Descriptor_name() 322 int n = upb_MessageDef_FieldCount(self->msgdef); in Descriptor_each() [all …]
|
D | convert.c | 206 Message_GetUpbMessage(value, type_info.def.msgdef, name, arena); in Convert_RubyToUpb() 280 type_info.def.msgdef, arena); in Convert_UpbToRuby() 306 Message_deep_copy(msgval.msg_val, type_info.def.msgdef, arena); in Msgval_DeepCopy() 333 return Message_Equal(val1.msg_val, val2.msg_val, type_info.def.msgdef); in Msgval_IsEqual() 357 return Message_Hash(val.msg_val, type_info.def.msgdef, seed); in Msgval_GetHash()
|
D | defs.h | 56 const upb_MessageDef* msgdef; // When type == kUpb_CType_Message member 65 ret.def.msgdef = upb_FieldDef_MessageSubDef(f); in TypeInfo_get()
|
D | map.c | 82 self->value_type_info.def.msgdef = NULL; in Map_alloc() 103 const upb_MessageDef* val_m = self->value_type_info.def.msgdef; in Map_GetRubyWrapper() 124 ret.def.msgdef = NULL; in Map_keyinfo() 190 if (self->value_type_info.def.msgdef != value_type_info.def.msgdef) { in Map_GetUpbMap()
|
D | repeated_field.c | 96 self->type_class = Descriptor_DefToClass(type_info.def.msgdef); in RepeatedField_GetRubyWrapper() 101 PBRUBY_ASSERT(ruby_to_RepeatedField(val)->type_info.def.msgdef == in RepeatedField_GetRubyWrapper() 102 type_info.def.msgdef); in RepeatedField_GetRubyWrapper() 166 if (self->type_info.def.msgdef != type_info.def.msgdef) { in RepeatedField_GetUpbArray()
|
/external/cronet/third_party/protobuf/ruby/ext/google/protobuf_c/ |
D | message.c | 58 msgdef; // kept alive by self.class.descriptor reference. member 83 msg->msgdef = Descriptor_GetMsgDef(descriptor); in Message_alloc() 95 if (m) *m = msg->msgdef; in Message_Get() 233 const upb_MessageDef* m = self->msgdef; in extract_method_call() 514 upb_Message_New(map_init->val_type.def.msgdef, map_init->arena); in Map_initialize_kwarg() 515 Message_InitFromValue(msg, map_init->val_type.def.msgdef, val, in Map_initialize_kwarg() 544 upb_Message* msg = upb_Message_New(info.def.msgdef, arena); in MessageValue_FromValue() 545 Message_InitFromValue(msg, info.def.msgdef, val, arena); in MessageValue_FromValue() 602 const upb_MessageDef* msgdef; member 621 upb_MessageDef_FindFieldByName(msg_init->msgdef, name); in Message_initialize_kwarg() [all …]
|
D | defs.c | 176 const upb_MessageDef* msgdef; in DescriptorPool_lookup() local 179 msgdef = upb_DefPool_FindMessageByName(self->symtab, name_str); in DescriptorPool_lookup() 180 if (msgdef) { in DescriptorPool_lookup() 181 return get_msgdef_obj(_self, msgdef); in DescriptorPool_lookup() 225 const upb_MessageDef* msgdef; member 262 self->msgdef = NULL; in Descriptor_alloc() 284 self->msgdef = (const upb_MessageDef*)NUM2ULL(ptr); in Descriptor_initialize() 298 upb_MessageDef_File(self->msgdef)); in Descriptor_file_descriptor() 310 return rb_str_maybe_null(upb_MessageDef_FullName(self->msgdef)); in Descriptor_name() 322 int n = upb_MessageDef_FieldCount(self->msgdef); in Descriptor_each() [all …]
|
D | convert.c | 206 Message_GetUpbMessage(value, type_info.def.msgdef, name, arena); in Convert_RubyToUpb() 280 type_info.def.msgdef, arena); in Convert_UpbToRuby() 306 Message_deep_copy(msgval.msg_val, type_info.def.msgdef, arena); in Msgval_DeepCopy() 333 return Message_Equal(val1.msg_val, val2.msg_val, type_info.def.msgdef); in Msgval_IsEqual() 357 return Message_Hash(val.msg_val, type_info.def.msgdef, seed); in Msgval_GetHash()
|
D | defs.h | 56 const upb_MessageDef* msgdef; // When type == kUpb_CType_Message member 65 ret.def.msgdef = upb_FieldDef_MessageSubDef(f); in TypeInfo_get()
|
D | repeated_field.c | 96 self->type_class = Descriptor_DefToClass(type_info.def.msgdef); in RepeatedField_GetRubyWrapper() 101 PBRUBY_ASSERT(ruby_to_RepeatedField(val)->type_info.def.msgdef == in RepeatedField_GetRubyWrapper() 102 type_info.def.msgdef); in RepeatedField_GetRubyWrapper() 166 if (self->type_info.def.msgdef != type_info.def.msgdef) { in RepeatedField_GetUpbArray()
|
D | map.c | 82 self->value_type_info.def.msgdef = NULL; in Map_alloc() 103 const upb_MessageDef* val_m = self->value_type_info.def.msgdef; in Map_GetRubyWrapper() 124 ret.def.msgdef = NULL; in Map_keyinfo() 190 if (self->value_type_info.def.msgdef != value_type_info.def.msgdef) { in Map_GetUpbMap()
|
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 1199 msgdef = m.class.descriptor 1200 assert msgdef.class == Google::Protobuf::Descriptor 1201 assert msgdef.any? {|field| field.name == "optional_int32"} 1202 optional_int32 = msgdef.lookup "optional_int32" 1212 optional_msg = msgdef.lookup "optional_msg" 1217 assert msgdef.msgclass == TestMessage 1219 optional_enum = msgdef.lookup "optional_enum"
|
/external/cronet/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 1199 msgdef = m.class.descriptor 1200 assert msgdef.class == Google::Protobuf::Descriptor 1201 assert msgdef.any? {|field| field.name == "optional_int32"} 1202 optional_int32 = msgdef.lookup "optional_int32" 1212 optional_msg = msgdef.lookup "optional_msg" 1217 assert msgdef.msgclass == TestMessage 1219 optional_enum = msgdef.lookup "optional_enum"
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | def.c | 340 static bool lupb_msgdef_pushnested(lua_State *L, int msgdef, int name) { in lupb_msgdef_pushnested() argument 341 const upb_msgdef *m = lupb_msgdef_check(L, msgdef); in lupb_msgdef_pushnested() 342 lupb_wrapper_pushsymtab(L, msgdef); in lupb_msgdef_pushnested() 356 lupb_wrapper_pushwrapper(L, msgdef, nested, LUPB_MSGDEF); in lupb_msgdef_pushnested()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | def.c | 20 const upb_msgdef *msgdef; member 33 const upb_msgdef *msgdef; member 398 return f->msgdef; in upb_fielddef_containingtype() 465 return upb_fielddef_type(f) == UPB_TYPE_MESSAGE ? f->sub.msgdef : NULL; in upb_fielddef_msgsubdef() 473 return &f->msgdef->layout->fields[f->layout_index]; in upb_fielddef_layout() 1214 UPB_ASSERT(f->msgdef == m); in assign_msg_indices() 1597 f->msgdef = m; in create_fielddef() 1898 f->msgdef = symtab_resolve(ctx, f, prefix, name, UPB_DEFTYPE_MSG); in resolve_fielddef() 1909 f->sub.msgdef = symtab_resolve(ctx, f, prefix, name, UPB_DEFTYPE_MSG); in resolve_fielddef()
|
/external/cronet/third_party/protobuf/ruby/tests/ |
D | common_tests.rb | 1057 msgdef = m.class.descriptor 1058 assert msgdef.class == Google::Protobuf::Descriptor 1059 assert msgdef.any? {|field| field.name == "optional_int32"} 1060 optional_int32 = msgdef.lookup "optional_int32" 1070 optional_msg = msgdef.lookup "optional_msg" 1075 assert msgdef.msgclass == proto_module::TestMessage 1077 optional_enum = msgdef.lookup "optional_enum"
|