Lines Matching defs:cx
52 lookup_beg(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc)
68 (*disc->errorf)(cx, disc, ERROR_SYSTEM|2, "out of space");
75 sfprintf(cx->buf, "%s%s", strchr(dss_lib_lookup.description, '['), lookup_usage);
76 s = sfstruse(cx->buf);
84 (*disc->errorf)(cx, disc, ERROR_USAGE|4, "%s", opt_info.arg);
91 (*disc->errorf)(cx, disc, 2, "%s", opt_info.arg);
104 (*disc->errorf)(cx, disc, 2, "file and variable arguments expected");
107 if (!(state->variable = cxvariable(cx, argv[1], NiL, disc)))
110 (*disc->errorf)(cx, disc, 2, "%s: variable not defined", argv[1]);
120 (*disc->errorf)(cx, disc, ERROR_SYSTEM|2, "out of space");
135 lookup_sel(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc)
140 if (cxcast(cx, &val, state->variable, cx->state->type_string, data, NiL))
146 lookup_end(Cx_t* cx, Cxexpr_t* expr, void* data, Cxdisc_t* disc)