Home
last modified time | relevance | path

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

/external/protobuf/php/ext/google/protobuf/
Dupb.h1112 upb_inttable *ref2s; /* Set of targets for outgoing ref2s. */ member
1117 #define UPB_REFCOUNT_INIT(refs, ref2s) \ argument
1118 {&static_refcount, NULL, NULL, 0, true, refs, ref2s}
1120 #define UPB_REFCOUNT_INIT(refs, ref2s) {&static_refcount, NULL, NULL, 0, true} argument
3038 #define UPB_DEF_INIT(name, type, refs, ref2s) \ argument
3039 { UPB_REFCOUNT_INIT(refs, ref2s), name, type, false }
3081 index, defaultval, refs, ref2s) \ argument
3083 UPB_DEF_INIT(name, UPB_DEF_FIELD, refs, ref2s), defaultval, {msgdef}, \
3116 refs, ref2s) \ argument
3118 UPB_DEF_INIT(name, UPB_DEF_MSG, refs, ref2s), selector_count, \
[all …]
Dupb.c2789 assert(!upb_inttable_lookupptr(from->ref2s, r, NULL)); in track()
2790 ok = upb_inttable_insertptr(from->ref2s, r, upb_value_ptr(NULL)); in track()
2818 bool removed = upb_inttable_removeptr(from->ref2s, r, NULL); in untrack()
2844 upb_inttable_begin(&i, owner->ref2s); in getref2s()
2915 r->ref2s = malloc(sizeof(*r->ref2s)); in trackinit()
2916 if (!r->refs || !r->ref2s) goto err1; in trackinit()
2919 if (!upb_inttable_init(r->ref2s, UPB_CTYPE_PTR)) goto err2; in trackinit()
2926 free(r->ref2s); in trackinit()
2932 upb_inttable_uninit(r->ref2s); in trackfree()
2934 free(r->ref2s); in trackfree()
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h1398 upb_inttable *ref2s; /* Set of targets for outgoing ref2s. */
1404 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
1405 {&static_refcount, NULL, vtbl, 0, true, refs, ref2s}
1407 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
3718 #define UPB_DEF_INIT(name, type, vtbl, refs, ref2s) \
3719 { UPB_REFCOUNT_INIT(vtbl, refs, ref2s), name, NULL, type, false }
3763 index, defaultval, refs, ref2s) \
3765 UPB_DEF_INIT(name, UPB_DEF_FIELD, &upb_fielddef_vtbl, refs, ref2s), \
3798 map_entry, syntax, refs, ref2s) \
3800 UPB_DEF_INIT(name, UPB_DEF_MSG, &upb_fielddef_vtbl, refs, ref2s), \
[all …]
Dupb.c2963 assert(!upb_inttable_lookupptr(from->ref2s, r, NULL)); in track()
2964 upb_inttable_insertptr2(from->ref2s, r, upb_value_ptr(NULL), in track()
2992 bool removed = upb_inttable_removeptr(from->ref2s, r, NULL); in untrack()
3018 upb_inttable_begin(&i, owner->ref2s); in getref2s()
3085 r->ref2s = upb_malloc(&upb_alloc_debugrefs, sizeof(*r->ref2s)); in trackinit()
3087 upb_inttable_init2(r->ref2s, UPB_CTYPE_PTR, &upb_alloc_debugrefs); in trackinit()
3092 upb_inttable_uninit2(r->ref2s, &upb_alloc_debugrefs); in trackfree()
3094 upb_free(&upb_alloc_debugrefs, r->ref2s); in trackfree()