Home
last modified time | relevance | path

Searched refs:pst_sp (Results 1 – 10 of 10) sorted by relevance

/third_party/libwebsockets/lib/misc/
Dlejp.c86 ctx->pst_sp = 0; in lejp_construct()
158 n < ctx->pst[ctx->pst_sp].count_paths; n++) { in lejp_check_path_match()
162 q = *((char **)(((char *)ctx->pst[ctx->pst_sp].paths) + ((unsigned int)n * s))); in lejp_check_path_match()
189 ctx->path_match_len = ctx->pst[ctx->pst_sp].ppos; in lejp_check_path_match()
207 while (--len && n < ctx->pst[ctx->pst_sp].ppos && in lejp_get_wildcard()
243 if (!ctx->sp && !ctx->pst[ctx->pst_sp].ppos) in lejp_parse()
244 ctx->pst[ctx->pst_sp].callback(ctx, LEJPCB_START); in lejp_parse()
274 ctx->path[ctx->pst[ctx->pst_sp].ppos++] = '['; in lejp_parse()
275 ctx->path[ctx->pst[ctx->pst_sp].ppos++] = ']'; in lejp_parse()
276 ctx->path[ctx->pst[ctx->pst_sp].ppos] = '\0'; in lejp_parse()
[all …]
Dlws-struct-lejp.c34 const lws_struct_map_t *map = a->map_st[ctx->pst_sp]; in lws_struct_schema_only_lejp_cb()
35 size_t n = a->map_entries_st[ctx->pst_sp], imp = 0; in lws_struct_schema_only_lejp_cb()
98 if (!ctx->pst_sp) in lws_struct_schema_only_lejp_cb()
99 a->top_schema_index = (int)(map - a->map_st[ctx->pst_sp]); in lws_struct_schema_only_lejp_cb()
106 a->map_st[ctx->pst_sp] = map->child_map; in lws_struct_schema_only_lejp_cb()
107 a->map_entries_st[ctx->pst_sp] = map->child_map_size; in lws_struct_schema_only_lejp_cb()
135 args->map_st[ctx->pst_sp] = map->child_map; in lws_struct_lejp_push()
136 args->map_entries_st[ctx->pst_sp] = map->child_map_size; in lws_struct_lejp_push()
159 map = &args->map_st[ctx->pst_sp][ctx->path_match - 1]; in lws_struct_default_lejp_cb()
167 if (ctx->pst_sp) in lws_struct_default_lejp_cb()
[all …]
Dlecp.c131 n < ctx->pst[ctx->pst_sp].count_paths; n++) { in lecp_check_path_match()
135 q = *((char **)(((char *)ctx->pst[ctx->pst_sp].paths) + in lecp_check_path_match()
164 ctx->path_match_len = ctx->pst[ctx->pst_sp].ppos; in lecp_check_path_match()
180 if (s_start && ctx->pst[ctx->pst_sp].cb(ctx, s_start)) in lecp_push()
220 ctx->pst[ctx->pst_sp].ppos = st->p; in lecp_pop()
229 if (st->pop_iss && ctx->pst[ctx->pst_sp].cb(ctx, st->pop_iss)) in lecp_pop()
264 if (ctx->pst[ctx->pst_sp].cb(ctx, in lwcp_completed()
323 struct _lecp_parsing_stack *pst = &ctx->pst[ctx->pst_sp]; in report_raw_cbor()
377 struct _lecp_parsing_stack *pst = &ctx->pst[ctx->pst_sp]; in lecp_parse()
412 if (ctx->pst[ctx->pst_sp].cb(ctx, in lecp_parse()
[all …]
/third_party/libwebsockets/lib/cose/
Dcose_validate.c458 cps->sub, ctx->pst[ctx->pst_sp].ppos, cps->sp); in cb_cose_sig()
529 if (ctx->pst[ctx->pst_sp].ppos == 4 || in cb_cose_sig()
530 ctx->pst[ctx->pst_sp].ppos == 6) { in cb_cose_sig()
545 if (ctx->pst[ctx->pst_sp].ppos != 2) in cb_cose_sig()
582 if (ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_sig()
644 if (ctx->pst[ctx->pst_sp].ppos >= 4) { in cb_cose_sig()
Dcose_key.c317 ctx->pst[ctx->pst_sp].ppos); in cb_cose_key()
326 if (cps->pkey_set && ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_key()
341 if (cps->pkey_set && ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_key()
/third_party/libwebsockets/test-apps/
Dtest-lejp.c83 ctx->path_match, ctx->pst[ctx->pst_sp].ppos); in cb()
Dtest-lecp.c67 ctx->path_match, ctx->pst[ctx->pst_sp].ppos); in cb()
/third_party/libwebsockets/include/libwebsockets/
Dlws-lejp.h258 uint8_t pst_sp; /* parsing stack head */ member
Dlws-lecp.h290 uint8_t pst_sp; /* parsing stack head */ member
/third_party/libwebsockets/lib/jose/jws/
Djose.c182 args->jwk_jctx.pst[args->jwk_jctx.pst_sp]. in lws_jws_jose_cb()