Lines Matching defs:callout
804 x->callout = x->op == CX_MATCH ? op_match : op_nomatch;
1361 * add an op callout
1365 cxaddcallout(Cx_t* cx, register Cxcallout_t* callout, Cxdisc_t* disc)
1394 *copy = *callout;
1395 callout = copy;
1397 else if (callout->op.code == CX_GET || callout->op.code == CX_SET || callout->op.code == CX_DEL || callout->op.code == CX_RET)
1400 (*disc->errorf)(NiL, disc, 2, "%s: callout must be local", cxcodename(callout->op.code));
1405 if (!(callout->header.flags & CX_NORMALIZED))
1407 callout->header.flags |= CX_NORMALIZED;
1408 if (!(name = (char*)callout->op.type1))
1409 callout->op.type1 = state.type_void;
1410 else if (!(callout->op.type1 = cxtype(cx, name, disc)))
1416 if (!(name = (char*)callout->op.type2))
1417 callout->op.type2 = state.type_void;
1418 else if (!(callout->op.type2 = cxtype(cx, name, disc)))
1425 if (!(copy = (Cxcallout_t*)dtinsert(dict, callout)) || copy->callout != callout->callout)
1428 (*disc->errorf)(NiL, disc, 2, "callout initialization error");
1435 * return callout given <code,type1,type2>
1441 Cxcallout_t* callout;
1450 while (!(callout = (Cxcallout_t*)dtmatch(cx ? cx->callouts : state.callouts, &op)))
1459 return callout->callout;
2154 x.callout = 0;
2165 (*cx->disc->errorf)(NiL, cx->disc, 3, "%s: cx CX_GET callout must be defined", var->name);
2265 if ((x.callout = cxcallout(cx, CX_CAST, ret->type, type, cx->disc)) && !(*x.callout)(cx, &x, ret, NiL, &val, NiL, cx->disc))