/third_party/libwebsockets/lib/plat/unix/ |
D | unix-resolv.c | 63 if (!ns && !strncmp("nameserver", ts.token, ts.token_len)) { in lws_plat_asyncdns_init() 73 if (ts.token_len > (int)sizeof(ads) - 1) in lws_plat_asyncdns_init() 76 memcpy(ads, ts.token, ts.token_len); in lws_plat_asyncdns_init() 77 ads[ts.token_len] = '\0'; in lws_plat_asyncdns_init()
|
/third_party/libwebsockets/lib/system/fault-injection/ |
D | fault-injection.c | 321 lws_strnncpy(nm, ts.token, ts.token_len, in lws_fi_deserialize() 327 (int)ts.token_len, ts.token); in lws_fi_deserialize() 346 pat = lws_zalloc((ts.token_len >> 3) + 1, in lws_fi_deserialize() 351 fi.count = (uint64_t)ts.token_len; in lws_fi_deserialize() 353 for (n = 0; n < ts.token_len; n++) in lws_fi_deserialize() 360 (ts.token_len >> 3) + 1); in lws_fi_deserialize() 368 for (m = 0; m < (int)ts.token_len - 1; m++) in lws_fi_deserialize() 377 if (m != (int)ts.token_len && in lws_fi_deserialize()
|
/third_party/libwebsockets/lib/core/ |
D | libwebsockets.c | 830 ts->token_len = 0; in lws_tokenize() 868 ts->token_len++; in lws_tokenize() 894 ts->token_len = 0; in lws_tokenize() 925 ts->token_len++; in lws_tokenize() 965 ts->token_len = 1; in lws_tokenize() 969 ts->token_len++; in lws_tokenize() 994 ts->token_len = 1; in lws_tokenize() 999 ts->token_len++; in lws_tokenize() 1051 if (ts->token_len + 1 >= max) in lws_tokenize_cstr() 1054 memcpy(str, ts->token, ts->token_len); in lws_tokenize_cstr() [all …]
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/ |
D | main.c | 547 lws_strnncpy(dotstar, ts.token, ts.token_len, in main() 551 (int)ts.token_len); in main() 568 (ts.token_len != exp->len || in main() 570 lws_strnncpy(dotstar, ts.token, ts.token_len, in main() 573 (int)ts.token_len, (int)exp->len, in main() 636 lws_strnncpy(dotstar, ts.token, ts.token_len, in main() 641 dotstar, (int)ts.token_len); in main()
|
/third_party/libwebsockets/lib/core-net/ |
D | network.c | 690 if (ts.token_len > 4) in lws_parse_numeric_address() 692 memcpy(t, ts.token, ts.token_len); in lws_parse_numeric_address() 693 t[ts.token_len] = '\0'; in lws_parse_numeric_address() 694 for (n = 0; n < ts.token_len; n++) in lws_parse_numeric_address() 704 if (ts.token_len > 3) in lws_parse_numeric_address() 706 memcpy(t, ts.token, ts.token_len); in lws_parse_numeric_address() 707 t[ts.token_len] = '\0'; in lws_parse_numeric_address() 708 for (n = 0; n < ts.token_len; n++) in lws_parse_numeric_address()
|
/third_party/libwebsockets/plugins/raw-proxy/ |
D | protocol_lws_raw_proxy.c | 209 if (!strncmp(ts.token, "ipv6", ts.token_len)) in callback_raw_proxy() 212 if (strncmp(ts.token, "ipv4", ts.token_len)) in callback_raw_proxy() 222 ts.token_len + 1 >= (int)sizeof(vhd->addr)) in callback_raw_proxy() 225 lws_strncpy(vhd->addr, ts.token, ts.token_len + 1); in callback_raw_proxy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | sae.c | 873 size_t *token_len) in sae_parse_commit_token() argument 880 if (token_len) in sae_parse_commit_token() 881 *token_len = 0; in sae_parse_commit_token() 922 if (token_len) in sae_parse_commit_token() 923 *token_len = tlen; in sae_parse_commit_token() 1121 const u8 **token, size_t *token_len, int *allowed_groups) in sae_parse_commit() argument 1135 sae_parse_commit_token(sae, &pos, end, token, token_len); in sae_parse_commit()
|
D | sae.h | 75 const u8 **token, size_t *token_len, int *allowed_groups);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | sae.c | 1807 size_t *token_len, int h2e) in sae_parse_commit_token() argument 1813 if (token_len) in sae_parse_commit_token() 1814 *token_len = 0; in sae_parse_commit_token() 1835 if (token_len) in sae_parse_commit_token() 1836 *token_len = tlen; in sae_parse_commit_token() 1843 const u8 **token, size_t *token_len) in sae_parse_token_container() argument 1850 *token_len = pos[1] - 1; in sae_parse_token_container() 1852 *token, *token_len); in sae_parse_token_container() 2093 const u8 **token, size_t *token_len, int *allowed_groups, in sae_parse_commit() argument 2108 sae_parse_commit_token(sae, &pos, end, token, token_len, h2e); in sae_parse_commit() [all …]
|
D | sae.h | 133 const u8 **token, size_t *token_len, int *allowed_groups,
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-tokenize.h | 91 size_t token_len; /**< the length of the identied token or delimiter */ member
|
/third_party/libwebsockets/lib/secure-streams/protocols/ |
D | ss-h1.c | 703 ts.token_len == 8) { in secstream_h1() 712 ts.token, ts.token_len, in secstream_h1() 715 (uint8_t)(ts.token_len + 4); in secstream_h1()
|
/third_party/libwebsockets/lib/misc/ |
D | dir.c | 384 ts.token_len, in lws_plugins_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | sme.c | 1272 size_t token_len; in sme_sae_auth() local 1299 token_len = len - sizeof(le16); in sme_sae_auth() 1302 if (token_len < 3) { in sme_sae_auth() 1309 token_pos[1] > token_len - 2 || in sme_sae_auth() 1315 token_len = token_pos[1] - 1; in sme_sae_auth() 1318 wpa_s->sme.sae_token = wpabuf_alloc_copy(token_pos, token_len); in sme_sae_auth()
|
D | ctrl_iface.c | 6049 long int token_len; local 6062 token_len = last - token; 6064 if (token_len == 3 && 6065 os_memcmp(token, "UDP", token_len) == 0) { 6067 } else if (token_len == 3 && 6068 os_memcmp(token, "MAC", token_len) == 0) {
|
/third_party/libwebsockets/lib/jose/jws/ |
D | jws.c | 1002 if (ts.e == LWS_TOKZE_TOKEN && ts.token_len == n && in lws_jwt_signed_validate() 1003 !strncmp(jose.alg->alg, ts.token, ts.token_len)) in lws_jwt_signed_validate()
|
/third_party/libwebsockets/lib/roles/ws/ |
D | client-ws.c | 305 if (!strncasecmp(ts.token, "upgrade", ts.token_len)) in lws_client_ws_upgrade()
|
D | server-ws.c | 474 if (!strncasecmp(ts.token, "upgrade", ts.token_len)) in lws_process_ws_upgrade()
|
/third_party/libwebsockets/lib/system/metrics/ |
D | metrics.c | 266 if (!lws_strcmp_wildcard(ts.token, ts.token_len, name, in lws_metrics_check_in_policy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | ieee802_11.c | 548 const u8 *token, size_t token_len) in check_sae_token() argument 556 if (token_len != SHA256_MAC_LEN) in check_sae_token() 1038 size_t token_len = 0; in handle_auth_sae() local 1139 &token_len, groups); in handle_auth_sae() 1157 if (token && check_sae_token(hapd, sta->addr, token, token_len) in handle_auth_sae()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 2106 if (strncmp(ts.token, wsi->a.vhost->name, ts.token_len)) { in lws_confirm_host_header() 2107 buf[(size_t)(ts.token - buf) + ts.token_len] = '\0'; in lws_confirm_host_header()
|
/third_party/libcoap/src/ |
D | coap_block.c | 1992 size_t token_len; in coap_block_test_q_block() local 2012 coap_session_new_token(session, &token_len, token); in coap_block_test_q_block() 2013 coap_add_token(pdu, token_len, token); in coap_block_test_q_block()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
D | ieee802_11.c | 745 const u8 *token, size_t token_len) in check_comeback_token() argument 753 if (token_len != SHA256_MAC_LEN || in check_comeback_token() 1352 size_t token_len = 0; in handle_auth_sae() local 1454 &token_len, groups, status_code == in handle_auth_sae() 1475 check_comeback_token(hapd, sta->addr, token, token_len) in handle_auth_sae()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | ctrl_iface.c | 5453 long int token_len; in p2ps_ctrl_parse_cpt_priority() local 5466 token_len = last - token; in p2ps_ctrl_parse_cpt_priority() 5468 if (token_len == 3 && in p2ps_ctrl_parse_cpt_priority() 5469 os_memcmp(token, "UDP", token_len) == 0) { in p2ps_ctrl_parse_cpt_priority() 5471 } else if (token_len == 3 && in p2ps_ctrl_parse_cpt_priority() 5472 os_memcmp(token, "MAC", token_len) == 0) { in p2ps_ctrl_parse_cpt_priority()
|
/third_party/skia/third_party/externals/wuffs/release/c/ |
D | wuffs-v0.3.c | 39391 uint64_t token_len = token.length(); in DecodeCbor() local 39393 ((io_buf->meta.ri - cursor_index) < token_len)) { in DecodeCbor() 39399 cursor_index += static_cast<size_t>(token_len); in DecodeCbor() 39460 str.append(ptr, static_cast<size_t>(token_len)); in DecodeCbor() 39509 switch (token_len) { in DecodeCbor() 39558 if (token_len == 9) { in DecodeCbor() 40094 uint64_t token_len = token.length(); \ 40096 ((io_buf->meta.ri - cursor_index) < token_len)) { \ 40103 cursor_index += static_cast<size_t>(token_len) 40218 str.append(ptr, static_cast<size_t>(token_len)); in DecodeJson_WalkJsonPointerFragment() [all …]
|