/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
AbstractProducer.java | 39 private volatile ListenableFuture<T> instance = null; field in class:AbstractProducer 57 ListenableFuture<T> result = instance; 60 result = instance; 63 instance = result = compute(monitor);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPlatformDriverImpl.inl | 10 PFN_vkVoidFunction PlatformDriver::getInstanceProcAddr (VkInstance instance, const char* pName) const 12 return m_vk.getInstanceProcAddr(instance, pName);
|
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.hpp | 38 ContextFactory (HINSTANCE instance);
|
tcuWin32VulkanPlatform.hpp | 38 VulkanPlatform (HINSTANCE instance);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
ImmutableSetMultimap_CustomFieldSerializer.java | 33 ImmutableSetMultimap<?, ?> instance) { 50 ImmutableSetMultimap<?, ?> instance) throws SerializationException { 51 writer.writeObject(instance.valueComparator()); 52 Multimap_CustomFieldSerializerBase.serialize(writer, instance);
|
RegularImmutableSortedSet_CustomFieldSerializer.java | 36 RegularImmutableSortedSet<?> instance) { 61 RegularImmutableSortedSet<?> instance) throws SerializationException { 62 writer.writeObject(instance.comparator()); 64 Collection_CustomFieldSerializerBase.serialize(writer, instance);
|
/external/jmdns/src/javax/jmdns/ |
NetworkTopologyDiscovery.java | 54 * NetworkTopologyDiscovery.Factory enable the creation of new instance of NetworkTopologyDiscovery. 104 * Returns a new instance of NetworkTopologyDiscovery using the class delegate if it exists. 106 * @return new instance of NetworkTopologyDiscovery 109 NetworkTopologyDiscovery instance = null; local 112 instance = delegate.newNetworkTopologyDiscovery(); 114 return (instance != null ? instance : new NetworkTopologyDiscoveryImpl()); 118 * Return the instance of the Multihommed Multicast DNS.
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
DM.java | 52 * Write the instance out. In case it is an AttributeContainer write those our first though. 55 * @param instance 58 public void writeInstance(XmlSerializer writer, Object instance) throws IOException { 59 if (instance instanceof AttributeContainer) { 60 AttributeContainer attributeContainer = (AttributeContainer) instance; 69 writer.text(instance.toString());
|
Marshal.java | 33 * This methods reads an instance from the given parser. For implementation, 49 * Write the instance to the given XmlSerializer. In contrast to 56 * @param instance 57 * the instance to write to the writer. 59 public void writeInstance(XmlSerializer writer, Object instance) throws IOException;
|
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
push_back_exception_safety.pass.cpp | 69 CMyClass instance(42); 73 vec.push_back(instance); 78 vec.push_back(instance); 94 vec.push_back(instance);
|
push_front_exception_safety.pass.cpp | 69 CMyClass instance(42); 73 vec.push_front(instance); 78 vec.push_front(instance); 94 vec.push_front(instance);
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
PhoneNumberToCarrierMapper.java | 32 private static PhoneNumberToCarrierMapper instance = null; field in class:PhoneNumberToCarrierMapper 45 * Gets a {@link PhoneNumberToCarrierMapper} instance to carry out international carrier lookup. 48 * this method multiple times will only result in one instance being created. 50 * @return a {@link PhoneNumberToCarrierMapper} instance 53 if (instance == null) { 54 instance = new PhoneNumberToCarrierMapper(MAPPING_DATA_DIRECTORY); 56 return instance;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ClassHandler.java | 16 Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable;
|
/external/testng/src/main/java/org/testng/ |
TestClass.java | 94 for (Object instance : instances) { 95 if (instance instanceof ITest) { 96 m_testName = ((ITest) instance).getTestName(); 121 public void addInstance(Object instance) { 122 m_iClass.addInstance(instance); 129 for (Object instance : m_iClass.getInstances(false)) { 134 instance); 139 instance); 144 instance); 149 instance); [all...] |
/frameworks/native/vulkan/libvulkan/ |
debug_report.cpp | 117 VkInstance instance, 121 const auto& driver = GetData(instance).driver; 125 instance, create_info, allocator, &driver_handle); 130 auto& callbacks = GetData(instance).debug_report_callbacks; 133 (allocator) ? *allocator : GetData(instance).allocator); 136 driver.DestroyDebugReportCallbackEXT(instance, driver_handle, 148 void DestroyDebugReportCallbackEXT(VkInstance instance, 154 auto& callbacks = GetData(instance).debug_report_callbacks; 159 node, (allocator) ? *allocator : GetData(instance).allocator); 162 GetData(instance).driver.DestroyDebugReportCallbackEXT [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
DOMImplementationImpl.java | 36 // Singleton instance. 37 private static DOMImplementationImpl instance; field in class:DOMImplementationImpl 74 * Requests the singleton instance of the class. Creates it first, if 77 * @return The singleton Android DOMImplementationImpl instance. 80 if (instance == null) { 81 instance = new DOMImplementationImpl(); 84 return instance;
|
/libcore/ojluni/src/main/java/java/security/ |
KeyPairGenerator.java | 35 import sun.security.jca.GetInstance.Instance; 179 private static KeyPairGenerator getInstance(Instance instance, 182 if (instance.impl instanceof KeyPairGenerator) { 183 kpg = (KeyPairGenerator)instance.impl; 185 KeyPairGeneratorSpi spi = (KeyPairGeneratorSpi)instance.impl; 188 kpg.provider = instance.provider; 233 Instance instance = local 235 if (instance.impl instanceof KeyPairGenerator) 286 Instance instance = GetInstance.getInstance("KeyPairGenerator", local 322 Instance instance = GetInstance.getInstance("KeyPairGenerator", local [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/ |
trivial_singleton.hpp | 38 static Derived& instance() { static Derived the_inst; return the_inst; } function in class:boost::unit_test::singleton 55 namespace { BOOST_JOIN( inst, _t)& inst = BOOST_JOIN( inst, _t)::instance(); } 59 static BOOST_JOIN( inst, _t)& inst = BOOST_JOIN (inst, _t)::instance(); 64 namespace { BOOST_JOIN( inst, _t)& inst = BOOST_JOIN( inst, _t)::instance(); }
|
/packages/apps/Camera2/src/com/android/camera/app/ |
CameraApp.java | 60 Profile guard = Profilers.instance().guard("CameraApp onCreate()"); 64 FirstRunDetector.instance().initializeTimeOfFirstRun(context); 67 UsageStatistics.instance().initialize(this); 79 NotificationManager manager = AndroidServices.instance().provideNotificationManager();
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
test_instance.py | 19 <instanceId>i-instance</instanceId> 177 <arn>arn:aws:iam::ownerid:instance-profile/myinstanceprofile</arn> 196 instance = reservation.instances[0] 197 self.assertEqual(instance.image_id, 'ami-ed65ba84') 199 # that this does not map to instance.id (which should be the 200 # id of the ec2 instance). 201 self.assertEqual(instance.id, 'i-ff0f1299') 203 instance.instance_profile, 205 'instance-profile/myinstanceprofile'), 259 instance = instances[0 [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
RobolectricTestRunnerTest.java | 40 assertTrue(RunnerForTesting.instance.robolectricConfig.getStrictI18n()); 46 assertFalse(RunnerForTesting.instance.robolectricConfig.getStrictI18n()); 52 assertEquals( RunnerForTesting.instance.robolectricConfig.getLocale(), "fr" ); 57 assertFalse(RunnerForTesting.instance.robolectricConfig.getStrictI18n()); 77 assertTrue(RunnerForTesting.instance.robolectricConfig.getStrictI18n()); 88 public static RunnerForTesting instance; field in class:RobolectricTestRunnerTest.RunnerForTesting 92 instance = this;
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
JarFileFactory.java | 51 private static final JarFileFactory instance = new JarFileFactory(); field in class:JarFileFactory 56 return instance; 61 synchronized (instance) { 80 synchronized (instance) { 85 synchronized (instance) { 113 synchronized (instance) { 121 assert Thread.holdsLock(instance);
|
/external/guice/core/src/com/google/inject/internal/ |
MembersInjectorImpl.java | 59 public void injectMembers(T instance) { 62 injectAndNotify(instance, errors, null, null, typeLiteral, false); 70 void injectAndNotify(final T instance, 76 if (instance == null) { 88 injectMembers(instance, errors, context, toolableOnly); 89 return instance; 93 injectMembers(instance, errors, context, toolableOnly); 111 notifyListeners(instance, errors); 115 void notifyListeners(T instance, Errors errors) throws ErrorsException { 119 injectionListener.afterInjection(instance); [all...] |
/external/testng/src/main/java/org/testng/internal/ |
FactoryMethod.java | 32 Object instance, 37 super(com.getName(), com, annotationFinder, instance); local 38 Utils.checkInstanceOrStatic(instance, com.getMethod()); 41 if (instance != null && ! declaringClass.isAssignableFrom(instance.getClass())) { 42 throw new TestNGException("Mismatch between instance/method classes:" 43 + instance.getClass() + " " + declaringClass); 45 if (instance == null && com.getMethod() != null && !Modifier.isStatic(com.getMethod().getModifiers())) { 56 m_instance = instance; 95 Object instance = com.getConstructor().newInstance(parameters) local [all...] |
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_instance.cc | 101 VkJsonInstance instance; local 114 instance.layers.reserve(count); 116 instance.layers.push_back(VkJsonLayer{layer, std::vector<VkExtensionProperties>()}); 118 &instance.layers.back().extensions)) 123 if (!EnumerateExtensions(nullptr, &instance.extensions)) 127 layer_names.reserve(instance.layers.size()); 128 for (auto& layer : instance.layers) 165 instance.devices.reserve(devices.size()); 167 instance.devices.emplace_back(VkJsonGetDevice(device)); 170 return instance; [all...] |