Searched defs:instance (Results 1 - 25 of 522) sorted by relevance

1234567891011>>

/external/dagger2/core/src/main/java/dagger/
H A DMembersInjector.java33 * Injects dependencies into the fields and methods of {@code instance}. Ignores the presence or
36 * <p>Whenever the object graph creates an instance, it performs this injection automatically
40 * @param instance into which members are to be injected
41 * @throws NullPointerException if {@code instance} is {@code null}
43 void injectMembers(T instance); argument
/external/swiftshader/src/Common/
H A DGrallocAndroid.cpp21 static GrallocModule instance; local
22 return &instance;
/external/libchrome/base/memory/
H A Dsingleton.cc11 subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance) { argument
22 // instance pointer must acquire visibility over the associated data.
24 value = subtle::Acquire_Load(instance);
/external/dagger2/core/src/main/java/dagger/internal/
H A DInstanceFactory.java19 * A {@link Factory} implementation that returns a single instance for all invocations of
23 * {@link #get} will always return the same instance. As such, any scoping applied to this factory
31 public static <T> Factory<T> create(T instance) { argument
32 if (instance == null) {
35 return new InstanceFactory<T>(instance);
38 private final T instance; field in class:InstanceFactory
40 private InstanceFactory(T instance) { argument
41 this.instance = instance;
46 return instance;
[all...]
H A DDoubleCheckLazy.java33 private volatile Object instance = UNINITIALIZED; field in class:DoubleCheckLazy
44 Object result = instance;
47 result = instance;
49 instance = result = provider.get();
H A DMembersInjectors.java42 @Override public void injectMembers(Object instance) { argument
43 if (instance == null) {
H A DScopedProvider.java22 * A {@link Provider} implementation that memoizes the result of a {@link Factory} instance.
31 private volatile Object instance = UNINITIALIZED; field in class:ScopedProvider
42 Object result = instance;
45 result = instance;
47 instance = result = factory.get();
/external/guice/core/src/com/google/inject/
H A DMembersInjector.java32 * Injects dependencies into the fields and methods of {@code instance}. Ignores the presence or
35 * <p>Whenever Guice creates an instance, it performs this injection automatically (after first
39 * @param instance to inject members on. May be {@code null}.
41 void injectMembers(T instance); argument
/external/guice/core/src/com/google/inject/internal/
H A DInitializables.java25 * Returns an initializable for an instance that requires no initialization.
27 static <T> Initializable<T> of(final T instance) { argument
30 return instance;
34 return String.valueOf(instance);
/external/llvm/lib/Support/
H A DOptions.cpp33 OptionRegistry &OptionRegistry::instance() { return *OR; } function in class:OptionRegistry
/external/python/cpython2/Lib/
H A Dnew.py13 from types import InstanceType as instance namespace
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
H A DRobolectricForMaps.java13 public static ShadowGeoPoint shadowOf(GeoPoint instance) { argument
14 return (ShadowGeoPoint) Robolectric.shadowOf_(instance);
17 public static ShadowMapView shadowOf(MapView instance) { argument
18 return (ShadowMapView) Robolectric.shadowOf_(instance);
21 public static ShadowMapController shadowOf(MapController instance) { argument
22 return (ShadowMapController) Robolectric.shadowOf_(instance);
25 public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) { argument
26 return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance);
H A DRobolectricShadowOfLevel9.java13 public static ShadowNdefMessage shadowOf(NdefMessage instance) { argument
14 return (ShadowNdefMessage) Robolectric.shadowOf_(instance);
17 public static ShadowNdefRecord shadowOf(NdefRecord instance) { argument
18 return (ShadowNdefRecord) Robolectric.shadowOf_(instance);
21 public static ShadowNfcAdapter shadowOf(NfcAdapter instance) { argument
22 return (ShadowNfcAdapter) Robolectric.shadowOf_(instance);
/external/testng/src/main/java/org/testng/internal/
H A DDataProviderHolder.java11 Object instance; field in class:DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) { argument
18 this.instance = instance;
/external/testng/src/test/java/test/pholser/
H A DCaptor.java12 private static Captor instance = null; field in class:Captor
15 public static Captor instance() { method in class:Captor
16 if (null == instance) {
17 instance = new Captor();
19 return instance;
24 instance().captives = new ArrayList<>();
/external/v8/tools/clang/blink_gc_plugin/tests/legacy_naming/
H A Dtemplated_class_with_local_class_requires_trace.cpp21 TemplatedObject<HeapObject>* instance = local
/external/v8/tools/clang/blink_gc_plugin/tests/
H A Dtemplated_class_with_local_class_requires_trace.cpp21 TemplatedObject<HeapObject>* instance = local
/external/valgrind/memcheck/tests/x86/
H A Dfpeflags.c3 struct instance struct
8 static struct instance* myInstance;
14 myInstance = malloc(sizeof(struct instance));
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpSocket.java30 private final Socket instance; field in class:Support_HttpSocket
35 instance = socket;
40 return instance.getInputStream();
45 return instance.getOutputStream();
49 if (!streamOpen && instance != null) {
50 instance.close();
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
H A DInjector.java26 T instance(); method in interface:Injector
/external/dagger2/producers/src/main/java/dagger/producers/internal/
H A DAbstractProducer.java39 private volatile ListenableFuture<T> instance = null; field in class:AbstractProducer
57 ListenableFuture<T> result = instance;
60 result = instance;
63 instance = result = compute(monitor);
/external/droiddriver/src/io/appium/droiddriver/helpers/
H A DDroidDriversInitializer.java26 private static DroidDriversInitializer instance; field in class:DroidDriversInitializer
39 if (instance == null) {
40 instance = new DroidDriversInitializer(driver);
43 if (instance.driver != driver) {
47 return instance;
/external/guava/guava-gwt/src/com/google/common/collect/
H A DImmutableSortedMap_CustomFieldSerializerBase.java50 static void serialize(SerializationStreamWriter writer, ImmutableSortedMap<?, ?> instance) argument
52 writer.writeObject(instance.comparator());
54 Map_CustomFieldSerializerBase.serialize(writer, instance);
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/
H A Dpush_front_exception_safety.pass.cpp63 CMyClass instance; local
66 vec.push_front(instance);
70 vec.push_front(instance);
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
H A Dpush_back_exception_safety.pass.cpp63 CMyClass instance; local
66 vec.push_back(instance);
70 vec.push_back(instance);

Completed in 635 milliseconds

1234567891011>>