Lines Matching refs:cx
56 Cx_t* cx;
94 if (ap->expr && cxeval(fp->cx, ap->expr, fp->data, &ret) < 0 || cxcast(fp->cx, &ret, ap->variable, ap->cast, fp->data, ap->details))
149 cxsub(fp->cx, ap->edit, &ret);
164 dssprintf(Dss_t* dss, Cx_t* cx, Sfio_t* sp, const char* format, Dssrecord_t* record)
181 if (!cx)
182 cx = dss->cx;
334 if (!d && cx->table->opcode[*(unsigned char*)(s - 1)])
349 if (!(pop = cxpush(cx, NiL, NiL, v, (d ? d : s) - v, 0)))
351 ap->expr = cxcomp(cx);
352 cxpop(cx, pop);
356 else if (cx->referencef)
362 a.type = cx->state->type_string;
366 if ((*cx->referencef)(cx, NiL, &r, &b, &a, NiL, cx->disc))
370 else if (!(ap->variable = cxvariable(cx, v, NiL, cx->disc)))
384 ap->cast = cx->state->type_number;
404 ap->cast = cx->state->type_number;
414 ap->cast = cx->state->type_number;
433 ap->cast = cx->state->type_string;
453 if (d || (d = details[*(s-1) - 'a']) || (d = cx->state->type_string->format.details))
470 if (ap->edit = cxedit(cx, v + 5, dss->disc))
600 if (dss->meth->cx->fields)
602 for (vp = (Cxvariable_t*)dtfirst(dss->meth->cx->fields); vp; vp = (Cxvariable_t*)dtnext(dss->meth->cx->fields, vp), n++)
625 vp = dss->meth->cx->fields ? (Cxvariable_t*)dtfirst(dss->meth->cx->fields) : dss->meth->data ? (Cxvariable_t*)dss->meth->data : 0;
629 if (dss->meth->cx->fields)
641 ap->cast = cx->state->type_string;
646 if (dss->meth->cx->fields)
647 vp = (Cxvariable_t*)dtnext(dss->meth->cx->fields, vp);
660 fmt.cx = cx;