Home
last modified time | relevance | path

Searched refs:fic (Results 1 – 25 of 38) sorted by relevance

12

/third_party/libwebsockets/lib/system/fault-injection/
Dfault-injection.c30 lws_fi_lookup(const lws_fi_ctx_t *fic, const char *name) in lws_fi_lookup() argument
32 lws_start_foreach_dll(struct lws_dll2 *, p, fic->fi_owner.head) { in lws_fi_lookup()
44 lws_fi(const lws_fi_ctx_t *fic, const char *name) in lws_fi() argument
49 pv = lws_fi_lookup(fic, name); in lws_fi()
66 if (lws_xos_percent((lws_xos_t *)&fic->xos, (int)pv->fi.pre)) in lws_fi()
86 fic->name ? fic->name : "unk", pv->fi.name); in lws_fi()
92 lws_fi_range(const lws_fi_ctx_t *fic, const char *name, uint64_t *result) in lws_fi_range() argument
97 pv = lws_fi_lookup(fic, name); in lws_fi_range()
110 *result = pv->fi.pre + (lws_xos((lws_xos_t *)&fic->xos) % d); in lws_fi_range()
118 return lws_fi(&wsi->fic, name); in _lws_fi_user_wsi_fi()
[all …]
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c197 wsi->fic.name = "wsi"; in lws_client_connect_via_info()
198 if (i->fic.fi_owner.count) in lws_client_connect_via_info()
203 lws_fi_import(&wsi->fic, &i->fic); in lws_client_connect_via_info()
205 lws_fi_inherit_copy(&wsi->fic, &i->context->fic, "wsi", i->fi_wsi_name); in lws_client_connect_via_info()
207 if (lws_fi(&wsi->fic, "createfail")) in lws_client_connect_via_info()
214 lws_fi_inherit_copy(&wsi->fic, &fih->fic, "wsi", NULL); in lws_client_connect_via_info()
219 lws_fi_inherit_copy(&wsi->fic, &fih->fic, "wsi", NULL); in lws_client_connect_via_info()
254 lws_fi_inherit_copy(&wsi->fic, &vh->fic, "wsi", i->fi_wsi_name); in lws_client_connect_via_info()
546 lws_fi_destroy(&wsi->fic); in lws_client_connect_via_info()
Dconnect2.c67 if (lws_fi(&wsi->fic, "dnsfail")) in lws_getaddrinfo46()
363 if (lws_fi(&wsi->fic, "dnsfail"))
Dconnect3.c499 if (lws_fi(&wsi->fic, "conn_cb_rej") ||
508 cfail = lws_fi(&wsi->fic, "connfail");
/third_party/libwebsockets/include/libwebsockets/
Dlws-fault-injection.h110 lws_fi(const lws_fi_ctx_t *fic, const char *fi_name);
131 lws_fi_range(const lws_fi_ctx_t *fic, const char *name, uint64_t *result);
143 lws_fi_add(lws_fi_ctx_t *fic, const lws_fi_t *fi);
155 lws_fi_remove(lws_fi_ctx_t *fic, const char *name);
196 lws_fi_destroy(const lws_fi_ctx_t *fic);
212 lws_fi_deserialize(lws_fi_ctx_t *fic, const char *sers);
Dlws-client.h216 lws_fi_ctx_t fic; member
Dlws-secure-streams.h380 lws_fi_ctx_t fic; member
Dlws-context-vhost.h838 lws_fi_ctx_t fic; member
/third_party/libwebsockets/lib/core/
Dcontext.c419 if (lws_fi(&info->fic, "ctx_createfail1")) in lws_create_context()
505 if (!ok || lws_fi(&info->fic, "ctx_createfail_plugin_init")) { in lws_create_context()
517 lws_fi(&info->fic, "ctx_createfail_evlib_plugin")) { in lws_create_context()
594 if (!plev || lws_fi(&info->fic, "ctx_createfail_evlib_sel")) in lws_create_context()
603 if (!context || lws_fi(&info->fic, "ctx_createfail_oom_ctx")) { in lws_create_context()
664 context->fic.name = "ctx"; in lws_create_context()
665 if (info->fic.fi_owner.count) in lws_create_context()
670 lws_fi_import(&context->fic, &info->fic); in lws_create_context()
860 lws_fi(&context->fic, "ctx_createfail_privdrop")) in lws_create_context()
985 lws_fi(&context->fic, "ctx_createfail_maxfds")) { in lws_create_context()
[all …]
Dlibwebsockets.c1428 lws_fi_deserialize(&info->fic, p); in lws_cmdline_option_handle_builtin()
1446 lws_xos_init(&info->fic.xos, seed); in lws_cmdline_option_handle_builtin()
1451 if (info->fic.fi_owner.count) in lws_cmdline_option_handle_builtin()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c250 if (!h || lws_fi(&h->fic, "sspc_fail_on_linkup")) in callback_sspc_client()
324 if (lws_fi(&h->fic, "sspc_fake_rxparse_disconnect_me")) in callback_sspc_client()
327 if (lws_fi(&h->fic, "sspc_fake_rxparse_destroy_me")) in callback_sspc_client()
575 if (lws_fi(&h->fic, "sspc_link_write_fail")) in callback_sspc_client()
642 h->fic.name = "sspc"; in lws_sspc_create()
643 lws_xos_init(&h->fic.xos, lws_xos(&context->fic.xos)); in lws_sspc_create()
644 if (ssi->fic.fi_owner.count) in lws_sspc_create()
645 lws_fi_import(&h->fic, &ssi->fic); in lws_sspc_create()
647 lws_fi_inherit_copy(&h->fic, &context->fic, "ss", ssi->streamtype); in lws_sspc_create()
650 if (lws_fi(&h->fic, "sspc_create_oom")) { in lws_sspc_create()
[all …]
Dsecure-streams.c974 lws_xos_init(&temp_fic.xos, lws_xos(&context->fic.xos)); in lws_ss_create()
975 lws_fi_inherit_copy(&temp_fic, &context->fic, "ss", ssi->streamtype); in lws_ss_create()
1063 h->fic.name = "ss"; in lws_ss_create()
1064 lws_xos_init(&h->fic.xos, lws_xos(&context->fic.xos)); in lws_ss_create()
1065 if (ssi->fic.fi_owner.count) in lws_ss_create()
1066 lws_fi_import(&h->fic, &ssi->fic); in lws_ss_create()
1068 lws_fi_inherit_copy(&h->fic, &context->fic, "ss", ssi->streamtype); in lws_ss_create()
1163 if (!h->u.smd.smd_peer || lws_fi(&h->fic, "ss_create_smd")) in lws_ss_create()
1188 if (!vho || lws_fi(&h->fic, "ss_create_vhost")) { in lws_ss_create()
1214 lws_fi(&h->fic, "ss_create_pcol")) { in lws_ss_create()
[all …]
Dsecure-streams-serialize.c287 (wsi && lws_fi(&wsi->fic, "sspc_dsh_ss2p_oom"))) { in lws_ss_serialize_state()
433 lws_fi(&proxy_pss_to_ss_h(pss)->fic, "ssproxy_onward_conn_fail")) || in lws_ss_deserialize_parse()
628 if (lws_fi(&client_pss_to_sspc_h(pss, ssi)->fic, in lws_ss_deserialize_parse()
740 lws_fi(&hss->fic, "ssproxy_dsh_c2p_pay_oom")) || in lws_ss_deserialize_parse()
772 lws_fi(&client_pss_to_sspc_h(pss, ssi)->fic, "sspc_rx_fake_destroy_me")) in lws_ss_deserialize_parse()
1068 if (h && lws_fi(&h->fic, "sspc_rx_metadata_oom")) in lws_ss_deserialize_parse()
1136 lws_fi(&proxy_pss_to_ss_h(pss)->fic, "ssproxy_rx_metadata_oom")) in lws_ss_deserialize_parse()
Dsecure-streams-process.c103 if (lws_fi(&conn->ss->fic, "ssproxy_dsh_create_oom")) in __lws_ss_proxy_bind_ss_to_conn_wsi()
139 if (lws_fi(&m->ss->fic, "ssproxy_dsh_rx_queue_oom")) in ss_proxy_onward_rx()
358 if (lws_fi(&wsi->fic, "ssproxy_client_adopt_oom")) in callback_ss_proxy()
681 if (lws_fi(&wsi->fic, "ssproxy_client_write_fail")) in callback_ss_proxy()
Dprivate-lib-secure-streams.h63 lws_fi_ctx_t fic; /**< Fault Injection context */ member
313 lws_fi_ctx_t fic; /**< Fault Injection context */ member
/third_party/libwebsockets/lib/core-net/
Dvhost.c596 if (lws_fi(&info->fic, "vh_create_oom")) in lws_create_vhost()
644 vh->fic.name = "vh"; in lws_create_vhost()
645 if (info->fic.fi_owner.count) in lws_create_vhost()
650 lws_fi_import(&vh->fic, &info->fic); in lws_create_vhost()
652 lws_fi_inherit_copy(&vh->fic, &context->fic, "vh", vh->name); in lws_create_vhost()
653 if (lws_fi(&vh->fic, "vh_create_oom")) in lws_create_vhost()
775 if (lws_fi(&vh->fic, "vh_create_pcols_oom")) in lws_create_vhost()
975 if (lws_fi(&vh->fic, "vh_create_access_log_open_fail")) in lws_create_vhost()
995 if (lws_fi(&vh->fic, "vh_create_ssl_srv") || in lws_create_vhost()
1000 if (lws_fi(&vh->fic, "vh_create_ssl_cli") || in lws_create_vhost()
[all …]
Dwsi.c270 if (!lws_fi(&wsi->fic, "timedclose")) in lws_wsi_fault_timedclose()
273 if (lws_fi_range(&wsi->fic, "timedclose_ms", &u)) in lws_wsi_fault_timedclose()
329 lws_xos_init(&wsi->fic.xos, lws_xos(&context->fic.xos)); in __lws_wsi_create_with_role()
332 lws_fi_inherit_copy(&wsi->fic, &context->fic, "wsi", NULL); in __lws_wsi_create_with_role()
334 if (lws_fi(&wsi->fic, "createfail")) { in __lws_wsi_create_with_role()
335 lws_fi_destroy(&wsi->fic); in __lws_wsi_create_with_role()
Dadopt.c151 lws_fi_inherit_copy(&new_wsi->fic, &context->fic, "wsi", fi_wsi_name); in __lws_adopt_descriptor_vhost1()
153 if (lws_fi(&new_wsi->fic, "createfail")) { in __lws_adopt_descriptor_vhost1()
154 lws_fi_destroy(&new_wsi->fic); in __lws_adopt_descriptor_vhost1()
220 lws_fi_destroy(&new_wsi->fic); in __lws_adopt_descriptor_vhost1()
Doutput.c102 if (lws_fi(&wsi->fic, "sendfail")) in lws_issue_raw()
318 if (lws_fi(&wsi->fic, "udp_tx_loss")) { in lws_ssl_capable_write_no_ssl()
/third_party/libwebsockets/READMEs/
DREADME.fault-injection.md136 one to the context creation info struct's `.fic` member, using
137 `lws_fi_add(lws_fi_ctx_t *fic, const lws_fi_t *fi);`, this will allocate and copy
141 all the faults from the info structure `.fic` and takes ownership of them,
142 leaving the info `.fic` empty and ready to go out of scope.
159 |lws context|struct lws_context_creation_info|`fic`|
160 |vhost|struct lws_context_creation_info|`fic`|
161 |Secure Stream|struct lws_ss_info|`fic`|
162 |client wsi|struct lws_client_connect_info|`fic`|
207 |context|`struct lws_context_creation_info` .fic|-|
208 |vhost|`struct lws_context_creation_info` .fic|context FIC|
[all …]
/third_party/ffmpeg/tests/fate/
Dscreen.mak8 FATE_SCREEN-$(call FRAMECRC, AVI, FIC) += fate-fic-avi
9 fate-fic-avi: CMD = framecrc -i $(TARGET_SAMPLES)/fic/fic-partial-2MB.avi -an
/third_party/libwebsockets/lib/misc/cache-ttl/
Dfile.c464 ctx->match = lws_fi(&cache->cache.info.cx->fic, "cache_lookup_oom") ? NULL : in nsc_lookup_cb()
614 if (lws_fi(&cache->cache.info.cx->fic, "cache_regen_temp_open")) in nsc_regen()
623 if (lws_fi(&cache->cache.info.cx->fic, "cache_regen_temp_write") || in nsc_regen()
647 if (lws_fi(&cache->cache.info.cx->fic, "cache_regen_iter_fail") || in nsc_regen()
871 cache = lws_fi(&info->cx->fic, "cache_createfail") ? NULL : in lws_cache_nscookiejar_create()
Dheap.c299 m = lws_fi(&_c->info.cx->fic, in lws_cache_heap_lookup()
382 item = lws_fi(&_c->info.cx->fic, "cache_write_oom") ? NULL : in lws_cache_heap_write()
504 cache = lws_fi(&info->cx->fic, "cache_createfail") ? NULL : in lws_cache_heap_create()
/third_party/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c202 if (lws_fi(&wsi->fic, "udp_rx_loss")) {
/third_party/icu/icu4c/source/data/zone/
Dca.txt1338 ld{"Hora d’estiu del Pacífic d’Amèrica del Nord"}
1339 lg{"Hora del Pacífic d’Amèrica del Nord"}
1340 ls{"Hora estàndard del Pacífic d’Amèrica del Nord"}
1701 ld{"Hora d’estiu del Pacífic de Mèxic"}
1702 lg{"Hora del Pacífic de Mèxic"}
1703 ls{"Hora estàndard del Pacífic de Mèxic"}

12