/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-tls.c | 34 return lws_strncpy(buf, "SSL_ERROR_NONE", len); in lws_ssl_get_error_string() 36 return lws_strncpy(buf, "SSL_ERROR_ZERO_RETURN", len); in lws_ssl_get_error_string() 38 return lws_strncpy(buf, "SSL_ERROR_WANT_READ", len); in lws_ssl_get_error_string() 40 return lws_strncpy(buf, "SSL_ERROR_WANT_WRITE", len); in lws_ssl_get_error_string() 42 return lws_strncpy(buf, "SSL_ERROR_WANT_CONNECT", len); in lws_ssl_get_error_string() 44 return lws_strncpy(buf, "SSL_ERROR_WANT_ACCEPT", len); in lws_ssl_get_error_string() 46 return lws_strncpy(buf, "SSL_ERROR_WANT_X509_LOOKUP", len); in lws_ssl_get_error_string()
|
/third_party/libwebsockets/plugins/generic-sessions/ |
D | protocol_generic_sessions.c | 94 lws_strncpy(a->pss->result + 32, u.email, 100); in lwsgs_subst() 176 lws_strncpy(vhd->admin_user, pvo->value, in callback_generic_sessions() 179 lws_strncpy(vhd->urlroot, pvo->value, in callback_generic_sessions() 182 lws_strncpy(vhd->admin_password_sha256.id, pvo->value, in callback_generic_sessions() 185 lws_strncpy(vhd->session_db, pvo->value, in callback_generic_sessions() 188 lws_strncpy(vhd->confounder, pvo->value, in callback_generic_sessions() 191 lws_strncpy(vhd->email_from, pvo->value, in callback_generic_sessions() 194 lws_strncpy(vhd->helo, pvo->value, sizeof(vhd->helo)); in callback_generic_sessions() 196 lws_strncpy(vhd->email_template, pvo->value, in callback_generic_sessions() 199 lws_strncpy(vhd->email_title, pvo->value, in callback_generic_sessions() [all …]
|
D | utils.c | 214 lws_strncpy(lla->username, col_val[0], lla->len + 1); in lwsgs_lookup_callback() 253 lws_strncpy(u->username, col_val[n], sizeof(u->username)); in lwsgs_lookup_callback_user() 257 lws_strncpy(u->ip, col_val[n], sizeof(u->ip)); in lwsgs_lookup_callback_user() 272 lws_strncpy(u->email, col_val[n], sizeof(u->email)); in lwsgs_lookup_callback_user() 280 lws_strncpy(u->pwhash.id, col_val[n], sizeof(u->pwhash.id)); in lwsgs_lookup_callback_user() 284 lws_strncpy(u->pwsalt.id, col_val[n], sizeof(u->pwsalt.id)); in lwsgs_lookup_callback_user() 288 lws_strncpy(u->token.id, col_val[n], sizeof(u->token.id)); in lwsgs_lookup_callback_user()
|
D | protocol_lws_messageboard.c | 92 lws_strncpy(m->username, col_val[n], sizeof(m->username)); in lookup_cb() 96 lws_strncpy(m->email, col_val[n], sizeof(m->email)); in lookup_cb() 100 lws_strncpy(m->ip, col_val[n], sizeof(m->ip)); in lookup_cb() 104 lws_strncpy(m->content, col_val[n], sizeof(m->content)); in lookup_cb()
|
/third_party/libwebsockets/test-apps/ |
D | test-server.c | 402 lws_strncpy(interface_name, optarg, sizeof interface_name); in main() 406 lws_strncpy(interface_name, optarg, sizeof interface_name); in main() 424 lws_strncpy(cert_path, optarg, sizeof(cert_path)); in main() 427 lws_strncpy(key_path, optarg, sizeof(key_path)); in main() 430 lws_strncpy(ca_path, optarg, sizeof(ca_path)); in main() 444 lws_strncpy(crl_path, optarg, sizeof(crl_path)); in main()
|
D | test-client.c | 654 lws_strncpy(cert_path, optarg, sizeof(cert_path)); in main() 657 lws_strncpy(key_path, optarg, sizeof(key_path)); in main() 660 lws_strncpy(ca_path, optarg, sizeof(ca_path)); in main() 665 lws_strncpy(crl_path, optarg, sizeof(crl_path)); in main() 687 lws_strncpy(path + 1, p, sizeof(path) - 1); in main()
|
/third_party/libwebsockets/lib/core-net/ |
D | client.c | 49 lws_strncpy(authstring, proxy, p - proxy + 1); in lws_set_proxy() 80 lws_strncpy(vhost->http.http_proxy_address, proxy + brackets, in lws_set_proxy()
|
D | socks5-client.c | 63 lws_strncpy(vhost->socks_user, socks, in lws_set_socks() 65 lws_strncpy(vhost->socks_password, p_colon + 1, in lws_set_socks() 75 lws_strncpy(vhost->socks_proxy_address, socks, in lws_set_socks()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 287 lws_strncpy(i.ifr_name, ifname, sizeof(i.ifr_name)); in lws_plat_ifname_to_hwaddr() 349 lws_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in lws_plat_if_up() 382 lws_strncpy(i.ifr_ifrn.ifrn_name, ifname, in lws_plat_BINDTODEVICE() 411 lws_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in lws_plat_ifconfig_ip()
|
D | unix-plugins.c | 112 lws_strncpy(plugin->name, namelist[i]->d_name, in lws_plat_plugins_init()
|
/third_party/libwebsockets/plugins/deaddrop/ |
D | protocol_lws_deaddrop.c | 141 lws_strncpy(subdir[sp], vhd->upload_dir, sizeof(subdir[sp])); in scan_upload_dir() 194 lws_strncpy(subdir[sp], de->d_name, sizeof(subdir[sp])); in scan_upload_dir() 219 lws_strncpy(dire->user, subdir[1], sizeof(dire->user)); in scan_upload_dir() 330 lws_strncpy(filename2, pss->filename, sizeof(filename2)); in file_upload_cb() 475 lws_strncpy(fname, ((const char *)in) + 8, sizeof(fname)); in callback_deaddrop()
|
/third_party/libwebsockets/plugins/generic-table/ |
D | protocol_table_dirlisting.c | 236 lws_strncpy(pss->reldir, in, len + 1); in callback_lws_table_dirlisting() 275 lws_strncpy(s, q, n + 1); in callback_lws_table_dirlisting() 280 lws_strncpy(s1, pss->reldir, n + 1); in callback_lws_table_dirlisting()
|
/third_party/libwebsockets/lib/abstract/protocols/smtp/ |
D | smtp-sequencer.c | 305 lws_strncpy(e->from, sender, sizeof(e->from)); in lws_smtpc_add_email() 306 lws_strncpy(e->to, recipient, sizeof(e->to)); in lws_smtpc_add_email()
|
/third_party/libwebsockets/plugins/acme-client/ |
D | protocol_lws_acme_client.c | 411 lws_strncpy(s->status, ctx->buf, sizeof(s->status)); in cb_order() 492 lws_strncpy(s->status, ctx->buf, sizeof(s->status)); in cb_authz() 497 lws_strncpy(s->challenge_uri, ctx->buf, in cb_authz() 505 lws_strncpy(s->chall_token, ctx->buf, in cb_authz() 552 lws_strncpy(s->status, ctx->buf, sizeof(s->status)); in cb_chac() 558 lws_strncpy(s->chall_token, ctx->buf, sizeof(s->chall_token)); in cb_chac() 592 lws_strncpy(_url, url, sizeof(_url)); in lws_acme_client_connect() 601 lws_strncpy(path + 1, p, sizeof(path) - 1); in lws_acme_client_connect()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-proxy/ |
D | minimal-raw-proxy.c | 67 lws_strncpy(outward, p, sizeof(outward)); in main()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/ |
D | main.c | 185 lws_strncpy(uri, url_paths[s->state], sizeof(uri)); in sequencer_start_client() 201 lws_strncpy(&path[n], path1, sizeof(path) - 1); in sequencer_start_client()
|
/third_party/libwebsockets/plugins/ |
D | protocol_esp32_lws_scan.c | 380 lws_strncpy(lws.ssid, (const char *)r->ssid, sizeof(lws.ssid)); in scan_finished() 413 lws_strncpy(pss->filename, filename, sizeof(pss->filename)); in file_upload_cb() 572 lws_strncpy(subject, ir.ns.name, sizeof(subject)); in callback_esplws_scan() 790 lws_strncpy(vhd->acme_msg, in, sizeof(vhd->acme_msg)); in callback_esplws_scan() 847 lws_strncpy(lws_esp32.ssid[(n >> 1) & 3], p, in callback_esplws_scan() 854 lws_strncpy(lws_esp32.password[(n >> 1) & 3], p, in callback_esplws_scan()
|
D | protocol_client_loopback_test.c | 153 lws_strncpy(buf, in, sizeof(buf)); in callback_client_loopback_test()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-proxy-fallback/ |
D | minimal-raw-proxy-fallback.c | 93 lws_strncpy(outward, p, sizeof(outward)); in main()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-misc.h | 173 lws_strncpy(char *dest, const char *src, size_t size); 180 lws_strncpy(dest, src, (size_t)(size1 + 1) < (size_t)(destsize) ? \
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-client.c | 41 lws_strncpy(hostname, wsi->stash->cis[CIS_HOST], sizeof(hostname)); in lws_ssl_client_bio_create() 84 lws_strncpy(hostname, wsi->stash->cis[CIS_HOST], sizeof(hostname)); in lws_ssl_client_bio_create()
|
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-file/ |
D | minimal-raw-file.c | 146 lws_strncpy(filepath, argv[1], sizeof(filepath)); in main()
|
/third_party/libwebsockets/lib/plat/freertos/esp32/ |
D | esp32-helpers.c | 260 lws_strncpy(result, mr->txt->value, len); in get_txt_param() 299 lws_strncpy(p->host, r->hostname, sizeof(p->host)); in lws_esp32_mdns_timer_cb() 458 lws_strncpy(lws_esp32.active_ssid, lws_esp32.ssid[m], in end_scan() 461 lws_strncpy((char *)sta_config.sta.ssid, lws_esp32.ssid[m], in end_scan() 463 lws_strncpy((char *)sta_config.sta.password, lws_esp32.password[m], in end_scan()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_struct_sqlite/ |
D | main.c | 109 lws_strncpy(ts.str1, "hello", sizeof(ts.str1)); in main()
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/ |
D | minimal-http-server-form-post-file.c | 56 lws_strncpy(pss->filename, filename, sizeof(pss->filename) - 1); in file_upload_cb()
|