/freebsd/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_misc.c | 108 ng_l2cap_con_p con = NULL; in ng_l2cap_new_con() local 111 con = malloc(sizeof(*con), M_NETGRAPH_L2CAP, in ng_l2cap_new_con() 113 if (con == NULL) in ng_l2cap_new_con() 116 con->l2cap = l2cap; in ng_l2cap_new_con() 117 con->state = NG_L2CAP_CON_CLOSED; in ng_l2cap_new_con() 118 con->encryption = 0; in ng_l2cap_new_con() 133 con->con_handle = fake_con_handle ++; in ng_l2cap_new_con() 137 bcopy(bdaddr, &con->remote, sizeof(con->remote)); in ng_l2cap_new_con() 138 con->linktype = type; in ng_l2cap_new_con() 139 ng_callout_init(&con->con_timo); in ng_l2cap_new_con() [all …]
|
H A D | ng_l2cap_evnt.c | 93 ng_l2cap_receive(ng_l2cap_con_p con) in ng_l2cap_receive() argument 95 ng_l2cap_p l2cap = con->l2cap; in ng_l2cap_receive() 100 if (con->rx_pkt->m_pkthdr.len < sizeof(*hdr)) { in ng_l2cap_receive() 104 con->rx_pkt->m_pkthdr.len); in ng_l2cap_receive() 110 NG_L2CAP_M_PULLUP(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() 111 if (con->rx_pkt == NULL) in ng_l2cap_receive() 114 hdr = mtod(con->rx_pkt, ng_l2cap_hdr_t *); in ng_l2cap_receive() 119 if (hdr->length != con->rx_pkt->m_pkthdr.len - sizeof(*hdr)) { in ng_l2cap_receive() 123 con->rx_pkt->m_pkthdr.len - sizeof(*hdr)); in ng_l2cap_receive() 131 m_adj(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_receive() [all …]
|
H A D | ng_l2cap_llpi.c | 72 ng_l2cap_con_p con = NULL; in ng_l2cap_lp_con_req() local 76 con = ng_l2cap_con_by_addr(l2cap, bdaddr, type); in ng_l2cap_lp_con_req() 77 if (con != NULL) { in ng_l2cap_lp_con_req() 81 __func__, NG_NODE_NAME(l2cap->node), con->state, in ng_l2cap_lp_con_req() 82 con->con_handle); in ng_l2cap_lp_con_req() 97 con = ng_l2cap_new_con(l2cap, bdaddr, type); in ng_l2cap_lp_con_req() 98 if (con == NULL) in ng_l2cap_lp_con_req() 105 ng_l2cap_free_con(con); in ng_l2cap_lp_con_req() 114 con->flags |= NG_L2CAP_CON_OUTGOING; in ng_l2cap_lp_con_req() 115 con->state = NG_L2CAP_W4_LP_CON_CFM; in ng_l2cap_lp_con_req() [all …]
|
H A D | ng_l2cap_cmds.c | 65 ng_l2cap_con_wakeup(ng_l2cap_con_p con) in ng_l2cap_con_wakeup() argument 72 TAILQ_FOREACH(cmd, &con->cmd_list, next) { in ng_l2cap_con_wakeup() 73 KASSERT((cmd->con == con), in ng_l2cap_con_wakeup() 75 __func__, NG_NODE_NAME(con->l2cap->node))); in ng_l2cap_con_wakeup() 103 (void) ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); in ng_l2cap_con_wakeup() 108 (void) ng_l2cap_lp_send(con, in ng_l2cap_con_wakeup() 109 (con->linktype == NG_HCI_LINK_ACL)? in ng_l2cap_con_wakeup() 118 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); in ng_l2cap_con_wakeup() 128 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); in ng_l2cap_con_wakeup() 141 error = ng_l2cap_lp_send(con, NG_L2CAP_SIGNAL_CID, m); in ng_l2cap_con_wakeup() [all …]
|
H A D | ng_l2cap_ulpi.c | 67 ng_l2cap_con_p con = NULL; in ng_l2cap_l2ca_con_req() local 85 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); in ng_l2cap_l2ca_con_req() 86 if (con == NULL) { in ng_l2cap_l2ca_con_req() 97 con = ng_l2cap_con_by_addr(l2cap, &ip->bdaddr, ip->linktype); in ng_l2cap_l2ca_con_req() 98 KASSERT((con != NULL), in ng_l2cap_l2ca_con_req() 107 ch = ng_l2cap_new_chan(l2cap, con, ip->psm, ip->idtype); in ng_l2cap_l2ca_con_req() 114 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(con), in ng_l2cap_l2ca_con_req() 151 ng_l2cap_link_cmd(ch->con, cmd); in ng_l2cap_l2ca_con_req() 152 ng_l2cap_lp_deliver(ch->con); in ng_l2cap_l2ca_con_req() 165 ng_l2cap_p l2cap = ch->con->l2cap; in ng_l2cap_l2ca_con_rsp() [all …]
|
H A D | ng_l2cap_main.c | 297 ng_l2cap_con_p con = NULL; in ng_l2cap_lower_rcvmsg() local 303 con = ng_l2cap_con_by_handle(l2cap, in ng_l2cap_lower_rcvmsg() 305 if (con == NULL) in ng_l2cap_lower_rcvmsg() 311 ep->con_handle, con->pending, in ng_l2cap_lower_rcvmsg() 314 con->pending -= ep->completed; in ng_l2cap_lower_rcvmsg() 315 if (con->pending < 0) { in ng_l2cap_lower_rcvmsg() 320 con->con_handle, con->pending, in ng_l2cap_lower_rcvmsg() 323 con->pending = 0; in ng_l2cap_lower_rcvmsg() 326 ng_l2cap_lp_deliver(con); in ng_l2cap_lower_rcvmsg() 551 ng_l2cap_con_p con = NULL; in ng_l2cap_default_rcvmsg() local [all …]
|
H A D | ng_l2cap_misc.h | 65 #define ng_l2cap_link_cmd(con, cmd) \ argument 67 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \ 68 ng_l2cap_con_ref((con)); \ 73 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \ 74 ng_l2cap_con_unref((cmd)->con); \
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_evnt.c | 256 ng_hci_unit_con_p con = NULL, winner = NULL; in send_data_packets() 270 LIST_FOREACH(con, &unit->con_list, next) { in send_data_packets() 271 reallink_type = (con->link_type == NG_HCI_LINK_SCO)? in send_data_packets() 276 if (NG_BT_ITEMQ_LEN(&con->conq) == 0) in send_data_packets() 279 if (con->pending < min_pending) { in send_data_packets() 280 winner = con; in send_data_packets() 281 min_pending = con->pending; in send_data_packets() 352 sync_con_queue(ng_hci_unit_p unit, ng_hci_unit_con_p con, int completed) in sync_con_queue() 359 hook = (con->link_type != NG_HCI_LINK_SCO)? unit->acl : unit->sco; in sync_con_queue() 369 state->con_handle = con in sync_con_queue() 254 ng_hci_unit_con_p con = NULL, winner = NULL; send_data_packets() local 350 sync_con_queue(ng_hci_unit_p unit,ng_hci_unit_con_p con,int completed) sync_con_queue() argument 474 ng_hci_unit_con_p con = NULL; le_connection_complete() local 678 ng_hci_unit_con_p con = NULL; con_compl() local 804 ng_hci_unit_con_p con = NULL; con_req() local 889 ng_hci_unit_con_p con = NULL; discon_compl() local 935 ng_hci_unit_con_p con = NULL; encryption_change() local 982 ng_hci_unit_con_p con = NULL; read_remote_features_compl() local 1035 ng_hci_unit_con_p con = NULL; qos_setup_compl() local 1090 ng_hci_unit_con_p con = NULL; role_change() local 1127 ng_hci_unit_con_p con = NULL; num_compl_pkts() local 1185 ng_hci_unit_con_p con = NULL; mode_change() local 1240 ng_hci_unit_con_p con = NULL; read_clock_offset_compl() local 1292 ng_hci_unit_con_p con = NULL; qos_violation() local [all...] |
H A D | ng_hci_ulpi.c | 129 ng_hci_unit_con_p con = NULL; in ng_hci_lp_acl_con_req() local 163 con = ng_hci_con_by_bdaddr(unit, &ep->bdaddr, NG_HCI_LINK_ACL); in ng_hci_lp_acl_con_req() 164 if (con != NULL) { in ng_hci_lp_acl_con_req() 165 switch (con->state) { in ng_hci_lp_acl_con_req() 172 con->flags |= NG_HCI_CON_NOTIFY_ACL; in ng_hci_lp_acl_con_req() 174 con->flags |= NG_HCI_CON_NOTIFY_SCO; in ng_hci_lp_acl_con_req() 191 cfm->link_type = con->link_type; in ng_hci_lp_acl_con_req() 192 cfm->con_handle = con->con_handle; in ng_hci_lp_acl_con_req() 193 bcopy(&con->bdaddr, &cfm->bdaddr, in ng_hci_lp_acl_con_req() 215 __func__, NG_NODE_NAME(unit->node), con->state); in ng_hci_lp_acl_con_req() [all …]
|
H A D | ng_hci_misc.c | 146 ng_hci_unit_con_p con = LIST_FIRST(&unit->con_list); in ng_hci_unit_clean() local 149 if (con->flags & NG_HCI_CON_TIMEOUT_PENDING) in ng_hci_unit_clean() 150 ng_hci_con_untimeout(con); in ng_hci_unit_clean() 157 ng_hci_lp_discon_ind(con, reason); in ng_hci_unit_clean() 158 ng_hci_free_con(con); in ng_hci_unit_clean() 259 ng_hci_unit_con_p con = NULL; in ng_hci_new_con() local 263 con = malloc(sizeof(*con), M_NETGRAPH_HCI, in ng_hci_new_con() 265 if (con != NULL) { in ng_hci_new_con() 266 con->unit = unit; in ng_hci_new_con() 267 con->state = NG_HCI_CON_CLOSED; in ng_hci_new_con() [all …]
|
H A D | ng_hci_main.c | 793 ng_hci_unit_con_p con = NULL; in ng_hci_acl_rcvdata() local 842 con = ng_hci_con_by_handle(unit, con_handle); in ng_hci_acl_rcvdata() 843 if (con == NULL) { in ng_hci_acl_rcvdata() 852 if (con->link_type == NG_HCI_LINK_SCO) { in ng_hci_acl_rcvdata() 856 con_handle, con->link_type); in ng_hci_acl_rcvdata() 862 if (con->state != NG_HCI_CON_OPEN) { in ng_hci_acl_rcvdata() 866 con->state, con_handle); in ng_hci_acl_rcvdata() 872 if (NG_BT_ITEMQ_FULL(&con->conq)) { in ng_hci_acl_rcvdata() 876 m->m_pkthdr.len, NG_BT_ITEMQ_LEN(&con->conq)); in ng_hci_acl_rcvdata() 878 NG_BT_ITEMQ_DROP(&con->conq); in ng_hci_acl_rcvdata() [all …]
|
/freebsd/contrib/ncurses/ncurses/win32con/ |
H A D | win_driver.c | 78 #define AdjustY() (CON.buffered ? 0 : (int) CON.SBI.srWindow.Top) 146 } CON; variable 179 a = CON.pairs[p]; in MapAttr() 205 int max_cells = (CON.SBI.dwSize.Y * (1 + CON.SBI.dwSize.X)) + 1; 214 save_region.Top = CON.SBI.srWindow.Top; 215 save_region.Left = CON.SBI.srWindow.Left; 216 save_region.Bottom = CON.SBI.srWindow.Bottom; 217 save_region.Right = CON.SBI.srWindow.Right; 224 if (read_screen(CON.hdl, 280 ci[actual].Attributes = MapAttr(CON.SBI.wAttributes, in con_write16() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_common.c | 33 static void dispatch_data(DBusConnection *con) in dispatch_data() argument 35 while (dbus_connection_get_dispatch_status(con) == in dispatch_data() 37 dbus_connection_dispatch(con); in dispatch_data() 53 DBusConnection *con = eloop_ctx; in dispatch_initial_dbus_messages() local 54 dispatch_data(con); in dispatch_initial_dbus_messages() 61 dbus_connection_ref(priv->con); in process_watch() 73 dispatch_data(priv->con); in process_watch() 77 dbus_connection_unref(priv->con); in process_watch() 203 if (sig != SIGPOLL || !priv->con) in process_wakeup_main() 206 if (dbus_connection_get_dispatch_status(priv->con) != in process_wakeup_main() [all …]
|
H A D | dbus_new_helpers.c | 482 obj_desc->connection = iface->con; in wpa_dbus_ctrl_iface_init() 486 if (!dbus_connection_register_object_path(iface->con, dbus_path, in wpa_dbus_ctrl_iface_init() 494 switch (dbus_bus_request_name(iface->con, dbus_service, 0, &error)) { in wpa_dbus_ctrl_iface_init() 535 DBusConnection *con; in wpa_dbus_register_object_per_iface() local 546 con = ctrl_iface->con; in wpa_dbus_register_object_per_iface() 547 obj_desc->connection = con; in wpa_dbus_register_object_per_iface() 552 if (!dbus_connection_try_register_object_path(con, path, &vtable, in wpa_dbus_register_object_per_iface() 584 DBusConnection *con = ctrl_iface->con; in wpa_dbus_unregister_object_per_iface() local 587 dbus_connection_get_object_path_data(con, path, (void **) &obj_desc); in wpa_dbus_unregister_object_per_iface() 595 eloop_cancel_timeout(flush_object_timeout_handler, con, obj_desc); in wpa_dbus_unregister_object_per_iface() [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | s_server.c | 70 static void print_connection_info(SSL *con); 2338 SSL *con = NULL; in sv_body() local 2360 con = SSL_new(ctx); in sv_body() 2361 if (con == NULL) { in sv_body() 2367 SSL_set_tlsext_debug_callback(con, tlsext_cb); in sv_body() 2368 SSL_set_tlsext_debug_arg(con, bio_s_out); in sv_body() 2372 && !SSL_set_session_id_context(con, context, in sv_body() 2379 if (!SSL_clear(con)) { in sv_body() 2409 if (socket_mtu < DTLS_get_link_min_mtu(con)) { in sv_body() 2411 DTLS_get_link_min_mtu(con)); in sv_body() [all …]
|
H A D | s_client.c | 70 static void print_stuff(BIO *berr, SSL *con, int full); 371 static int tlsa_import_rr(SSL *con, const char *rrdata) in tlsa_import_rr() argument 399 ret = SSL_dane_tlsa_add(con, usage, selector, mtype, data, len); in tlsa_import_rr() 417 static int tlsa_import_rrset(SSL *con, STACK_OF(OPENSSL_STRING) *rrset) in tlsa_import_rrset() argument 425 if (tlsa_import_rr(con, rrdata) > 0) in tlsa_import_rrset() 786 SSL *con = NULL; in s_client_main() local 1945 con = SSL_new(ctx); in s_client_main() 1946 if (con == NULL) in s_client_main() 1950 SSL_set_post_handshake_auth(con, 1); in s_client_main() 1967 if (!SSL_set_session(con, sess)) { in s_client_main() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrMMA.td | 23 XX3Form_AT3_XAB6<opcode, xo, (outs acc:$AT), !con((ins acc:$ATi), IOL), 33 XX3Form_AT3_XAB6<opcode, xo, (outs wacc:$AT), !con((ins wacc:$ATi), IOL), 48 !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK, u8imm:$PMSK)), 55 !con((ins acc:$ATi), 56 !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK, u8imm:$PMSK))), 65 !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK, u8imm:$PMSK)), 72 !con((ins wacc:$ATi), 73 !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK, u8imm:$PMSK))), 89 !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK, u4imm:$PMSK)), 96 !con((ins acc:$ATi), [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | servername_test.c | 100 SSL *con = NULL; in client_setup_sni_before_state() local 115 con = SSL_new(ctx); in client_setup_sni_before_state() 116 if (!TEST_ptr(con)) in client_setup_sni_before_state() 120 SSL_set_tlsext_host_name(con, host); in client_setup_sni_before_state() 130 SSL_set_bio(con, rbio, wbio); in client_setup_sni_before_state() 132 if (!TEST_int_le(SSL_connect(con), 0)) in client_setup_sni_before_state() 144 SSL_free(con); in client_setup_sni_before_state() 152 SSL *con = NULL; in client_setup_sni_after_state() local 167 con = SSL_new(ctx); in client_setup_sni_after_state() 168 if (!TEST_ptr(con)) in client_setup_sni_after_state() [all …]
|
H A D | clienthellotest.c | 62 SSL *con = NULL; in test_client_hello() local 148 con = SSL_new(ctx); in test_client_hello() 149 if (!TEST_ptr(con)) in test_client_hello() 168 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello() 180 SSL_set_bio(con, rbio, wbio); in test_client_hello() 181 SSL_set_connect_state(con); in test_client_hello() 184 if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick, in test_client_hello() 189 if (!TEST_int_le(SSL_connect(con), 0)) { in test_client_hello() 247 SSL_free(con); in test_client_hello()
|
H A D | bad_dtls_test.c | 467 SSL *con = NULL; in test_bad_dtls() local 502 con = SSL_new(ctx); in test_bad_dtls() 503 if (!TEST_ptr(con) in test_bad_dtls() 504 || !TEST_true(SSL_set_session(con, sess))) in test_bad_dtls() 514 SSL_set_bio(con, rbio, wbio); in test_bad_dtls() 518 * We can't up-ref but we assigned ownership to con, so we shouldn't in test_bad_dtls() 530 SSL_set_connect_state(con); in test_bad_dtls() 533 ret = SSL_do_handshake(con); in test_bad_dtls() 535 || !TEST_int_eq(SSL_get_error(con, ret), SSL_ERROR_WANT_READ) in test_bad_dtls() 540 ret = SSL_do_handshake(con); in test_bad_dtls() [all...] |
/freebsd/usr.sbin/ngctl/ |
H A D | connect.c | 61 struct ngm_connect con; in ConnectCmd() local 72 snprintf(con.path, sizeof(con.path), "%s", av[1]); in ConnectCmd() 73 snprintf(con.ourhook, sizeof(con.ourhook), "%s", av[2]); in ConnectCmd() 74 snprintf(con.peerhook, sizeof(con.peerhook), "%s", av[3]); in ConnectCmd() 82 NGM_CONNECT, &con, sizeof(con)) < 0) { in ConnectCmd()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | arm_cde.td | 64 def "" : CDEIntrinsic<u32, !con(cp, argsReg, argsImm), 65 !con((CDEIRInt<NAME> $cp), cgArgs, (? $imm))>; 66 def a : CDEIntrinsic<u32, !con(cp, (args u32:$acc), argsReg, argsImm), 67 !con((CDEIRInt<NAME # "a"> $cp, $acc), 71 CDEIntrinsic<u64, !con(cp, argsReg, argsImm), 72 (seq !con((CDEIRInt<NAME # "d"> $cp), cgArgs, (? $imm)):$pair, 76 CDEIntrinsic<u64, !con(cp, (args u64:$acc), argsReg, argsImm), 79 !con((CDEIRInt<NAME # "da"> $cp, $acc_lo, $acc_hi), cgArgs, 94 def "" : CDEIntrinsic<u32, !con(cp, argsReg32, argsImm), 95 (bitcast !con((CDEIRInt<NAME, [f32]> $cp), cgArgs, (? $imm)), [all …]
|
/freebsd/usr.sbin/pmcstudy/ |
H A D | pmcstudy.c | 523 double br, un, con, res; in br_mispredict() local 524 con = 20.0; in br_mispredict() 535 res = (con * br)/un; in br_mispredict() 558 double br, cl, cl2, cl3, uo, re, un, con, res, is; in br_mispredictib() local 559 con = 4.0; in br_mispredictib() 588 res = (br/(br + cl + cl2 + cl3) * ((is - uo + con * re) / (con * un))); in br_mispredictib() 604 double br, cl, uo, uo_r, re, con, un, res; in br_mispredict_broad() local 606 con = 4.0; in br_mispredict_broad() 630 res = br / (br + cl) * (uo - uo_r + con * re) / (un * con); in br_mispredict_broad() 675 double con, un, memd, res; in splitload() local [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | sfsasl.c | 422 SSL *con; member 428 SSL *con; member 464 return SSL_pending(so->con) > 0; 506 so->con = ti->con; 728 r = SSL_read(so->con, (char *) buf, size); 734 switch (ssl_err = SSL_get_error(so->con, r)) 745 rfd = SSL_get_rfd(so->con); 746 wfd = SSL_get_wfd(so->con); 747 try = tls_retry(so->con, rfd, wfd, tlsstart, 854 r = SSL_write(so->con, (char *) buf, size); [all …]
|
/freebsd/contrib/tcsh/nls/spanish/ |
H A D | set1 | 32 30 El nombre de la variable debe comenzar con una letra 54 52 No se ha hallado correspondencia con '%c' 63 61 No hay trabajo que corresponda con este patrón 82 80 No esta permitido el uso de $, ! o < con $# o $? 84 82 No esta permitido el uso de * con $# o $? 116 114 Tiempo relativo inconsistente con am/pm
|