HomeSort by relevance Sort by last modified time
    Searched refs:msgdef (Results 1 - 13 of 13) sorted by null

  /external/protobuf/php/ext/google/protobuf/
storage.c 293 MessageLayout* create_layout(const upb_msgdef* msgdef) {
295 int nfields = upb_msgdef_numfields(msgdef);
302 for (upb_msg_field_begin(&it, msgdef); !upb_msg_field_done(&it);
341 for (upb_msg_oneof_begin(&oit, msgdef); !upb_msg_oneof_done(&oit);
361 for (upb_msg_oneof_begin(&oit, msgdef); !upb_msg_oneof_done(&oit);
380 layout->msgdef = msgdef;
381 upb_msgdef_ref(layout->msgdef, &layout->msgdef);
388 upb_msgdef_unref(layout->msgdef, &layout->msgdef)
    [all...]
def.c 147 static void validate_msgdef(const upb_msgdef* msgdef) {
150 for (upb_msg_field_begin(&it, msgdef);
172 defs[i] = (upb_def *)desc->msgdef;
203 upb_msg_field_begin(&iter, self->msgdef);
209 upb_msgdef_unref(self->msgdef, &self->msgdef);
217 upb_msgdef *mut_def = check_msgdef_notfrozen(desc->msgdef);
226 desc->msgdef = upb_msgdef_new(&desc->msgdef);
234 upb_msgdef *mut_def = check_msgdef_notfrozen(desc->msgdef);
    [all...]
message.c 50 field = upb_msgdef_ntofz(self->descriptor->msgdef, Z_STRVAL_P(field_name));
64 field = upb_msgdef_ntofz(self->descriptor->msgdef, Z_STRVAL_P(member));
181 upb_pb_encoder_newhandlers(desc->msgdef, &desc->pb_serialize_handlers);
244 MessageLayout* layout = create_layout(desc->msgdef);
252 const char* name = upb_msgdef_fullname(desc->msgdef);
protobuf.h 72 const upb_msgdef* msgdef; member in struct:Descriptor
118 // submessage type is a map-entry msgdef).
123 // These operate on a map-entry msgdef.
124 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef);
125 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef);
139 const upb_msgdef* msgdef; member in struct:MessageLayout
147 MessageLayout* create_layout(const upb_msgdef* msgdef);
upb.h     [all...]
  /external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
RubyBuilder.java 90 RubyDescriptor msgdef = (RubyDescriptor) cDescriptor.newInstance(context, Block.NULL_BLOCK); local
91 IRubyObject ctx = cMessageBuilderContext.newInstance(context, msgdef, this, Block.NULL_BLOCK);
92 msgdef.setName(context, name);
102 this.pendingList.add(msgdef);
  /external/protobuf/ruby/ext/google/protobuf_c/
storage.c 379 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef) {
380 const upb_fielddef* key_field = upb_msgdef_itof(msgdef, MAP_KEY_FIELD);
385 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef) {
386 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD);
400 MessageLayout* create_layout(const upb_msgdef* msgdef) {
402 int nfields = upb_msgdef_numfields(msgdef);
409 for (upb_msg_field_begin(&it, msgdef);
448 for (upb_msg_oneof_begin(&oit, msgdef);
470 for (upb_msg_oneof_begin(&oit, msgdef);
491 layout->msgdef = msgdef
    [all...]
message.c 155 if (!upb_msgdef_lookupname(self->descriptor->msgdef, name, name_len, &f,
195 f = upb_msgdef_ntofz(self->descriptor->msgdef, name);
364 for (upb_msg_field_begin(&it, self->descriptor->msgdef);
393 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name));
412 field = upb_msgdef_ntofz(self->descriptor->msgdef, RSTRING_PTR(field_name));
436 desc->layout = create_layout(desc->msgdef);
442 name = upb_msgdef_fullname(desc->msgdef);
453 get_def_obj(desc->msgdef));
defs.c 139 upb_symtab_add(self->symtab, (upb_def**)&descriptor->msgdef, 1,
236 upb_msgdef_unref(self->msgdef, &self->msgdef);
277 self->msgdef = upb_msgdef_new(&self->msgdef);
317 return rb_str_maybe_null(upb_msgdef_fullname(self->msgdef));
329 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef);
347 for (upb_msg_field_begin(&it, self->msgdef);
367 const upb_fielddef* field = upb_msgdef_ntofz(self->msgdef, s);
385 upb_msgdef* mut_def = check_msg_notfrozen(self->msgdef);
1666 VALUE msgdef = rb_class_new_instance(0, NULL, cDescriptor); local
    [all...]
encode_decode.c 80 const upb_msgdef *md; // msgdef, for oneof submessage handler
246 // 'startsubmsg' handler on the msgdef that contains the map field.
262 // the map. This is the 'endmsg' handler on the map entry msgdef.
493 // Adds handlers to a map-entry msgdef.
494 static void add_handlers_for_mapentry(const upb_msgdef* msgdef,
497 const upb_fielddef* key_field = map_entry_key(msgdef);
498 const upb_fielddef* value_field = map_entry_value(msgdef);
499 map_handlerdata_t* hd = new_map_handlerdata(0, msgdef, desc);
562 const upb_msgdef* msgdef = upb_handlers_msgdef(h); local
563 Descriptor* desc = ruby_to_Descriptor(get_def_obj((void*)msgdef));
    [all...]
protobuf.h 110 const upb_msgdef* msgdef; member in struct:Descriptor
334 // submessage type is a map-entry msgdef).
339 // These operate on a map-entry msgdef.
340 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef);
341 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef);
451 const upb_msgdef* msgdef; member in struct:MessageLayout
456 MessageLayout* create_layout(const upb_msgdef* msgdef);
upb.h     [all...]
  /external/protobuf/ruby/tests/
basic.rb     [all...]

Completed in 593 milliseconds