Home
last modified time | relevance | path

Searched refs:fic (Results 1 - 25 of 31) sorted by relevance

12

/third_party/libwebsockets/lib/system/fault-injection/
H A 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 in lws_fi_range()
144 lws_fi_add(lws_fi_ctx_t *fic, const lws_fi_t *fi) lws_fi_add() argument
165 lws_fi_remove(lws_fi_ctx_t *fic, const char *name) lws_fi_remove() argument
250 lws_fi_destroy(const lws_fi_ctx_t *fic) lws_fi_destroy() argument
285 lws_fi_deserialize(lws_fi_ctx_t *fic, const char *sers) lws_fi_deserialize() argument
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-fault-injection.h96 * \param fic: fault injection tracking context
110 lws_fi(const lws_fi_ctx_t *fic, const char *fi_name);
115 * \param fic: fault injection tracking context
131 lws_fi_range(const lws_fi_ctx_t *fic, const char *name, uint64_t *result);
136 * \param fic: fault injection tracking context
140 * \p fic. \p fi can go out of scope after this safely.
143 lws_fi_add(lws_fi_ctx_t *fic, const lws_fi_t *fi);
148 * \param fic: fault injection tracking context
155 lws_fi_remove(lws_fi_ctx_t *fic, const char *name);
189 * \param fic
[all...]
H A Dlws-client.h216 lws_fi_ctx_t fic; member
H A Dlws-secure-streams.h380 lws_fi_ctx_t fic; member
H A Dlws-context-vhost.h838 lws_fi_ctx_t fic; member
/third_party/libwebsockets/lib/core-net/client/
H A 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, in lws_client_connect_via_info()
[all...]
H A Dconnect2.c67 if (lws_fi(&wsi->fic, "dnsfail")) in lws_getaddrinfo46()
363 if (lws_fi(&wsi->fic, "dnsfail"))
H A Dconnect3.c602 if (lws_fi(&wsi->fic, "conn_cb_rej") ||
611 cfail = lws_fi(&wsi->fic, "connfail");
/third_party/libwebsockets/lib/core/
H A 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_privdro in lws_create_context()
[all...]
H A 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()
H A Dprivate-lib-core.h544 lws_fi_ctx_t fic; member
/third_party/libwebsockets/lib/secure-streams/
H A 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()
[all...]
H A 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, "s in lws_ss_create()
[all...]
H A 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()
H A 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()
H A 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/
H A 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_fai in lws_create_vhost()
[all...]
H A 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()
H A 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()
H A 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/lib/misc/cache-ttl/
H A 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()
H A 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/ffmpeg/tests/fate/
H A 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/backends/backend/
H A Dumax_pp_low.c399 FILE *fic = NULL; in sanei_parport_find_port() local
407 fic = fopen (name, "wb"); in sanei_parport_find_port()
408 if (fic != NULL) in sanei_parport_find_port()
409 fclose (fic); in sanei_parport_find_port()
411 fic = fopen (name, "rb"); in sanei_parport_find_port()
412 if (fic != NULL) in sanei_parport_find_port()
414 fread (buffer, 64, 1, fic); in sanei_parport_find_port()
415 fclose (fic); in sanei_parport_find_port()
9378 FILE *fic; in Dump() local
9390 fic in Dump()
9404 FILE *fic; DumpNB() local
9433 FILE *fic; DumpRVB() local
9469 FILE *fic; DumpRGB() local
[all...]
/third_party/libwebsockets/lib/roles/raw-skt/
H A Dops-raw-skt.c202 if (lws_fi(&wsi->fic, "udp_rx_loss")) {

Completed in 47 milliseconds

12