Searched refs:newo (Results 1 – 2 of 2) sorted by relevance
/external/protobuf/php/ext/google/protobuf/ |
D | upb.c | 1555 upb_oneofdef *newo = upb_oneofdef_new(owner); in upb_oneofdef_dup() local 1556 if (!newo) return NULL; in upb_oneofdef_dup() 1557 ok = upb_def_setfullname(upb_oneofdef_upcast_mutable(newo), in upb_oneofdef_dup() 1562 if (!f || !upb_oneofdef_addfield(newo, f, &f, NULL)) { in upb_oneofdef_dup() 1563 upb_oneofdef_unref(newo, owner); in upb_oneofdef_dup() 1567 return newo; in upb_oneofdef_dup()
|
/external/protobuf/ruby/ext/google/protobuf_c/ |
D | upb.c | 1771 upb_oneofdef *newo = upb_oneofdef_new(owner); in upb_oneofdef_dup() local 1772 if (!newo) return NULL; in upb_oneofdef_dup() 1773 ok = upb_oneofdef_setname(newo, upb_oneofdef_name(o), NULL); in upb_oneofdef_dup() 1777 if (!f || !upb_oneofdef_addfield(newo, f, &f, NULL)) { in upb_oneofdef_dup() 1778 upb_oneofdef_unref(newo, owner); in upb_oneofdef_dup() 1782 return newo; in upb_oneofdef_dup()
|