Home
last modified time | relevance | path

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

/external/libwebsockets/minimal-examples/api-tests/api-test-lws_tokenize/
Dmain.c395 lws_strnncpy(dotstar, "12345678", 4, sizeof(dotstar)); in main()
401 lws_strnncpy(dotstar, "12345678", 8, 6); in main()
422 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
445 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
511 lws_strnncpy(dotstar, ts.token, ts.token_len, in main()
/external/libwebsockets/lib/roles/http/client/
Dclient-handshake.c1250 lws_strnncpy(dotstar, token->data.doctype.name.ptr,
1260 lws_strnncpy(dotstar, token->data.doctype.public_id.ptr,
1270 lws_strnncpy(dotstar, token->data.doctype.system_id.ptr,
1278 lws_strnncpy(dotstar, token->data.tag.name.ptr,
1301 lws_strnncpy(dotstar,
1308 lws_strnncpy(dotstar, pp, plen, sizeof(dotstar));
1314 lws_strnncpy(dotstar,
1320 lws_strnncpy(dotstar,
1329 lws_strnncpy(dotstar, token->data.tag.name.ptr,
1339 lws_strnncpy(dotstar,
[all …]
/external/libwebsockets/lib/jose/jws/
Djws.c899 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_flattened_json()
904 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_flattened_json()
910 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_UHDR], in lws_jws_write_flattened_json()
916 lws_strnncpy(flattened + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_flattened_json()
933 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_JOSE], in lws_jws_write_compact()
936 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_PYLD], in lws_jws_write_compact()
939 lws_strnncpy(compact + n, jws->map_b64.buf[LJWS_SIG], in lws_jws_write_compact()
Djose.c231 lws_strnncpy(args->jose->typ, ctx->buf, ctx->npos, in lws_jws_jose_cb()
/external/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()
/external/libwebsockets/minimal-examples/abstract/protocols/smtp-client/
Dmain.c29 lws_strnncpy(dotstar, (const char *)buf, len, sizeof(dotstar)); in done_cb()
/external/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()
/external/libwebsockets/lib/jose/jwk/
Djwk.c464 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in cb_jwk()
771 lws_strnncpy(p, (const char *)jwk->meta[l->idx].buf, in lws_jwk_export()
789 lws_strnncpy(p, in lws_jwk_export()
/external/libwebsockets/lib/secure-streams/
Dpolicy.c465 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
576 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
705 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar)); in lws_ss_policy_parser_cb()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c89 lws_strnncpy(dotstar, (const char *)in, len, in callback_http()
/external/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c67 lws_strnncpy((char *)buf, client_id, len, len + 1); in lws_mqtt_generate_id()
/external/libwebsockets/include/libwebsockets/
Dlws-misc.h179 #define lws_strnncpy(dest, src, size1, destsize) \ macro
/external/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c261 lws_strnncpy(h->u.http.boundary + 4, in secstream_h1()
/external/libwebsockets/lib/roles/ws/
Dserver-ws.c392 lws_strnncpy(dotstar, uptr, l, sizeof(dotstar)); in lws_process_ws_upgrade2()
/external/libwebsockets/lib/roles/http/
Dparsers.c1155 lws_strnncpy(dotstar, in lws_parse()