/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/vector/vector.modifiers/ |
push_back_exception_safety.pass.cpp | 71 CMyClass instance(42); 74 vec.push_back(instance); 81 vec.push_back(instance);
|
/system/bt/service/ipc/binder/ |
bluetooth_gatt_client_binder_server.cc | 77 bluetooth::BluetoothInstance* instance) { 78 VLOG(1) << __func__ << " client ID: " << instance->GetInstanceId() 84 ? instance->GetInstanceId()
|
interface_with_instances_base.cc | 50 std::unique_ptr<bluetooth::BluetoothInstance> instance) { 55 VLOG(2) << "InterfaceWithInstancesBase was deleted while instance was" 61 std::move(instance)); 66 LOG(ERROR) << "Failed to register instance"; 103 std::unique_ptr<bluetooth::BluetoothInstance> instance) { 114 << "returned; unregistering instance"; 120 LOG(ERROR) << "Failed to register instance: " << status; 126 int instance_id = instance->GetInstanceId(); 136 std::shared_ptr<bluetooth::BluetoothInstance>(instance.release());
|
/art/test/046-reflect/src/ |
Main.java | 62 private void showStrings(Target instance) 70 one = (String) field.get(instance); 73 two = (String) field.get(instance); 76 three = (String) field.get(instance); 84 Object instance = new otherpackage.Other(); local 88 meth.invoke(instance); 98 instance = otherpackage.Other.getInnerClassInstance(); 99 target = instance.getClass(); 103 meth.invoke(instance); 111 int x = field.getInt(instance); 145 Target instance = new Target(); local [all...] |
/external/autotest/server/site_tests/network_WiFi_VerifyAttenuator/ |
network_WiFi_VerifyAttenuator.py | 83 self._all_ssids.append(self.context.router.get_ssid(instance=i)) 86 def _get_phy_num_for_instance(self, instance): 87 """Get the phy number corresponding to a hostapd instance. 89 @param instance: int hostapd instance to test against. 94 phy = self.context.router.get_hostapd_phy(instance) 142 @param ap_num: int hostapd instance to test against. 163 ssid=self.context.router.get_ssid(instance=ap_num)) 237 def _verify_phy_attenuator_correspondence(self, instance): 244 @param instance: int hostapd instance to verify corresponds t [all...] |
/external/google-breakpad/src/client/windows/tests/crash_generation_app/ |
crash_generation_app.cc | 67 HINSTANCE current_instance; // Current instance. 71 ATOM MyRegisterClass(HINSTANCE instance); 92 ATOM MyRegisterClass(HINSTANCE instance) { 99 wcex.hInstance = instance; 100 wcex.hIcon = LoadIcon(instance, 111 // Saves instance handle and creates main window 113 // In this function, we save the instance handle in a global variable and 115 BOOL InitInstance(HINSTANCE instance, int command_show) { 116 current_instance = instance; 126 instance, 366 HINSTANCE instance = (HINSTANCE)GetWindowLongPtr(wnd, GWLP_HINSTANCE); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiDeviceInitializationTests.cpp | 186 log << TestLog::Message << "Creating instance with appInfo: " << appInfo << TestLog::EndMessage; 190 const Unique<VkInstance> instance(createInstance(platformInterface, &instanceCreateInfo)); 242 << ", api version used to create instance: " << invalidApiVersions[apiVersionNdx] 246 VkInstance instance = (VkInstance)0; local 247 const VkResult result = platformInterface.createInstance(&instanceCreateInfo, DE_NULL/*pAllocator*/, &instance); 248 const bool gotInstance = !!instance; 250 if (instance) 252 const InstanceDriver instanceIface (platformInterface, instance); 253 instanceIface.destroyInstance(instance, DE_NULL/*pAllocator*/); 259 log << TestLog::Message << "Pass, instance creation with invalid apiVersion is rejected" << TestLog::EndMessage 335 VkInstance instance = (VkInstance)0; local [all...] |
/external/vulkan-validation-layers/layers/ |
threading.cpp | 68 my_data->instance = *pInstance; 83 VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { 84 dispatch_key key = get_dispatch_key(instance); 99 startWriteObject(my_data, instance); 101 pTable->DestroyInstance(instance, pAllocator); 103 finishWriteObject(my_data, instance); 137 PFN_vkCreateDevice fpCreateDevice = (PFN_vkCreateDevice)fpGetInstanceProcAddr(my_instance_data->instance, "vkCreateDevice"); 268 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char *funcName) { 279 assert(instance); 281 my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map) [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
SettingsIncidentTest.java | 81 private static <T> T invoke(Method method, Object instance, Object... args) { 84 return (T) method.invoke(instance, args); 90 private static <T> T invoke(GeneratedMessage instance, String methodName, Object... args) 96 instance.getClass().getDeclaredMethod(methodName, inputParamTypes), 97 instance, args);
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
MarshalHashtable.java | 52 Hashtable instance = new Hashtable(); local 55 SoapObject item = new ItemSoapObject(instance); 71 return instance; 74 public void writeInstance(XmlSerializer writer, Object instance) throws IOException { 75 Hashtable h = (Hashtable) instance;
|
/external/testng/src/test/java/test/dependent/ |
DependentTest.java | 109 String instance = s[1]; local 110 Assert.assertEquals(log.get(i), "prepare#" + instance); local 111 Assert.assertEquals(log.get(i + 1), "test1#" + instance); local 112 Assert.assertEquals(log.get(i + 2), "test2#" + instance); local 113 Assert.assertEquals(log.get(i + 3), "clean#" + instance); local
|
/external/guava/guava/src/com/google/common/base/ |
Suppliers.java | 90 * Returns a supplier which caches the instance retrieved during the first 97 * get()} is called on the reserialized instance. 99 * <p>If {@code delegate} is an instance created by an earlier call to {@code 143 * Returns a supplier that caches the instance supplied by the delegate and 152 * get()} is called on the reserialized instance. 216 * Returns a supplier that always supplies {@code instance}. 218 public static <T> Supplier<T> ofInstance(@Nullable T instance) { 219 return new SupplierOfInstance<T>(instance); 224 final T instance; field in class:Suppliers.SupplierOfInstance 226 SupplierOfInstance(@Nullable T instance) { [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBase.cpp | 21 * \brief Sparse Resources Base Instance 69 const InstanceInterface& instance = m_context.getInstanceInterface(); local 73 instance.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &queueFamilyPropertiesCount, DE_NULL); 81 instance.getPhysicalDeviceQueueFamilyProperties(physicalDevice, &queueFamilyPropertiesCount, &queueFamilyProperties[0]); 142 const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(instance, physicalDevice); 157 m_logicalDevice = createDevice(instance, physicalDevice, &deviceInfo); 158 m_deviceDriver = de::MovePtr<DeviceDriver>(new DeviceDriver(instance, *m_logicalDevice)); 159 m_allocator = de::MovePtr<Allocator>(new SimpleAllocator(*m_deviceDriver, *m_logicalDevice, getPhysicalDeviceMemoryProperties(instance, physicalDevice)));
|
/external/vulkan-validation-layers/loader/ |
wsi.h | 66 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, 91 terminator_CreateWin32SurfaceKHR(VkInstance instance, 101 terminator_CreateMirSurfaceKHR(VkInstance instance, 112 VkInstance instance, const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, 121 terminator_CreateXcbSurfaceKHR(VkInstance instance, 133 terminator_CreateXlibSurfaceKHR(VkInstance instance, 169 VkInstance instance, const VkDisplaySurfaceCreateInfoKHR *pCreateInfo,
|
debug_report.c | 101 VkInstance instance, const VkDebugReportCallbackCreateInfoEXT *pCreateInfo, 104 struct loader_instance *inst = loader_get_instance(instance); 107 instance, pCreateInfo, pAllocator, pCallback); 280 VkInstance instance, VkDebugReportCallbackEXT callback, 282 struct loader_instance *inst = loader_get_instance(instance); 285 inst->disp->DestroyDebugReportCallbackEXT(instance, callback, pAllocator); 293 VkInstance instance, VkDebugReportFlagsEXT flags, 296 struct loader_instance *inst = loader_get_instance(instance); 298 inst->disp->DebugReportMessageEXT(instance, flags, objType, object, 303 * This is the instance chain terminator functio [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
activation.h | 45 IInspectable **instance) = 0; 84 IInspectable **instance); 103 #define IActivationFactory_ActivateInstance(This,instance) (This)->lpVtbl->ActivateInstance(This,instance) 126 static FORCEINLINE HRESULT IActivationFactory_ActivateInstance(IActivationFactory* This,IInspectable **instance) { 127 return This->lpVtbl->ActivateInstance(This,instance); 136 IInspectable **instance);
|
/tools/test/connectivity/acts/framework/acts/ |
test_decorators.py | 78 def __get__(self, instance, owner): 79 """Called by Python to create a binding for an instance closure. 82 that instance. That binding will know how to interact with this 85 return _TestInfoBinding(self, instance) 163 When Python creates an instance of an object it creates a binding object 164 for each closure that contains what the instance variable should be when 167 will return one of these objects to hold the instance for that closure. 170 def __init__(self, target, instance): 174 instance: The instance to bind the target with [all...] |
/external/vulkan-validation-layers/tests/ |
loader_validation_tests.cpp | 267 VkInstance instance = VK_NULL_HANDLE; local 268 VkResult result = vkCreateInstance(&info, VK_NULL_HANDLE, &instance); 271 vkDestroyInstance(instance, nullptr); 282 VkInstance instance = VK_NULL_HANDLE; local 283 VkResult result = vkCreateInstance(info, VK_NULL_HANDLE, &instance); 286 // It's not necessary to destroy the instance because it will not be created successfully. 293 VkInstance instance = VK_NULL_HANDLE; local 294 VkResult result = vkCreateInstance(info, VK_NULL_HANDLE, &instance); 297 // It's not necessary to destroy the instance because it will not be created successfully. 305 VkInstance instance = VK_NULL_HANDLE local 313 VkInstance instance = VK_NULL_HANDLE; local 369 VkInstance instance = VK_NULL_HANDLE; local 438 VkInstance instance = VK_NULL_HANDLE; local 535 VkInstance instance = VK_NULL_HANDLE; local 631 VkInstance instance = VK_NULL_HANDLE; local 666 VkInstance instance = VK_NULL_HANDLE; local 674 VkInstance instance = VK_NULL_HANDLE; local [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/generated/layer-src/swapchain/ |
swapchain.cpp | 90 static void createInstanceRegisterExtensions(const VkInstanceCreateInfo *pCreateInfo, VkInstance instance) { 92 layer_data *my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); 96 pDisp->CreateAndroidSurfaceKHR = (PFN_vkCreateAndroidSurfaceKHR)gpa(instance, "vkCreateAndroidSurfaceKHR"); 99 pDisp->CreateMirSurfaceKHR = (PFN_vkCreateMirSurfaceKHR)gpa(instance, "vkCreateMirSurfaceKHR"); 101 (PFN_vkGetPhysicalDeviceMirPresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceMirPresentationSupportKHR"); 104 pDisp->CreateWaylandSurfaceKHR = (PFN_vkCreateWaylandSurfaceKHR)gpa(instance, "vkCreateWaylandSurfaceKHR"); 106 (PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"); 109 pDisp->CreateWin32SurfaceKHR = (PFN_vkCreateWin32SurfaceKHR)gpa(instance, "vkCreateWin32SurfaceKHR"); 111 (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); 114 pDisp->CreateXcbSurfaceKHR = (PFN_vkCreateXcbSurfaceKHR)gpa(instance, "vkCreateXcbSurfaceKHR") [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/layers/ |
swapchain.cpp | 90 static void createInstanceRegisterExtensions(const VkInstanceCreateInfo *pCreateInfo, VkInstance instance) { 92 layer_data *my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); 96 pDisp->CreateAndroidSurfaceKHR = (PFN_vkCreateAndroidSurfaceKHR)gpa(instance, "vkCreateAndroidSurfaceKHR"); 99 pDisp->CreateMirSurfaceKHR = (PFN_vkCreateMirSurfaceKHR)gpa(instance, "vkCreateMirSurfaceKHR"); 101 (PFN_vkGetPhysicalDeviceMirPresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceMirPresentationSupportKHR"); 104 pDisp->CreateWaylandSurfaceKHR = (PFN_vkCreateWaylandSurfaceKHR)gpa(instance, "vkCreateWaylandSurfaceKHR"); 106 (PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"); 109 pDisp->CreateWin32SurfaceKHR = (PFN_vkCreateWin32SurfaceKHR)gpa(instance, "vkCreateWin32SurfaceKHR"); 111 (PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR)gpa(instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR"); 114 pDisp->CreateXcbSurfaceKHR = (PFN_vkCreateXcbSurfaceKHR)gpa(instance, "vkCreateXcbSurfaceKHR") [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/instance_of/d/ |
T_instance_of_2.d | 63 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 65 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass 71 instance-of v15, v10, [Ldot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass; 76 instance-of v15, v10, java/lang/Object 80 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 82 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface 86 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperClass 88 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 92 new-instance v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SubClass 94 instance-of v15, v10, dot/junit/opcodes/instance_of/d/T_instance_of_2/SuperInterface [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkConcreteInstanceInterface.inl | 4 virtual void destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator) const; 5 virtual VkResult enumeratePhysicalDevices (VkInstance instance, deUint32* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const; 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const; 28 virtual VkResult createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 29 virtual VkResult createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 31 virtual VkResult createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 33 virtual VkResult createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 35 virtual VkResult createMirSurfaceKHR (VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 37 virtual VkResult createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 38 virtual VkResult createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfac (…) [all...] |
vkVirtualInstanceInterface.inl | 4 virtual void destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator) const = 0; 5 virtual VkResult enumeratePhysicalDevices (VkInstance instance, deUint32* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const = 0; 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const = 0; 28 virtual VkResult createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 29 virtual VkResult createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 31 virtual VkResult createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 33 virtual VkResult createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 35 virtual VkResult createMirSurfaceKHR (VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 37 virtual VkResult createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 38 virtual VkResult createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfac (…) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
SimpleXMLRPCServer.py | 5 class instance, or by extending the SimpleXMLRPCServer
20 2. Install an instance:
41 3. Install an instance with custom dispatch method:
171 self.instance = None
175 def register_instance(self, instance, allow_dotted_names=False):
176 """Registers an instance to respond to XML-RPC requests.
178 Only one instance can be installed at a time.
180 If the registered instance has a _dispatch method then that
183 e.g. instance._dispatch('add',(2,3))
185 If the registered instance does not have a _dispatch method [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
SimpleXMLRPCServer.py | 5 class instance, or by extending the SimpleXMLRPCServer 20 2. Install an instance: 41 3. Install an instance with custom dispatch method: 171 self.instance = None 175 def register_instance(self, instance, allow_dotted_names=False): 176 """Registers an instance to respond to XML-RPC requests. 178 Only one instance can be installed at a time. 180 If the registered instance has a _dispatch method then that 183 e.g. instance._dispatch('add',(2,3)) 185 If the registered instance does not have a _dispatch metho [all...] |