/libcore/ojluni/src/main/java/java/security/ |
SecureRandom.java | 35 import sun.security.jca.GetInstance.Instance; 53 * <p>A caller obtains a SecureRandom instance via the 168 * The SecureRandom instance is seeded with the specified seed bytes. 278 Instance instance = GetInstance.getInstance("SecureRandom", local 280 return new SecureRandom((SecureRandomSpi)instance.impl, 281 instance.provider, algorithm); 363 Instance instance = GetInstance.getInstance("SecureRandom", local 365 return new SecureRandom((SecureRandomSpi) instance.impl 404 Instance instance = GetInstance.getInstance(service, SecureRandomSpi.class); local 447 Instance instance = GetInstance.getInstance("SecureRandom", local [all...] |
/libcore/ojluni/src/main/java/java/text/ |
AttributedCharacterIterator.java | 93 * to look up the corresponding predefined instance when deserializing 94 * an instance. 153 Attribute instance = (Attribute) instanceMap.get(getName()); local 154 if (instance != null) { 155 return instance;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/ |
push_back_exception_safety.pass.cpp | 68 CMyClass instance(42); 71 vec.push_back(instance); 76 vec.push_back(instance);
|
push_front_exception_safety.pass.cpp | 68 CMyClass instance(42); 71 vec.push_front(instance); 76 vec.push_front(instance);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.modifiers/ |
push_back_exception_safety.pass.cpp | 70 CMyClass instance(42); 73 vec.push_back(instance); 80 vec.push_back(instance);
|
/system/bt/service/ipc/binder/ |
bluetooth_gatt_client_binder_server.cpp | 71 bluetooth::BluetoothInstance* instance) { 72 VLOG(1) << __func__ << " client ID: " << instance->GetInstanceId() 80 instance->GetInstanceId() : kInvalidInstanceId);
|
/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); 146 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...] |
/device/moto/shamu/camera/QCamera2/HAL/ |
QCameraThermalAdapter.cpp | 46 static QCameraThermalAdapter instance; local 47 return instance; 155 QCameraThermalAdapter& instance = getInstance(); local 157 if (instance.mCallback) 158 rc = instance.mCallback->thermalEvtHandle(lvl, userdata, data);
|
/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/v8/test/mjsunit/es6/regress/ |
regress-2225.js | 53 var instance = new F(); 56 assertSame(42, instance.x); 57 delete instance.x; 58 assertSame(8, instance.x); 61 assertSame(19, instance.x); 66 instance = new G(); 69 assertSame(42, instance.x); 70 delete instance.x; 71 assertSame(8, instance.x); 74 assertSame(19, instance.x) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Currency.java | 40 * <code>Currency</code> instance for any given currency. Therefore, there's 41 * no public constructor. You obtain a <code>Currency</code> instance using 74 * Constructs a <code>Currency</code> instance. The constructor is private 75 * so that we can insure that there's never more than one instance for a 84 * Returns the <code>Currency</code> instance for the given currency code. 87 * @return the <code>Currency</code> instance for the given currency code 94 Currency instance = instances.get(currencyCode); local 95 if (instance == null) { 101 instance = new Currency(icuInstance); 102 instances.put(currencyCode, instance); [all...] |
/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/vulkan-validation-layers/loader/ |
wsi.h | 41 terminator_DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, 66 terminator_CreateWin32SurfaceKHR(VkInstance instance, 76 terminator_CreateMirSurfaceKHR(VkInstance instance, 87 VkInstance instance, const VkWaylandSurfaceCreateInfoKHR *pCreateInfo, 96 terminator_CreateXcbSurfaceKHR(VkInstance instance, 108 terminator_CreateXlibSurfaceKHR(VkInstance instance, 154 VkInstance instance,
|
/external/vulkan-validation-layers/layers/ |
threading.cpp | 87 VK_LAYER_EXPORT VKAPI_ATTR void VKAPI_CALL vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { 88 dispatch_key key = get_dispatch_key(instance); 91 startWriteObject(my_data, instance); 92 pTable->DestroyInstance(instance, pAllocator); 93 finishWriteObject(my_data, instance); 107 // Release mutex when destroying last instance. 247 VK_LAYER_EXPORT PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *funcName) { 256 if (instance == VK_NULL_HANDLE) { 260 my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map); 270 return pTable->GetInstanceProcAddr(instance, funcName) [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/modules/vulkan/api/ |
vktApiDeviceInitializationTests.cpp | 169 log << TestLog::Message << "Creating instance with appInfo: " << appInfo << TestLog::EndMessage; 173 const Unique<VkInstance> instance(createInstance(platformInterface, &instanceCreateInfo)); 225 << ", api version used to create instance: " << invalidApiVersions[apiVersionNdx] 229 VkInstance instance = (VkInstance)0; local 230 const VkResult result = platformInterface.createInstance(&instanceCreateInfo, DE_NULL/*pAllocator*/, &instance); 231 const bool gotInstance = !!instance; 233 if (instance) 235 const InstanceDriver instanceIface (platformInterface, instance); 236 instanceIface.destroyInstance(instance, DE_NULL/*pAllocator*/); 242 log << TestLog::Message << "Pass, instance creation with invalid apiVersion is rejected" << TestLog::EndMessage 318 VkInstance instance = (VkInstance)0; local [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...] |
/prebuilts/gdb/linux-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...] |
/prebuilts/python/darwin-x86/2.7.5/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...] |
/prebuilts/python/linux-x86/2.7.5/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...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkWsiUtil.cpp | 124 VkInstance instance, 149 return vki.createXlibSurfaceKHR(instance, &createInfo, pAllocator, pSurface); 165 return vki.createXcbSurfaceKHR(instance, &createInfo, pAllocator, pSurface); 181 return vki.createWaylandSurfaceKHR(instance, &createInfo, pAllocator, pSurface); 197 return vki.createMirSurfaceKHR(instance, &createInfo, pAllocator, pSurface); 211 return vki.createAndroidSurfaceKHR(instance, &createInfo, pAllocator, pSurface); 227 return vki.createWin32SurfaceKHR(instance, &createInfo, pAllocator, pSurface); 237 VkInstance instance, 244 VK_CHECK(createSurface(vki, instance, wsiType, nativeDisplay, nativeWindow, pAllocator, &object)); 245 return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vki, instance, pAllocator)) [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/ |
Timer.java | 31 /** Timer instance for general application wide usage. Static methods on {@link Timer} make convenient use of this instance. */
32 static Timer instance = new Timer();
field in class:Timer 34 static public Timer instance () {
method in class:Timer 35 if (instance == null) {
36 instance = new Timer();
38 return instance;
146 /** Schedules a task on {@link #instance}.
149 return instance().postTask(task);
152 /** Schedules a task on {@link #instance}. [all...] |