Home
last modified time | relevance | path

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

/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.c404 upb_inttable_compact(&m->itof); in _upb_def_validate()
1404 upb_inttable_uninit(&m->itof); in freemsg()
1420 if (!upb_inttable_init(&m->itof, UPB_CTYPE_PTR)) goto err2; in upb_msgdef_new()
1427 upb_inttable_uninit(&m->itof); in upb_msgdef_new()
1524 upb_inttable_insert(&m->itof, upb_fielddef_number(f), upb_value_ptr(f)); in add_field()
1610 return upb_inttable_lookup32(&m->itof, i, &val) ? in upb_msgdef_itof()
1652 return upb_inttable_count(&m->itof); in upb_msgdef_numfields()
1657 return upb_strtable_count(&m->ntof) - upb_inttable_count(&m->itof); in upb_msgdef_numoneofs()
1670 upb_inttable_begin(iter, &m->itof); in upb_msg_field_begin()
1734 upb_inttable_uninit(&o->itof); in freeoneof()
[all …]
Dupb.h3781 upb_inttable itof; /* int to field */
3797 #define UPB_MSGDEF_INIT(name, selector_count, submsg_field_count, itof, ntof, \
3801 selector_count, submsg_field_count, itof, ntof, map_entry, syntax \
3829 upb_inttable itof;
3835 #define UPB_ONEOFDEF_INIT(name, ntof, itof, refs, ref2s) \
3836 { UPB_REFCOUNT_INIT(&upb_oneofdef_vtbl, refs, ref2s), name, ntof, itof }
/external/protobuf/php/ext/google/protobuf/
Dupb.c352 upb_inttable_compact(&m->itof); in upb_def_freeze()
1256 upb_inttable_uninit(&m->itof); in freemsg()
1267 if (!upb_inttable_init(&m->itof, UPB_CTYPE_PTR)) goto err3; in upb_msgdef_new()
1276 upb_inttable_uninit(&m->itof); in upb_msgdef_new()
1353 upb_inttable_insert(&m->itof, upb_fielddef_number(f), upb_value_ptr(f)); in add_field()
1439 return upb_inttable_lookup32(&m->itof, i, &val) ? in upb_msgdef_itof()
1475 upb_inttable_begin(iter, &m->itof); in upb_msg_field_begin()
1528 upb_inttable_uninit(&o->itof); in freeoneof()
1541 if (!upb_inttable_init(&o->itof, UPB_CTYPE_PTR)) goto err2; in upb_oneofdef_new()
1546 upb_inttable_uninit(&o->itof); in upb_oneofdef_new()
[all …]
Dupb.h3099 upb_inttable itof; /* int to field */ member
3115 #define UPB_MSGDEF_INIT(name, selector_count, submsg_field_count, itof, ntof, \ argument
3119 submsg_field_count, itof, ntof, \
3144 upb_inttable itof; member
3148 #define UPB_ONEOFDEF_INIT(name, ntof, itof, refs, ref2s) \ argument
3149 { UPB_DEF_INIT(name, UPB_DEF_ENUM, refs, ref2s), ntof, itof }