Searched refs:func_inst (Results 1 – 10 of 10) sorted by relevance
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/ |
D | usbd_config.c | 510 struct function_instance *func_inst = container_of(obj, struct function_instance, obj); in function_instance_release() local 512 if (func_inst->minor >= DEV_GENERIC) in function_instance_release() 514 ret = usbdev_generic_free_instance(func_inst->name); in function_instance_release() 517 usb_err("%s: free generic_func_inst %s failed\n", __func__, func_inst->name); in function_instance_release() 520 usbm_free(obj->parent, func_inst); in function_instance_release() 525 struct function_instance *func_inst = NULL; in fconfig_do_make_function() local 540 func_inst = usbm_malloc(&cfg->obj, sizeof(*func_inst)); in fconfig_do_make_function() 541 if (func_inst == NULL) in fconfig_do_make_function() 546 memset_s(func_inst, sizeof(*func_inst), 0, sizeof(*func_inst)); in fconfig_do_make_function() 547 usbobj_init(&func_inst->obj, "", function_instance_release); in fconfig_do_make_function() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_function.cpp | 112 auto func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() local 114 func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() 115 if (func_inst->opcode() == SpvOpFunction) { in ValidateFunctionParameter() 117 } else if (func_inst->opcode() == SpvOpFunctionParameter) { in ValidateFunctionParameter() 122 if (func_inst->opcode() != SpvOpFunction) { in ValidateFunctionParameter() 127 const auto function_type_id = func_inst->GetOperandAs<uint32_t>(3); in ValidateFunctionParameter() 130 return _.diag(SPV_ERROR_INVALID_ID, func_inst) in ValidateFunctionParameter() 135 << "Too many OpFunctionParameters for " << func_inst->id() in ValidateFunctionParameter()
|
/third_party/spirv-tools/source/val/ |
D | validate_function.cpp | 112 auto func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() local 114 func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() 115 if (func_inst->opcode() == SpvOpFunction) { in ValidateFunctionParameter() 117 } else if (func_inst->opcode() == SpvOpFunctionParameter) { in ValidateFunctionParameter() 122 if (func_inst->opcode() != SpvOpFunction) { in ValidateFunctionParameter() 127 const auto function_type_id = func_inst->GetOperandAs<uint32_t>(3); in ValidateFunctionParameter() 130 return _.diag(SPV_ERROR_INVALID_ID, func_inst) in ValidateFunctionParameter() 135 << "Too many OpFunctionParameters for " << func_inst->id() in ValidateFunctionParameter()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_function.cpp | 112 auto func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() local 114 func_inst = &_.ordered_instructions()[inst_num]; in ValidateFunctionParameter() 115 if (func_inst->opcode() == SpvOpFunction) { in ValidateFunctionParameter() 117 } else if (func_inst->opcode() == SpvOpFunctionParameter) { in ValidateFunctionParameter() 122 if (func_inst->opcode() != SpvOpFunction) { in ValidateFunctionParameter() 127 const auto function_type_id = func_inst->GetOperandAs<uint32_t>(3); in ValidateFunctionParameter() 130 return _.diag(SPV_ERROR_INVALID_ID, func_inst) in ValidateFunctionParameter() 135 << "Too many OpFunctionParameters for " << func_inst->id() in ValidateFunctionParameter()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 694 std::unique_ptr<Instruction> func_inst( in GetStreamWriteFunctionId() local 701 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetStreamWriteFunctionId() 703 MakeUnique<Function>(std::move(func_inst)); in GetStreamWriteFunctionId() 802 std::unique_ptr<Instruction> func_inst(new Instruction( in GetDirectReadFunctionId() local 808 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetDirectReadFunctionId() 810 MakeUnique<Function>(std::move(func_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 233 std::unique_ptr<Instruction> func_inst( in GetSearchAndTestFuncId() local 240 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetSearchAndTestFuncId() 242 MakeUnique<Function>(std::move(func_inst)); in GetSearchAndTestFuncId()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instrument_pass.cpp | 694 std::unique_ptr<Instruction> func_inst( in GetStreamWriteFunctionId() local 701 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetStreamWriteFunctionId() 703 MakeUnique<Function>(std::move(func_inst)); in GetStreamWriteFunctionId() 802 std::unique_ptr<Instruction> func_inst(new Instruction( in GetDirectReadFunctionId() local 808 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetDirectReadFunctionId() 810 MakeUnique<Function>(std::move(func_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 233 std::unique_ptr<Instruction> func_inst( in GetSearchAndTestFuncId() local 240 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetSearchAndTestFuncId() 242 MakeUnique<Function>(std::move(func_inst)); in GetSearchAndTestFuncId()
|
/third_party/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 748 std::unique_ptr<Instruction> func_inst( in GetStreamWriteFunctionId() local 755 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetStreamWriteFunctionId() 757 MakeUnique<Function>(std::move(func_inst)); in GetStreamWriteFunctionId() 862 std::unique_ptr<Instruction> func_inst(new Instruction( in GetDirectReadFunctionId() local 868 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetDirectReadFunctionId() 870 MakeUnique<Function>(std::move(func_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 233 std::unique_ptr<Instruction> func_inst( in GetSearchAndTestFuncId() local 240 get_def_use_mgr()->AnalyzeInstDefUse(&*func_inst); in GetSearchAndTestFuncId() 242 MakeUnique<Function>(std::move(func_inst)); in GetSearchAndTestFuncId()
|