Home
last modified time | relevance | path

Searched refs:upb_fielddef (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/ruby/ext/google/protobuf_c/
Dstorage.c349 const upb_msgdef* tryget_map_entry_msgdef(const upb_fielddef* field) { in tryget_map_entry_msgdef()
359 const upb_msgdef *map_entry_msgdef(const upb_fielddef* field) { in map_entry_msgdef()
365 bool is_map_field(const upb_fielddef *field) { in is_map_field()
369 const upb_fielddef* map_field_key(const upb_fielddef* field) { in map_field_key()
374 const upb_fielddef* map_field_value(const upb_fielddef* field) { in map_field_value()
379 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef) { in map_entry_key()
380 const upb_fielddef* key_field = upb_msgdef_itof(msgdef, MAP_KEY_FIELD); in map_entry_key()
385 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef) { in map_entry_value()
386 const upb_fielddef* value_field = upb_msgdef_itof(msgdef, MAP_VALUE_FIELD); in map_entry_value()
412 const upb_fielddef* field = upb_msg_iter_field(&it); in create_layout()
[all …]
Dupb.h2196 upb_fielddef *upb_fielddef_new(const void *owner);
2197 upb_fielddef *upb_fielddef_dup(const upb_fielddef *f, const void *owner);
2200 UPB_REFCOUNTED_CMETHODS(upb_fielddef, upb_fielddef_upcast2)
2203 const char *upb_fielddef_fullname(const upb_fielddef *f);
2204 bool upb_fielddef_setfullname(upb_fielddef *f, const char *fullname,
2207 bool upb_fielddef_typeisset(const upb_fielddef *f);
2208 upb_fieldtype_t upb_fielddef_type(const upb_fielddef *f);
2209 upb_descriptortype_t upb_fielddef_descriptortype(const upb_fielddef *f);
2210 upb_label_t upb_fielddef_label(const upb_fielddef *f);
2211 uint32_t upb_fielddef_number(const upb_fielddef *f);
[all …]
Dencode_decode.c68 const upb_fielddef* f) { in newsubmsghandlerdata()
86 const upb_fielddef *f) { in newoneofhandlerdata()
300 const upb_fielddef* key_field; in new_map_handlerdata()
301 const upb_fielddef* value_field; in new_map_handlerdata()
397 const upb_fielddef *f, in add_handlers_for_repeated_field()
443 const upb_fielddef *f, in add_handlers_for_singular_field()
480 const upb_fielddef* fielddef, in add_handlers_for_mapfield()
497 const upb_fielddef* key_field = map_entry_key(msgdef); in add_handlers_for_mapentry()
498 const upb_fielddef* value_field = map_entry_value(msgdef); in add_handlers_for_mapentry()
516 const upb_fielddef *f, in add_handlers_for_oneof_field()
[all …]
Dprotobuf.h126 const upb_fielddef* fielddef;
323 VALUE field_type_class(const upb_fielddef* field);
335 bool is_map_field(const upb_fielddef* field);
336 const upb_fielddef* map_field_key(const upb_fielddef* field);
337 const upb_fielddef* map_field_value(const upb_fielddef* field);
340 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef);
341 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef);
460 const upb_fielddef* field);
463 const upb_fielddef* field,
Dupb.c80 static const upb_fielddef *upb_trygetfield(const upb_refcounted *def) { in upb_trygetfield()
81 return upb_isfield(def) ? (const upb_fielddef*)def : NULL; in upb_trygetfield()
159 static bool upb_validate_field(upb_fielddef *f, upb_status *s) { in upb_validate_field()
266 uint32_t field_rank(const upb_fielddef *f) { in field_rank()
276 const upb_fielddef *f1 = *(upb_fielddef*const*)p1; in cmp_fields()
277 const upb_fielddef *f2 = *(upb_fielddef*const*)p2; in cmp_fields()
288 upb_fielddef **fields; in assign_msg_indices()
306 upb_fielddef *f = upb_msg_iter_field(&j); in assign_msg_indices()
322 upb_fielddef *f = fields[i]; in assign_msg_indices()
346 upb_fielddef *f = upb_msg_iter_field(&j); in assign_msg_indices()
[all …]
Dmessage.c79 const upb_fielddef* first_field; in which_oneof_field()
80 const upb_fielddef* f; in which_oneof_field()
133 const upb_fielddef* f; in Message_method_missing()
185 const upb_fielddef* f; in Message_initialize_kwarg()
367 const upb_fielddef* field = upb_msg_iter_field(&it); in Message_to_h()
390 const upb_fielddef* field; in Message_index()
409 const upb_fielddef* field; in Message_index_set()
Ddefs.c62 static upb_fielddef* check_field_notfrozen(const upb_fielddef* def) { in check_field_notfrozen()
350 const upb_fielddef* field = upb_msg_iter_field(&it); in Descriptor_each()
367 const upb_fielddef* field = upb_msgdef_ntofz(self->msgdef, s); in Descriptor_lookup()
387 upb_fielddef* mut_field_def = check_field_notfrozen(def->fielddef); in Descriptor_add_field()
500 upb_fielddef* fielddef = upb_fielddef_new(&self->fielddef); in FieldDescriptor_alloc()
547 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_name_set()
691 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_type_set()
730 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_label_set()
779 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_number_set()
814 upb_fielddef* mut_def = check_field_notfrozen(self->fielddef); in FieldDescriptor_submsg_name_set()
[all …]
/external/protobuf/php/ext/google/protobuf/
Ddef.c27 static upb_fielddef *check_fielddef_notfrozen(const upb_fielddef *def) { in check_fielddef_notfrozen()
153 const upb_fielddef* field = upb_msg_iter_field(&it); in validate_msgdef()
205 upb_fielddef *fielddef = upb_msg_iter_field(&iter); in descriptor_free_c()
216 const upb_fielddef *fielddef) { in descriptor_add_field()
218 upb_fielddef *mut_field_def = check_fielddef_notfrozen(fielddef); in descriptor_add_field()
243 static void field_descriptor_name_set(const upb_fielddef* fielddef, in field_descriptor_name_set()
245 upb_fielddef *mut_def = check_fielddef_notfrozen(fielddef); in field_descriptor_name_set()
250 static void field_descriptor_label_set(const upb_fielddef* fielddef, in field_descriptor_label_set()
252 upb_fielddef *mut_def = check_fielddef_notfrozen(fielddef); in field_descriptor_label_set()
287 static void field_descriptor_type_set(const upb_fielddef* fielddef, in field_descriptor_type_set()
[all …]
Dstorage.c264 const upb_msgdef* tryget_map_entry_msgdef(const upb_fielddef* field) { in tryget_map_entry_msgdef()
274 const upb_msgdef* map_entry_msgdef(const upb_fielddef* field) { in map_entry_msgdef()
280 bool is_map_field(const upb_fielddef* field) { in is_map_field()
304 const upb_fielddef* field = upb_msg_iter_field(&it); in create_layout()
354 const upb_fielddef* field = upb_oneof_iter_field(&fit); in create_layout()
372 const upb_fielddef* field = upb_oneof_iter_field(&fit); in create_layout()
406 const upb_fielddef* field) { in slot_memory()
411 const upb_fielddef* field) { in slot_oneof_case()
416 void layout_set(MessageLayout* layout, void* storage, const upb_fielddef* field, in layout_set()
461 const upb_fielddef* field = upb_msg_iter_field(&it); in layout_init()
[all …]
Dprotobuf.h87 const upb_fielddef* fielddef;
119 bool is_map_field(const upb_fielddef* field);
120 const upb_fielddef* map_field_key(const upb_fielddef* field);
121 const upb_fielddef* map_field_value(const upb_fielddef* field);
124 const upb_fielddef* map_entry_key(const upb_msgdef* msgdef);
125 const upb_fielddef* map_entry_value(const upb_msgdef* msgdef);
146 const upb_fielddef* field TSRMLS_DC);
Dupb.h1737 upb_fielddef *upb_fielddef_new(const void *owner);
1738 upb_fielddef *upb_fielddef_dup(const upb_fielddef *f, const void *owner);
1741 UPB_REFCOUNTED_CMETHODS(upb_fielddef, upb_fielddef_upcast2)
1744 const char *upb_fielddef_fullname(const upb_fielddef *f);
1745 bool upb_fielddef_setfullname(upb_fielddef *f, const char *fullname,
1748 bool upb_fielddef_typeisset(const upb_fielddef *f);
1749 upb_fieldtype_t upb_fielddef_type(const upb_fielddef *f);
1750 upb_descriptortype_t upb_fielddef_descriptortype(const upb_fielddef *f);
1751 upb_label_t upb_fielddef_label(const upb_fielddef *f);
1752 uint32_t upb_fielddef_number(const upb_fielddef *f);
[all …]
Dupb.c116 static bool upb_validate_field(upb_fielddef *f, upb_status *s) { in upb_validate_field()
223 uint32_t field_rank(const upb_fielddef *f) { in field_rank()
233 const upb_fielddef *f1 = *(upb_fielddef*const*)p1; in cmp_fields()
234 const upb_fielddef *f2 = *(upb_fielddef*const*)p2; in cmp_fields()
245 upb_fielddef **fields = malloc(n * sizeof(*fields)); in assign_msg_indices()
252 upb_fielddef *f = upb_msg_iter_field(&j); in assign_msg_indices()
268 upb_fielddef *f = fields[i]; in assign_msg_indices()
292 upb_fielddef *f = upb_msg_iter_field(&j); in assign_msg_indices()
521 static void upb_fielddef_init_default(upb_fielddef *f);
523 static void upb_fielddef_uninit_default(upb_fielddef *f) { in upb_fielddef_uninit_default()
[all …]
Dmessage.c45 const upb_fielddef* field; in message_set_property()
63 const upb_fielddef* field; in message_get_property()