Home
last modified time | relevance | path

Searched refs:op_code (Results 1 – 22 of 22) sorted by relevance

/external/libnfc-nci/src/nfc/nci/
Dnci_hrcv.c49 UINT8 *pp, len, op_code; in nci_proc_core_rsp() local
56 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_rsp()
57 NFC_TRACE_DEBUG1 ("nci_proc_core_rsp opcode:0x%x", op_code); in nci_proc_core_rsp()
61 switch (op_code) in nci_proc_core_rsp()
89 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); in nci_proc_core_rsp()
108 UINT8 *pp, len, op_code; in nci_proc_core_ntf() local
114 NCI_MSG_PRS_HDR1 (pp, op_code); in nci_proc_core_ntf()
115 NFC_TRACE_DEBUG1 ("nci_proc_core_ntf opcode:0x%x", op_code); in nci_proc_core_ntf()
119 switch (op_code) in nci_proc_core_ntf()
142 NFC_TRACE_ERROR1 ("unknown opcode:0x%x", op_code); in nci_proc_core_ntf()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c365 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument
368 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
371 op_code, data->in_op_code); in eap_wsc_process_cont()
392 u8 id, u8 flags, u8 op_code, in eap_wsc_process_fragment() argument
413 data->in_op_code = op_code; in eap_wsc_process_fragment()
432 u8 op_code, flags, id; in eap_wsc_process() local
450 op_code = *pos++; in eap_wsc_process()
471 op_code, flags, message_length); in eap_wsc_process()
474 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
476 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
[all …]
Deap_pax.c95 u8 id, u8 op_code, size_t plen) in eap_pax_alloc_resp() argument
106 pax->op_code = op_code; in eap_pax_alloc_resp()
351 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
413 if (req->op_code == EAP_PAX_OP_STD_1) { in eap_pax_process()
436 switch (req->op_code) { in eap_pax_process()
445 "op_code %d", req->op_code); in eap_pax_process()
Deap_mschapv2.c32 u8 op_code; /* MSCHAPV2_OP_* */ member
174 ms->op_code = MSCHAPV2_OP_RESPONSE; in eap_mschapv2_challenge_reply()
548 ms->op_code = MSCHAPV2_OP_CHANGE_PASSWORD; in eap_mschapv2_change_password()
819 switch (ms->op_code) { in eap_mschapv2_process()
830 ms->op_code); in eap_mschapv2_process()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c291 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument
294 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
297 op_code, data->in_op_code); in eap_wsc_process_cont()
318 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment() argument
336 data->in_op_code = op_code; in eap_wsc_process_fragment()
354 u8 op_code, flags; in eap_wsc_process() local
373 op_code = *pos++; in eap_wsc_process()
392 op_code, flags, message_length); in eap_wsc_process()
395 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
397 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
[all …]
Deap_server_mschapv2.c18 u8 op_code; /* MSCHAPV2_OP_* */ member
124 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge()
162 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req()
205 ms->op_code = MSCHAPV2_OP_FAILURE; in eap_mschapv2_build_failure_req()
256 resp->op_code != MSCHAPV2_OP_RESPONSE) { in eap_mschapv2_check()
258 "ignore op %d", resp->op_code); in eap_mschapv2_check()
263 resp->op_code != MSCHAPV2_OP_SUCCESS && in eap_mschapv2_check()
264 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
266 "Failure - ignore op %d", resp->op_code); in eap_mschapv2_check()
271 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
[all …]
Deap_server_pax.c98 pax->op_code = EAP_PAX_OP_STD_1; in eap_pax_build_std_1()
139 pax->op_code = EAP_PAX_OP_STD_3; in eap_pax_build_std_3()
204 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
210 resp->op_code != EAP_PAX_OP_STD_2) { in eap_pax_check()
212 "ignore op %d", resp->op_code); in eap_pax_check()
217 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
219 "ignore op %d", resp->op_code); in eap_pax_check()
223 if (resp->op_code != EAP_PAX_OP_STD_2 && in eap_pax_check()
224 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
226 resp->op_code); in eap_pax_check()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_dm.c620 UINT8 mt, pbf, gid, op_code; in nfc_hal_dm_proc_msg_during_init() local
633 NCI_MSG_PRS_HDR1 (p, op_code); in nfc_hal_dm_proc_msg_during_init()
645 if ((old_gid == gid) && (old_oid == op_code)) in nfc_hal_dm_proc_msg_during_init()
657 if (op_code == NCI_MSG_CORE_RESET) in nfc_hal_dm_proc_msg_during_init()
685 (*p_cback) ((tNFC_HAL_NCI_EVT) (op_code), in nfc_hal_dm_proc_msg_during_init()
693 op_code |= NCI_NTF_BIT; in nfc_hal_dm_proc_msg_during_init()
695 op_code |= NCI_RSP_BIT; in nfc_hal_dm_proc_msg_during_init()
699 if (op_code == (NCI_RSP_BIT|NCI_MSG_GET_XTAL_INDEX_FROM_DH)) in nfc_hal_dm_proc_msg_during_init()
708 else if ( (op_code == NFC_VS_GET_BUILD_INFO_EVT) in nfc_hal_dm_proc_msg_during_init()
738 else if ( (op_code == NFC_VS_GET_PATCH_VERSION_EVT) in nfc_hal_dm_proc_msg_during_init()
[all …]
Dnfc_hal_nci.c529 UINT8 mt, pbf, gid, op_code; in nfc_hal_nci_preproc_rx_nci_msg() local
558 NCI_MSG_PRS_HDR1 (p, op_code); in nfc_hal_nci_preproc_rx_nci_msg()
579 if (op_code == NCI_MSG_HCI_NETWK) in nfc_hal_nci_preproc_rx_nci_msg()
591 if (op_code == NCI_MSG_RF_INTF_ACTIVATED) in nfc_hal_nci_preproc_rx_nci_msg()
611 if (op_code == NCI_MSG_CORE_CONN_CREATE) in nfc_hal_nci_preproc_rx_nci_msg()
683 UINT8 mt, pbf, gid, op_code; in nci_brcm_check_cmd_create_hcp_connection() local
692 NCI_MSG_PRS_HDR1 (p, op_code); in nci_brcm_check_cmd_create_hcp_connection()
698 if (op_code == NCI_MSG_CORE_CONN_CREATE) in nci_brcm_check_cmd_create_hcp_connection()
/external/wpa_supplicant_8/src/wps/
Dwps_enrollee.c448 enum wsc_op_code *op_code) in wps_enrollee_get_msg() argument
455 *op_code = WSC_MSG; in wps_enrollee_get_msg()
459 *op_code = WSC_MSG; in wps_enrollee_get_msg()
463 *op_code = WSC_MSG; in wps_enrollee_get_msg()
467 *op_code = WSC_MSG; in wps_enrollee_get_msg()
472 *op_code = WSC_NACK; in wps_enrollee_get_msg()
476 *op_code = WSC_ACK; in wps_enrollee_get_msg()
484 *op_code = WSC_NACK; in wps_enrollee_get_msg()
488 *op_code = WSC_Done; in wps_enrollee_get_msg()
497 if (*op_code == WSC_MSG && msg) { in wps_enrollee_get_msg()
[all …]
Dwps_i.h194 enum wsc_op_code *op_code);
196 enum wsc_op_code op_code,
201 enum wsc_op_code *op_code);
203 enum wsc_op_code op_code,
Dwps.c204 enum wsc_op_code op_code, in wps_process_msg() argument
208 return wps_registrar_process_msg(wps, op_code, msg); in wps_process_msg()
210 return wps_enrollee_process_msg(wps, op_code, msg); in wps_process_msg()
223 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg() argument
226 return wps_registrar_get_msg(wps, op_code); in wps_get_msg()
228 return wps_enrollee_get_msg(wps, op_code); in wps_get_msg()
Dwps_er.c1011 enum wsc_op_code op_code) in wps_er_sta_process() argument
1015 res = wps_process_msg(sta->wps, op_code, msg); in wps_er_sta_process()
1017 struct wpabuf *next = wps_get_msg(sta->wps, &op_code); in wps_er_sta_process()
1093 enum wsc_op_code op_code = WSC_MSG; in wps_er_process_wlanevent_eap() local
1097 op_code = WSC_ACK; in wps_er_process_wlanevent_eap()
1100 op_code = WSC_NACK; in wps_er_process_wlanevent_eap()
1103 op_code = WSC_Done; in wps_er_process_wlanevent_eap()
1107 wps_er_sta_process(sta, msg, op_code); in wps_er_process_wlanevent_eap()
1747 enum wsc_op_code op_code; in wps_er_ap_process() local
1749 op_code = WSC_MSG; in wps_er_ap_process()
[all …]
Dwps_registrar.c2036 enum wsc_op_code *op_code) in wps_registrar_get_msg() argument
2061 *op_code = WSC_ACK; in wps_registrar_get_msg()
2064 *op_code = WSC_NACK; in wps_registrar_get_msg()
2067 *op_code = WSC_MSG; in wps_registrar_get_msg()
2089 *op_code = WSC_MSG; in wps_registrar_get_msg()
2093 *op_code = WSC_MSG; in wps_registrar_get_msg()
2097 *op_code = WSC_MSG; in wps_registrar_get_msg()
2101 *op_code = WSC_MSG; in wps_registrar_get_msg()
2105 *op_code = WSC_MSG; in wps_registrar_get_msg()
2109 *op_code = WSC_ACK; in wps_registrar_get_msg()
[all …]
Dwps_upnp_web.c457 enum wsc_op_code op_code; in web_process_get_device_info() local
458 *reply = wps_get_msg(peer->wps, &op_code); in web_process_get_device_info()
496 enum wsc_op_code op_code; in web_process_put_message() local
563 *reply = wps_get_msg(peer->wps, &op_code); in web_process_put_message()
Dwps.h222 enum wsc_op_code op_code,
225 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
/external/libvorbis/lib/
Dinfo.c571 ogg_packet *op_code){ in vorbis_analysis_headerout() argument
621 op_code->packet=b->header2; in vorbis_analysis_headerout()
622 op_code->bytes=oggpack_bytes(&opb); in vorbis_analysis_headerout()
623 op_code->b_o_s=0; in vorbis_analysis_headerout()
624 op_code->e_o_s=0; in vorbis_analysis_headerout()
625 op_code->granulepos=0; in vorbis_analysis_headerout()
626 op_code->packetno=2; in vorbis_analysis_headerout()
633 memset(op_code,0,sizeof(*op_code)); in vorbis_analysis_headerout()
/external/libnfc-nci/src/nfc/tags/
Drw_t1t.c94 …&&((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || (p_t1t->prev_cmd_rsp_info.op_code == T1T_C… in rw_t1t_data_cback()
97 …ommand=0x%02x, Remaining max retx rsp:0x%02x ", p_t1t->prev_cmd_rsp_info.op_code, p_t1t->prev_cmd_… in rw_t1t_data_cback()
126 …&&((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || (p_t1t->prev_cmd_rsp_info.op_code == T1T_C… in rw_t1t_data_cback()
128 …command=0x%02x, Remaining max retx rsp:0x%02x", p_t1t->prev_cmd_rsp_info.op_code, p_t1t->prev_cmd_… in rw_t1t_data_cback()
165 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback()
632 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_process_error()
/external/wpa_supplicant_8/src/eap_common/
Deap_pax_common.h17 u8 op_code; member
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf.c266 UChar op_code = ML_(cur_step_UChar)(data); in process_extended_line_op() local
267 if (0) VG_(printf)("dwarf2: ext OPC: %d\n", op_code); in process_extended_line_op()
269 switch (op_code) { in process_extended_line_op()
293 (Int)op_code); in process_extended_line_op()
301 (Int)op_code, (Addr)adr); in process_extended_line_op()
611 UChar op_code = ML_(cur_step_UChar)(&data); in read_dwarf2_lineblock() local
613 if (0) VG_(printf)("dwarf2: OPC: %d\n", op_code); in read_dwarf2_lineblock()
615 if (op_code >= info.li_opcode_base) { in read_dwarf2_lineblock()
616 op_code -= info.li_opcode_base; in read_dwarf2_lineblock()
617 Word adv = (op_code / info.li_line_range) in read_dwarf2_lineblock()
[all …]
/external/libvorbis/include/vorbis/
Dcodec.h192 ogg_packet *op_code);
/external/libnfc-nci/src/nfc/int/
Drw_int.h124 …UINT8 op_code; /* Command sent … member