Home
last modified time | relevance | path

Searched refs:lws_xos (Results 1 - 7 of 7) sorted by relevance

/third_party/libwebsockets/lib/misc/
H A Dprng.c37 lws_xos(struct lws_xos *xos) in lws_xos() function
68 lws_xos_init(struct lws_xos *xos, uint64_t seed) in lws_xos_init()
77 lws_xos_percent(struct lws_xos *xos, int percent) in lws_xos_percent()
79 return (int)(lws_xos(xos) % 100) < percent; in lws_xos_percent()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-fault-injection.h27 typedef struct lws_xos { struct
40 lws_xos_init(struct lws_xos *xos, uint64_t seed);
43 * lws_xos() - get next xoshiro256 PRNG result and update state
52 lws_xos(struct lws_xos *xos);
65 lws_xos_percent(struct lws_xos *xos, int percent);
89 struct lws_xos xos;
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_dsh/
H A Dmain.c264 budget = (unsigned int)(lws_xos(&xos) % 4000) + 4000; in test5()
285 size = (size_t)((lws_xos(&xos) & 127) + 1); in test5()
294 size = (size_t)((lws_xos(&xos) & 127) + 1); in test5()
/third_party/libwebsockets/lib/system/fault-injection/
H A Dfault-injection.c110 *result = pv->fi.pre + (lws_xos((lws_xos_t *)&fic->xos) % d); in lws_fi_range()
181 lws_xos_init(&fic_dest->xos, lws_xos((lws_xos_t *)&fic_src->xos)); in lws_fi_import()
/third_party/libwebsockets/lib/secure-streams/
H A Dsecure-streams.c974 lws_xos_init(&temp_fic.xos, lws_xos(&context->fic.xos)); in lws_ss_create()
1064 lws_xos_init(&h->fic.xos, lws_xos(&context->fic.xos)); in lws_ss_create()
H A Dsecure-streams-client.c643 lws_xos_init(&h->fic.xos, lws_xos(&context->fic.xos)); in lws_sspc_create()
/third_party/libwebsockets/lib/core-net/
H A Dwsi.c329 lws_xos_init(&wsi->fic.xos, lws_xos(&context->fic.xos)); in __lws_wsi_create_with_role()

Completed in 7 milliseconds