Home
last modified time | relevance | path

Searched refs:msg_value (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dmessage.c619 VALUE msg_value = layout_get(self->descriptor->layout, Message_data(self), in Message_to_h() local
623 msg_value = Map_to_h(msg_value); in Message_to_h()
625 msg_value = RepeatedField_to_ary(msg_value); in Message_to_h()
627 RARRAY_LEN(msg_value) == 0) { in Message_to_h()
632 for (int i = 0; i < RARRAY_LEN(msg_value); i++) { in Message_to_h()
633 VALUE elem = rb_ary_entry(msg_value, i); in Message_to_h()
634 rb_ary_store(msg_value, i, Message_to_h(elem)); in Message_to_h()
638 } else if (msg_value != Qnil && in Message_to_h()
640 msg_value = Message_to_h(msg_value); in Message_to_h()
642 rb_hash_aset(hash, msg_key, msg_value); in Message_to_h()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py2307 msg_value = msg.map_int32_all_types[2]
2312 self.assertEqual(msg_value.optional_string, 'bar')