Lines Matching defs:refcnt
222 int refcnt;
462 if (*s && (**s).refcnt-- == 0) xfree(*s); //free_zstring(s);
468 if (s) s->refcnt++;
471 // !! Use only if 'to' is NULL or its refcnt is 0.
478 to->refcnt = 0;
487 // If refcnt is nonzero then there is another pointer to this zstring,
488 // so copy this one and release it. If refcnt is zero we can mutate this.
491 if (to && to->refcnt) {
540 // Note the incr refcnt used to be after the zlist_append, but that caused a
545 if (IS_STR(v) && v->vst) v->vst->refcnt++; // inlined zstring_incr_refcnt()
694 // Assign key to new slot entry and bump refcnt.
3799 ////// FIXME refcnt -- prob. don't need to copy from TT.stack?
4375 *v = new_str_val(++pval); // FIXME refcnt