/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryDeviceMemoryReportTests.cpp | 120 VkInstance instance; member 141 , instance (instance_) in Environment() 167 VkInstance instance, in createDeviceWithMemoryReport() 213 return createCustomDevice(isValidationEnabled, vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createDeviceWithMemoryReport() 232 return createDeviceWithMemoryReport(env.commandLine.isValidationEnabled(), env.vkp, env.instance, env.vki, env.physicalDevice, env.queueFamilyIndex, env.recorder); in create() 1708 , vkd (parent.vkp, parent.instance, *device) in EnvClone() 1709 , env (parent.vkp, parent.vki, parent.instance, parent.physicalDevice, vkd, *device, parent.queueFamilyIndex, parent.programBinaries, parent.commandLine, nullptr) in EnvClone() 1753 const VkInstance instance = context.getInstance(); in vkDeviceMemoryAllocateAndFreeTest() local 1758 const Unique<VkDevice> device (createDeviceWithMemoryReport(isValidationEnabled, vkp, instance, vki, physicalDevice, queueFamilyIndex, &recorder)); in vkDeviceMemoryAllocateAndFreeTest() 1759 const DeviceDriver vkd (vkp, instance, *devic in vkDeviceMemoryAllocateAndFreeTest() 165 createDeviceWithMemoryReport(deBool isValidationEnabled, const PlatformInterface& vkp, VkInstance instance, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, const CallbackRecorder* recorder) createDeviceWithMemoryReport() argument 1834 const VkInstance instance = context.getInstance(); vkDeviceMemoryAllocationFailedTest() local 1967 createExternalMemoryDevice(deBool isValidationEnabled, const PlatformInterface& vkp, VkInstance instance, const InstanceInterface& vki, VkPhysicalDevice physicalDevice, deUint32 apiVersion, deUint32 queueFamilyIndex, VkExternalMemoryHandleTypeFlagBits externalMemoryType, const CallbackRecorder* recorder) createExternalMemoryDevice() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | 248 /* Initialize cx18-alsa for this instance of the cx18 device */ in request_module_async() 629 cx->options.cardtype = cardtype[cx->instance]; in cx18_process_options() 630 cx->options.tuner = tuner[cx->instance]; in cx18_process_options() 631 cx->options.radio = radio[cx->instance]; in cx18_process_options() 710 the dev and instance fields have been filled in. 805 CX18_ERR("Can't enable device %d!\n", cx->instance); in cx18_setup_pci() 809 CX18_ERR("No suitable DMA available, card %d\n", cx->instance); in cx18_setup_pci() 814 cx->instance); in cx18_setup_pci() 908 cx->instance = i; in cx18_probe() 913 cx->instance); in cx18_probe() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aacraid/ |
H A D | src.c | 888 int instance = dev->id; in aac_src_init() local 926 dev->name, instance); in aac_src_init() 934 dev->name, instance); in aac_src_init() 947 dev->name, instance, status); in aac_src_init() 1003 name, instance); in aac_src_init() 1180 int instance = dev->id; in aac_srcv_init() local 1215 dev->name, instance); in aac_srcv_init() 1241 printk(KERN_ERR "%s%d: adapter self-test failed.\n", dev->name, instance); in aac_srcv_init() 1248 printk(KERN_ERR "%s%d: adapter monitor panic.\n", dev->name, instance); in aac_srcv_init() 1265 dev->name, instance, statu in aac_srcv_init() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_ioc.h | 475 u8 instance; /* partition instance */ member 501 enum bfa_flash_part_type type, u8 instance, 504 enum bfa_flash_part_type type, u8 instance, 508 enum bfa_flash_part_type type, u8 instance, void *buf, 667 u8 instance; /* port instance */ member 689 bfa_status_t bfa_phy_get_attr(struct bfa_phy_s *phy, u8 instance, 692 bfa_status_t bfa_phy_get_stats(struct bfa_phy_s *phy, u8 instance, 695 bfa_status_t bfa_phy_update(struct bfa_phy_s *phy, u8 instance, 780 u8 instance; global() member [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-driver.c | 247 /* Initialize cx18-alsa for this instance of the cx18 device */ in request_module_async() 628 cx->options.cardtype = cardtype[cx->instance]; in cx18_process_options() 629 cx->options.tuner = tuner[cx->instance]; in cx18_process_options() 630 cx->options.radio = radio[cx->instance]; in cx18_process_options() 709 the dev and instance fields have been filled in. 804 CX18_ERR("Can't enable device %d!\n", cx->instance); in cx18_setup_pci() 808 CX18_ERR("No suitable DMA available, card %d\n", cx->instance); in cx18_setup_pci() 813 cx->instance); in cx18_setup_pci() 907 cx->instance = i; in cx18_probe() 912 cx->instance); in cx18_probe() [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-tegra186.c | 92 unsigned int instance; member 704 fwspec->param[0] = gpio->soc->instance; in tegra186_gpio_populate_parent_fwspec() 1033 .instance = 0, 1061 .instance = 1, 1114 .instance = 0, 1142 .instance = 1, 1188 .instance = 0, 1214 .instance = 1, 1246 .instance = 0, 1268 .instance [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aacraid/ |
H A D | src.c | 888 int instance = dev->id; in aac_src_init() local 926 dev->name, instance); in aac_src_init() 934 dev->name, instance); in aac_src_init() 947 dev->name, instance, status); in aac_src_init() 1003 name, instance); in aac_src_init() 1180 int instance = dev->id; in aac_srcv_init() local 1215 dev->name, instance); in aac_srcv_init() 1241 printk(KERN_ERR "%s%d: adapter self-test failed.\n", dev->name, instance); in aac_srcv_init() 1248 printk(KERN_ERR "%s%d: adapter monitor panic.\n", dev->name, instance); in aac_srcv_init() 1265 dev->name, instance, statu in aac_srcv_init() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_ioc.h | 479 u8 instance; /* partition instance */ member 505 enum bfa_flash_part_type type, u8 instance, 508 enum bfa_flash_part_type type, u8 instance, 512 enum bfa_flash_part_type type, u8 instance, void *buf, 671 u8 instance; /* port instance */ member 693 bfa_status_t bfa_phy_get_attr(struct bfa_phy_s *phy, u8 instance, 696 bfa_status_t bfa_phy_get_stats(struct bfa_phy_s *phy, u8 instance, 699 bfa_status_t bfa_phy_update(struct bfa_phy_s *phy, u8 instance, 784 u8 instance; global() member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryAllocationTests.cpp | 175 const VkInstance instance = m_context.getInstance(); in createTestDevice() local 176 const VkPhysicalDevice physicalDevice = chooseDevice(instanceDriver, instance, m_context.getTestContext().getCommandLine()); in createTestDevice() 275 m_logicalDevice = createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instanceDriver, physicalDevice, &deviceInfo); in createTestDevice() 277 m_deviceDriver = de::MovePtr<DeviceDriver>(new DeviceDriver(m_context.getPlatformInterface(), instance, *m_logicalDevice, m_context.getUsedApiVersion())); in createTestDevice() 279 m_deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *m_logicalDevice, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties(), m_context.getUsedApiVersion()), vk::DeinitDeviceDeleter(m_context.getResourceInterface().get(), *m_logicalDevice)); in createTestDevice() 291 const VkInstance instance = m_context.getInstance(); in createDeviceGroup() local 292 std::vector<VkPhysicalDeviceGroupProperties> devGroupProperties = enumeratePhysicalDeviceGroups(instanceDriver, instance); in createDeviceGroup() 343 m_logicalDevice = createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instanceDriver, deviceGroupInfo.pPhysicalDevices[physDeviceIdx], &deviceInfo); in createDeviceGroup() 345 m_deviceDriver = de::MovePtr<DeviceDriver>(new DeviceDriver(m_context.getPlatformInterface(), instance, *m_logicalDevice, m_context.getUsedApiVersion())); in createDeviceGroup() 347 m_deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *m_logicalDevic in createDeviceGroup() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPlatform.cpp | 50 VkInstance instance) in InstanceDriver() 52 loadFunctions(platformInterface, instance); in InstanceDriver() 56 VkInstance instance) in loadFunctions() 58 #define GET_PROC_ADDR(NAME) platformInterface.getInstanceProcAddr(instance, NAME) in loadFunctions() 70 VkInstance instance, in InstanceDriverSC() 73 : InstanceDriver(platformInterface, instance) in InstanceDriverSC() 148 VkInstance instance, in DeviceDriver() 154 m_vk.getDeviceProcAddr = (GetDeviceProcAddrFunc)platformInterface.getInstanceProcAddr(instance, "vkGetDeviceProcAddr"); in DeviceDriver() 183 VkInstance instance, in DeviceDriverSC() 190 : DeviceDriver(platformInterface, instance, devic in DeviceDriverSC() 49 InstanceDriver(const PlatformInterface& platformInterface, VkInstance instance) InstanceDriver() argument 55 loadFunctions(const PlatformInterface& platformInterface, VkInstance instance) loadFunctions() argument 69 InstanceDriverSC(const PlatformInterface& platformInterface, VkInstance instance, const tcu::CommandLine& cmdLine, de::SharedPtr<vk::ResourceInterface> resourceInterface) InstanceDriverSC() argument 147 DeviceDriver(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, uint32_t usedApiVersion) DeviceDriver() argument 182 DeviceDriverSC(const PlatformInterface& platformInterface, VkInstance instance, VkDevice device, const tcu::CommandLine& cmdLine, de::SharedPtr<vk::ResourceInterface> resourceInterface, const VkPhysicalDeviceVulkanSC10Properties& physicalDeviceVulkanSC10Properties, const VkPhysicalDeviceProperties& physicalDeviceProperties, const uint32_t usedApiVersion) DeviceDriverSC() argument [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsBuiltinPrecisionTests.cpp | 119 * instance<T>() returns a reference to a unique default-constructed instance 128 const T& instance (void) in instance() function 1395 return createApply(instance<F>(), arg0, arg1, arg2, arg3); in app() 1405 return instance<F>().apply(ctx, arg0, arg1, arg2, arg3); in call() 1412 return createApply<typename Alternatives<T>::Sig>(instance<Alternatives<T> >(), arg0, arg1); in alternatives() 2849 return instance<F>(); in doGetScalarFunc() 2903 return instance<F>(); in doGetScalarFunc() 4035 VectorizedFunc (void) : GenFunc<typename F::Sig, Size>(instance<F>()) {} in VectorizedFunc() 4082 const Func<typename F::Sig>& doGetScalarFunc (void) const { return instance< [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 906 ahc_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahc_linux_setup_tag_info() argument 909 if ((instance >= 0) && (targ >= 0) in ahc_linux_setup_tag_info() 910 && (instance < ARRAY_SIZE(aic7xxx_tag_info)) in ahc_linux_setup_tag_info() 912 aic7xxx_tag_info[instance].tag_commands[targ] = value & 0xff; in ahc_linux_setup_tag_info() 914 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahc_linux_setup_tag_info() 926 int instance; in ahc_parse_brace_option() local 935 instance = -1; in ahc_parse_brace_option() 948 if (instance == -1) { in ahc_parse_brace_option() 949 instance = 0; in ahc_parse_brace_option() 965 else if (instance ! in ahc_parse_brace_option() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_osm.c | 905 ahc_linux_setup_tag_info(u_long arg, int instance, int targ, int32_t value) in ahc_linux_setup_tag_info() argument 908 if ((instance >= 0) && (targ >= 0) in ahc_linux_setup_tag_info() 909 && (instance < ARRAY_SIZE(aic7xxx_tag_info)) in ahc_linux_setup_tag_info() 911 aic7xxx_tag_info[instance].tag_commands[targ] = value & 0xff; in ahc_linux_setup_tag_info() 913 printk("tag_info[%d:%d] = %d\n", instance, targ, value); in ahc_linux_setup_tag_info() 925 int instance; in ahc_parse_brace_option() local 934 instance = -1; in ahc_parse_brace_option() 947 if (instance == -1) { in ahc_parse_brace_option() 948 instance = 0; in ahc_parse_brace_option() 964 else if (instance ! in ahc_parse_brace_option() [all...] |
/kernel/linux/linux-6.6/lib/test_fortify/ |
H A D | read_overflow2-memmove.c | 3 memmove(large, instance.buf, sizeof(large))
|
H A D | read_overflow2-memcpy.c | 3 memcpy(large, instance.buf, sizeof(large))
|
H A D | write_overflow-memset.c | 3 memset(instance.buf, 0x5A, sizeof(large_src))
|
H A D | write_overflow-memmove.c | 3 memmove(instance.buf, large_src, sizeof(large_src))
|
H A D | write_overflow-memcpy.c | 3 memcpy(instance.buf, large_src, sizeof(large_src))
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/ |
H A D | registry.cpp | 17 mbed::js::LibraryRegistry mbed::js::LibraryRegistry::instance; member in mbed::js::LibraryRegistry
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
H A D | vktDeviceObjectReservationTests.cpp | 838 vkt::CustomInstance instance; member in vkt::sc::__anon28617::DeviceObjectReservationInstance 846 , instance ( vkt::createCustomInstanceFromContext(context) ) in DeviceObjectReservationInstance() 847 , physicalDevice ( chooseDevice(instance.getDriver(), instance, context.getTestContext().getCommandLine()) ) in DeviceObjectReservationInstance() 894 deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *device, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties(), m_context.getUsedApiVersion()), in iterate() 916 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice() 959 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); 1045 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instanc [all...] |
/third_party/python/Lib/unittest/ |
H A D | mock.py | 108 # If we really want to model an instance of the passed type, 125 def _check_signature(func, mock, skipfirst, instance=False): 126 sig = _get_signature_object(func, instance, skipfirst) 170 # already an instance 181 def _set_signature(mock, original, instance=False): 187 result = _get_signature_object(original, instance, skipfirst) 421 # every instance has its own class 432 instance = _safe_super(NonCallableMock, cls).__new__(new) 433 return instance 682 result.spec, result.spec_set, result.instance, [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
H A D | vktDeviceObjectReservationTests.cpp | 837 vkt::CustomInstance instance; member in vkt::sc::__anon29796::DeviceObjectReservationInstance 845 , instance ( vkt::createCustomInstanceFromContext(context) ) in DeviceObjectReservationInstance() 846 , physicalDevice ( chooseDevice(instance.getDriver(), instance, context.getTestContext().getCommandLine()) ) in DeviceObjectReservationInstance() 893 deviceDriver = de::MovePtr<DeviceDriverSC, DeinitDeviceDeleter>(new DeviceDriverSC(m_context.getPlatformInterface(), instance, *device, m_context.getTestContext().getCommandLine(), m_context.getResourceInterface(), m_context.getDeviceVulkanSC10Properties(), m_context.getDeviceProperties()), in iterate() 915 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); in createTestDevice() 958 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instance.getDriver(), physicalDevice, &deviceCreateInfo); 1044 return createCustomDevice(m_context.getTestContext().getCommandLine().isValidationEnabled(), m_context.getPlatformInterface(), instance, instanc [all...] |
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-event-loop/source/ |
H A D | EventLoop.cpp | 20 EventLoop EventLoop::instance; member in mbed::js::EventLoop
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
H A D | knav_dma.c | 422 const char *instance; in knav_dma_open_channel() local 429 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel() 431 dev_err(kdev->dev, "No DMA instance with name %s\n", name); in knav_dma_open_channel() 438 "unknown", chan_num, instance); in knav_dma_open_channel() 446 /* Look for correct dma instance */ in knav_dma_open_channel() 448 if (!strcmp(dma->name, instance)) { in knav_dma_open_channel() 454 dev_err(kdev->dev, "No DMA instance with name %s\n", instance); in knav_dma_open_channel() 458 /* Look for correct dma channel from dma instance */ in knav_dma_open_channel() 475 chan_num, instance); in knav_dma_open_channel() [all...] |
/kernel/linux/linux-6.6/drivers/soc/ti/ |
H A D | knav_dma.c | 413 const char *instance; in knav_dma_open_channel() local 420 chan_num = of_channel_match_helper(dev->of_node, name, &instance); in knav_dma_open_channel() 422 dev_err(kdev->dev, "No DMA instance with name %s\n", name); in knav_dma_open_channel() 429 "unknown", chan_num, instance); in knav_dma_open_channel() 437 /* Look for correct dma instance */ in knav_dma_open_channel() 439 if (!strcmp(iter1->name, instance)) { in knav_dma_open_channel() 445 dev_err(kdev->dev, "No DMA instance with name %s\n", instance); in knav_dma_open_channel() 449 /* Look for correct dma channel from dma instance */ in knav_dma_open_channel() 465 chan_num, instance); in knav_dma_open_channel() [all...] |