Home
last modified time | relevance | path

Searched refs:Message_data (Results 1 – 4 of 4) sorted by relevance

/third_party/protobuf/ruby/ext/google/protobuf_c/
Dmessage.c37 void* Message_data(void* msg) { in Message_data() function
43 layout_mark(self->descriptor->layout, Message_data(self)); in Message_mark()
73 memcpy(Message_data(msg), desc->layout->empty_template, desc->layout->size); in Message_alloc()
86 slot_read_oneof_case(self->descriptor->layout, Message_data(self), o); in which_oneof_field()
322 layout_clear(self->descriptor->layout, Message_data(self), oneof_field); in Message_method_missing()
332 layout_set(self->descriptor->layout, Message_data(self), f, argv[1]); in Message_method_missing()
335 layout_clear(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
338 return layout_has(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
340 VALUE value = layout_get(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
352 layout_set(self->descriptor->layout, Message_data(self), f, wrapper); in Message_method_missing()
[all …]
Dencode_decode.c1372 type_url_str_rb = DEREF(Message_data(msg), type_url_offset, VALUE); in putjsonany()
1406 value_str_rb = DEREF(Message_data(msg), value_offset, VALUE); in putjsonany()
1517 slot_read_oneof_case(desc->layout, Message_data(msg), oneof); in putmsg()
1543 is_default = layout_has(desc->layout, Message_data(msg), f) == Qfalse; in putmsg()
1554 VALUE val = layout_get(desc->layout, Message_data(msg), f); in putmsg()
1564 is_default = layout_has(desc->layout, Message_data(msg), f) == Qfalse; \ in putmsg()
1724 slot_read_oneof_case(desc->layout, Message_data(msg), oneof); in discard_unknown()
Ddefs.c1095 return layout_get(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_get()
1115 return layout_has(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_has()
1132 layout_clear(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_clear()
1151 layout_set(msg->descriptor->layout, Message_data(msg), self->fielddef, value); in FieldDescriptor_set()
Dprotobuf.h589 void* Message_data(void* msg);