Home
last modified time | relevance | path

Searched refs:lws_strnncpy (Results 1 – 24 of 24) sorted by relevance

/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/
Dmain.c452 lws_strnncpy(dotstar, "12345678", 4, sizeof(dotstar)); in main()
458 lws_strnncpy(dotstar, "12345678", 8, 6); in main()
547 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
570 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
636 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
/third_party/libwebsockets/lib/jose/jws/
Djws.c900 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_flattened_json()
905 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_flattened_json()
911 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_UHDR], in lws_jws_write_flattened_json()
917 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_flattened_json()
934 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_compact()
940 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_compact()
946 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_compact()
1279 lws_strnncpy(sub, cp, len, sub_len); in lws_jwt_token_sanity()
Djose.c231 lws_strnncpy(args->jose->typ, ctx->buf, ctx->npos, in lws_jws_jose_cb()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-binance/
Dmain.c142 lws_strnncpy(numbuf, p, alen, sizeof(numbuf)); in binance_rx()
157 lws_strnncpy(numbuf, p, alen, sizeof(numbuf)); in binance_rx()
/third_party/libwebsockets/lib/abstract/protocols/smtp/
Dsmtp.c190 lws_strnncpy(dotstar, (const char *)buf, len, sizeof(dotstar)); in lws_smtpc_abs_rx()
218 lws_strnncpy(dotstar, buf, len, sizeof(dotstar)); in lws_smtpc_abs_rx()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-binance/
Dmain.c261 lws_strnncpy(numbuf, p, alen, sizeof(numbuf)); in callback_minimal()
276 lws_strnncpy(numbuf, p, alen, sizeof(numbuf)); in callback_minimal()
/third_party/libwebsockets/lib/jose/jwk/
Djose_key.c347 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in cb_jwk()
553 lws_strnncpy(p, (const char *)jwk->meta[l->idx].buf, in lws_jwk_export()
571 lws_strnncpy(p, in lws_jwk_export()
/third_party/libwebsockets/minimal-examples/abstract/protocols/smtp-client/
Dmain.c29 lws_strnncpy(dotstar, (const char *)buf, len, sizeof(dotstar)); in done_cb()
/third_party/libwebsockets/lib/secure-streams/
Dpolicy-json.c571 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
647 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
855 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
868 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
1090 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
/third_party/libwebsockets/lib/jose/jwe/
Djwe.c331 lws_strnncpy(dotstar, jwe->jws.map.buf[LJWS_JOSE], in lws_jwe_auth_and_decrypt()
338 lws_strnncpy(dotstar, jwe->jws.map.buf[LJWS_JOSE], in lws_jwe_auth_and_decrypt()
762 lws_strnncpy(p1, buf, jlen, end1 - p1); in lws_jwe_render_flattened()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c64 lws_strnncpy((char *)buf, client_id, len, len + 1); in lws_mqtt_generate_id()
/third_party/libwebsockets/lib/misc/
Ddir.c383 lws_strnncpy(temp, ts.token, in lws_plugins_init()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c147 lws_strnncpy(dotstar, (const char *)in, len, in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/
Dminimal-http-client.c287 lws_strnncpy(dotstar, (const char *)in, len, in callback_http()
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c438 lws_strnncpy(r->is.domain, (const char *)p, in lws_dhcpc4_parse()
/third_party/libwebsockets/lib/system/fault-injection/
Dfault-injection.c321 lws_strnncpy(nm, ts.token, ts.token_len, in lws_fi_deserialize()
/third_party/libwebsockets/include/libwebsockets/
Dlws-misc.h227 #define lws_strnncpy(dest, src, size1, destsize) \ macro
/third_party/libwebsockets/plugins/
Dprotocol_lws_openmetrics_export.c649 lws_strnncpy(pss->proxy_path, (const char *)in, len, in callback_lws_openmetrics_prox_agg()
845 lws_strnncpy(pss->proxy_path, (const char *)in, len, in callback_lws_openmetrics_prox_server()
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c552 lws_strnncpy(enam, i->env_array[m], naml, sizeof(enam)); in lws_spawn_piped()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c83 lws_strnncpy(&buf->ns.name[buf->ns.len], in lws_tls_mbedtls_get_x509_name()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c421 lws_strnncpy(dotstar, uptr, l, sizeof(dotstar)); in lws_process_ws_upgrade2()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c711 lws_strnncpy(h->u.http.boundary + 4, in secstream_h1()
/third_party/libwebsockets/lib/roles/h2/
Dhpack.c1402 lws_strnncpy((char *)*p, (const char *)value, length, in lws_add_http2_header_by_name()
/third_party/libwebsockets/lib/roles/http/
Dparsers.c1235 lws_strnncpy(dotstar, in lws_parse()