Home
last modified time | relevance | path

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

/external/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()
67 memset(Message_data(msg), 0, desc->layout->size); in Message_alloc()
77 layout_init(desc->layout, Message_data(msg)); in Message_alloc()
103 oneof_case = *((uint32_t*)((char*)Message_data(self) + case_ofs)); in which_oneof_field()
317 layout_clear(self->descriptor->layout, Message_data(self), oneof_field); in Message_method_missing()
327 layout_set(self->descriptor->layout, Message_data(self), f, argv[1]); in Message_method_missing()
330 layout_clear(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
333 return layout_has(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
335 VALUE value = layout_get(self->descriptor->layout, Message_data(self), f); in Message_method_missing()
[all …]
Dencode_decode.c1176 type_url_str_rb = DEREF(Message_data(msg), type_url_offset, VALUE); in putjsonany()
1211 value_str_rb = DEREF(Message_data(msg), value_offset, VALUE); in putjsonany()
1349 is_default = layout_has(desc->layout, Message_data(msg), f) == Qfalse; in putmsg()
1368 is_default = layout_has(desc->layout, Message_data(msg), f) == Qfalse; \ in putmsg()
Ddefs.c1096 return layout_get(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_get()
1116 return layout_has(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_has()
1133 layout_clear(msg->descriptor->layout, Message_data(msg), self->fielddef); in FieldDescriptor_clear()
1152 layout_set(msg->descriptor->layout, Message_data(msg), self->fielddef, value); in FieldDescriptor_set()
Dprotobuf.h560 void* Message_data(void* msg);