/external/uwb/src/uwb/uci/ |
D | uci_hrcv.cc | 47 bool uwb_proc_core_rsp(uint8_t op_code, uint8_t* p_buf, uint16_t len) { in uwb_proc_core_rsp() argument 51 switch (op_code) { in uwb_proc_core_rsp() 68 UCI_TRACE_E("%s: unknown opcode:0x%x", __func__, op_code); in uwb_proc_core_rsp() 83 void uci_proc_core_management_ntf(uint8_t op_code, uint8_t* p_buf, in uci_proc_core_management_ntf() argument 85 switch (op_code) { in uci_proc_core_management_ntf() 93 UCI_TRACE_E("%s: unknown opcode:0x%x", __func__, op_code); in uci_proc_core_management_ntf() 107 void uci_proc_session_management_rsp(uint8_t op_code, uint8_t* p_buf, in uci_proc_session_management_rsp() argument 109 switch (op_code) { in uci_proc_session_management_rsp() 135 UCI_TRACE_E("%s: unknown opcode:0x%x", __func__, op_code); in uci_proc_session_management_rsp() 149 void uci_proc_test_management_rsp(uint8_t op_code, uint8_t* p_buf, in uci_proc_test_management_rsp() argument [all …]
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_utils.cc | 45 BuiltinOperator GetBuiltinCode(const OperatorCode* op_code) { in GetBuiltinCode() argument 47 TFLITE_DCHECK(op_code != nullptr); in GetBuiltinCode() 50 op_code->builtin_code(), in GetBuiltinCode() 51 static_cast<BuiltinOperator>(op_code->deprecated_builtin_code())); in GetBuiltinCode() 54 BuiltinOperator GetBuiltinCode(const OperatorCodeT* op_code) { in GetBuiltinCode() argument 56 TFLITE_DCHECK(op_code != nullptr); in GetBuiltinCode() 58 return std::max(op_code->builtin_code, static_cast<BuiltinOperator>( in GetBuiltinCode() 59 op_code->deprecated_builtin_code)); in GetBuiltinCode()
|
D | schema_utils.h | 27 BuiltinOperator GetBuiltinCode(const OperatorCode *op_code); 29 BuiltinOperator GetBuiltinCode(const OperatorCodeT *op_code);
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
D | quantize_weights.cc | 81 std::vector<int32_t> GetWeightInputIndices(const OperatorCodeT* op_code, in GetWeightInputIndices() argument 83 const BuiltinOperator builtin_op_code = GetBuiltinCode(op_code); in GetWeightInputIndices() 85 const std::string custom_code = op_code->custom_code; in GetWeightInputIndices() 125 bool IsQuantizedInput(const OperatorCodeT* op_code, in IsQuantizedInput() argument 128 GetWeightInputIndices(op_code, custom_op_map); in IsQuantizedInput() 135 bool IsHybridEvaluationOp(const OperatorT* op, const OperatorCodeT* op_code, in IsHybridEvaluationOp() argument 138 const BuiltinOperator builtin_op_code = GetBuiltinCode(op_code); in IsHybridEvaluationOp() 142 const std::string custom_code = op_code->custom_code; in IsHybridEvaluationOp() 173 const OperatorCodeT* op_code, in CheckAllOpInputsQuantized() argument 176 GetWeightInputIndices(op_code, custom_op_map); in CheckAllOpInputsQuantized() [all …]
|
D | model_utils.cc | 37 int32_t GetOrInsertOpCodeIndex(ModelT* model, const BuiltinOperator& op_code, in GetOrInsertOpCodeIndex() argument 40 if (GetBuiltinCode(model->operator_codes[i].get()) == op_code) { in GetOrInsertOpCodeIndex() 46 model->operator_codes[op_code_idx]->builtin_code = op_code; in GetOrInsertOpCodeIndex() 48 ConvertBuiltinCodeToDeprecatedBuiltinCode(op_code); in GetOrInsertOpCodeIndex() 139 OperatorCodeT* op_code = model->operator_codes[op->opcode_index].get(); in SetOperatorCodeVersion() local 142 if (property.quantizable && op_code->version < property.version) { in SetOperatorCodeVersion() 146 op_code->version = property.version; in SetOperatorCodeVersion()
|
D | quantize_model.cc | 62 const BuiltinOperator op_code = in GetOperatorProperty() local 69 if (op_code != BuiltinOperator_DEQUANTIZE && in GetOperatorProperty() 70 op_code != BuiltinOperator_QUANTIZE) { in GetOperatorProperty() 240 const BuiltinOperator op_code = in InputQuantizeRequired() local 242 if (op_code != BuiltinOperator_QUANTIZE) { in InputQuantizeRequired() 543 OperatorCodeT* op_code = model->operator_codes[op->opcode_index].get(); in SetOperatorPropertyADDSUBOperator() local 544 if (op_code && op_code->builtin_code == BuiltinOperator_ADD) { in SetOperatorPropertyADDSUBOperator() 552 if (op_code && op_code->builtin_code == BuiltinOperator_SUB) { in SetOperatorPropertyADDSUBOperator() 617 const BuiltinOperator op_code = in QuantizeOpInput() local 624 input_idx, op->inputs.size(), EnumNameBuiltinOperator(op_code), *op_idx, in QuantizeOpInput() [all …]
|
D | quantize_weights_test.cc | 118 tflite::BuiltinOperator* op_code) { in GetProducerOpCode() argument 125 *op_code = GetBuiltinCode(model->operator_codes()->Get(op_code_idx)); in GetProducerOpCode() 369 const auto op_code = in TEST_F() local 371 if (op_code == BuiltinOperator_CONV_2D) { in TEST_F() 403 const auto op_code = in TEST_F() local 405 if (op_code == BuiltinOperator_CONV_2D) { in TEST_F() 443 const auto op_code = in TEST_F() local 445 if (op_code == BuiltinOperator_GATHER) { in TEST_F() 483 const auto op_code = in TEST_F() local 485 if (op_code == BuiltinOperator_CUSTOM) { in TEST_F() [all …]
|
/external/uwb/src/uwb/include/ |
D | uci_hmsgs.h | 67 extern void uci_proc_session_management_rsp(uint8_t op_code, uint8_t* p_buf, 69 extern void uci_proc_session_management_ntf(uint8_t op_code, uint8_t* p_buf, 71 extern void uci_proc_device_management_ntf(uint8_t op_code, uint8_t* p_buf, 73 extern void uci_proc_core_management_ntf(uint8_t op_code, uint8_t* p_buf, 75 extern void uci_proc_rang_management_rsp(uint8_t op_code, uint8_t* p_buf, 77 extern void uci_proc_rang_management_ntf(uint8_t op_code, uint8_t* p_buf, 79 extern void uci_proc_android_rsp(uint8_t op_code, uint8_t* p_buf, uint16_t len); 80 extern void uci_proc_test_management_ntf(uint8_t op_code, uint8_t* p_buf, 82 extern void uci_proc_test_management_rsp(uint8_t op_code, uint8_t* p_buf,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_wsc.c | 368 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument 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() argument 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() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_wsc.c | 293 const u8 *buf, size_t len, u8 op_code) in eap_wsc_process_cont() argument 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() argument 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() [all …]
|
D | eap_server_mschapv2.c | 18 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 != MSCHAPV2_OP_FAILURE) { in eap_mschapv2_check() [all …]
|
D | eap_server_pax.c | 98 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() 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 != EAP_PAX_OP_ACK) { in eap_pax_check() 241 resp->op_code); in eap_pax_check() [all …]
|
/external/python/bumble/bumble/ |
D | att.py | 200 op_code = 0 variable in ATT_PDU 204 op_code = pdu[0] 206 cls = ATT_PDU.pdu_classes.get(op_code) 209 instance.name = ATT_PDU.pdu_name(op_code) 210 instance.op_code = op_code 219 def pdu_name(op_code): argument 220 return name_or_number(ATT_PDU_NAMES, op_code, 2) 230 cls.op_code = key_with_value(ATT_PDU_NAMES, cls.name) 231 if cls.op_code is None: 236 ATT_PDU.pdu_classes[cls.op_code] = cls [all …]
|
D | gatt_server.py | 305 request_opcode_in_error = att_pdu.op_code, 313 request_opcode_in_error = att_pdu.op_code, 321 if att_pdu.op_code in ATT_REQUESTS: 340 request_opcode_in_error = pdu.op_code, 365 request_opcode_in_error = request.op_code, 410 request_opcode_in_error = request.op_code, 459 request_opcode_in_error = request.op_code, 510 request_opcode_in_error = request.op_code, 531 request_opcode_in_error = request.op_code, 548 request_opcode_in_error = request.op_code, [all …]
|
D | gatt_client.py | 199 if response.op_code == ATT_ERROR_RESPONSE: 246 if response.op_code == ATT_ERROR_RESPONSE: 310 if response.op_code == ATT_ERROR_RESPONSE: 382 if response.op_code == ATT_ERROR_RESPONSE: 451 if response.op_code == ATT_ERROR_RESPONSE: 501 if response.op_code == ATT_ERROR_RESPONSE: 563 if response.op_code == ATT_ERROR_RESPONSE: 583 if response.op_code == ATT_ERROR_RESPONSE: 630 if response.op_code == ATT_ERROR_RESPONSE: 672 if response.op_code == ATT_ERROR_RESPONSE: [all …]
|
/external/tensorflow/tensorflow/lite/python/analyzer_wrapper/ |
D | model_analyzer.cc | 85 const std::string get_op_name(const OperatorCode* op_code) { in get_op_name() argument 86 auto builtin_code = GetBuiltinCode(op_code); in get_op_name() 90 return op_code->custom_code()->str(); in get_op_name() 96 const OperatorCode* op_code, const Operator* op, in dump_node() argument 98 out_stream << "Op#" << node_no << " " << get_op_name(op_code); in dump_node() 187 const OperatorCode* op_code = in model_analyzer() local 190 dump_node(out_stream, /*node_no=*/j, op_code, op, subgraph); in model_analyzer() 193 CheckGpuDelegateCompatibility(op_code, op, subgraph, model); in model_analyzer()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/ |
D | transformation_replace_load_store_with_copy_memory.cpp | 136 SpvOp op_code) { in IsMemoryWritingOpCode() argument 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() argument 152 switch (op_code) { in IsMemoryBarrierOpCode()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_load_store_with_copy_memory.cpp | 136 SpvOp op_code) { in IsMemoryWritingOpCode() argument 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() argument 152 switch (op_code) { in IsMemoryBarrierOpCode()
|
D | transformation_replace_load_store_with_copy_memory.h | 55 static bool IsMemoryWritingOpCode(SpvOp op_code); 59 static bool IsMemoryBarrierOpCode(SpvOp op_code);
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_load_store_with_copy_memory.cpp | 136 SpvOp op_code) { in IsMemoryWritingOpCode() argument 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() argument 152 switch (op_code) { in IsMemoryBarrierOpCode()
|
D | transformation_replace_load_store_with_copy_memory.h | 55 static bool IsMemoryWritingOpCode(SpvOp op_code); 59 static bool IsMemoryBarrierOpCode(SpvOp op_code);
|
/external/tensorflow/tensorflow/lite/tools/versioning/ |
D | runtime_version_test.cc | 44 auto op_code = static_cast<tflite::BuiltinOperator>(id); in TEST() local 45 if (resolver.FindOp(op_code, version) == nullptr) break; in TEST() 48 FindMinimumRuntimeVersionForOp(op_code, version); in TEST() 51 << tflite::EnumNamesBuiltinOperator()[op_code] in TEST()
|
D | runtime_version.cc | 44 std::string FindMinimumRuntimeVersionForOp(tflite::BuiltinOperator op_code, in FindMinimumRuntimeVersionForOp() argument 365 std::pair<BuiltinOperator, int> version_key = {op_code, op_version}; in FindMinimumRuntimeVersionForOp() 381 const OperatorCode* op_code = in UpdateMinimumRuntimeVersionForModel() local 384 GetBuiltinCode(op_code), op_code->version()); in UpdateMinimumRuntimeVersionForModel()
|
/external/tensorflow/tensorflow/lite/tools/ |
D | flatbuffer_utils.py | 166 for op_code in model.operatorCodes: 167 if op_code.customCode: 168 op_code_str = op_code.customCode.decode('ascii') 170 op_code.customCode = map_custom_op_renames[op_code_str].encode('ascii')
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_enrollee.c | 453 enum wsc_op_code *op_code) in wps_enrollee_get_msg() argument 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 == WSC_MSG && msg) { in wps_enrollee_get_msg() [all …]
|