Home
last modified time | relevance | path

Searched refs:INSTANCE (Results 1 – 25 of 195) sorted by relevance

12345678

/external/guava/guava-tests/test/com/google/common/collect/
DEmptyImmutableTableTest.java27 private static final ImmutableTable<Character, Integer, String> INSTANCE = field in EmptyImmutableTableTest
32 return ImmutableSet.of(INSTANCE); in getTestInstances()
36 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
41 .addEqualityGroup(INSTANCE, HashBasedTable.create(), in testEqualsObject()
49 assertEquals("{}", INSTANCE.toString()); in testToString()
53 assertEquals(0, INSTANCE.size()); in testSize()
57 assertNull(INSTANCE.get('a', 1)); in testGet()
61 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
65 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
69 assertEquals(ImmutableMap.of(), INSTANCE.column(1)); in testColumn()
[all …]
/external/guava/guava/src/com/google/common/collect/
DReverseNaturalOrdering.java31 static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); field in ReverseNaturalOrdering
49 return NaturalOrdering.INSTANCE.max(a, b); in min()
53 return NaturalOrdering.INSTANCE.max(a, b, c, rest); in min()
57 return NaturalOrdering.INSTANCE.max(iterator); in min()
61 return NaturalOrdering.INSTANCE.max(iterable); in min()
65 return NaturalOrdering.INSTANCE.min(a, b); in max()
69 return NaturalOrdering.INSTANCE.min(a, b, c, rest); in max()
73 return NaturalOrdering.INSTANCE.min(iterator); in max()
77 return NaturalOrdering.INSTANCE.min(iterable); in max()
82 return INSTANCE; in readResolve()
DDiscreteDomains.java40 return IntegerDomain.INSTANCE; in integers()
45 private static final IntegerDomain INSTANCE = new IntegerDomain(); field in DiscreteDomains.IntegerDomain
70 return INSTANCE; in readResolve()
80 return LongDomain.INSTANCE; in longs()
85 private static final LongDomain INSTANCE = new LongDomain(); field in DiscreteDomains.LongDomain
117 return INSTANCE; in readResolve()
128 return BigIntegerDomain.INSTANCE; in bigIntegers()
133 private static final BigIntegerDomain INSTANCE = new BigIntegerDomain(); field in DiscreteDomains.BigIntegerDomain
153 return INSTANCE; in readResolve()
DNaturalOrdering.java32 static final NaturalOrdering INSTANCE = new NaturalOrdering(); field in NaturalOrdering
45 return (Ordering<S>) ReverseNaturalOrdering.INSTANCE; in reverse()
64 return INSTANCE; in readResolve()
DEmptyImmutableListMultimap.java28 static final EmptyImmutableListMultimap INSTANCE field in EmptyImmutableListMultimap
36 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableSetMultimap.java28 static final EmptyImmutableSetMultimap INSTANCE field in EmptyImmutableSetMultimap
36 return INSTANCE; // preserve singleton property in readResolve()
DUsingToStringOrdering.java27 static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering(); field in UsingToStringOrdering
35 return INSTANCE; in readResolve()
DCut.java108 return (Cut<C>) BelowAll.INSTANCE; in belowAll()
114 private static final BelowAll INSTANCE = new BelowAll(); field in Cut.BelowAll
165 return INSTANCE; in readResolve()
176 return (Cut<C>) AboveAll.INSTANCE; in aboveAll()
180 private static final AboveAll INSTANCE = new AboveAll(); field in Cut.AboveAll
223 return INSTANCE; in readResolve()
DEmptyImmutableSet.java33 static final EmptyImmutableSet INSTANCE = new EmptyImmutableSet(); field in EmptyImmutableSet
96 return INSTANCE; // preserve singleton property in readResolve()
DEmptyImmutableMap.java33 static final EmptyImmutableMap INSTANCE = new EmptyImmutableMap(); field in EmptyImmutableMap
91 return INSTANCE; // preserve singleton property in readResolve()
/external/guava/guava/src/com/google/common/base/
DEquivalences.java49 return Equals.INSTANCE; in equals()
58 return Identity.INSTANCE; in identity()
64 static final Equals INSTANCE = new Equals(); field in Equivalences.Equals
74 return INSTANCE; in readResolve()
82 static final Identity INSTANCE = new Identity(); field in Equivalences.Identity
93 return INSTANCE; in readResolve()
/external/guava/guava/src/com/google/common/hash/
DFunnels.java33 return ByteArrayFunnel.INSTANCE; in byteArrayFunnel()
37 INSTANCE; enumConstant
52 return StringFunnel.INSTANCE; in stringFunnel()
56 INSTANCE; enumConstant
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DCallbackInfo.java53 new CallbackInfo(NoOp.class, NoOpGenerator.INSTANCE),
54 new CallbackInfo(MethodInterceptor.class, MethodInterceptorGenerator.INSTANCE),
55 new CallbackInfo(InvocationHandler.class, InvocationHandlerGenerator.INSTANCE),
56 new CallbackInfo(LazyLoader.class, LazyLoaderGenerator.INSTANCE),
57 new CallbackInfo(Dispatcher.class, DispatcherGenerator.INSTANCE),
58 new CallbackInfo(FixedValue.class, FixedValueGenerator.INSTANCE),
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java133 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
136 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
139 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
142 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
145 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
193 sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in generate()
198 … encAlgId = new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in generate()
211 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigOID), DERNull.INSTANCE); in generate()
/external/chromium_org/base/android/java/src/org/chromium/base/
DPowerMonitor.java22 private static final PowerMonitor INSTANCE = new PowerMonitor(); field in PowerMonitor.LazyHolder
44 sInstance = LazyHolder.INSTANCE; in createForTests()
55 sInstance = LazyHolder.INSTANCE; in create()
/external/smack/src/org/jivesoftware/smack/util/collections/
DEmptyIterator.java45 public static final Iterator INSTANCE = RESETTABLE_INSTANCE; field in EmptyIterator
48 return INSTANCE; in getInstance()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DManifestProcessor.java26 private static final ManifestProcessor INSTANCE = new ManifestProcessor(); field in ManifestProcessor
29 return INSTANCE; in getInstance()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DMethodInfoTransformer.java22 private static final MethodInfoTransformer INSTANCE = new MethodInfoTransformer(); field in MethodInfoTransformer
25 return INSTANCE; in getInstance()
DAbstractClassGenerator.java39 private GeneratorStrategy strategy = DefaultGeneratorStrategy.INSTANCE;
40 private NamingPolicy namingPolicy = DefaultNamingPolicy.INSTANCE;
104 namingPolicy = DefaultNamingPolicy.INSTANCE;
149 strategy = DefaultGeneratorStrategy.INSTANCE;
/external/clang/test/Index/
Dcomplete-objc-message-id.m71 // RUN: c-index-test -code-completion-at=%s:46:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
72 // RUN: c-index-test -code-completion-at=%s:47:7 %s | FileCheck -check-prefix=CHECK-INSTANCE-QUAL-I…
73 // CHECK-INSTANCE-QUAL-ID: ObjCInstanceMethodDecl:{ResultType int}{TypedText P1_method1} (37)
74 // CHECK-INSTANCE-QUAL-ID: ObjCInstanceMethodDecl:{ResultType int}{TypedText P2_method1} (35)
/external/okhttp/okio/src/main/java/okio/
DSegment.java89 Segment before = SegmentPool.INSTANCE.take(); in split()
97 Segment after = SegmentPool.INSTANCE.take(); in split()
115 SegmentPool.INSTANCE.recycle(this); in compact()
DOkBuffer.java151 SegmentPool.INSTANCE.recycle(segment);
190 SegmentPool.INSTANCE.recycle(segment);
222 SegmentPool.INSTANCE.recycle(segment);
256 SegmentPool.INSTANCE.recycle(segment);
299 SegmentPool.INSTANCE.recycle(head);
355 SegmentPool.INSTANCE.recycle(toRecycle);
375 SegmentPool.INSTANCE.recycle(s);
402 SegmentPool.INSTANCE.recycle(toRecycle);
505 head = SegmentPool.INSTANCE.take(); // Acquire a first segment.
511 tail = tail.push(SegmentPool.INSTANCE.take()); // Append a new empty segment to fill up.
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java198 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
201 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
204 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
207 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
210 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
361 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest()
566 if (params != null && !DERNull.INSTANCE.equals(params)) in setSignatureParameters()
598 if (params != null && !DERNull.INSTANCE.equals(params)) in getSignatureName()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java126 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
129 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
132 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
135 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
138 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
181 return new AlgorithmIdentifier(sigOid, DERNull.INSTANCE); in getSigAlgID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java58 DERNull.INSTANCE); in engineGetEncoded()
62 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
173 DERNull.INSTANCE); in engineGetEncoded()
177 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()

12345678