Home
last modified time | relevance | path

Searched refs:op_code (Results 1 - 25 of 39) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_wsc.c368 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont()
371 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
374 op_code, data->in_op_code); in eap_wsc_process_cont()
395 u8 id, u8 flags, u8 op_code, in eap_wsc_process_fragment()
416 data->in_op_code = op_code; in eap_wsc_process_fragment()
435 u8 op_code, flags, id; in eap_wsc_process() local
453 op_code = *pos++; in eap_wsc_process()
474 op_code, flags, message_length); in eap_wsc_process()
477 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
479 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
367 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) eap_wsc_process_cont() argument
393 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) eap_wsc_process_fragment() argument
[all...]
H A Deap_pax.c94 u8 id, u8 op_code, size_t plen) in eap_pax_alloc_resp()
105 pax->op_code = op_code; in eap_pax_alloc_resp()
354 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " in eap_pax_process()
357 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
419 if (req->op_code == EAP_PAX_OP_STD_1) { in eap_pax_process()
442 switch (req->op_code) { in eap_pax_process()
451 "op_code %d", req->op_code); in eap_pax_process()
93 eap_pax_alloc_resp(const struct eap_pax_hdr *req, u8 id, u8 op_code, size_t plen) eap_pax_alloc_resp() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_wsc.c369 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont()
372 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
375 op_code, data->in_op_code); in eap_wsc_process_cont()
396 u8 id, u8 flags, u8 op_code, in eap_wsc_process_fragment()
417 data->in_op_code = op_code; in eap_wsc_process_fragment()
441 u8 op_code, flags, id; in eap_wsc_process() local
459 op_code = *pos++; in eap_wsc_process()
480 op_code, flags, message_length); in eap_wsc_process()
483 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
485 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
368 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) eap_wsc_process_cont() argument
394 eap_wsc_process_fragment(struct eap_wsc_data *data, struct eap_method_ret *ret, u8 id, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) eap_wsc_process_fragment() argument
[all...]
H A Deap_pax.c94 u8 id, u8 op_code, size_t plen) in eap_pax_alloc_resp()
105 pax->op_code = op_code; in eap_pax_alloc_resp()
354 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " in eap_pax_process()
357 req->op_code, req->flags, req->mac_id, req->dh_group_id, in eap_pax_process()
419 if (req->op_code == EAP_PAX_OP_STD_1) { in eap_pax_process()
442 switch (req->op_code) { in eap_pax_process()
451 "op_code %d", req->op_code); in eap_pax_process()
93 eap_pax_alloc_resp(const struct eap_pax_hdr *req, u8 id, u8 op_code, size_t plen) eap_pax_alloc_resp() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_wsc.c291 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont()
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()
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()
290 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) eap_wsc_process_cont() argument
317 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) eap_wsc_process_fragment() argument
[all...]
H A Deap_server_mschapv2.c18 u8 op_code; /* MSCHAPV2_OP_* */ member
123 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge()
161 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req()
204 ms->op_code = MSCHAPV2_OP_FAILURE; in eap_mschapv2_build_failure_req()
255 resp->op_code != MSCHAPV2_OP_RESPONSE) { in eap_mschapv2_check()
257 "ignore op %d", resp->op_code); in eap_mschapv2_check()
262 resp->op_code != MSCHAPV2_OP_SUCCESS && in eap_mschapv2_check()
263 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
265 "Failure - ignore op %d", resp->op_code); in eap_mschapv2_check()
270 resp->op_code ! in eap_mschapv2_check()
[all...]
H A Deap_server_pax.c98 pax->op_code = EAP_PAX_OP_STD_1; in eap_pax_build_std_1()
144 pax->op_code = EAP_PAX_OP_STD_3; in eap_pax_build_std_3()
216 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " in eap_pax_check()
219 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
225 resp->op_code != EAP_PAX_OP_STD_2) { in eap_pax_check()
227 "ignore op %d", resp->op_code); in eap_pax_check()
232 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
234 "ignore op %d", resp->op_code); in eap_pax_check()
238 if (resp->op_code != EAP_PAX_OP_STD_2 && in eap_pax_check()
239 resp->op_code ! in eap_pax_check()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_wsc.c293 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont()
296 if (op_code != data->in_op_code) { in eap_wsc_process_cont()
299 op_code, data->in_op_code); in eap_wsc_process_cont()
320 u8 flags, u8 op_code, u16 message_length, in eap_wsc_process_fragment()
338 data->in_op_code = op_code; in eap_wsc_process_fragment()
356 u8 op_code, flags; in eap_wsc_process() local
375 op_code = *pos++; in eap_wsc_process()
394 op_code, flags, message_length); in eap_wsc_process()
397 if (op_code != WSC_FRAG_ACK) { in eap_wsc_process()
399 "in WAIT_FRAG_ACK state", op_code); in eap_wsc_process()
292 eap_wsc_process_cont(struct eap_wsc_data *data, const u8 *buf, size_t len, u8 op_code) eap_wsc_process_cont() argument
319 eap_wsc_process_fragment(struct eap_wsc_data *data, u8 flags, u8 op_code, u16 message_length, const u8 *buf, size_t len) eap_wsc_process_fragment() argument
[all...]
H A Deap_server_mschapv2.c18 u8 op_code; /* MSCHAPV2_OP_* */ member
123 ms->op_code = MSCHAPV2_OP_CHALLENGE; in eap_mschapv2_build_challenge()
161 ms->op_code = MSCHAPV2_OP_SUCCESS; in eap_mschapv2_build_success_req()
204 ms->op_code = MSCHAPV2_OP_FAILURE; in eap_mschapv2_build_failure_req()
255 resp->op_code != MSCHAPV2_OP_RESPONSE) { in eap_mschapv2_check()
257 "ignore op %d", resp->op_code); in eap_mschapv2_check()
262 resp->op_code != MSCHAPV2_OP_SUCCESS && in eap_mschapv2_check()
263 resp->op_code != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check()
265 "Failure - ignore op %d", resp->op_code); in eap_mschapv2_check()
270 resp->op_code ! in eap_mschapv2_check()
[all...]
H A Deap_server_pax.c98 pax->op_code = EAP_PAX_OP_STD_1; in eap_pax_build_std_1()
144 pax->op_code = EAP_PAX_OP_STD_3; in eap_pax_build_std_3()
216 wpa_printf(MSG_DEBUG, "EAP-PAX: received frame: op_code 0x%x " in eap_pax_check()
219 resp->op_code, resp->flags, resp->mac_id, resp->dh_group_id, in eap_pax_check()
225 resp->op_code != EAP_PAX_OP_STD_2) { in eap_pax_check()
227 "ignore op %d", resp->op_code); in eap_pax_check()
232 resp->op_code != EAP_PAX_OP_ACK) { in eap_pax_check()
234 "ignore op %d", resp->op_code); in eap_pax_check()
238 if (resp->op_code != EAP_PAX_OP_STD_2 && in eap_pax_check()
239 resp->op_code ! in eap_pax_check()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_replace_load_store_with_copy_memory.cpp136 SpvOp op_code) { in IsMemoryWritingOpCode()
137 if (spvOpcodeIsAtomicOp(op_code)) { in IsMemoryWritingOpCode()
138 return op_code != SpvOpAtomicLoad; in IsMemoryWritingOpCode()
140 switch (op_code) { in IsMemoryWritingOpCode()
151 SpvOp op_code) { in IsMemoryBarrierOpCode()
152 switch (op_code) { in IsMemoryBarrierOpCode()
135 IsMemoryWritingOpCode( SpvOp op_code) IsMemoryWritingOpCode() argument
150 IsMemoryBarrierOpCode( SpvOp op_code) IsMemoryBarrierOpCode() argument
H A Dtransformation_replace_load_store_with_copy_memory.h53 // Checks if the instruction that has an |op_code| might write to
55 static bool IsMemoryWritingOpCode(SpvOp op_code);
57 // Checks if the instruction that has an |op_code| is a memory barrier that
59 static bool IsMemoryBarrierOpCode(SpvOp op_code);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_replace_load_store_with_copy_memory.cpp136 SpvOp op_code) { in IsMemoryWritingOpCode()
137 if (spvOpcodeIsAtomicOp(op_code)) { in IsMemoryWritingOpCode()
138 return op_code != SpvOpAtomicLoad; in IsMemoryWritingOpCode()
140 switch (op_code) { in IsMemoryWritingOpCode()
151 SpvOp op_code) { in IsMemoryBarrierOpCode()
152 switch (op_code) { in IsMemoryBarrierOpCode()
135 IsMemoryWritingOpCode( SpvOp op_code) IsMemoryWritingOpCode() argument
150 IsMemoryBarrierOpCode( SpvOp op_code) IsMemoryBarrierOpCode() argument
H A Dtransformation_replace_load_store_with_copy_memory.h53 // Checks if the instruction that has an |op_code| might write to
55 static bool IsMemoryWritingOpCode(SpvOp op_code);
57 // Checks if the instruction that has an |op_code| is a memory barrier that
59 static bool IsMemoryBarrierOpCode(SpvOp op_code);
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_replace_load_store_with_copy_memory.cpp136 spv::Op op_code) { in IsMemoryWritingOpCode()
137 if (spvOpcodeIsAtomicOp(op_code)) { in IsMemoryWritingOpCode()
138 return op_code != spv::Op::OpAtomicLoad; in IsMemoryWritingOpCode()
140 switch (op_code) { in IsMemoryWritingOpCode()
151 spv::Op op_code) { in IsMemoryBarrierOpCode()
152 switch (op_code) { in IsMemoryBarrierOpCode()
135 IsMemoryWritingOpCode( spv::Op op_code) IsMemoryWritingOpCode() argument
150 IsMemoryBarrierOpCode( spv::Op op_code) IsMemoryBarrierOpCode() argument
H A Dtransformation_replace_load_store_with_copy_memory.h53 // Checks if the instruction that has an |op_code| might write to
55 static bool IsMemoryWritingOpCode(spv::Op op_code);
57 // Checks if the instruction that has an |op_code| is a memory barrier that
59 static bool IsMemoryBarrierOpCode(spv::Op op_code);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_enrollee.c453 enum wsc_op_code *op_code) in wps_enrollee_get_msg()
460 *op_code = WSC_MSG; in wps_enrollee_get_msg()
464 *op_code = WSC_MSG; in wps_enrollee_get_msg()
468 *op_code = WSC_MSG; in wps_enrollee_get_msg()
472 *op_code = WSC_MSG; in wps_enrollee_get_msg()
477 *op_code = WSC_NACK; in wps_enrollee_get_msg()
481 *op_code = WSC_ACK; in wps_enrollee_get_msg()
489 *op_code = WSC_NACK; in wps_enrollee_get_msg()
493 *op_code = WSC_Done; in wps_enrollee_get_msg()
502 if (*op_code in wps_enrollee_get_msg()
452 wps_enrollee_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) wps_enrollee_get_msg() argument
1477 wps_enrollee_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) wps_enrollee_process_msg() argument
[all...]
H A Dwps_i.h197 enum wsc_op_code *op_code);
199 enum wsc_op_code op_code,
204 enum wsc_op_code *op_code);
206 enum wsc_op_code op_code,
H A Dwps.c192 * @op_code: Message OP Code
202 enum wsc_op_code op_code, in wps_process_msg()
206 return wps_registrar_process_msg(wps, op_code, msg); in wps_process_msg()
208 return wps_enrollee_process_msg(wps, op_code, msg); in wps_process_msg()
215 * @op_code: Buffer for returning message OP Code
221 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg() argument
224 return wps_registrar_get_msg(wps, op_code); in wps_get_msg()
226 return wps_enrollee_get_msg(wps, op_code); in wps_get_msg()
201 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) wps_process_msg() argument
H A Dwps_er.c1010 enum wsc_op_code op_code) in wps_er_sta_process()
1014 res = wps_process_msg(sta->wps, op_code, msg); in wps_er_sta_process()
1016 struct wpabuf *next = wps_get_msg(sta->wps, &op_code); in wps_er_sta_process()
1092 enum wsc_op_code op_code = WSC_MSG; in wps_er_process_wlanevent_eap() local
1096 op_code = WSC_ACK; in wps_er_process_wlanevent_eap()
1099 op_code = WSC_NACK; in wps_er_process_wlanevent_eap()
1102 op_code = WSC_Done; in wps_er_process_wlanevent_eap()
1106 wps_er_sta_process(sta, msg, op_code); in wps_er_process_wlanevent_eap()
1746 enum wsc_op_code op_code; in wps_er_ap_process() local
1748 op_code in wps_er_ap_process()
1009 wps_er_sta_process(struct wps_er_sta *sta, struct wpabuf *msg, enum wsc_op_code op_code) wps_er_sta_process() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_enrollee.c453 enum wsc_op_code *op_code) in wps_enrollee_get_msg()
460 *op_code = WSC_MSG; in wps_enrollee_get_msg()
464 *op_code = WSC_MSG; in wps_enrollee_get_msg()
468 *op_code = WSC_MSG; in wps_enrollee_get_msg()
472 *op_code = WSC_MSG; in wps_enrollee_get_msg()
477 *op_code = WSC_NACK; in wps_enrollee_get_msg()
481 *op_code = WSC_ACK; in wps_enrollee_get_msg()
489 *op_code = WSC_NACK; in wps_enrollee_get_msg()
493 *op_code = WSC_Done; in wps_enrollee_get_msg()
502 if (*op_code in wps_enrollee_get_msg()
452 wps_enrollee_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) wps_enrollee_get_msg() argument
1488 wps_enrollee_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) wps_enrollee_process_msg() argument
[all...]
H A Dwps_i.h197 enum wsc_op_code *op_code);
199 enum wsc_op_code op_code,
204 enum wsc_op_code *op_code);
206 enum wsc_op_code op_code,
H A Dwps.c198 * @op_code: Message OP Code
208 enum wsc_op_code op_code, in wps_process_msg()
212 return wps_registrar_process_msg(wps, op_code, msg); in wps_process_msg()
214 return wps_enrollee_process_msg(wps, op_code, msg); in wps_process_msg()
221 * @op_code: Buffer for returning message OP Code
227 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) in wps_get_msg() argument
230 return wps_registrar_get_msg(wps, op_code); in wps_get_msg()
232 return wps_enrollee_get_msg(wps, op_code); in wps_get_msg()
207 wps_process_msg(struct wps_data *wps, enum wsc_op_code op_code, const struct wpabuf *msg) wps_process_msg() argument
H A Dwps_er.c1010 enum wsc_op_code op_code) in wps_er_sta_process()
1014 res = wps_process_msg(sta->wps, op_code, msg); in wps_er_sta_process()
1016 struct wpabuf *next = wps_get_msg(sta->wps, &op_code); in wps_er_sta_process()
1092 enum wsc_op_code op_code = WSC_MSG; in wps_er_process_wlanevent_eap() local
1096 op_code = WSC_ACK; in wps_er_process_wlanevent_eap()
1099 op_code = WSC_NACK; in wps_er_process_wlanevent_eap()
1102 op_code = WSC_Done; in wps_er_process_wlanevent_eap()
1106 wps_er_sta_process(sta, msg, op_code); in wps_er_process_wlanevent_eap()
1746 enum wsc_op_code op_code; in wps_er_ap_process() local
1748 op_code in wps_er_ap_process()
1009 wps_er_sta_process(struct wps_er_sta *sta, struct wpabuf *msg, enum wsc_op_code op_code) wps_er_sta_process() argument
[all...]
/third_party/libcoap/src/
H A Dcoap_ws.c584 uint8_t op_code; in coap_ws_read() local
671 op_code = session->ws->rd_header[0] & WS_B0_OP_MASK; in coap_ws_read()
672 if (op_code != WS_OP_BINARY && op_code != WS_OP_CLOSE) { in coap_ws_read()
678 if (op_code == WS_OP_CLOSE) { in coap_ws_read()
729 op_code = session->ws->rd_header[0] & WS_B0_OP_MASK; in coap_ws_read()
730 if (op_code == WS_OP_CLOSE) { in coap_ws_read()

Completed in 20 milliseconds

12