/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_instance.c | 50 vk_instance_init(struct vk_instance *instance, in vk_instance_init() argument 56 memset(instance, 0, sizeof(*instance)); in vk_instance_init() 57 vk_object_base_init(NULL, &instance->base, VK_OBJECT_TYPE_INSTANCE); in vk_instance_init() 58 instance->alloc = *alloc; in vk_instance_init() 67 list_inithead(&instance->debug_utils.instance_callbacks); in vk_instance_init() 78 return vk_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vk_instance_init() 90 &instance->debug_utils.instance_callbacks); in vk_instance_init() 98 instance->app_info = (struct vk_app_info) { .api_version = 0 }; in vk_instance_init() 102 instance->app_info.app_name = in vk_instance_init() 103 vk_strdup(&instance->alloc, app->pApplicationName, in vk_instance_init() [all …]
|
D | vk_debug_report.c | 51 VK_FROM_HANDLE(vk_instance, instance, _instance); in VK_DEFINE_NONDISP_HANDLE_CASTS() 54 vk_alloc2(&instance->alloc, pAllocator, in VK_DEFINE_NONDISP_HANDLE_CASTS() 68 mtx_lock(&instance->debug_report.callbacks_mutex); in VK_DEFINE_NONDISP_HANDLE_CASTS() 69 list_addtail(&cb->link, &instance->debug_report.callbacks); in VK_DEFINE_NONDISP_HANDLE_CASTS() 70 mtx_unlock(&instance->debug_report.callbacks_mutex); in VK_DEFINE_NONDISP_HANDLE_CASTS() 82 VK_FROM_HANDLE(vk_instance, instance, _instance); in vk_common_DestroyDebugReportCallbackEXT() 89 mtx_lock(&instance->debug_report.callbacks_mutex); in vk_common_DestroyDebugReportCallbackEXT() 92 vk_free2(&instance->alloc, pAllocator, callback); in vk_common_DestroyDebugReportCallbackEXT() 93 mtx_unlock(&instance->debug_report.callbacks_mutex); in vk_common_DestroyDebugReportCallbackEXT() 97 debug_report(struct vk_instance *instance, in debug_report() argument [all …]
|
D | vk_log.c | 72 return vk_object_to_physical_device(obj)->instance; in vk_object_to_instance() 86 struct vk_instance *instance = NULL; in __vk_log_impl() local 89 instance = (struct vk_instance *) objects_or_instance; in __vk_log_impl() 104 if (!instance) { in __vk_log_impl() 105 instance = vk_object_to_instance(objects[i]); in __vk_log_impl() 106 assert(instance->base.client_visible); in __vk_log_impl() 108 assert(vk_object_to_instance(objects[i]) == instance); in __vk_log_impl() 115 if (unlikely(!instance) || in __vk_log_impl() 116 (likely(list_is_empty(&instance->debug_utils.callbacks)) && in __vk_log_impl() 117 likely(list_is_empty(&instance->debug_report.callbacks)))) in __vk_log_impl() [all …]
|
D | vk_debug_utils.c | 37 vk_debug_message(struct vk_instance *instance, in vk_debug_message() argument 42 mtx_lock(&instance->debug_utils.callbacks_mutex); in vk_debug_message() 45 &instance->debug_utils.callbacks, link) { in vk_debug_message() 51 mtx_unlock(&instance->debug_utils.callbacks_mutex); in vk_debug_message() 60 vk_debug_message_instance(struct vk_instance *instance, in vk_debug_message_instance() argument 67 if (list_is_empty(&instance->debug_utils.instance_callbacks)) in vk_debug_message_instance() 78 &instance->debug_utils.instance_callbacks, link) { in vk_debug_message_instance() 92 VK_FROM_HANDLE(vk_instance, instance, _instance); in vk_common_CreateDebugUtilsMessengerEXT() 95 vk_alloc2(&instance->alloc, pAllocator, in vk_common_CreateDebugUtilsMessengerEXT() 105 messenger->alloc = instance->alloc; in vk_common_CreateDebugUtilsMessengerEXT() [all …]
|
D | vk_instance.h | 147 VkResult (*enumerate)(struct vk_instance *instance); 156 VkResult (*try_create_for_drm)(struct vk_instance *instance, 200 vk_instance_init(struct vk_instance *instance, 211 vk_instance_finish(struct vk_instance *instance); 222 vk_instance_get_proc_addr(const struct vk_instance *instance, 234 vk_instance_get_proc_addr_unchecked(const struct vk_instance *instance, 239 vk_instance_get_physical_device_proc_addr(const struct vk_instance *instance, 243 vk_instance_add_driver_trace_modes(struct vk_instance *instance,
|
/hardware/google/gfxstream/host/vulkan/cereal/common/ |
D | goldfish_vk_dispatch.cpp | 981 void init_vulkan_dispatch_from_instance(VulkanDispatch* vk, VkInstance instance, in init_vulkan_dispatch_from_instance() argument 986 (PFN_vkDestroyInstance)vk->vkGetInstanceProcAddr(instance, "vkDestroyInstance"); in init_vulkan_dispatch_from_instance() 988 instance, "vkEnumeratePhysicalDevices"); in init_vulkan_dispatch_from_instance() 990 instance, "vkGetPhysicalDeviceFeatures"); in init_vulkan_dispatch_from_instance() 993 instance, "vkGetPhysicalDeviceFormatProperties"); in init_vulkan_dispatch_from_instance() 996 instance, "vkGetPhysicalDeviceImageFormatProperties"); in init_vulkan_dispatch_from_instance() 999 instance, "vkGetPhysicalDeviceProperties"); in init_vulkan_dispatch_from_instance() 1002 instance, "vkGetPhysicalDeviceQueueFamilyProperties"); in init_vulkan_dispatch_from_instance() 1005 instance, "vkGetPhysicalDeviceMemoryProperties"); in init_vulkan_dispatch_from_instance() 1007 (PFN_vkGetInstanceProcAddr)vk->vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr"); in init_vulkan_dispatch_from_instance() [all …]
|
/hardware/google/gfxstream/host/vulkan/ |
D | vk_util_unittest.cpp | 43 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local 46 EXPECT_CALL(vkGetInstanceProcAddrAlwaysNULL, Call(instance, _)).WillRepeatedly(Return(nullptr)); in TEST() 48 EXPECT_EQ(getVkInstanceProcAddrWithFallback<GfxstreamTestFunc>({}, instance), nullptr); in TEST() 49 EXPECT_EQ(getVkInstanceProcAddrWithFallback<GfxstreamTestFunc>({nullptr, nullptr}, instance), in TEST() 54 instance), in TEST() 59 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local 63 EXPECT_CALL(vkGetInstanceProcAddrMock, Call(instance, _)) in TEST() 67 {nullptr, vkGetInstanceProcAddrMock.AsStdFunction()}, instance), in TEST() 70 {vkGetInstanceProcAddrMock.AsStdFunction(), nullptr}, instance), in TEST() 75 VkInstance instance = reinterpret_cast<VkInstance>(0x1234'0000); in TEST() local [all …]
|
D | DisplaySurfaceVk.cpp | 28 VkInstance instance, in create() argument 39 VK_CHECK(vk.vkCreateWin32SurfaceKHR(instance, &surfaceCi, nullptr, &surface)); in create() 49 return std::unique_ptr<DisplaySurfaceVk>(new DisplaySurfaceVk(vk, instance, surface)); in create() 52 DisplaySurfaceVk::DisplaySurfaceVk(const VulkanDispatch& vk, VkInstance instance, in DisplaySurfaceVk() argument 54 : mVk(vk), mInstance(instance), mSurface(surface) {} in DisplaySurfaceVk()
|
/hardware/interfaces/security/secretkeeper/aidl/vts/ |
D | secretkeeper_test_client.rs | 98 fn get_connection(instance: &str) -> binder::Strong<dyn ISecretkeeper> { in get_connection() 120 fn new(instance: &str) -> Result<Self, SkClientError> { in new() 122 Self::create(instance, default_dice, None) in new() 127 instance: &str, in with_identity() 130 Self::create(instance, dice_artifacts, None) in with_identity() 136 instance: &str, in with_expected_sk_identity() 140 Self::create(instance, default_dice, Some(expected_sk_key)) in with_expected_sk_identity() 144 instance: &str, in create() 148 let sk = get_connection(instance); in create() 375 fn authgraph_mainline(instance: String) { in authgraph_mainline() [all …]
|
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/ |
D | OpenGLDispatchLoader.cpp | 42 LazyLoadedGLESv1Dispatch* instance = sGLESv1Dispatch(); in get() local 43 if (instance->mValid) { in get() 57 LazyLoadedGLESv2Dispatch* instance = sGLESv2Dispatch(); in get() local 58 if (instance->mValid) { in get() 72 LazyLoadedEGLDispatch* instance = sEGLDispatch(); in get() local 73 if (instance->mValid) { in get()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan.hpp | 1019 …void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks * pAllocator ) const VULK… in vkDestroyInstance() argument 1021 return ::vkDestroyInstance( instance, pAllocator ); in vkDestroyInstance() 1025 …VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t * pPhysicalDeviceCount, VkPhysi… in vkEnumeratePhysicalDevices() argument 1027 return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices ); in vkEnumeratePhysicalDevices() 1067 …PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char * pName ) const VULKAN_H… in vkGetInstanceProcAddr() argument 1069 return ::vkGetInstanceProcAddr( instance, pName ); in vkGetInstanceProcAddr() 1873 …VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, uint32_t * pPhysicalDeviceGroupCoun… in vkEnumeratePhysicalDeviceGroups() argument 1875 …return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGrou… in vkEnumeratePhysicalDeviceGroups() 2311 …void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks *… in vkDestroySurfaceKHR() argument 2313 return ::vkDestroySurfaceKHR( instance, surface, pAllocator ); in vkDestroySurfaceKHR() [all …]
|
D | vulkansc.hpp | 1018 …void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks * pAllocator ) const VULK… in vkDestroyInstance() argument 1020 return ::vkDestroyInstance( instance, pAllocator ); in vkDestroyInstance() 1024 …VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t * pPhysicalDeviceCount, VkPhysi… in vkEnumeratePhysicalDevices() argument 1026 return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices ); in vkEnumeratePhysicalDevices() 1066 …PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char * pName ) const VULKAN_H… in vkGetInstanceProcAddr() argument 1068 return ::vkGetInstanceProcAddr( instance, pName ); in vkGetInstanceProcAddr() 1806 …VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, uint32_t * pPhysicalDeviceGroupCoun… in vkEnumeratePhysicalDeviceGroups() argument 1808 …return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGrou… in vkEnumeratePhysicalDeviceGroups() 2222 …void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks *… in vkDestroySurfaceKHR() argument 2224 return ::vkDestroySurfaceKHR( instance, surface, pAllocator ); in vkDestroySurfaceKHR() [all …]
|
D | vk_icd.h | 48 typedef PFN_vkVoidFunction(VKAPI_PTR *PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const cha… 53 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetInstanceProcAddr)(VkInstance instance, const ch… 54 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetPhysicalDeviceProcAddr)(VkInstance instance, co… 56 typedef VkResult (VKAPI_PTR *PFN_vk_icdEnumerateAdapterPhysicalDevices)(VkInstance instance, LUID a… 66 …VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance instance, const char… 67 …VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, cons… 69 …VKAPI_ATTR VkResult VKAPI_CALL vk_icdEnumerateAdapterPhysicalDevices(VkInstance instance, LUID ada…
|
/hardware/interfaces/drm/1.1/ |
D | README.md | 28 <instance>default</instance> 32 <instance>default</instance> 55 <instance>clearkey</instance> 56 <instance>foo</instance> 60 <instance>clearkey</instance> 61 <instance>foo</instance>
|
/hardware/interfaces/radio/aidl/compat/service/ |
D | service.cpp | 40 const auto instance = T::descriptor + "/"s + slot; in publishRadioHal() local 41 if (!AServiceManager_isDeclared(instance.c_str())) { in publishRadioHal() 42 LOG(INFO) << instance << " is not declared in VINTF (this may be intentional)"; in publishRadioHal() 45 LOG(DEBUG) << "Publishing " << instance; in publishRadioHal() 49 const auto status = AServiceManager_addService(aidlHal->asBinder().get(), instance.c_str()); in publishRadioHal() 78 const auto instance = compat::RadioConfig::descriptor + "/default"s; in publishRadioConfig() local 79 const auto status = AServiceManager_addService(aidlHal->asBinder().get(), instance.c_str()); in publishRadioConfig()
|
/hardware/qcom/sm8150/vr/ |
D | vr.c | 61 static void log_config_instance(struct config_instance *instance ){ in log_config_instance() argument 62 ALOGI("logging config_instance 0x%p", instance); in log_config_instance() 63 ALOGI("config_instance: cfg_desc = %s", instance->cfg_desc); in log_config_instance() 64 ALOGI("config_instance: algo_type = %s", instance->algo_type); in log_config_instance() 65 ALOGI("config_instance: fields_mask = 0x%x", instance->fields_mask); in log_config_instance() 66 ALOGI("config_instance: num_fields = %u", instance->num_fields); in log_config_instance() 67 for (uint32_t i = 0; i < instance->num_fields; i++) { in log_config_instance() 69 ALOGI("\tfield_name = %s", instance->fields[i].field_name); in log_config_instance() 70 ALOGI("\tdata_type = %u", instance->fields[i].data_type); in log_config_instance() 71 ALOGI("\tnum_data = %u", instance->fields[i].num_data); in log_config_instance() [all …]
|
/hardware/interfaces/drm/1.0/vts/functional/include/ |
D | drm_vts_helper.h | 39 DrmHalTestParam(const std::string& instance) : instance_(instance) {} in DrmHalTestParam() 40 DrmHalTestParam(const std::string& instance, const hidl_array<uint8_t, 16>& scheme) in DrmHalTestParam() 41 : instance_(instance), scheme_(scheme) {} in DrmHalTestParam()
|
/hardware/google/gfxstream/guest/vulkan/ |
D | gfxstream_vk_device.cpp | 173 struct gfxstream_vk_physical_device* physical_device, struct gfxstream_vk_instance* instance, in gfxstream_vk_physical_device_init() argument 188 VkResult result = vk_physical_device_init(&physical_device->vk, &instance->vk, in gfxstream_vk_physical_device_init() 194 physical_device->instance = instance; in gfxstream_vk_physical_device_init() 215 vk_free(&physical_device->instance->alloc, physical_device); in gfxstream_vk_destroy_physical_device() 304 struct gfxstream_vk_instance* instance; in gfxstream_vk_CreateInstance() local 307 instance = (struct gfxstream_vk_instance*)vk_zalloc(pAllocator, sizeof(*instance), 8, in gfxstream_vk_CreateInstance() 309 if (NULL == instance) { in gfxstream_vk_CreateInstance() 331 result = vkEnc->vkCreateInstance(pCreateInfo, nullptr, &instance->internal_object, in gfxstream_vk_CreateInstance() 349 result = vk_instance_init(&instance->vk, get_instance_extensions(), &dispatch_table, in gfxstream_vk_CreateInstance() 353 vk_free(pAllocator, instance); in gfxstream_vk_CreateInstance() [all …]
|
/hardware/google/gfxstream/guest/mesa/include/vulkan/ |
D | vk_icd.h | 48 typedef PFN_vkVoidFunction(VKAPI_PTR *PFN_GetPhysicalDeviceProcAddr)(VkInstance instance, const cha… 53 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetInstanceProcAddr)(VkInstance instance, const ch… 54 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vk_icdGetPhysicalDeviceProcAddr)(VkInstance instance, co… 56 typedef VkResult (VKAPI_PTR *PFN_vk_icdEnumerateAdapterPhysicalDevices)(VkInstance instance, LUID a… 66 …VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetInstanceProcAddr(VkInstance instance, const char… 67 …VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vk_icdGetPhysicalDeviceProcAddr(VkInstance instance, cons… 69 …VKAPI_ATTR VkResult VKAPI_CALL vk_icdEnumerateAdapterPhysicalDevices(VkInstance instance, LUID ada…
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/ |
D | pipeline_barrier_common.adoc | 9 If fname:{refpage} is called within a render pass instance using a 20 If fname:{refpage} is called within a render pass instance using a 31 If fname:{refpage} is called within a render pass instance using a 35 If fname:{refpage} is called within a render pass instance using a 45 If fname:{refpage} is called within a render pass instance using a 50 If fname:{refpage} is called within a render pass instance using a 57 If fname:{refpage} is called within a render pass instance, the 61 If fname:{refpage} is called within a render pass instance, the 65 If fname:{refpage} is called within a render pass instance, and the 71 If fname:{refpage} is called within a render pass instance, and and the [all …]
|
/hardware/nxp/nfc/pn8x/halimpl/utils/ |
D | NxpNfcCapability.cpp | 22 capability* capability::instance = NULL; member in capability 29 if (NULL == instance) { in getInstance() 30 instance = new capability(); in getInstance() 32 return instance; in getInstance()
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/ |
D | device_select_layer.c | 86 device_select_layer_add_instance(VkInstance instance, struct instance_info *info) in device_select_layer_add_instance() argument 90 _mesa_hash_table_insert(device_select_instance_ht, instance, info); in device_select_layer_add_instance() 95 device_select_layer_get_instance(VkInstance instance) in device_select_layer_get_instance() argument 100 entry = _mesa_hash_table_search(device_select_instance_ht, (void *)instance); in device_select_layer_get_instance() 108 device_select_layer_remove_instance(VkInstance instance) in device_select_layer_remove_instance() argument 111 _mesa_hash_table_remove_key(device_select_instance_ht, instance); in device_select_layer_remove_instance() 178 static void device_select_DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAlloca… in device_select_DestroyInstance() argument 180 struct instance_info *info = device_select_layer_get_instance(instance); in device_select_DestroyInstance() 182 device_select_layer_remove_instance(instance); in device_select_DestroyInstance() 183 info->DestroyInstance(instance, pAllocator); in device_select_DestroyInstance() [all …]
|
/hardware/nxp/keymint/KM300/authsecret/ |
D | service.cpp | 49 const std::string instance = std::string() + AuthSecret::descriptor + "/default"; in main() local 50 LOG(INFO) << "adding authsecret service instance: " << instance; in main() 52 authsecret->asBinder().get(), instance.c_str()); in main()
|
/hardware/google/gfxstream/host/vulkan/testing/ |
D | VkDecoderTestDispatch.h | 122 VkResult vkCreateDebugUtilsMessengerEXT(VkInstance instance, in vkCreateDebugUtilsMessengerEXT() argument 126 instance = unbox_VkInstance(instance); in vkCreateDebugUtilsMessengerEXT() 128 instance, "vkCreateDebugUtilsMessengerEXT"); in vkCreateDebugUtilsMessengerEXT() 130 return func(instance, pCreateInfo, pAllocator, pDebugMessenger); in vkCreateDebugUtilsMessengerEXT() 169 void vkDestroyDebugUtilsMessengerEXT(VkInstance instance, in vkDestroyDebugUtilsMessengerEXT() argument 172 instance = unbox_VkInstance(instance); in vkDestroyDebugUtilsMessengerEXT() 174 instance, "vkDestroyDebugUtilsMessengerEXT"); in vkDestroyDebugUtilsMessengerEXT() 176 func(instance, debugMessenger, pAllocator); in vkDestroyDebugUtilsMessengerEXT() 195 void vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) { in vkDestroyInstance() argument 196 mDgs->on_vkDestroyInstance(mBp, instance, pAllocator); in vkDestroyInstance() [all …]
|
/hardware/google/aemu/host-common/ |
D | MultiDisplayPipe.cpp | 101 MultiDisplay* instance = MultiDisplay::getInstance(); in onSave() local 102 if (!instance) { in onSave() 107 instance->onSave(stream); in onSave() 112 MultiDisplay* instance = MultiDisplay::getInstance(); in onLoad() local 113 if (!instance) { in onLoad() 118 instance->onLoad(stream); in onLoad()
|