Lines Matching defs:ctx
55 cb(struct lecp_ctx *ctx, char reason)
60 for (n = 0; n < ctx->sp; n++)
66 (LEJP_FLAG_CB_IS_VALUE - 1)], ctx->path,
67 ctx->path_match, ctx->pst[ctx->pst_sp].ppos);
75 (unsigned long long)ctx->item.u.u64);
81 " value '%s' ", ctx->buf);
87 if (ctx->npos)
88 lwsl_hexdump_notice(ctx->buf, (size_t)ctx->npos);
94 (long long)ctx->item.u.i64);
104 (unsigned long long)ctx->item.u.u64);
107 if (ctx->ipos) {
111 for (n = 0; n < ctx->ipos; n++)
112 p += lws_snprintf(p, lws_ptr_diff_size_t(end, p), "%d ", ctx->i[n]);
127 lwsl_notice("%spath: '%s' (LEJPCB_PAIR_NAME)\n", buf, ctx->path);
130 lwsl_notice("LECPCB_TAG_START: %llu\r\n", (unsigned long long)ctx->item.u.u64);
141 struct lecp_ctx ctx;
149 lecp_construct(&ctx, cb, NULL, tok, LWS_ARRAY_SIZE(tok));
158 m = lecp_parse(&ctx, (uint8_t *)buf, (size_t)n);
167 lecp_destruct(&ctx);