Lines Matching defs:IS_STR
245 #define IS_STR(zvalp) ((zvalp)->flags & ZF_STR)
545 if (IS_STR(v) && v->vst) v->vst->refcnt++; // inlined zstring_incr_refcnt()
2577 if (IS_STR(v)) return v;
2582 if (!IS_STR(&STACK[fmt_offs])) {
2601 #define ENSURE_STR(v) (IS_STR(v) ? (v) : to_str(v))
2677 if (IS_STR(v) && v->vst) return (int)atof(v->vst->str);
2747 char *fs = IS_STR(zvfs) ? zvfs->vst->str : "";
2752 if (!*s || (IS_STR(zvfs) && !*fs) || IS_EMPTY_RX(zvfs)) {
2925 else if (IS_STR(v)) r = (v->vst && v->vst->str[0]);
2939 if (IS_STR(v) && v->vst) v->num = atof(v->vst->str);