Lines Matching defs:rcpv
15881 RCPV *rcpv;
15903 rcpv = (RCPV *)PerlMemShared_malloc(sizeof(struct rcpv) + len);
15904 if (!rcpv)
15907 rcpv->len = len; /* store length including null,
15909 rcpv->refcount = 1;
15912 (void)memcpy(rcpv->pv, pv, len-1);
15914 rcpv->pv[len-1]= '\0'; /* the last byte should always be null */
15915 return rcpv->pv;
15943 RCPV *rcpv = RCPVx(pv);
15945 assert(rcpv->refcount);
15946 assert(rcpv->len);
15949 if (--rcpv->refcount == 0) {
15950 rcpv->len = 0;
15951 PerlMemShared_free(rcpv);
15983 RCPV *rcpv = RCPVx(pv);
15985 rcpv->refcount++;