Lines Matching refs:newf
724 upb_fielddef *newf = upb_fielddef_new(owner); in upb_fielddef_dup() local
725 if (!newf) return NULL; in upb_fielddef_dup()
726 upb_fielddef_settype(newf, upb_fielddef_type(f)); in upb_fielddef_dup()
727 upb_fielddef_setlabel(newf, upb_fielddef_label(f)); in upb_fielddef_dup()
728 upb_fielddef_setnumber(newf, upb_fielddef_number(f), NULL); in upb_fielddef_dup()
729 upb_fielddef_setname(newf, upb_fielddef_name(f), NULL); in upb_fielddef_dup()
732 upb_fielddef_setdefaultstr(newf, s->str, s->len, NULL); in upb_fielddef_dup()
734 newf->default_is_string = f->default_is_string; in upb_fielddef_dup()
735 newf->defaultval = f->defaultval; in upb_fielddef_dup()
746 upb_fielddef_unref(newf, owner); in upb_fielddef_dup()
751 upb_fielddef_setsubdefname(newf, newname, NULL); in upb_fielddef_dup()
755 return newf; in upb_fielddef_dup()