/third_party/vulkan-loader/tests/framework/layer/ |
H A D | vk_dispatch_table_helper.h | 733 static inline void layer_init_instance_dispatch_table(VkInstance instance, VkLayerInstanceDispatchTable *table, in layer_init_instance_dispatch_table() argument 738 table->DestroyInstance = (PFN_vkDestroyInstance)gpa(instance, "vkDestroyInstance"); in layer_init_instance_dispatch_table() 739 table->EnumeratePhysicalDevices = (PFN_vkEnumeratePhysicalDevices)gpa(instance, "vkEnumeratePhysicalDevices"); in layer_init_instance_dispatch_table() 740 table->GetPhysicalDeviceFeatures = (PFN_vkGetPhysicalDeviceFeatures)gpa(instance, "vkGetPhysicalDeviceFeatures"); in layer_init_instance_dispatch_table() 742 (PFN_vkGetPhysicalDeviceFormatProperties)gpa(instance, "vkGetPhysicalDeviceFormatProperties"); in layer_init_instance_dispatch_table() 744 (PFN_vkGetPhysicalDeviceImageFormatProperties)gpa(instance, "vkGetPhysicalDeviceImageFormatProperties"); in layer_init_instance_dispatch_table() 745 table->GetPhysicalDeviceProperties = (PFN_vkGetPhysicalDeviceProperties)gpa(instance, "vkGetPhysicalDeviceProperties"); in layer_init_instance_dispatch_table() 747 (PFN_vkGetPhysicalDeviceQueueFamilyProperties)gpa(instance, "vkGetPhysicalDeviceQueueFamilyProperties"); in layer_init_instance_dispatch_table() 749 (PFN_vkGetPhysicalDeviceMemoryProperties)gpa(instance, "vkGetPhysicalDeviceMemoryProperties"); in layer_init_instance_dispatch_table() 752 (PFN_vkEnumerateDeviceExtensionProperties)gpa(instance, "vkEnumerateDeviceExtensionPropertie in layer_init_instance_dispatch_table() [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_device_memory.c | 51 dev->instance, dev_handle, in vn_device_memory_pool_grow_alloc() 71 vn_instance_submit_roundtrip(dev->instance, &mem->bo_roundtrip_seqno); in vn_device_memory_pool_grow_alloc() 84 vn_async_vkFreeMemory(dev->instance, dev_handle, mem_handle, NULL); in vn_device_memory_pool_grow_alloc() 114 vn_instance_wait_roundtrip(dev->instance, pool_mem->bo_roundtrip_seqno); in vn_device_memory_pool_unref() 116 vn_async_vkFreeMemory(dev->instance, vn_device_to_handle(dev), in vn_device_memory_pool_unref() 196 const struct vn_instance *instance = dev->physical_device->instance; in vn_device_memory_should_suballocate() local 197 const struct vn_renderer_info *renderer = &instance->renderer->info; in vn_device_memory_should_suballocate() 266 vn_instance_roundtrip(dev->instance); in vn_device_memory_import_dma_buf() 280 result = vn_call_vkAllocateMemory(dev->instance, devic in vn_device_memory_import_dma_buf() 390 const struct vn_instance *instance = dev->physical_device->instance; vn_device_memory_alloc() local [all...] |
H A D | vn_queue.c | 326 vn_queue_submit(struct vn_instance *instance, in vn_queue_submit() argument 338 return vn_call_vkQueueSubmit(instance, queue_handle, batch_count, in vn_queue_submit() 342 vn_async_vkQueueSubmit(instance, queue_handle, batch_count, batches, in vn_queue_submit() 367 return vn_error(dev->instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vn_QueueSubmit() 389 result = vn_queue_submit(dev->instance, submit.queue, submit.batch_count, in vn_QueueSubmit() 395 return vn_error(dev->instance, result); in vn_QueueSubmit() 415 result = vn_queue_submit(dev->instance, submit.queue, 1, &info, in vn_QueueSubmit() 419 return vn_error(dev->instance, result); in vn_QueueSubmit() 425 if (dev->instance->renderer->info.has_implicit_fencing) { in vn_QueueSubmit() 434 vn_log(dev->instance, in vn_QueueSubmit() [all...] |
H A D | vn_common.h | 50 #define vn_error(instance, error) \ 51 (VN_DEBUG(RESULT) ? vn_log_result((instance), (error), __func__) : (error)) 52 #define vn_result(instance, result) \ 53 ((result) >= VK_SUCCESS ? (result) : vn_error((instance), (result))) 199 vn_log(struct vn_instance *instance, const char *format, ...) 203 vn_log_result(struct vn_instance *instance, 266 struct vn_instance_base *instance, in vn_instance_base_init() 272 VkResult result = vk_instance_init(&instance->base, supported_extensions, in vn_instance_base_init() 274 instance->id = (uintptr_t)instance; in vn_instance_base_init() 265 vn_instance_base_init( struct vn_instance_base *instance, const struct vk_instance_extension_table *supported_extensions, const struct vk_instance_dispatch_table *dispatch_table, const VkInstanceCreateInfo *info, const VkAllocationCallbacks *alloc) vn_instance_base_init() argument 279 vn_instance_base_fini(struct vn_instance_base *instance) vn_instance_base_fini() argument 285 vn_physical_device_base_init( struct vn_physical_device_base *physical_dev, struct vn_instance_base *instance, const struct vk_device_extension_table *supported_extensions, const struct vk_physical_device_dispatch_table *dispatch_table) vn_physical_device_base_init() argument [all...] |
H A D | vn_physical_device.c | 41 struct vn_instance *instance = physical_dev->instance; in vn_physical_device_init_features() local 172 instance, vn_physical_device_to_handle(physical_dev), &features2); in vn_physical_device_init_features() 422 struct vn_instance *instance = physical_dev->instance; in vn_physical_device_init_properties() local 505 instance, vn_physical_device_to_handle(physical_dev), &properties2); in vn_physical_device_init_properties() 700 instance->renderer->info.vk_xml_version); in vn_physical_device_init_properties() 738 struct vn_instance *instance = physical_dev->instance; in vn_physical_device_init_queue_family_properties() local 739 const VkAllocationCallbacks *alloc = &instance in vn_physical_device_init_queue_family_properties() 768 struct vn_instance *instance = physical_dev->instance; vn_physical_device_init_memory_properties() local 901 const struct vn_instance *instance = physical_dev->instance; vn_physical_device_get_native_extensions() local 1069 struct vn_instance *instance = physical_dev->instance; vn_physical_device_init_renderer_extensions() local 1135 struct vn_instance *instance = physical_dev->instance; vn_physical_device_init_renderer_version() local 1164 struct vn_instance *instance = physical_dev->instance; vn_physical_device_init() local 1207 struct vn_instance *instance = physical_dev->instance; vn_physical_device_fini() local 1233 vn_instance_enumerate_physical_device_groups_locked( struct vn_instance *instance, struct vn_physical_device *physical_devs, uint32_t physical_dev_count) vn_instance_enumerate_physical_device_groups_locked() argument 1328 enumerate_physical_devices(struct vn_instance *instance, struct vn_physical_device **out_physical_devs, uint32_t *out_count) enumerate_physical_devices() argument 1420 vn_instance_enumerate_physical_devices_and_groups(struct vn_instance *instance) vn_instance_enumerate_physical_devices_and_groups() argument 1482 struct vn_instance *instance = vn_instance_from_handle(_instance); vn_EnumeratePhysicalDevices() local 1506 struct vn_instance *instance = vn_instance_from_handle(_instance); vn_EnumeratePhysicalDeviceGroups() local [all...] |
/third_party/glfw/src/ |
H A D | win32_init.c | 63 BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) in DllMain() argument 77 (HMODULE*) &_glfw.win32.instance)) in loadLibraries() 84 _glfw.win32.user32.instance = _glfwPlatformLoadModule("user32.dll"); in loadLibraries() 85 if (!_glfw.win32.user32.instance) in loadLibraries() 93 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "SetProcessDPIAware"); in loadLibraries() 95 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "ChangeWindowMessageFilterEx"); in loadLibraries() 97 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "EnableNonClientDpiScaling"); in loadLibraries() 99 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "SetProcessDpiAwarenessContext"); in loadLibraries() 101 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "GetDpiForWindow"); in loadLibraries() 103 _glfwPlatformGetModuleSymbol(_glfw.win32.user32.instance, "AdjustWindowRectExForDp in loadLibraries() [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | hscale.c | 23 /// Scaler instance data 32 /// Color conversion instance data 40 FilterContext *instance = desc->instance; in lum_h_scale() local 43 int xInc = instance->xInc; in lum_h_scale() 56 c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale() 57 instance->filter_pos, instance->filter_size); in lum_h_scale() 77 c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter, in lum_h_scale() 78 instance in lum_h_scale() 89 ColorContext * instance = desc->instance; lum_convert() local 168 FilterContext *instance = desc->instance; chr_h_scale() local 205 ColorContext * instance = desc->instance; chr_convert() local [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | testcallable.py | 62 instance = mock() 65 self.assertNotCallable(instance) 66 self.assertRaises(TypeError, instance) 74 instance = mock() 77 self.assertNotCallable(instance) 78 self.assertRaises(TypeError, instance) 112 instance = mock() variable in TestCallable.test_patch_spec_callable_class.Multi 115 self.assertTrue(is_instance(instance, MagicMock)) 117 self.assertRaises(AttributeError, getattr, instance, 120 result = instance() [all...] |
/third_party/node/deps/v8/tools/wasm/ |
H A D | wasm-import-profiler.js | 48 print(`--- Import profile for instance ${profile.instanceNum} ---`); 79 promise.then((instance) => { 80 instanceMap.set(instance, profile); 93 let instance = new orig_new_instance(...args); 94 instanceMap.set(instance, profile); 97 return instance; 101 // expose: WebAssembly.dumpProfile(instance) 102 WebAssembly.dumpProfile = (instance) => { 103 let profile = instanceMap.get(instance); 107 // expose: WebAssembly.clearProfile(instance) [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | Properties.java | 19 private transient DecimalFormatProperties instance; field in Properties 22 return instance; in getInstance() 26 if (instance == null) { in readObject() 27 instance = new DecimalFormatProperties(); in readObject() 29 instance.readObjectImpl(ois); in readObject() 33 if (instance == null) { in writeObject() 34 instance = new DecimalFormatProperties(); in writeObject() 36 instance.writeObjectImpl(oos); in writeObject()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | Properties.java | 21 private transient DecimalFormatProperties instance; field in Properties 24 return instance; in getInstance() 28 if (instance == null) { in readObject() 29 instance = new DecimalFormatProperties(); in readObject() 31 instance.readObjectImpl(ois); in readObject() 35 if (instance == null) { in writeObject() 36 instance = new DecimalFormatProperties(); in writeObject() 38 instance.writeObjectImpl(oos); in writeObject()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_device.c | 175 struct panvk_instance *instance; in panvk_CreateInstance() local 181 instance = vk_zalloc(pAllocator, sizeof(*instance), 8, in panvk_CreateInstance() 183 if (!instance) in panvk_CreateInstance() 194 result = vk_instance_init(&instance->vk, in panvk_CreateInstance() 200 vk_free(pAllocator, instance); in panvk_CreateInstance() 204 instance->physical_device_count = -1; in panvk_CreateInstance() 205 instance->debug_flags = parse_debug_string(getenv("PANVK_DEBUG"), in panvk_CreateInstance() 208 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_CreateInstance() 209 panvk_logi("Created an instance"); in panvk_CreateInstance() 249 panvk_physical_device_init(struct panvk_physical_device *device, struct panvk_instance *instance, drmDevicePtr drm_device) panvk_physical_device_init() argument 383 panvk_enumerate_devices(struct panvk_instance *instance) panvk_enumerate_devices() argument 1131 vk_icdGetInstanceProcAddr(VkInstance instance, const char *pName) vk_icdGetInstanceProcAddr() argument [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-objects.cc | 50 // an instance finalizer is not guaranteed to run upon isolate shutdown, 55 WasmInstanceNativeAllocations(Handle<WasmInstanceObject> instance, in WasmInstanceNativeAllocations() argument 65 instance->set_imported_function_targets(imported_function_targets_.get()); in WasmInstanceNativeAllocations() 66 instance->set_imported_mutable_globals(imported_mutable_globals_.get()); in WasmInstanceNativeAllocations() 67 instance->set_data_segment_starts(data_segment_starts_.get()); in WasmInstanceNativeAllocations() 68 instance->set_data_segment_sizes(data_segment_sizes_.get()); in WasmInstanceNativeAllocations() 69 instance->set_dropped_elem_segments(dropped_elem_segments_.get()); in WasmInstanceNativeAllocations() 193 Isolate* isolate, Handle<WasmInstanceObject> instance, wasm::ValueType type, in New() 199 instance.is_null() ? nullptr : instance in New() 192 New( Isolate* isolate, Handle<WasmInstanceObject> instance, wasm::ValueType type, uint32_t initial, bool has_maximum, uint32_t maximum, Handle<FixedArray>* entries, Handle<Object> initial_value) New() argument 234 AddDispatchTable(Isolate* isolate, Handle<WasmTableObject> table_obj, Handle<WasmInstanceObject> instance, int table_index) AddDispatchTable() argument 452 auto instance = handle(WasmInstanceObject::cast(tuple->value1()), isolate); Get() local 504 WasmInstanceObject instance = WasmInstanceObject::cast( UpdateDispatchTables() local 634 SetFunctionTablePlaceholder( Isolate* isolate, Handle<WasmTableObject> table, int entry_index, Handle<WasmInstanceObject> instance, int func_index) SetFunctionTablePlaceholder() argument 648 GetFunctionTableEntry( Isolate* isolate, const WasmModule* module, Handle<WasmTableObject> table, int entry_index, bool* is_valid, bool* is_null, MaybeHandle<WasmInstanceObject>* instance, int* function_index, MaybeHandle<WasmJSFunction>* maybe_js_function) GetFunctionTableEntry() argument 780 SetInstanceMemory(Handle<WasmInstanceObject> instance, Handle<JSArrayBuffer> buffer) SetInstanceMemory() argument 884 AddInstance(Isolate* isolate, Handle<WasmMemoryObject> memory, Handle<WasmInstanceObject> instance) AddInstance() argument 1027 New( Isolate* isolate, Handle<WasmInstanceObject> instance, MaybeHandle<JSArrayBuffer> maybe_untagged_buffer, MaybeHandle<FixedArray> maybe_tagged_buffer, wasm::ValueType type, int32_t offset, bool is_mutable) New() argument 1110 SetWasmToWasm(WasmInstanceObject instance, Address call_target) SetWasmToWasm() argument 1143 EnsureIndirectFunctionTableWithMinimumSize( Handle<WasmInstanceObject> instance, int table_index, uint32_t minimum_size) EnsureIndirectFunctionTableWithMinimumSize() argument 1250 InitDataSegmentArrays( Handle<WasmInstanceObject> instance, Handle<WasmModuleObject> module_object) InitDataSegmentArrays() argument 1278 InitElemSegmentArrays( Handle<WasmInstanceObject> instance, Handle<WasmModuleObject> module_object) InitElemSegmentArrays() argument 1322 CopyTableEntries(Isolate* isolate, Handle<WasmInstanceObject> instance, uint32_t table_dst_index, uint32_t table_src_index, uint32_t dst, uint32_t src, uint32_t count) CopyTableEntries() argument 1383 GetOrCreateWasmInternalFunction( Isolate* isolate, Handle<WasmInstanceObject> instance, int function_index) GetOrCreateWasmInternalFunction() argument 1429 SetWasmInternalFunction( Isolate* isolate, Handle<WasmInstanceObject> instance, int index, Handle<WasmInternalFunction> val) SetWasmInternalFunction() argument 1446 ImportWasmJSFunctionIntoTable( Isolate* isolate, Handle<WasmInstanceObject> instance, int table_index, int entry_index, Handle<WasmJSFunction> js_function) ImportWasmJSFunctionIntoTable() argument 1512 GetGlobalStorage( Handle<WasmInstanceObject> instance, const wasm::WasmGlobal& global) GetGlobalStorage() argument 1525 GetGlobalBufferAndIndex(Handle<WasmInstanceObject> instance, const wasm::WasmGlobal& global) GetGlobalBufferAndIndex() argument 1542 GetGlobalValue( Handle<WasmInstanceObject> instance, const wasm::WasmGlobal& global) GetGlobalValue() argument 1932 WasmInstanceObject WasmExportedFunction::instance() { instance() function in v8::WasmExportedFunction 1940 New( Isolate* isolate, Handle<WasmInstanceObject> instance, int func_index, int arity, Handle<CodeT> export_wrapper) New() argument [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkInterface.cpp | 13 #define ACQUIRE_PROC(name, instance, device) \ 14 fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)) 16 #define ACQUIRE_PROC_SUFFIX(name, suffix, instance, device) \ 18 reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device)) 21 VkInstance instance, in GrVkInterface() 35 ACQUIRE_PROC(EnumeratePhysicalDevices, instance, VK_NULL_HANDLE); in GrVkInterface() 36 ACQUIRE_PROC(GetPhysicalDeviceFeatures, instance, VK_NULL_HANDLE); in GrVkInterface() 37 ACQUIRE_PROC(GetPhysicalDeviceFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 38 ACQUIRE_PROC(GetPhysicalDeviceImageFormatProperties, instance, VK_NULL_HANDLE); in GrVkInterface() 39 ACQUIRE_PROC(GetPhysicalDeviceProperties, instance, VK_NULL_HANDL in GrVkInterface() 20 GrVkInterface(GrVkGetProc getProc, VkInstance instance, VkDevice device, uint32_t instanceVersion, uint32_t physicalDeviceVersion, const GrVkExtensions* extensions) GrVkInterface() argument [all...] |
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | wasm-module-debug.cc | 49 Handle<WasmInstanceObject> instance( in GetFirstWasmInstance() 52 return instance; in GetFirstWasmInstance() 209 Handle<WasmInstanceObject> instance = GetWasmInstance(isolate, frame_index); in GetWasmGlobal() local 210 if (!instance.is_null()) { in GetWasmGlobal() 211 Handle<WasmModuleObject> module_object(instance->module_object(), isolate); in GetWasmGlobal() 215 WasmInstanceObject::GetGlobalValue(instance, module->globals[index]); in GetWasmGlobal() 237 Handle<WasmInstanceObject> instance = summary.AsWasm().wasm_instance(); in GetWasmLocal() local 238 if (!instance.is_null()) { in GetWasmLocal() 239 Handle<WasmModuleObject> module_object(instance->module_object(), in GetWasmLocal() 270 Handle<WasmInstanceObject> instance in GetWasmStackValue() local 293 Handle<WasmInstanceObject> instance = GetFirstWasmInstance(); GetWasmMemory() local 313 Handle<WasmInstanceObject> instance = GetFirstWasmInstance(); GetWasmData() local 340 Handle<WasmInstanceObject> instance = GetFirstWasmInstance(); GetWasmModuleBytes() local [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | SegmentedBufferHelper.cs | 53 /// Initialize an instance with a coded input stream. 54 /// This approach is faster than using a constructor because the instance to initialize is passed by reference 58 public static void Initialize(CodedInputStream codedInputStream, out SegmentedBufferHelper instance) in Initialize() 60 instance.totalLength = codedInputStream.InternalInputStream == null ? (int?)codedInputStream.InternalBuffer.Length : null; in Initialize() 61 instance.readOnlySequenceEnumerator = default; in Initialize() 62 instance.codedInputStream = codedInputStream; in Initialize() 66 /// Initialize an instance with a read only sequence. 67 /// This approach is faster than using a constructor because the instance to initialize is passed by reference 71 public static void Initialize(ReadOnlySequence<byte> sequence, out SegmentedBufferHelper instance, out ReadOnlySpan<byte> firstSpan) in Initialize() 73 instance in Initialize() [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/ |
H A D | svga_dump.py | 51 def __init__(self, instance = '', decl = None): 53 self._instance = instance 83 def dump_decl(instance, decl): 84 dumper = decl_dumper_t(instance, decl) 90 def __init__(self, instance, type_): 92 self.instance = instance 96 return type_dumper_t(self.instance, self.type) 145 dump_type(self.instance + '[%i]' % i, type_traits.base_type(self.type)) 153 dump_decl(self.instance, dec [all...] |
/third_party/vulkan-loader/tests/ |
H A D | loader_alloc_callback_tests.cpp | 235 // allocators used on both the instance and device. 284 // allocators used on only the instance and not the device. 333 // allocators used on only the device and not the instance. 408 VkInstance instance; in TEST() local 410 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance); in TEST() 412 env.vulkan_functions.vkDestroyInstance(instance, tracker.get()); in TEST() 453 VkInstance instance; in TEST() local 455 result = env.vulkan_functions.vkCreateInstance(inst_create_info.get(), tracker.get(), &instance); in TEST() 457 env.vulkan_functions.vkDestroyInstance(instance, tracker.get()); in TEST() 483 VkInstance instance; in TEST() local 535 VkInstance instance; TEST() local 571 VkInstance instance; TEST() local 617 VkInstance instance; TEST() local 758 VkInstance instance; TEST() local 844 VkInstance instance; TEST() local 885 VkInstance instance; TEST() local 1003 VkInstance instance; TEST() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | BackendVk.cpp | 114 // A debug callback specifically for instance creation so that we don't fire an ASSERT when 115 // the instance fails creation in an expected manner (for example the system not having 160 ResultOrError<Ref<VulkanInstance>> VulkanInstance::Create(const InstanceBase* instance, in Create() argument 163 DAWN_TRY(vulkanInstance->Initialize(instance, icd)); in Create() 167 MaybeError VulkanInstance::Initialize(const InstanceBase* instance, ICD icd) { in Initialize() argument 227 if (instance->IsBackendValidationEnabled()) { in Initialize() 244 DAWN_TRY_ASSIGN(usedGlobalKnobs, CreateVkInstance(instance)); in Initialize() 259 const InstanceBase* instance) { in CreateVkInstance() 286 if (instance->IsBackendValidationEnabled()) { in CreateVkInstance() 293 // Available and known instance extension in CreateVkInstance() 258 CreateVkInstance( const InstanceBase* instance) CreateVkInstance() argument 392 Backend(InstanceBase* instance) Backend() argument 417 InstanceBase* instance = GetInstance(); DiscoverAdapters() local 443 Connect(InstanceBase* instance) Connect() argument [all...] |
/third_party/vulkan-loader/loader/ |
H A D | wsi.h | 77 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateHeadlessSurfaceEXT(VkInstance instance, 84 VKAPI_ATTR void VKAPI_CALL terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, 107 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateWin32SurfaceKHR(VkInstance instance, const VkWin32SurfaceCreateInfoKHR *pCreateInfo, 113 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateWaylandSurfaceKHR(VkInstance instance, 121 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateXcbSurfaceKHR(VkInstance instance, const VkXcbSurfaceCreateInfoKHR *pCreateInfo, 130 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateXlibSurfaceKHR(VkInstance instance, const VkXlibSurfaceCreateInfoKHR *pCreateInfo, 137 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateDirectFBSurfaceEXT(VkInstance instance, 145 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateMacOSSurfaceMVK(VkInstance instance, const VkMacOSSurfaceCreateInfoMVK *pCreateInfo, 149 VKAPI_ATTR VkResult VKAPI_CALL terminator_CreateIOSSurfaceMVK(VkInstance instance, const VkIOSSurfaceCreateInfoMVK *pCreateInfo, 154 terminator_CreateStreamDescriptorSurfaceGGP(VkInstance instance, cons [all...] |
H A D | debug_utils.c | 69 VKAPI_ATTR VkResult VKAPI_CALL debug_utils_CreateDebugUtilsMessengerEXT(VkInstance instance, in debug_utils_CreateDebugUtilsMessengerEXT() argument 73 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_CreateDebugUtilsMessengerEXT() 75 VkResult result = inst->disp->layer_inst_disp.CreateDebugUtilsMessengerEXT(inst->instance, pCreateInfo, pAllocator, pMessenger); in debug_utils_CreateDebugUtilsMessengerEXT() 141 // This is only being used this way due to it being for an 'anonymous' callback during instance creation in util_CreateDebugUtilsMessengers() 154 VKAPI_ATTR void VKAPI_CALL debug_utils_SubmitDebugUtilsMessageEXT(VkInstance instance, in debug_utils_SubmitDebugUtilsMessageEXT() argument 158 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_SubmitDebugUtilsMessageEXT() 160 inst->disp->layer_inst_disp.SubmitDebugUtilsMessageEXT(inst->instance, messageSeverity, messageTypes, pCallbackData); in debug_utils_SubmitDebugUtilsMessageEXT() 163 VKAPI_ATTR void VKAPI_CALL debug_utils_DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, in debug_utils_DestroyDebugUtilsMessengerEXT() argument 165 struct loader_instance *inst = loader_get_instance(instance); in debug_utils_DestroyDebugUtilsMessengerEXT() 168 inst->disp->layer_inst_disp.DestroyDebugUtilsMessengerEXT(inst->instance, messenge in debug_utils_DestroyDebugUtilsMessengerEXT() 174 terminator_CreateDebugUtilsMessengerEXT(VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugUtilsMessengerEXT *pMessenger) terminator_CreateDebugUtilsMessengerEXT() argument 251 terminator_DestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMessengerEXT messenger, const VkAllocationCallbacks *pAllocator) terminator_DestroyDebugUtilsMessengerEXT() argument 277 terminator_SubmitDebugUtilsMessageEXT(VkInstance instance, VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageTypes, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData) terminator_SubmitDebugUtilsMessageEXT() argument 315 debug_utils_CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback) debug_utils_CreateDebugReportCallbackEXT() argument 409 debug_utils_DestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator) debug_utils_DestroyDebugReportCallbackEXT() argument 419 debug_utils_DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objType, uint64_t object, size_t location, int32_t msgCode, const char *pLayerPrefix, const char *pMsg) debug_utils_DebugReportMessageEXT() argument 430 terminator_CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackEXT *pCallback) terminator_CreateDebugReportCallbackEXT() argument 506 terminator_DestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks *pAllocator) terminator_DestroyDebugReportCallbackEXT() argument 532 terminator_DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objType, uint64_t object, size_t location, int32_t msgCode, const char *pLayerPrefix, const char *pMsg) terminator_DebugReportMessageEXT() argument [all...] |
/third_party/node/test/fixtures/wpt/wasm/jsapi/exception/ |
H A D | basic.tentative.any.js | 25 const {instance} = await WebAssembly.instantiate(buffer, {}); 42 assert_throws_wasm(() => instance.exports.throw_param(v), String(v)); 56 const {instance} = await WebAssembly.instantiate(buffer, {}); 57 assert_throws_wasm(() => instance.exports.throw_null()); 70 const {instance} = await WebAssembly.instantiate(buffer, {}); 71 assert_throws_wasm(() => instance.exports.throw_int()); 93 const {instance} = await WebAssembly.instantiate(buffer, { 96 assert_throws_exactly(error, () => instance.exports.catch_exception()); 117 const {instance} = await WebAssembly.instantiate(buffer, { 120 assert_throws_exactly(error, () => instance [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | Window.cpp | 19 Window::Window(vk::Instance instance, vk::Extent2D windowSize) in Window() argument 20 : instance(instance) in Window() 23 surface = instance.createHeadlessSurfaceEXT(surfaceCreateInfo); in Window() 29 instance.destroySurfaceKHR(surface, nullptr); in ~Window() 43 Window::Window(vk::Instance instance, vk::Extent2D windowSize) in Window() argument 44 : instance(instance) in Window() 88 surface = instance.createWin32SurfaceKHR(surfaceCreateInfo); in Window() 94 instance in ~Window() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | typeGuardConstructorClassAndNumber.js | 124 function foo(instance: Function | object) { 125 if (typeof instance === 'function') { 126 if (instance.prototype == null || instance.prototype.constructor == null) { 127 return instance.length; 254 function foo(instance) {
255 if (typeof instance === 'function') {
256 if (instance.prototype == null || instance.prototype.constructor == null) {
257 return instance [all...] |
/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...] |