Lines Matching defs:dss

22  * dss printf implementation
164 dssprintf(Dss_t* dss, Cx_t* cx, Sfio_t* sp, const char* format, Dssrecord_t* record)
182 cx = dss->cx;
183 for (fp = dss->print; fp && fp->oformat != (char*)format; fp = fp->next);
203 if (dss->disc->errorf)
204 (*dss->disc->errorf)(NiL, dss->disc, 2, "%s: format character omitted", f);
269 if (!(fp = vmnewof(dss->vm, 0, Format_t, 1, (n - 1) * sizeof(Arg_t) + strlen(format) + 2 * n + l + 2)))
271 if (dss->disc->errorf)
272 (*dss->disc->errorf)(NiL, dss->disc, ERROR_SYSTEM|2, "out of space");
276 fp->next = dss->print;
277 dss->print = fp;
311 if (dss->disc->errorf)
312 (*dss->disc->errorf)(NiL, dss->disc, 2, "%s: %(...) imbalance", fp->oformat);
444 if (dss->disc->errorf)
447 (*dss->disc->errorf)(NiL, dss->disc, 2, "%s: (variable) omitted in format", fp->nformat);
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++)
606 else if (dss->meth->data)
608 for (vp = (Cxvariable_t*)dss->meth->data; vp->name; vp++, n++)
613 if (!(fp = vmnewof(dss->vm, 0, Format_t, 1, n * sizeof(Arg_t) + n * (q + 3) + 2)))
615 if (dss->disc->errorf)
616 (*dss->disc->errorf)(NiL, dss->disc, ERROR_SYSTEM|2, "out of space");
620 fp->next = dss->print;
621 dss->print = fp;
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)
646 if (dss->meth->cx->fields)
647 vp = (Cxvariable_t*)dtnext(dss->meth->cx->fields, vp);