/third_party/libwebsockets/lib/jose/jws/ |
D | jose.c | 177 if (!ctx->path_match) in lws_jws_jose_cb() 178 args->jwk_jctx.path_match = 0; in lws_jws_jose_cb() 181 if (args->jwk_jctx.path_match) in lws_jws_jose_cb() 194 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in lws_jws_jose_cb() 199 switch (ctx->path_match - 1) { in lws_jws_jose_cb() 354 if (!args->jose->e[ctx->path_match - 1].buf) { in lws_jws_jose_cb() 355 args->jose->e[ctx->path_match - 1].buf = (uint8_t *)args->temp; in lws_jws_jose_cb() 356 args->jose->e[ctx->path_match - 1].len = 0; in lws_jws_jose_cb() 362 args->jose->e[ctx->path_match - 1].len += ctx->npos; in lws_jws_jose_cb() 366 (const char *)args->jose->e[ctx->path_match - 1].buf, in lws_jws_jose_cb() [all …]
|
D | jws.c | 69 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in lws_jws_json_cb() 72 switch (ctx->path_match - 1) { in lws_jws_json_cb()
|
/third_party/libwebsockets/lib/misc/ |
D | lejp.c | 80 ctx->path_match = 0; in lejp_construct() 157 for (n = 0; !ctx->path_match && in lejp_check_path_match() 188 ctx->path_match = (uint8_t)(n + 1); in lejp_check_path_match() 193 if (!ctx->path_match) in lejp_check_path_match() 464 ctx->path_match = 0; in lejp_parse() 504 if (ctx->path_match && in lejp_parse() 510 ctx->path_match = 0; in lejp_parse() 650 ctx->path_match = 0; in lejp_parse() 655 if (ctx->path_match && in lejp_parse() 661 ctx->path_match = 0; in lejp_parse() [all …]
|
D | lws-struct-lejp.c | 65 ctx->path_match = 1; in lws_struct_schema_only_lejp_cb() 78 if (reason != LEJPCB_VAL_STR_END || ctx->path_match != 1) in lws_struct_schema_only_lejp_cb() 157 if (!ctx->path_match) in lws_struct_default_lejp_cb() 159 map = &args->map_st[ctx->pst_sp][ctx->path_match - 1]; in lws_struct_default_lejp_cb() 169 [ctx->pst[ctx->pst_sp - 1].path_match - 1]; in lws_struct_default_lejp_cb() 173 if (!ctx->path_match) { in lws_struct_default_lejp_cb() 179 map = &args->map_st[ctx->pst_sp][ctx->path_match - 1]; in lws_struct_default_lejp_cb() 198 [ctx->pst[ctx->pst_sp - 1].path_match - 1]; in lws_struct_default_lejp_cb() 201 if (!ctx->path_match) in lws_struct_default_lejp_cb() 204 map = &args->map_st[ctx->pst_sp][ctx->path_match - 1]; in lws_struct_default_lejp_cb() [all …]
|
D | lecp.c | 130 for (n = 0; !ctx->path_match && in lecp_check_path_match() 163 ctx->path_match = (uint8_t)(n + 1); in lecp_check_path_match() 168 if (!ctx->path_match) in lecp_check_path_match()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | lejp-conf.c | 279 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in lejp_globals_cb() 284 ctx->path_match == LWJPGP_REJECT_SERVICE_KEYWORDS_NAME + 1) { in lejp_globals_cb() 300 switch (ctx->path_match - 1) { in lejp_globals_cb() 381 lwsl_notice(" %d: %s (%d)\n", reason, ctx->path, ctx->path_match); in lejp_vhosts_cb() 386 if (reason == LEJPCB_OBJECT_START && ctx->path_match == LEJPVP + 1) { in lejp_vhosts_cb() 463 ctx->path_match == LEJPVP_MOUNTS + 1) { in lejp_vhosts_cb() 470 ctx->path_match == LEJPVP_PROTOCOL_NAME + 1) { in lejp_vhosts_cb() 488 ctx->path_match == LEJPVP_HEADERS_NAME + 1) { in lejp_vhosts_cb() 516 (ctx->path_match == LEJPVP + 1 || !ctx->path[0]) && in lejp_vhosts_cb() 570 ctx->path_match == LEJPVP_MOUNTS + 1) { in lejp_vhosts_cb() [all …]
|
/third_party/nghttp2/src/ |
D | asio_server_serve_mux.cc | 107 bool path_match(const std::string &pattern, const std::string &path) { in path_match() function 120 if (!path_match(pattern, path)) { in match()
|
/third_party/libwebsockets/lib/jose/jwk/ |
D | jose_key.c | 191 if (reason == LEJPCB_OBJECT_START && ctx->path_match == 0 + 1) in cb_jwk() 202 if (reason == LEJPCB_OBJECT_END && ctx->path_match == 0 + 1) { in cb_jwk() 307 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_jwk() 310 if (ctx->path_match == 0 + 1) in cb_jwk() 313 idx = tok_map[ctx->path_match - 1]; in cb_jwk()
|
/third_party/libwebsockets/lib/secure-streams/ |
D | policy-json.c | 325 switch (ctx->path_match - 1) { in lws_ss_policy_parser_cb() 352 (ctx->path_match - 1 == LSSPPT_PLUGINS || in lws_ss_policy_parser_cb() 353 ctx->path_match - 1 == LSSPPT_METADATA || in lws_ss_policy_parser_cb() 354 ctx->path_match - 1 == LSSPPT_HTTPRESPMAP)) in lws_ss_policy_parser_cb() 364 ctx->path_match - 1 == LSSPPT_TRUST_STORES_STACK && !a->count) { in lws_ss_policy_parser_cb() 470 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in lws_ss_policy_parser_cb() 473 switch (ctx->path_match - 1) { in lws_ss_policy_parser_cb() 609 if ((ctx->path_match - 1) == LSSPPT_SERVER_CERT) in lws_ss_policy_parser_cb() 621 ctx->path_match - 1, x); in lws_ss_policy_parser_cb() 926 (ctx->path_match - 1) - LSSPPT_HTTP_AUTH_HEADER]; in lws_ss_policy_parser_cb()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-lejp.h | 215 uint8_t path_match; member 255 uint8_t path_match; member
|
D | lws-lecp.h | 242 uint8_t path_match; member 287 uint8_t path_match; member
|
/third_party/libwebsockets/plugins/acme-client/ |
D | protocol_lws_acme_client.c | 360 if (reason == LEJPCB_VAL_STR_START && ctx->path_match) { in cb_dir() 363 s->dest = s->ac->urls[ctx->path_match - 1]; in cb_dir() 367 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_dir() 413 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_order() 416 switch (ctx->path_match - 1) { in cb_order() 479 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_authz() 482 switch (ctx->path_match - 1) { in cb_authz() 550 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in cb_chac() 553 switch (ctx->path_match - 1) { in cb_chac()
|
/third_party/libwebsockets/lib/secure-streams/system/auth-api.amazon.com/ |
D | auth.c | 79 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in auth_api_amazon_com_parser_cb() 82 switch (ctx->path_match - 1) { in auth_api_amazon_com_parser_cb()
|
/third_party/libwebsockets/test-apps/ |
D | test-lejp.c | 83 ctx->path_match, ctx->pst[ctx->pst_sp].ppos); in cb()
|
D | test-lecp.c | 67 ctx->path_match, ctx->pst[ctx->pst_sp].ppos); in cb()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-hugeurl/ |
D | minimal-secure-streams.c | 173 if (ctx->path_match - 1) in lws_httpbin_json_cb()
|
/third_party/libwebsockets/lib/jose/jwe/ |
D | jwe.c | 64 if (!(reason & LEJP_FLAG_CB_IS_VALUE) || !ctx->path_match) in lws_jwe_json_cb() 67 switch (ctx->path_match - 1) { in lws_jwe_json_cb()
|
/third_party/libwebsockets/READMEs/ |
D | README.json-lejp.md | 79 checkable in the callback using `ctx->path_match`, it's 0 if no active match,
|
D | README.cbor-lecp.md | 138 checkable in the callback using `ctx->path_match`, it's 0 if no active match,
|