HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 1 - 25 of 3014) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/dagger2/core/src/main/java/dagger/internal/
InstanceFactory.java 19 * 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) {
32 if (instance == null) {
35 return new InstanceFactory<T>(instance);
38 private final T instance; field in class:InstanceFactory
40 private InstanceFactory(T instance) {
41 this.instance = instance;
46 return instance;
    [all...]
  /external/tensorflow/tensorflow/stream_executor/
stream_executor_internal.cc 25 static StreamExecutorFactory instance; local
26 return &instance;
32 static StreamExecutorFactory instance; local
33 return &instance;
  /hardware/interfaces/health/2.0/utils/libhealthservice/include/health2/
service.h 20 int health_service_main(const char* instance = "");
  /bionic/tests/libs/
dlopen_check_order_reloc_nephew_answer.cpp 32 } instance; member in namespace:__anon1491
36 return &instance;
  /cts/tests/tests/networksecurityconfig/networksecurityconfig-attributes/src/android/security/net/config/cts/
TestAttributes.java 24 NetworkSecurityPolicy instance = NetworkSecurityPolicy.getInstance(); local
27 assertFalse(instance.isCleartextTrafficPermitted());
29 assertFalse(instance.isCleartextTrafficPermitted("foo.bar"));
31 assertTrue(instance.isCleartextTrafficPermitted("example.foo.bar"));
34 assertTrue(instance.isCleartextTrafficPermitted("android.com"));
35 assertTrue(instance.isCleartextTrafficPermitted("foo.android.com"));
37 assertTrue(instance.isCleartextTrafficPermitted("example.com"));
38 assertTrue(instance.isCleartextTrafficPermitted("test.example.com"));
40 assertTrue(instance.isCleartextTrafficPermitted("example.com"));
  /external/valgrind/memcheck/tests/x86/
fpeflags.c 3 struct instance struct
8 static struct instance* myInstance;
14 myInstance = malloc(sizeof(struct instance));
  /external/clang/test/CodeGenCXX/
microsoft-abi-methods.cpp 17 C instance; local
19 instance.simple_method();
30 C instance; local
31 instance.cdecl_method();
42 C instance; local
43 instance.vararg_method("Hello");
  /external/testng/src/test/java/test/pholser/
Captor.java 12 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/icu/android_icu4j/src/main/java/android/icu/impl/number/
Properties.java 21 private transient DecimalFormatProperties instance; field in class:Properties
24 return instance;
28 if (instance == null) {
29 instance = new DecimalFormatProperties();
31 instance.readObjectImpl(ois);
35 if (instance == null) {
36 instance = new DecimalFormatProperties();
38 instance.writeObjectImpl(oos);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
Properties.java 19 private transient DecimalFormatProperties instance; field in class:Properties
22 return instance;
26 if (instance == null) {
27 instance = new DecimalFormatProperties();
29 instance.readObjectImpl(ois);
33 if (instance == null) {
34 instance = new DecimalFormatProperties();
36 instance.writeObjectImpl(oos);
  /external/python/cpython3/Modules/_sha3/kcp/
KeccakHash.c 21 HashReturn Keccak_HashInitialize(Keccak_HashInstance *instance, unsigned int rate, unsigned int capacity, unsigned int hashbitlen, unsigned char delimitedSuffix)
27 result = (HashReturn)KeccakWidth1600_SpongeInitialize(&instance->sponge, rate, capacity);
30 instance->fixedOutputLength = hashbitlen;
31 instance->delimitedSuffix = delimitedSuffix;
37 HashReturn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength databitlen)
40 return (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8);
42 HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8);
49 unsigned short delimitedLastBytes = (unsigned short)((unsigned short)lastByte | ((unsigned short)instance->delimitedSuffix << (databitlen % 8)));
51 instance->delimitedSuffix = delimitedLastBytes & 0xFF;
56 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1)
    [all...]
  /art/tools/ahat/src/main/com/android/ahat/heapdump/
PathElement.java 20 * A single element along a reference path from a GC root to an instance in
34 * The instance along the reference path that this PathElement is associated
37 public final AhatInstance instance; field in class:PathElement
40 * A human readable description of which field in <code>instance</code> is
44 * <li> "mBlah" for a class instance
45 * <li> "[4]" for an array instance
52 * True if <code>instance</code> is a (not necessarily immediate) dominator
61 * @param instance the path element instance
64 public PathElement(AhatInstance instance, String field)
    [all...]
  /external/dagger2/core/src/main/java/dagger/
MembersInjector.java 33 * 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);
  /external/guice/core/src/com/google/inject/
MembersInjector.java 32 * 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);
  /external/testng/src/main/java/org/testng/internal/
DataProviderHolder.java 11 Object instance; field in class:DataProviderHolder
15 public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) {
18 this.instance = instance;
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
TimezoneGetter.java 25 private static TimezoneGetter instance; field in class:TimezoneGetter
28 * Retrieves the singleton instance of this class.
30 * @return TimezoneGetter the single instance of this class.
33 return instance;
37 * Sets the singleton instance of this class.
39 * @param instance
40 * TimezoneGetter the single instance of this class.
43 if (instance != null) {
44 throw new UnsupportedOperationException("TimezoneGetter instance already set");
46 instance = getter
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServerSocket.java 30 private ServerSocket instance = null; field in class:Support_HttpServerSocket
45 if (instance == null) {
48 instance.setSoTimeout(timeout);
49 Socket s = instance.accept();
69 instance = new ServerSocket(port);
76 if (instance != null) {
77 instance.close();
Support_HttpSocket.java 30 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
Robolectric.java 392 public static ShadowAbsListView shadowOf(AbsListView instance) {
393 return (ShadowAbsListView) shadowOf_(instance);
396 public static ShadowAbsSeekBar shadowOf(AbsSeekBar instance) {
397 return (ShadowAbsSeekBar) shadowOf_(instance);
400 public static ShadowAccountManager shadowOf(AccountManager instance) {
401 return (ShadowAccountManager) shadowOf_(instance);
404 public static ShadowActivity shadowOf(Activity instance) {
405 return (ShadowActivity) shadowOf_(instance);
408 public static ShadowActivityGroup shadowOf(ActivityGroup instance) {
409 return (ShadowActivityGroup) shadowOf_(instance);
    [all...]
RobolectricShadowOfLevel9.java 13 public static ShadowNdefMessage shadowOf(NdefMessage instance) {
14 return (ShadowNdefMessage) Robolectric.shadowOf_(instance);
17 public static ShadowNdefRecord shadowOf(NdefRecord instance) {
18 return (ShadowNdefRecord) Robolectric.shadowOf_(instance);
21 public static ShadowNfcAdapter shadowOf(NfcAdapter instance) {
22 return (ShadowNfcAdapter) Robolectric.shadowOf_(instance);
RobolectricForMaps.java 13 public static ShadowGeoPoint shadowOf(GeoPoint instance) {
14 return (ShadowGeoPoint) Robolectric.shadowOf_(instance);
17 public static ShadowMapView shadowOf(MapView instance) {
18 return (ShadowMapView) Robolectric.shadowOf_(instance);
21 public static ShadowMapController shadowOf(MapController instance) {
22 return (ShadowMapController) Robolectric.shadowOf_(instance);
25 public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) {
26 return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance);
  /libcore/metrictests/memory/host/src/libcore/heapmetrics/
Reachability.java 50 static final Reachability ofInstance(AhatInstance instance) {
51 if (instance.isRoot()) {
53 } else if (instance.isStronglyReachable()) {
55 } else if (instance.isWeaklyReachable()) {
57 } else if (instance.isUnreachable()) {
60 throw new AssertionError("Impossible reachability data for instance " + instance);
  /external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 21 private final Object instance; field in class:MockScanner
27 * @param instance The test instance
28 * @param clazz The class in the type hierarchy of this instance.
30 public MockScanner(Object instance, Class<?> clazz) {
31 this.instance = instance;
36 * Add the scanned and prepared mock instance to the given collection.
57 FieldReader fieldReader = new FieldReader(instance, field);
67 private Object preparedMock(Object instance, Field field)
    [all...]
  /external/libchrome/base/memory/
singleton.cc 11 subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance) {
22 // instance pointer must acquire visibility over the associated data.
24 value = subtle::Acquire_Load(instance);
  /packages/apps/Dialer/java/com/android/contacts/common/extensions/
PhoneDirectoryExtenderAccessor.java 25 private static PhoneDirectoryExtender instance; field in class:PhoneDirectoryExtenderAccessor
31 instance = extender;
37 if (instance != null) {
38 return instance;
43 instance = ((PhoneDirectoryExtenderFactory) application).newPhoneDirectoryExtender();
46 if (instance == null) {
47 instance = new PhoneDirectoryExtenderStub();
49 return instance;

Completed in 936 milliseconds

1 2 3 4 5 6 7 8 91011>>