/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 63 /* camera instance counter */ 278 return mmal_vchi_buffer_init(dev->instance, &buf->mmal); in buffer_init() 322 static void buffer_cb(struct vchiq_mmal_instance *instance, in buffer_cb() argument 355 instance, in buffer_cb() 361 if (vchiq_mmal_submit_buffer(instance, port, in buffer_cb() 411 instance, in buffer_cb() 425 dev->instance, in enable_camera() 435 ret = vchiq_mmal_component_enable(dev->instance, in enable_camera() 465 ret = vchiq_mmal_component_disable(dev->instance, in disable_camera() 473 dev->instance, in disable_camera() 1495 get_num_cameras(struct vchiq_mmal_instance *instance, unsigned int resolutions[][2], int num_resolutions) get_num_cameras() argument 1531 set_camera_parameters(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *camera, struct bm2835_mmal_dev *dev) set_camera_parameters() argument 1856 struct vchiq_mmal_instance *instance; bcm2835_mmal_probe() local 1990 struct vchiq_mmal_instance *instance = gdev[0]->instance; bcm2835_mmal_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 61 /* camera instance counter */ 276 return mmal_vchi_buffer_init(dev->instance, &buf->mmal); in buffer_init() 320 static void buffer_cb(struct vchiq_mmal_instance *instance, in buffer_cb() argument 353 instance, in buffer_cb() 359 if (vchiq_mmal_submit_buffer(instance, port, in buffer_cb() 409 instance, in buffer_cb() 423 dev->instance, in enable_camera() 433 ret = vchiq_mmal_component_enable(dev->instance, in enable_camera() 463 ret = vchiq_mmal_component_disable(dev->instance, in disable_camera() 471 dev->instance, in disable_camera() 1491 get_num_cameras(struct vchiq_mmal_instance *instance, unsigned int resolutions[][2], int num_resolutions) get_num_cameras() argument 1527 set_camera_parameters(struct vchiq_mmal_instance *instance, struct vchiq_mmal_component *camera, struct bcm2835_mmal_dev *dev) set_camera_parameters() argument 1851 struct vchiq_mmal_instance *instance; bcm2835_mmal_probe() local 1982 struct vchiq_mmal_instance *instance = gdev[0]->instance; bcm2835_mmal_remove() local [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_private_cfm.h | 16 const u32 instance, 21 const u32 instance, 31 const u32 instance, 51 const u32 instance, 55 int br_cfm_cc_peer_mep_add(struct net_bridge *br, const u32 instance, 58 int br_cfm_cc_peer_mep_remove(struct net_bridge *br, const u32 instance, 66 int br_cfm_cc_rdi_set(struct net_bridge *br, const u32 instance, 88 int br_cfm_cc_ccm_tx(struct net_bridge *br, const u32 instance, 120 u32 instance; member
|
/third_party/node/lib/ |
H A D | wasi.js | 36 function setupInstance(self, instance) { 37 validateObject(instance, 'instance'); 38 validateObject(instance.exports, 'instance.exports'); 40 self[kInstance] = instance; 41 self[kSetMemory](instance.exports.memory); 100 start(instance) { 106 setupInstance(this, instance); 110 validateFunction(_start, 'instance [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | WriteBufferHelper.cs | 53 /// Initialize an instance with a coded output stream. 54 /// This approach is faster than using a constructor because the instance to initialize is passed by reference 58 public static void Initialize(CodedOutputStream codedOutputStream, out WriteBufferHelper instance) in Initialize() 60 instance.bufferWriter = null; in Initialize() 61 instance.codedOutputStream = codedOutputStream; in Initialize() 65 /// Initialize an instance with a buffer writer. 66 /// This approach is faster than using a constructor because the instance to initialize is passed by reference 70 public static void Initialize(IBufferWriter<byte> bufferWriter, out WriteBufferHelper instance, out Span<byte> buffer) in Initialize() 72 instance.bufferWriter = bufferWriter; in Initialize() 73 instance in Initialize() [all...] |
/third_party/skia/tools/gpu/dawn/ |
H A D | DawnTestContext.cpp | 86 static wgpu::Device createDevice(const dawn_native::Instance& instance, in createDevice() argument 91 std::vector<dawn_native::Adapter> adapters = instance.GetAdapters(); in createDevice() 101 std::unique_ptr<dawn_native::Instance> instance = std::make_unique<dawn_native::Instance>(); in Create() local 118 instance->DiscoverAdapters(&adapterOptions); in Create() 121 instance->DiscoverDefaultAdapters(); in Create() 130 device = createDevice(*instance, type); in Create() 136 return new DawnTestContextImpl(std::move(instance), device); in Create() 155 DawnTestContextImpl(std::unique_ptr<dawn_native::Instance> instance, in DawnTestContextImpl() argument 157 : DawnTestContext(std::move(instance), device) { in DawnTestContextImpl()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 253 vk::VkInstance instance, in createTestDevice() 418 return createCustomDevice(context.getTestContext().getCommandLine().isValidationEnabled(), vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createTestDevice() 965 const CustomInstance instance (createTestInstance(context, params.externalType, 0u, 0u)); in testSemaphoreQueries() 966 const vk::InstanceDriver& vki (instance.getDriver()); in testSemaphoreQueries() 967 const vk::VkPhysicalDevice device (vk::chooseDevice(vki, instance, context.getTestContext().getCommandLine())); in testSemaphoreQueries() 1052 const CustomInstance instance (createTestInstance(context, config.externalType, 0u, 0u)); in testSemaphoreWin32Create() 1053 const vk::InstanceDriver& vki (instance.getDriver()); in testSemaphoreWin32Create() 1054 const vk::VkPhysicalDevice physicalDevice (vk::chooseDevice(vki, instance, context.getTestContext().getCommandLine())); in testSemaphoreWin32Create() 1060 const vk::Unique<vk::VkDevice> device (createTestDevice(context, vkp, instance, vki, physicalDevice, config.externalType, 0u, 0u, queueFamilyIndex)); in testSemaphoreWin32Create() 1061 const vk::DeviceDriver vkd (vkp, instance, *devic in testSemaphoreWin32Create() 251 createTestDevice(const Context& context, const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice, const vk::VkExternalSemaphoreHandleTypeFlags externalSemaphoreTypes, const vk::VkExternalMemoryHandleTypeFlags externalMemoryTypes, const vk::VkExternalFenceHandleTypeFlags externalFenceTypes, deUint32 queueFamilyIndex, bool useDedicatedAllocs = false, void * protectedFeatures = DE_NULL) createTestDevice() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fp.c | 64 static u8 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, 67 static u64 get_row_from_strip(struct megasas_instance *instance, u32 ld, 157 static int MR_PopulateDrvRaidMap(struct megasas_instance *instance, u64 map_id) in MR_PopulateDrvRaidMap() argument 159 struct fusion_context *fusion = instance->ctrl_context; in MR_PopulateDrvRaidMap() 178 if (instance->max_raid_mapsize) { in MR_PopulateDrvRaidMap() 183 dev_dbg(&instance->pdev->dev, "offsets of desc table are not matching desc %p original %p\n", in MR_PopulateDrvRaidMap() 236 dev_dbg(&instance->pdev->dev, "wrong number of desctableElements %d\n", in MR_PopulateDrvRaidMap() 242 } else if (instance->supportmax256vd) { in MR_PopulateDrvRaidMap() 247 dev_dbg(&instance->pdev->dev, "megaraid_sas: LD count exposed in RAID map in not valid\n"); in MR_PopulateDrvRaidMap() 275 dev_dbg(&instance in MR_PopulateDrvRaidMap() 302 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id) MR_ValidateMapInfo() argument 423 mr_spanset_get_span_block(struct megasas_instance *instance, u32 ld, u64 row, u64 *span_blk, struct MR_DRV_RAID_MAP_ALL *map) mr_spanset_get_span_block() argument 486 get_row_from_strip(struct megasas_instance *instance, u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) get_row_from_strip() argument 543 get_strip_from_row(struct megasas_instance *instance, u32 ld, u64 row, struct MR_DRV_RAID_MAP_ALL *map) get_strip_from_row() argument 604 get_arm_from_strip(struct megasas_instance *instance, u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) get_arm_from_strip() argument 648 get_arm(struct megasas_instance *instance, u32 ld, u8 span, u64 stripe, struct MR_DRV_RAID_MAP_ALL *map) get_arm() argument 690 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) mr_spanset_get_phy_params() argument 791 MR_GetPhyParams(struct megasas_instance *instance, u32 ld, u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) MR_GetPhyParams() argument 902 mr_get_phy_params_r56_rmw(struct megasas_instance *instance, u32 ld, u64 stripNo, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT_G35 *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) mr_get_phy_params_r56_rmw() argument 971 MR_BuildRaidContext(struct megasas_instance *instance, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map, u8 **raidLUN) MR_BuildRaidContext() argument 1348 megasas_get_best_arm_pd(struct megasas_instance *instance, struct LD_LOAD_BALANCE_INFO *lbInfo, struct IO_REQUEST_INFO *io_info, struct MR_DRV_RAID_MAP_ALL *drv_map) megasas_get_best_arm_pd() argument 1410 get_updated_dev_handle(struct megasas_instance *instance, struct LD_LOAD_BALANCE_INFO *lbInfo, struct IO_REQUEST_INFO *io_info, struct MR_DRV_RAID_MAP_ALL *drv_map) get_updated_dev_handle() argument [all...] |
/kernel/linux/linux-6.6/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fp.c | 64 static u8 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, 67 static u64 get_row_from_strip(struct megasas_instance *instance, u32 ld, 157 static int MR_PopulateDrvRaidMap(struct megasas_instance *instance, u64 map_id) in MR_PopulateDrvRaidMap() argument 159 struct fusion_context *fusion = instance->ctrl_context; in MR_PopulateDrvRaidMap() 178 if (instance->max_raid_mapsize) { in MR_PopulateDrvRaidMap() 183 dev_dbg(&instance->pdev->dev, "offsets of desc table are not matching desc %p original %p\n", in MR_PopulateDrvRaidMap() 236 dev_dbg(&instance->pdev->dev, "wrong number of desctableElements %d\n", in MR_PopulateDrvRaidMap() 242 } else if (instance->supportmax256vd) { in MR_PopulateDrvRaidMap() 247 dev_dbg(&instance->pdev->dev, "megaraid_sas: LD count exposed in RAID map in not valid\n"); in MR_PopulateDrvRaidMap() 275 dev_dbg(&instance in MR_PopulateDrvRaidMap() 302 MR_ValidateMapInfo(struct megasas_instance *instance, u64 map_id) MR_ValidateMapInfo() argument 423 mr_spanset_get_span_block(struct megasas_instance *instance, u32 ld, u64 row, u64 *span_blk, struct MR_DRV_RAID_MAP_ALL *map) mr_spanset_get_span_block() argument 486 get_row_from_strip(struct megasas_instance *instance, u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) get_row_from_strip() argument 543 get_strip_from_row(struct megasas_instance *instance, u32 ld, u64 row, struct MR_DRV_RAID_MAP_ALL *map) get_strip_from_row() argument 604 get_arm_from_strip(struct megasas_instance *instance, u32 ld, u64 strip, struct MR_DRV_RAID_MAP_ALL *map) get_arm_from_strip() argument 648 get_arm(struct megasas_instance *instance, u32 ld, u8 span, u64 stripe, struct MR_DRV_RAID_MAP_ALL *map) get_arm() argument 690 mr_spanset_get_phy_params(struct megasas_instance *instance, u32 ld, u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) mr_spanset_get_phy_params() argument 791 MR_GetPhyParams(struct megasas_instance *instance, u32 ld, u64 stripRow, u16 stripRef, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) MR_GetPhyParams() argument 902 mr_get_phy_params_r56_rmw(struct megasas_instance *instance, u32 ld, u64 stripNo, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT_G35 *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map) mr_get_phy_params_r56_rmw() argument 971 MR_BuildRaidContext(struct megasas_instance *instance, struct IO_REQUEST_INFO *io_info, struct RAID_CONTEXT *pRAID_Context, struct MR_DRV_RAID_MAP_ALL *map, u8 **raidLUN) MR_BuildRaidContext() argument 1348 megasas_get_best_arm_pd(struct megasas_instance *instance, struct LD_LOAD_BALANCE_INFO *lbInfo, struct IO_REQUEST_INFO *io_info, struct MR_DRV_RAID_MAP_ALL *drv_map) megasas_get_best_arm_pd() argument 1410 get_updated_dev_handle(struct megasas_instance *instance, struct LD_LOAD_BALANCE_INFO *lbInfo, struct IO_REQUEST_INFO *io_info, struct MR_DRV_RAID_MAP_ALL *drv_map) get_updated_dev_handle() argument [all...] |
/kernel/linux/linux-6.6/include/net/bluetooth/ |
H A D | hci_sync.h | 67 int hci_update_scan_rsp_data_sync(struct hci_dev *hdev, u8 instance); 68 int hci_update_adv_data_sync(struct hci_dev *hdev, u8 instance); 69 int hci_update_adv_data(struct hci_dev *hdev, u8 instance); 70 int hci_schedule_adv_instance_sync(struct hci_dev *hdev, u8 instance, 73 int hci_setup_ext_adv_instance_sync(struct hci_dev *hdev, u8 instance); 74 int hci_start_ext_adv_sync(struct hci_dev *hdev, u8 instance); 75 int hci_enable_ext_advertising_sync(struct hci_dev *hdev, u8 instance); 79 int hci_start_per_adv_sync(struct hci_dev *hdev, u8 instance, u8 data_len, 84 u8 instance, bool force); 87 u8 instance, boo [all...] |
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | assertions.js | 32 function assert_Instance(instance, expected_exports) { 33 assert_equals(Object.getPrototypeOf(instance), WebAssembly.Instance.prototype, 35 assert_true(Object.isExtensible(instance), "extensible"); 37 assert_equals(instance.exports, instance.exports, "exports should be idempotent"); 38 const exports = instance.exports; 94 const instance = Object.getOwnPropertyDescriptor(actual, "instance"); 95 assert_equals(typeof instance, "object", "instance [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_request.h | 77 void __hci_req_update_adv_data(struct hci_request *req, u8 instance); 78 int hci_req_update_adv_data(struct hci_dev *hdev, u8 instance); 79 void __hci_req_update_scan_rsp_data(struct hci_request *req, u8 instance); 81 int __hci_req_schedule_adv_instance(struct hci_request *req, u8 instance, 84 struct hci_request *req, u8 instance, 87 int __hci_req_setup_ext_adv_instance(struct hci_request *req, u8 instance); 88 int __hci_req_start_ext_adv(struct hci_request *req, u8 instance); 89 int __hci_req_enable_ext_advertising(struct hci_request *req, u8 instance); 90 int __hci_req_disable_ext_adv_instance(struct hci_request *req, u8 instance); 91 int __hci_req_remove_ext_adv_instance(struct hci_request *req, u8 instance); [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | hw_stats_l3.sh | 83 local instance=$1; shift 89 echo $ifindex > $(DEBUGFS_DIR $instance)/hwstats/$type/$action 197 local instance=1 207 nsim_hwstats_enable $instance dummy1 $type 219 nsim_hwstats_disable $instance dummy1 $type 223 nsim_hwstats_enable $instance dummy1 $type 233 nsim_hwstats_disable $instance dummy1 $type 247 local instance=$1; shift 255 nsim_hwstats_enable $instance dummy1 $type 256 nsim_hwstats_fail_next_enable $instance dummy [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_cs.c | 16 vn_cs_renderer_protocol_info_init_once(struct vn_instance *instance) in vn_cs_renderer_protocol_info_init_once() argument 18 const struct vn_renderer_info *renderer_info = &instance->renderer->info; in vn_cs_renderer_protocol_info_init_once() 37 vn_cs_renderer_protocol_info_init(struct vn_instance *instance) in vn_cs_renderer_protocol_info_init() argument 45 vn_cs_renderer_protocol_info_init_once(instance); in vn_cs_renderer_protocol_info_init() 116 vn_renderer_shmem_unref(enc->instance->renderer, in vn_cs_encoder_gc_buffers() 135 vn_renderer_shmem_unref(enc->instance->renderer, enc->buffers[i].shmem); in vn_cs_encoder_gc_buffers() 149 struct vn_instance *instance, in vn_cs_encoder_init() 157 enc->instance = instance; in vn_cs_encoder_init() 169 vn_renderer_shmem_unref(enc->instance in vn_cs_encoder_fini() 148 vn_cs_encoder_init(struct vn_cs_encoder *enc, struct vn_instance *instance, enum vn_cs_encoder_storage_type storage_type, size_t min_size) vn_cs_encoder_init() argument [all...] |
H A D | vn_pipeline.c | 37 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreateShaderModule() 42 vn_async_vkCreateShaderModule(dev->instance, device, pCreateInfo, NULL, in vn_CreateShaderModule() 63 vn_async_vkDestroyShaderModule(dev->instance, device, shaderModule, NULL); in vn_DestroyShaderModule() 85 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreatePipelineLayout() 91 vn_async_vkCreatePipelineLayout(dev->instance, device, pCreateInfo, NULL, in vn_CreatePipelineLayout() 113 vn_async_vkDestroyPipelineLayout(dev->instance, device, pipelineLayout, in vn_DestroyPipelineLayout() 137 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_CreatePipelineCache() 154 vn_async_vkCreatePipelineCache(dev->instance, device, pCreateInfo, NULL, in vn_CreatePipelineCache() 177 vn_async_vkDestroyPipelineCache(dev->instance, device, pipelineCache, in vn_DestroyPipelineCache() 197 result = vn_call_vkGetPipelineCacheData(dev->instance, devic in vn_GetPipelineCacheData() [all...] |
H A D | vn_device.c | 42 dev->instance, vn_device_to_handle(dev), in vn_queue_init() 63 .pNext = dev->instance->experimental.globalFencing == VK_TRUE in vn_queue_init() 289 assert(!physical_dev->instance->renderer->info.has_dma_buf_import); in vn_device_fix_create_info() 347 struct vn_instance *instance = physical_dev->instance; in vn_device_init() local 354 dev->instance = instance; in vn_device_init() 356 dev->renderer = instance->renderer; in vn_device_init() 363 result = vn_call_vkCreateDevice(instance, physical_dev_handle, create_info, in vn_device_init() 417 vn_call_vkDestroyDevice(instance, dev_handl in vn_device_init() 431 struct vn_instance *instance = physical_dev->instance; vn_CreateDevice() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_fileinput.py | 576 instance = MockFileInput() 577 instance._file = object() 578 fileinput._state = instance 582 self.assertIs(instance, fileinput._state, "fileinput._state") 589 fileinput._state is set to the returned instance.""" 590 instance = MockFileInput() 591 instance._file = None 592 fileinput._state = instance 600 instance.""" 644 instance [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiExternalMemoryTests.cpp | 253 vk::VkInstance instance, in createTestDevice() 407 return createCustomDevice(context.getTestContext().getCommandLine().isValidationEnabled(), vkp, instance, vki, physicalDevice, &deviceCreateInfo); in createTestDevice() 953 const CustomInstance instance (createTestInstance(context, params.externalType, 0u, 0u)); in testSemaphoreQueries() 954 const vk::InstanceDriver& vki (instance.getDriver()); in testSemaphoreQueries() 955 const vk::VkPhysicalDevice device (vk::chooseDevice(vki, instance, context.getTestContext().getCommandLine())); in testSemaphoreQueries() 1040 const CustomInstance instance (createTestInstance(context, config.externalType, 0u, 0u)); in testSemaphoreWin32Create() 1041 const vk::InstanceDriver& vki (instance.getDriver()); in testSemaphoreWin32Create() 1042 const vk::VkPhysicalDevice physicalDevice (vk::chooseDevice(vki, instance, context.getTestContext().getCommandLine())); in testSemaphoreWin32Create() 1048 const vk::Unique<vk::VkDevice> device (createTestDevice(context, vkp, instance, vki, physicalDevice, config.externalType, 0u, 0u, queueFamilyIndex)); in testSemaphoreWin32Create() 1049 const vk::DeviceDriver vkd (vkp, instance, *devic in testSemaphoreWin32Create() 251 createTestDevice(const Context& context, const vk::PlatformInterface& vkp, vk::VkInstance instance, const vk::InstanceInterface& vki, vk::VkPhysicalDevice physicalDevice, const vk::VkExternalSemaphoreHandleTypeFlags externalSemaphoreTypes, const vk::VkExternalMemoryHandleTypeFlags externalMemoryTypes, const vk::VkExternalFenceHandleTypeFlags externalFenceTypes, deUint32 queueFamilyIndex, bool useDedicatedAllocs = false, void * protectedFeatures = DE_NULL) createTestDevice() argument [all...] |
/third_party/vulkan-loader/loader/ |
H A D | wsi.c | 152 // enumerated instance extensions. This solves the issue where an ICD or layer 178 LOADER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, in vkDestroySurfaceKHR() argument 180 struct loader_instance *loader_inst = loader_get_instance(instance); in vkDestroySurfaceKHR() 183 "vkDestroySurfaceKHR: Invalid instance [VUID-vkDestroySurfaceKHR-instance-parameter]"); in vkDestroySurfaceKHR() 186 loader_inst->disp->layer_inst_disp.DestroySurfaceKHR(loader_inst->instance, surface, pAllocator); in vkDestroySurfaceKHR() 191 // This is the instance chain terminator function for DestroySurfaceKHR 192 VKAPI_ATTR void VKAPI_CALL terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, in terminator_DestroySurfaceKHR() argument 194 struct loader_instance *loader_inst = loader_get_instance(instance); in terminator_DestroySurfaceKHR() 204 icd_term->dispatch.DestroySurfaceKHR(icd_term->instance, icd_surfac in terminator_DestroySurfaceKHR() 559 AllocateIcdSurfaceStruct(struct loader_instance *instance, size_t base_size, size_t platform_size) AllocateIcdSurfaceStruct() argument 585 vkCreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateWin32SurfaceKHR() argument 599 terminator_CreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateWin32SurfaceKHR() argument 705 vkCreateWaylandSurfaceKHR(VkInstance instance, const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateWaylandSurfaceKHR() argument 719 terminator_CreateWaylandSurfaceKHR(VkInstance instance, const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateWaylandSurfaceKHR() argument 828 vkCreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateXcbSurfaceKHR() argument 842 terminator_CreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateXcbSurfaceKHR() argument 953 vkCreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateXlibSurfaceKHR() argument 967 terminator_CreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateXlibSurfaceKHR() argument 1075 vkCreateDirectFBSurfaceEXT(VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateDirectFBSurfaceEXT() argument 1089 terminator_CreateDirectFBSurfaceEXT(VkInstance instance, const VkDirectFBSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateDirectFBSurfaceEXT() argument 1202 vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateAndroidSurfaceKHR() argument 1216 terminator_CreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateAndroidSurfaceKHR() argument 1250 vkCreateSurfaceOHOS(VkInstance instance, const VkSurfaceCreateInfoOHOS *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateSurfaceOHOS() argument 1264 terminator_CreateSurfaceOHOS(VkInstance instance, const VkSurfaceCreateInfoOHOS *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateSurfaceOHOS() argument 1295 vkCreateHeadlessSurfaceEXT(VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateHeadlessSurfaceEXT() argument 1308 terminator_CreateHeadlessSurfaceEXT(VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateHeadlessSurfaceEXT() argument 1398 vkCreateMacOSSurfaceMVK(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateMacOSSurfaceMVK() argument 1412 terminator_CreateMacOSSurfaceMVK(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateMacOSSurfaceMVK() argument 1478 vkCreateIOSSurfaceMVK(VkInstance instance, const VkIOSSurfaceCreateInfoMVK *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateIOSSurfaceMVK() argument 1492 terminator_CreateIOSSurfaceMVK(VkInstance instance, const VkIOSSurfaceCreateInfoMVK *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateIOSSurfaceMVK() argument 1527 vkCreateStreamDescriptorSurfaceGGP(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateStreamDescriptorSurfaceGGP() argument 1542 terminator_CreateStreamDescriptorSurfaceGGP(VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateStreamDescriptorSurfaceGGP() argument 1604 vkCreateMetalSurfaceEXT(VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateMetalSurfaceEXT() argument 1617 terminator_CreateMetalSurfaceEXT(VkInstance instance, const VkMetalSurfaceCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateMetalSurfaceEXT() argument 1676 vkCreateScreenSurfaceQNX(VkInstance instance, const VkScreenSurfaceCreateInfoQNX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateScreenSurfaceQNX() argument 1690 terminator_CreateScreenSurfaceQNX(VkInstance instance, const VkScreenSurfaceCreateInfoQNX *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateScreenSurfaceQNX() argument 1799 vkCreateViSurfaceNN(VkInstance instance, const VkViSurfaceCreateInfoNN *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateViSurfaceNN() argument 1811 terminator_CreateViSurfaceNN(VkInstance instance, const VkViSurfaceCreateInfoNN *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateViSurfaceNN() argument 2121 vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, const VkDisplaySurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateDisplayPlaneSurfaceKHR() argument 2135 terminator_CreateDisplayPlaneSurfaceKHR(VkInstance instance, const VkDisplaySurfaceCreateInfoKHR *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateDisplayPlaneSurfaceKHR() argument 2571 vkCreateImagePipeSurfaceFUCHSIA(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) vkCreateImagePipeSurfaceFUCHSIA() argument 2586 terminator_CreateImagePipeSurfaceFUCHSIA(VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkSurfaceKHR *pSurface) terminator_CreateImagePipeSurfaceFUCHSIA() argument [all...] |
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 59 static int instance = 0; // index of the child process. variable 115 {"instance", 0, 0, 'i'}, 362 ipc->test[instance].id = testid; in dirty_anonymous() 367 ipc->test[instance].result = TEST_PASS; in dirty_anonymous() 378 ipc->test[instance].id = testid; in dirty_anonymous_unmap() 384 ipc->test[instance].result = TEST_PASS; in dirty_anonymous_unmap() 395 ipc->test[instance].id = testid; in mlocked_anonymous() 400 ipc->test[instance].result = TEST_PASS; in mlocked_anonymous() 429 ipc->test[instance].id = testid; in file_clean() 432 ipc->test[instance] in file_clean() [all...] |
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/ |
H A D | jni-bridge.cpp | 307 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFormat(JNIEnv *env, jobject instance, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFormat() argument 383 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getLatency(JNIEnv *env, jobject instance, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getLatency() argument 393 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getCpuLoad(JNIEnv *env, jobject instance, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getCpuLoad() argument 404 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState(JNIEnv *env, jobject instance, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() argument 430 jobject instance, in Java_com_google_sample_oboe_manualtest_AudioInputTester_getPeakLevel() 454 Java_com_google_sample_oboe_manualtest_OboeAudioStream_isMMap(JNIEnv *env, jobject instance, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_isMMap() argument 493 jobject instance, in Java_com_google_sample_oboe_manualtest_TestAudioActivity_setActivityType() 501 jobject instance, in Java_com_google_sample_oboe_manualtest_TestInputActivity_saveWaveFile() 513 jobject instance, in Java_com_google_sample_oboe_manualtest_TestInputActivity_setMinimumFramesBeforeRead() 521 jobject instance, in Java_com_google_sample_oboe_manualtest_EchoActivity_setDelayTime() 429 Java_com_google_sample_oboe_manualtest_AudioInputTester_getPeakLevel(JNIEnv *env, jobject instance, jint index) Java_com_google_sample_oboe_manualtest_AudioInputTester_getPeakLevel() argument 492 Java_com_google_sample_oboe_manualtest_TestAudioActivity_setActivityType(JNIEnv *env, jobject instance, jint activityType) Java_com_google_sample_oboe_manualtest_TestAudioActivity_setActivityType() argument 500 Java_com_google_sample_oboe_manualtest_TestInputActivity_saveWaveFile(JNIEnv *env, jobject instance, jstring fileName) Java_com_google_sample_oboe_manualtest_TestInputActivity_saveWaveFile() argument 512 Java_com_google_sample_oboe_manualtest_TestInputActivity_setMinimumFramesBeforeRead(JNIEnv *env, jobject instance, jint numFrames) Java_com_google_sample_oboe_manualtest_TestInputActivity_setMinimumFramesBeforeRead() argument 520 Java_com_google_sample_oboe_manualtest_EchoActivity_setDelayTime(JNIEnv *env, jobject instance, jdouble delayTimeSeconds) Java_com_google_sample_oboe_manualtest_EchoActivity_setDelayTime() argument 528 Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getAnalyzerProgress(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getAnalyzerProgress() argument 534 Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getMeasuredLatency(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getMeasuredLatency() argument 540 Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getMeasuredConfidence(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getMeasuredConfidence() argument 546 Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getBackgroundRMS(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getBackgroundRMS() argument 552 Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getSignalRMS(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_RoundTripLatencyActivity_getSignalRMS() argument 558 Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getMeasuredResult(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getMeasuredResult() argument 565 Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getAnalyzerState(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getAnalyzerState() argument 571 Java_com_google_sample_oboe_manualtest_AnalyzerActivity_isAnalyzerDone(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_AnalyzerActivity_isAnalyzerDone() argument 577 Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getResetCount(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_AnalyzerActivity_getResetCount() argument 584 Java_com_google_sample_oboe_manualtest_GlitchActivity_getGlitchCount(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_GlitchActivity_getGlitchCount() argument 590 Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount(JNIEnv *env, jobject instance, jint state) Java_com_google_sample_oboe_manualtest_GlitchActivity_getStateFrameCount() argument 597 Java_com_google_sample_oboe_manualtest_GlitchActivity_getSignalToNoiseDB(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_GlitchActivity_getSignalToNoiseDB() argument 602 Java_com_google_sample_oboe_manualtest_GlitchActivity_getPeakAmplitude(JNIEnv *env, jobject instance) Java_com_google_sample_oboe_manualtest_GlitchActivity_getPeakAmplitude() argument 608 Java_com_google_sample_oboe_manualtest_GlitchActivity_setTolerance(JNIEnv *env, jobject instance, jfloat tolerance) Java_com_google_sample_oboe_manualtest_GlitchActivity_setTolerance() argument 617 Java_com_google_sample_oboe_manualtest_ManualGlitchActivity_getGlitch(JNIEnv *env, jobject instance, jfloatArray waveform_) Java_com_google_sample_oboe_manualtest_ManualGlitchActivity_getGlitch() argument [all...] |
/third_party/python/Lib/xmlrpc/ |
H A D | server.py | 5 class instance, or by extending the SimpleXMLRPCServer 26 2. Install an instance: 46 3. Install an instance with custom dispatch method: 168 self.instance = None 173 def register_instance(self, instance, allow_dotted_names=False): 174 """Registers an instance to respond to XML-RPC requests. 176 Only one instance can be installed at a time. 178 If the registered instance has a _dispatch method then that 181 e.g. instance._dispatch('add',(2,3)) 183 If the registered instance doe [all...] |
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/ |
H A D | singleton_unsafe.h | 34 static T* instance = NULL; in GetInstance() local 35 if (!instance) { in GetInstance() 36 instance = new T(); in GetInstance() 38 DCHECK(instance->thread_checker_.CalledOnValidThread()); in GetInstance() 39 return instance; in GetInstance()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_wsi_tests.cpp | 34 // When ICD doesn't support the extension, create instance should fail 111 InstWrapper instance(env.vulkan_functions); in TEST() 112 instance.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION_NAME}); in TEST() 113 instance.CheckCreate(); in TEST() 117 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(instance.inst, &surf_create_info, nullptr, &surface)); in TEST() 120 env.vulkan_functions.vkDestroySurfaceKHR(instance.inst, surface, nullptr); in TEST() 189 InstWrapper instance(env.vulkan_functions); in TEST() 190 instance.create_info.add_extensions({VK_KHR_SURFACE_EXTENSION_NAME, VK_KHR_WIN32_SURFACE_EXTENSION_NAME}); in TEST() 191 instance.CheckCreate(); in TEST() 195 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(instance in TEST() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_device.c | 58 uint64_t driver_flags = device->instance->debug_flags & TU_DEBUG_NOMULTIPOS; in tu_device_get_cache_uuid() 145 .KHR_performance_query = device->instance->debug_flags & TU_DEBUG_PERFC, in get_device_extensions() 239 struct tu_instance *instance) in tu_physical_device_init() 245 device->name = vk_asprintf(&instance->vk.alloc, in tu_physical_device_init() 249 device->name = vk_strdup(&instance->vk.alloc, fd_name, in tu_physical_device_init() 254 return vk_startup_errorf(instance, VK_ERROR_OUT_OF_HOST_MEMORY, in tu_physical_device_init() 260 result = vk_startup_errorf(instance, VK_ERROR_INITIALIZATION_FAILED, in tu_physical_device_init() 272 result = vk_startup_errorf(instance, VK_ERROR_INITIALIZATION_FAILED, in tu_physical_device_init() 277 result = vk_startup_errorf(instance, VK_ERROR_INITIALIZATION_FAILED, in tu_physical_device_init() 294 result = vk_physical_device_init(&device->vk, &instance in tu_physical_device_init() 238 tu_physical_device_init(struct tu_physical_device *device, struct tu_instance *instance) tu_physical_device_init() argument 389 tu_init_dri_options(struct tu_instance *instance) tu_init_dri_options() argument 406 struct tu_instance *instance; tu_CreateInstance() local 2243 vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName) vk_icdGetInstanceProcAddr() argument [all...] |