Lines Matching defs:ctx
45 cb(struct lejp_ctx *ctx, char reason)
50 for (n = 0; n < ctx->sp; n++)
55 p += lws_snprintf(p, lws_ptr_diff_size_t(end, p), " value '%s' ", ctx->buf);
56 if (ctx->ipos) {
60 for (n = 0; n < ctx->ipos; n++)
61 p += lws_snprintf(p, lws_ptr_diff_size_t(end, p), "%d ", ctx->i[n]);
77 lwsl_notice("%spath: '%s' (LEJPCB_PAIR_NAME)\n", buf, ctx->path);
82 (reason) & (LEJP_FLAG_CB_IS_VALUE - 1)], ctx->path,
83 ctx->path_match, ctx->pst[ctx->pst_sp].ppos);
92 struct lejp_ctx ctx;
100 lejp_construct(&ctx, cb, NULL, tok, LWS_ARRAY_SIZE(tok));
109 m = lejp_parse(&ctx, (uint8_t *)buf, n);
118 lejp_destruct(&ctx);