Lines Matching defs:sptr
282 A helper function for localizing the SV referenced by C<*sptr>.
287 Otherwise it replaces C<*sptr> with a new C<undef> scalar, and returns that.
301 S_save_scalar_at(pTHX_ SV **sptr, const U32 flags)
308 osv = *sptr;
312 sv = (*sptr = newSV_type(SVt_NULL));
333 SV ** const sptr = &GvSVn(gv);
337 if (UNLIKELY(SvGMAGICAL(*sptr))) {
339 (void)mg_get(*sptr);
342 save_pushptrptr(SvREFCNT_inc_simple(gv), SvREFCNT_inc(*sptr), SAVEt_SV);
343 return save_scalar_at(sptr, SAVEf_SETMAGIC); /* XXX - FIXME - see #60360 */
358 Perl_save_generic_svref(pTHX_ SV **sptr)
362 save_pushptrptr(sptr, SvREFCNT_inc(*sptr), SAVEt_GENERIC_SVREF);
726 Perl_save_sptr(pTHX_ SV **sptr)
730 save_pushptrptr(*sptr, sptr, SAVEt_SPTR);
946 In C<save_aelem>, the SV at C**sptr> will be replaced by a new C<undef>
947 scalar. That scalar will inherit any magic from the original C<**sptr>,
951 the function to forgo all that: the scalar at C<**sptr> is untouched.
952 If C<SAVEf_KEEPOLDELEM> is not set, the SV at C**sptr> will be replaced by a
954 C<**sptr>. Any 'set' magic will be processed if and only if C<SAVEf_SETMAGIC>
961 Perl_save_aelem_flags(pTHX_ AV *av, SSize_t idx, SV **sptr,
969 SvGETMAGIC(*sptr);
972 SS_ADD_PTR(SvREFCNT_inc(*sptr));
979 save_scalar_at(sptr, flags); /* XXX - FIXME - see #60360 */
982 sv = *sptr;
999 In C<save_helem>, the SV at C**sptr> will be replaced by a new C<undef>
1000 scalar. That scalar will inherit any magic from the original C<**sptr>,
1004 the function to forgo all that: the scalar at C<**sptr> is untouched.
1005 If C<SAVEf_KEEPOLDELEM> is not set, the SV at C**sptr> will be replaced by a
1007 C<**sptr>. Any 'set' magic will be processed if and only if C<SAVEf_SETMAGIC>
1014 Perl_save_helem_flags(pTHX_ HV *hv, SV *key, SV **sptr, const U32 flags)
1020 SvGETMAGIC(*sptr);
1025 SS_ADD_PTR(SvREFCNT_inc(*sptr));
1029 save_scalar_at(sptr, flags);
1032 sv = *sptr;
1042 Perl_save_svref(pTHX_ SV **sptr)
1046 SvGETMAGIC(*sptr);
1047 save_pushptrptr(sptr, SvREFCNT_inc(*sptr), SAVEt_SVREF);
1048 return save_scalar_at(sptr, SAVEf_SETMAGIC); /* XXX - FIXME - see #60360 */