/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/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 98 const size_t token_len = strlen(cur.token.get()); in GrpcLbLoadReportRequestCreate() local 99 char* token = reinterpret_cast<char*>(upb_arena_malloc(arena, token_len)); in GrpcLbLoadReportRequestCreate() 100 memcpy(token, cur.token.get(), token_len); in GrpcLbLoadReportRequestCreate() 102 cur_msg, upb_strview_make(token, token_len)); in GrpcLbLoadReportRequestCreate()
|
/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/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/ |
D | regex_tokenizer_op.cc | 68 int token_len = deli_start_index - token_start_index; in GetRegexTokens() local 69 if (token_len > 0) { in GetRegexTokens() 72 RETURN_IF_NOT_OK(GetUnicodeSubstr(utext, token_start_index, token_len, &token)); in GetRegexTokens()
|
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/ |
D | sut_configparser.c | 23 int num_lines, i, token_len; in SDLVisualTest_ParseSUTConfig() local 90 token_len = SDL_strlen(token_ptr) + 1; in SDLVisualTest_ParseSUTConfig() 91 SDL_strlcpy(config->options[i].name, token_ptr, token_len); in SDLVisualTest_ParseSUTConfig()
|
/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/libwebsockets/include/libwebsockets/ |
D | lws-tokenize.h | 91 size_t token_len; /**< the length of the identied token or delimiter */ member
|
/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/lib/secure-streams/protocols/ |
D | ss-h1.c | 700 ts.token_len == 8) { in secstream_h1() 709 ts.token, ts.token_len, in secstream_h1() 712 (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 | 1266 size_t token_len; in sme_sae_auth() local 1293 token_len = len - sizeof(le16); in sme_sae_auth() 1296 if (token_len < 3) { in sme_sae_auth() 1303 token_pos[1] > token_len - 2 || in sme_sae_auth() 1309 token_len = token_pos[1] - 1; in sme_sae_auth() 1312 wpa_s->sme.sae_token = wpabuf_alloc_copy(token_pos, token_len); in sme_sae_auth()
|
/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/gstreamer/gstreamer/gst/ |
D | gstinfo.c | 336 gsize token_len = strlen (token); in _replace_pattern_in_gst_debug_file_name() local 338 gchar *name_suffix = token_start + token_len; in _replace_pattern_in_gst_debug_file_name()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 2095 if (strncmp(ts.token, wsi->a.vhost->name, ts.token_len)) { in lws_confirm_host_header() 2096 buf[(size_t)(ts.token - buf) + ts.token_len] = '\0'; in lws_confirm_host_header()
|
/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()
|