Home
last modified time | relevance | path

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

12345678910>>...17

/external/guava/guava-tests/test/com/google/common/collect/
DEmptyImmutableTableTest.java30 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); field in EmptyImmutableTableTest
33 return ImmutableSet.of(INSTANCE); in getTestInstances()
37 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
45 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) in testEqualsObject()
53 .addEqualityGroup(INSTANCE) in testEqualsObjectNullValues()
59 assertEquals("{}", INSTANCE.toString()); in testToString()
63 assertEquals(0, INSTANCE.size()); in testSize()
67 assertNull(INSTANCE.get('a', 1)); in testGet()
71 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
75 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DEmptyImmutableTableTest.java29 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); field in EmptyImmutableTableTest
32 return ImmutableSet.of(INSTANCE); in getTestInstances()
36 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
44 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) in testEqualsObject()
50 assertEquals("{}", INSTANCE.toString()); in testToString()
54 assertEquals(0, INSTANCE.size()); in testSize()
58 assertNull(INSTANCE.get('a', 1)); in testGet()
62 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
66 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
70 assertEquals(ImmutableMap.of(), INSTANCE.column(1)); in testColumn()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/
DSmaliElementTypes.java38 public static final SmaliFileElementType FILE = SmaliFileElementType.INSTANCE;
39 public static final SmaliClassElementType CLASS = SmaliClassElementType.INSTANCE;
40 public static final SmaliFieldElementType FIELD = SmaliFieldElementType.INSTANCE;
41 public static final SmaliMethodElementType METHOD = SmaliMethodElementType.INSTANCE;
42 …tic final SmaliClassStatementElementType CLASS_STATEMENT = SmaliClassStatementElementType.INSTANCE;
43 … final SmaliMethodPrototypeElementType METHOD_PROTOTYPE = SmaliMethodPrototypeElementType.INSTANCE;
44 …final SmaliMethodParamListElementType METHOD_PARAM_LIST = SmaliMethodParamListElementType.INSTANCE;
45 … final SmaliMethodParameterElementType METHOD_PARAMETER = SmaliMethodParameterElementType.INSTANCE;
46 public static final SmaliAnnotationElementType ANNOTATION = SmaliAnnotationElementType.INSTANCE;
47 …ic static final SmaliModifierListElementType MODIFIER_LIST = SmaliModifierListElementType.INSTANCE;
[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()
DDiscreteDomain.java54 return IntegerDomain.INSTANCE; in integers()
59 private static final IntegerDomain INSTANCE = new IntegerDomain(); field in DiscreteDomain.IntegerDomain
84 return INSTANCE; in readResolve()
101 return LongDomain.INSTANCE; in longs()
106 private static final LongDomain INSTANCE = new LongDomain(); field in DiscreteDomain.LongDomain
138 return INSTANCE; in readResolve()
155 return BigIntegerDomain.INSTANCE; in bigIntegers()
160 private static final BigIntegerDomain INSTANCE = new BigIntegerDomain(); field in DiscreteDomain.BigIntegerDomain
180 return INSTANCE; in readResolve()
/external/clang/test/CodeGenObjCXX/
Darc-cxx11-init-list.mm23 // CHECK: [[INSTANCE:%.*]] = {{.*}} call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8…
25 // CHECK-NEXT: store i8* [[INSTANCE]], i8** [[CAST]],
30 // CHECK: [[INSTANCE:%.*]] = {{.*}} call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8…
32 // CHECK-NEXT: store i8* [[INSTANCE]], i8** [[CAST]],
43 // CHECK: [[INSTANCE:%.*]] = {{.*}} call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8…
50 // CHECK: [[INSTANCE:%.*]] = {{.*}} call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8…
51 // CHECK-NEXT: store i8* [[INSTANCE]], i8** bitcast ([1 x %0*]* @_ZGR2il_ to i8**)
/external/caliper/examples/src/main/java/examples/
DListModificationBenchmark.java34 INSTANCE, enumConstant
62 list.add(Element.INSTANCE); in setUp()
70 list.add(Element.INSTANCE); in populate()
86 list.add(0, Element.INSTANCE); in headAddRemove()
94 list.add(index, Element.INSTANCE); in middleAddRemove()
102 list.add(Element.INSTANCE); in tailAddRemove()
/external/guava/guava/src/com/google/common/hash/
DFunnels.java40 return ByteArrayFunnel.INSTANCE; in byteArrayFunnel()
44 INSTANCE; enumConstant
63 return UnencodedCharsFunnel.INSTANCE; in unencodedCharsFunnel()
67 INSTANCE; enumConstant
140 return IntegerFunnel.INSTANCE; in integerFunnel()
144 INSTANCE; enumConstant
201 return LongFunnel.INSTANCE; in longFunnel()
205 INSTANCE; enumConstant
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java155 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance()); field in Normalizer.NFDModeImpl
158 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance()); field in Normalizer.NFKDModeImpl
161 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance()); field in Normalizer.NFCModeImpl
164 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance()); field in Normalizer.NFKCModeImpl
167 private static final ModeImpl INSTANCE = new ModeImpl(Norm2AllModes.getFCDNormalizer2()); field in Normalizer.FCDModeImpl
171 private static final UnicodeSet INSTANCE = new UnicodeSet("[:age=3.2:]").freeze(); field in Normalizer.Unicode32
174 private static final ModeImpl INSTANCE = field in Normalizer.NFD32ModeImpl
176 Unicode32.INSTANCE));
179 private static final ModeImpl INSTANCE = field in Normalizer.NFKD32ModeImpl
181 Unicode32.INSTANCE));
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java154 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFDInstance()); field in Normalizer.NFDModeImpl
157 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKDInstance()); field in Normalizer.NFKDModeImpl
160 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFCInstance()); field in Normalizer.NFCModeImpl
163 private static final ModeImpl INSTANCE = new ModeImpl(Normalizer2.getNFKCInstance()); field in Normalizer.NFKCModeImpl
166 private static final ModeImpl INSTANCE = new ModeImpl(Norm2AllModes.getFCDNormalizer2()); field in Normalizer.FCDModeImpl
170 private static final UnicodeSet INSTANCE = new UnicodeSet("[:age=3.2:]").freeze(); field in Normalizer.Unicode32
173 private static final ModeImpl INSTANCE = field in Normalizer.NFD32ModeImpl
175 Unicode32.INSTANCE));
178 private static final ModeImpl INSTANCE = field in Normalizer.NFKD32ModeImpl
180 Unicode32.INSTANCE));
[all …]
/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/testng/src/test/java/test/junit/testsetup/
DTestSuiteContainerWrapper.java7 private static Data INSTANCE = null; field in TestSuiteContainerWrapper
18 return INSTANCE; in getData()
24 INSTANCE = (Data) dataImpl.newInstance(); in setUp()
31 INSTANCE = null; in tearDown()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliPositionManager.java65 Collection<SmaliClass> classes = SmaliClassNameIndex.INSTANCE.get(declaringType, in getSourcePosition()
80 throw NoDataException.INSTANCE; in getSourcePosition()
86 throw NoDataException.INSTANCE; in getSourcePosition()
96 throw NoDataException.INSTANCE; in getAllClasses()
120 throw NoDataException.INSTANCE;
129 …Collection<SmaliClass> classes = SmaliClassNameIndex.INSTANCE.get(typeName, debugProcess.getProjec…
159 throw NoDataException.INSTANCE;
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DServletScopes.java56 enum NullObject { INSTANCE } enumConstant
85 if (NullObject.INSTANCE == t) {
93 context.map.put(key, t != null ? t : NullObject.INSTANCE);
116 if (NullObject.INSTANCE == obj) {
124 request.setAttribute(name, (t != null) ? t : NullObject.INSTANCE);
155 if (NullObject.INSTANCE == obj) {
163 session.setAttribute(name, (t != null) ? t : NullObject.INSTANCE);
354 if (object == null || object == NullObject.INSTANCE) {
355 return NullObject.INSTANCE;
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java145 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
148 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
151 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
154 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
157 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
205 sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in generate()
210 … encAlgId = new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in generate()
223 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigOID), DERNull.INSTANCE); in generate()
/external/guava/guava/src/com/google/common/base/
DEquivalence.java306 return Equals.INSTANCE; in equals()
318 return Identity.INSTANCE; in identity()
324 static final Equals INSTANCE = new Equals(); field in Equivalence.Equals
334 return INSTANCE; in readResolve()
342 static final Identity INSTANCE = new Identity(); field in Equivalence.Identity
353 return INSTANCE; in readResolve()
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/
DDummyStepHandler.java50 return LazyHolder.INSTANCE; in getInstance()
89 private static final DummyStepHandler INSTANCE = new DummyStepHandler(); field in DummyStepHandler.LazyHolder
98 return LazyHolder.INSTANCE; in readResolve()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DErrorMessages.java243 return ComponentBuilderMessages.INSTANCE; in builderMsgsFor()
245 return SubcomponentBuilderMessages.INSTANCE; in builderMsgsFor()
247 return ProductionComponentBuilderMessages.INSTANCE; in builderMsgsFor()
254 static final ComponentBuilderMessages INSTANCE = new ComponentBuilderMessages(); field in ErrorMessages.ComponentBuilderMessages
364 static final SubcomponentBuilderMessages INSTANCE = new SubcomponentBuilderMessages(); field in ErrorMessages.SubcomponentBuilderMessages
381 static final ProductionComponentBuilderMessages INSTANCE = field in ErrorMessages.ProductionComponentBuilderMessages
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java2054 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
3013 return UCharacterProperty.INSTANCE.digit(ch); in digit()
3031 return UCharacterProperty.INSTANCE.getNumericValue(ch); in getNumericValue()
3052 return UCharacterProperty.INSTANCE.getUnicodeNumericValue(ch); in getUnicodeNumericValue()
3087 return UCharacterProperty.INSTANCE.getType(ch); in getType()
3458 return UCaseProps.INSTANCE.tolower(ch); in toLowerCase()
3505 return UCaseProps.INSTANCE.totitle(ch); in toTitleCase()
3527 return UCaseProps.INSTANCE.toupper(ch); in toUpperCase()
3610 return UBiDiProps.INSTANCE.getClass(ch); in getDirection()
3623 return UBiDiProps.INSTANCE.isMirrored(ch); in isMirrored()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java2414 UCharacterProperty.INSTANCE.getIntPropertyValue(ch, UProperty.BLOCK)); in of()
3575 return UCharacterProperty.INSTANCE.digit(ch); in digit()
3594 return UCharacterProperty.INSTANCE.getNumericValue(ch); in getNumericValue()
3616 return UCharacterProperty.INSTANCE.getUnicodeNumericValue(ch); in getUnicodeNumericValue()
3651 return UCharacterProperty.INSTANCE.getType(ch); in getType()
4036 return UCaseProps.INSTANCE.tolower(ch); in toLowerCase()
4085 return UCaseProps.INSTANCE.totitle(ch); in toTitleCase()
4108 return UCaseProps.INSTANCE.toupper(ch); in toUpperCase()
4196 return UBiDiProps.INSTANCE.getClass(ch); in getDirection()
4210 return UBiDiProps.INSTANCE.isMirrored(ch); in isMirrored()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplexField.java47 return LazyHolder.INSTANCE; in getInstance()
66 private static final ComplexField INSTANCE = new ComplexField(); field in ComplexField.LazyHolder
75 return LazyHolder.INSTANCE; in readResolve()
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/
DBigFractionField.java47 return LazyHolder.INSTANCE; in getInstance()
66 private static final BigFractionField INSTANCE = new BigFractionField(); field in BigFractionField.LazyHolder
75 return LazyHolder.INSTANCE; in readResolve()
DFractionField.java47 return LazyHolder.INSTANCE; in getInstance()
66 private static final FractionField INSTANCE = new FractionField(); field in FractionField.LazyHolder
75 return LazyHolder.INSTANCE; in readResolve()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DBigRealField.java47 return LazyHolder.INSTANCE; in getInstance()
66 private static final BigRealField INSTANCE = new BigRealField(); field in BigRealField.LazyHolder
75 return LazyHolder.INSTANCE; in readResolve()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFileTypeTest.java44 Assert.assertEquals(SmaliFileType.INSTANCE, file.getVirtualFile().getFileType()); in testImportSmaliClass()
45 Assert.assertEquals(SmaliFileType.INSTANCE, file.getFileType()); in testImportSmaliClass()
46 Assert.assertEquals(SmaliLanguage.INSTANCE, file.getLanguage()); in testImportSmaliClass()

12345678910>>...17