Home
last modified time | relevance | path

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

12345678910>>...31

/external/guava/android/guava-tests/test/com/google/common/collect/
DEmptyImmutableTableTest.java30 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); field in EmptyImmutableTableTest
34 return ImmutableSet.of(INSTANCE); in getTestInstances()
38 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
46 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) in testEqualsObject()
54 .addEqualityGroup(INSTANCE) in testEqualsObjectNullValues()
60 assertEquals("{}", INSTANCE.toString()); in testToString()
64 assertEquals(0, INSTANCE.size()); in testSize()
68 assertNull(INSTANCE.get('a', 1)); in testGet()
72 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
76 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DEmptyImmutableTableTest.java30 private static final ImmutableTable<Character, Integer, String> INSTANCE = ImmutableTable.of(); field in EmptyImmutableTableTest
34 return ImmutableSet.of(INSTANCE); in getTestInstances()
38 assertEquals(0, INSTANCE.hashCode()); in testHashCode()
46 .addEqualityGroup(INSTANCE, HashBasedTable.create(), TreeBasedTable.create()) in testEqualsObject()
54 .addEqualityGroup(INSTANCE) in testEqualsObjectNullValues()
60 assertEquals("{}", INSTANCE.toString()); in testToString()
64 assertEquals(0, INSTANCE.size()); in testSize()
68 assertNull(INSTANCE.get('a', 1)); in testGet()
72 assertTrue(INSTANCE.isEmpty()); in testIsEmpty()
76 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); in testCellSet()
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DBlankSpanTest.java32 assertThat(BlankSpan.INSTANCE.getContext()).isEqualTo(SpanContext.INVALID); in hasInvalidContextAndDefaultSpanOptions()
33 assertThat(BlankSpan.INSTANCE.getOptions().isEmpty()).isTrue(); in hasInvalidContextAndDefaultSpanOptions()
47 BlankSpan.INSTANCE.putAttribute( in doNotCrash()
49 BlankSpan.INSTANCE.addAttributes(attributes); in doNotCrash()
50 BlankSpan.INSTANCE.addAttributes(multipleAttributes); in doNotCrash()
51 BlankSpan.INSTANCE.addAnnotation("MyAnnotation"); in doNotCrash()
52 BlankSpan.INSTANCE.addAnnotation("MyAnnotation", attributes); in doNotCrash()
53 BlankSpan.INSTANCE.addAnnotation("MyAnnotation", multipleAttributes); in doNotCrash()
54 BlankSpan.INSTANCE.addAnnotation(Annotation.fromDescription("MyAnnotation")); in doNotCrash()
55 BlankSpan.INSTANCE.addNetworkEvent(NetworkEvent.builder(NetworkEvent.Type.SENT, 1L).build()); in doNotCrash()
[all …]
DTracerTest.java51 assertThat(noopTracer.getCurrentSpan()).isEqualTo(BlankSpan.INSTANCE); in defaultGetCurrentSpan()
61 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in getCurrentSpan_WithSpan()
68 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in getCurrentSpan_WithSpan()
74 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapRunnable()
87 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapRunnable()
94 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapCallable()
108 assertThat(noopTracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in wrapCallable()
118 assertThat(noopTracer.spanBuilder(SPAN_NAME).startSpan()).isSameAs(BlankSpan.INSTANCE); in defaultSpanBuilderWithName()
129 .isSameAs(BlankSpan.INSTANCE); in defaultSpanBuilderWithParentAndName()
140 .isSameAs(BlankSpan.INSTANCE); in defaultSpanBuilderWithRemoteParent_NullParent()
[all …]
DSpanBuilderTest.java52 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startScopedSpan()
60 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startScopedSpan()
65 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startSpanAndRun()
74 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startSpanAndRun()
80 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startSpanAndCall()
92 assertThat(tracer.getCurrentSpan()).isSameAs(BlankSpan.INSTANCE); in startSpanAndCall()
102 assertThat(spanBuilder.startSpan()).isSameAs(BlankSpan.INSTANCE); in doNotCrash_NoopImplementation()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/
DNullTypeTest.java59 assertEquals(false, NullType.INSTANCE.isArray()); in testIsArray()
64 assertEquals(false, NullType.INSTANCE.isPrimitive()); in testIsPrimitive()
69 assertEquals(true, NullType.INSTANCE.isNull()); in testIsNull()
74 assertEquals(true, NullType.INSTANCE.isReference()); in testIsReference()
79 assertEquals(false, NullType.INSTANCE.isReferenceType()); in testIsReferenceType()
84 assertEquals(false, NullType.INSTANCE.isVoid()); in testIsVoid()
89 assertEquals(false, NullType.INSTANCE.isTypeVariable()); in testIsTypeVariable()
94 … assertThrows(UnsupportedOperationException.class, () -> NullType.INSTANCE.asReferenceType()); in testAsReferenceTypeUsage()
99 … assertThrows(UnsupportedOperationException.class, () -> NullType.INSTANCE.asTypeParameter()); in testAsTypeParameter()
104 assertThrows(UnsupportedOperationException.class, () -> NullType.INSTANCE.asArrayType()); in testAsArrayTypeUsage()
[all …]
DVoidTypeTest.java59 assertEquals(false, ResolvedVoidType.INSTANCE.isArray()); in testIsArray()
64 assertEquals(false, ResolvedVoidType.INSTANCE.isPrimitive()); in testIsPrimitive()
69 assertEquals(false, ResolvedVoidType.INSTANCE.isNull()); in testIsNull()
74 assertEquals(false, ResolvedVoidType.INSTANCE.isReference()); in testIsReference()
79 assertEquals(false, ResolvedVoidType.INSTANCE.isReferenceType()); in testIsReferenceType()
84 assertEquals(true, ResolvedVoidType.INSTANCE.isVoid()); in testIsVoid()
89 assertEquals(false, ResolvedVoidType.INSTANCE.isTypeVariable()); in testIsTypeVariable()
94 …assertThrows(UnsupportedOperationException.class, () -> ResolvedVoidType.INSTANCE.asReferenceType(… in testAsReferenceTypeUsage()
99 …assertThrows(UnsupportedOperationException.class, () -> ResolvedVoidType.INSTANCE.asTypeParameter(… in testAsTypeParameter()
104 … assertThrows(UnsupportedOperationException.class, () -> ResolvedVoidType.INSTANCE.asArrayType()); in testAsArrayTypeUsage()
[all …]
/external/deqp/external/vulkancts/scripts/src/
Dextensions_data.txt8 VK_KHR_surface INSTANCE
9 VK_KHR_display INSTANCE
10 VK_KHR_xlib_surface INSTANCE
11 VK_KHR_xcb_surface INSTANCE
12 VK_KHR_wayland_surface INSTANCE
13 VK_KHR_mir_surface INSTANCE
14 VK_KHR_android_surface INSTANCE
15 VK_KHR_win32_surface INSTANCE
16 VK_KHR_get_physical_device_properties2 INSTANCE 1_1_0
17 VK_KHR_device_group_creation INSTANCE 1_1_0
[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/android/guava/src/com/google/common/collect/
DReverseNaturalOrdering.java29 static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); field in ReverseNaturalOrdering
50 return NaturalOrdering.INSTANCE.max(a, b); in min()
55 return NaturalOrdering.INSTANCE.max(a, b, c, rest); in min()
60 return NaturalOrdering.INSTANCE.max(iterator); in min()
65 return NaturalOrdering.INSTANCE.max(iterable); in min()
70 return NaturalOrdering.INSTANCE.min(a, b); in max()
75 return NaturalOrdering.INSTANCE.min(a, b, c, rest); in max()
80 return NaturalOrdering.INSTANCE.min(iterator); in max()
85 return NaturalOrdering.INSTANCE.min(iterable); in max()
90 return INSTANCE; in readResolve()
DDiscreteDomain.java54 return IntegerDomain.INSTANCE; in integers()
58 private static final IntegerDomain INSTANCE = new IntegerDomain(); field in DiscreteDomain.IntegerDomain
98 return INSTANCE; in readResolve()
115 return LongDomain.INSTANCE; in longs()
119 private static final LongDomain INSTANCE = new LongDomain(); field in DiscreteDomain.LongDomain
170 return INSTANCE;
187 return BigIntegerDomain.INSTANCE;
192 private static final BigIntegerDomain INSTANCE = new BigIntegerDomain();
223 return INSTANCE;
/external/guava/guava/src/com/google/common/collect/
DReverseNaturalOrdering.java29 static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); field in ReverseNaturalOrdering
50 return NaturalOrdering.INSTANCE.max(a, b); in min()
55 return NaturalOrdering.INSTANCE.max(a, b, c, rest); in min()
60 return NaturalOrdering.INSTANCE.max(iterator); in min()
65 return NaturalOrdering.INSTANCE.max(iterable); in min()
70 return NaturalOrdering.INSTANCE.min(a, b); in max()
75 return NaturalOrdering.INSTANCE.min(a, b, c, rest); in max()
80 return NaturalOrdering.INSTANCE.min(iterator); in max()
85 return NaturalOrdering.INSTANCE.min(iterable); in max()
90 return INSTANCE; in readResolve()
DDiscreteDomain.java54 return IntegerDomain.INSTANCE; in integers()
58 private static final IntegerDomain INSTANCE = new IntegerDomain(); field in DiscreteDomain.IntegerDomain
98 return INSTANCE; in readResolve()
115 return LongDomain.INSTANCE; in longs()
119 private static final LongDomain INSTANCE = new LongDomain(); field in DiscreteDomain.LongDomain
170 return INSTANCE;
187 return BigIntegerDomain.INSTANCE;
192 private static final BigIntegerDomain INSTANCE = new BigIntegerDomain();
223 return INSTANCE;
/external/lottie/lottie/src/main/java/com/airbnb/lottie/utils/
DLogger.java11 private static LottieLogger INSTANCE = new LogcatLogger(); field in Logger
14 Logger.INSTANCE = instance; in setInstance()
18 INSTANCE.debug(message); in debug()
22 INSTANCE.debug(message, exception); in debug()
26 INSTANCE.warning(message); in warning()
30 INSTANCE.warning(message, exception); in warning()
34 INSTANCE.error(message, exception); in error()
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DNoopTags.java49 return NoopTagger.INSTANCE; in getNoopTagger()
58 return NoopTagContextBuilder.INSTANCE; in getNoopTagContextBuilder()
67 return NoopTagContext.INSTANCE; in getNoopTagContext()
72 return NoopTagPropagationComponent.INSTANCE; in getNoopTagPropagationComponent()
80 return NoopTagContextBinarySerializer.INSTANCE; in getNoopTagContextBinarySerializer()
113 static final Tagger INSTANCE = new NoopTagger(); field in NoopTags.NoopTagger
150 static final TagContextBuilder INSTANCE = new NoopTagContextBuilder(); field in NoopTags.NoopTagContextBuilder
178 static final TagContext INSTANCE = new NoopTagContext(); field in NoopTags.NoopTagContext
189 static final TagPropagationComponent INSTANCE = new NoopTagPropagationComponent(); field in NoopTags.NoopTagPropagationComponent
199 static final TagContextBinarySerializer INSTANCE = new NoopTagContextBinarySerializer(); field in NoopTags.NoopTagContextBinarySerializer
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DRecordUtils.java109 CreateMutableSumDouble.INSTANCE, in createMutableAggregation()
110 CreateMutableSumLong.INSTANCE, in createMutableAggregation()
114 CreateMutableCount.INSTANCE, in createMutableAggregation()
115 CreateMutableDistribution.INSTANCE, in createMutableAggregation()
120 CreateMutableLastValueDouble.INSTANCE, in createMutableAggregation()
121 CreateMutableLastValueLong.INSTANCE, in createMutableAggregation()
125 AggregationDefaultFunction.INSTANCE); in createMutableAggregation()
172 private static final CreateMutableSumDouble INSTANCE = new CreateMutableSumDouble();
182 private static final CreateMutableSumLong INSTANCE = new CreateMutableSumLong();
191 private static final CreateMutableCount INSTANCE = new CreateMutableCount();
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterPropertiesImpl.java39 UCharacterProperty.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
42 UCharacterProperty.INSTANCE.upropsvec_addPropertyStarts(incl); in getInclusionsForSource()
45 UCharacterProperty.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
46 UCharacterProperty.INSTANCE.upropsvec_addPropertyStarts(incl); in getInclusionsForSource()
50 UCaseProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
65 UCaseProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
68 UBiDiProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
92 int src = UCharacterProperty.INSTANCE.getSource(prop); in getIntPropInclusions()
121 int src = UCharacterProperty.INSTANCE.getSource(prop); in getInclusionsForProperty()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterPropertiesImpl.java37 UCharacterProperty.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
40 UCharacterProperty.INSTANCE.upropsvec_addPropertyStarts(incl); in getInclusionsForSource()
43 UCharacterProperty.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
44 UCharacterProperty.INSTANCE.upropsvec_addPropertyStarts(incl); in getInclusionsForSource()
48 UCaseProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
63 UCaseProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
66 UBiDiProps.INSTANCE.addPropertyStarts(incl); in getInclusionsForSource()
90 int src = UCharacterProperty.INSTANCE.getSource(prop); in getIntPropInclusions()
119 int src = UCharacterProperty.INSTANCE.getSource(prop); in getInclusionsForProperty()
/external/dokka/core/libs/
Dkotlinx-html-jvm-0.6.8-google.jarMETA-INF/MANIFEST.MF META-INF/ kotlinx/ kotlinx/html/ kotlinx/ ...
/external/cldr/tools/java/org/unicode/cldr/tool/
DToolConfig.java14 private static CLDRConfig INSTANCE = null; field in ToolConfig
17 if (INSTANCE == null) { in getToolInstance()
18 INSTANCE = CLDRConfig.getInstance(); in getToolInstance()
19 …if (INSTANCE.getEnvironment() != Environment.LOCAL) { // verify we aren't in the server, unittests… in getToolInstance()
23 return INSTANCE; in getToolInstance()
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DAggregation.java70 private static final Sum INSTANCE = new AutoValue_Aggregation_Sum(); field in Aggregation.Sum
79 return INSTANCE; in create()
104 private static final Count INSTANCE = new AutoValue_Aggregation_Count(); field in Aggregation.Count
113 return INSTANCE; in create()
141 private static final Mean INSTANCE = new AutoValue_Aggregation_Mean(); field in Aggregation.Mean
150 return INSTANCE; in create()
217 private static final LastValue INSTANCE = new AutoValue_Aggregation_LastValue(); field in Aggregation.LastValue
226 return INSTANCE; in create()
/external/auto/common/src/main/java/com/google/auto/common/
DMoreTypes.java67 private static final TypeEquivalence INSTANCE = new TypeEquivalence(); field in MoreTypes.TypeEquivalence
96 return TypeEquivalence.INSTANCE; in equivalence()
166 private static final EqualVisitor INSTANCE = new EqualVisitor(); field in MoreTypes.EqualVisitor
311 return (a == b) || (a != null && b != null && a.accept(EqualVisitor.INSTANCE, p)); in equal()
356 private static final HashVisitor INSTANCE = new HashVisitor(); field in MoreTypes.HashVisitor
448 return mirror == null ? 0 : mirror.accept(HashVisitor.INSTANCE, visiting); in hash()
458 type.accept(ReferencedTypes.INSTANCE, elements); in referencedTypes()
464 private static final ReferencedTypes INSTANCE = new ReferencedTypes(); field in MoreTypes.ReferencedTypes
512 return typeMirror.accept(AsElementVisitor.INSTANCE, null); in asElement()
516 private static final AsElementVisitor INSTANCE = new AsElementVisitor(); field in MoreTypes.AsElementVisitor
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DMethodDescriptorTest.java143 .setRequestMarshaller(StringMarshaller.INSTANCE) in toBuilderTest()
144 .setResponseMarshaller(StringMarshaller.INSTANCE) in toBuilderTest()
155 .setRequestMarshaller(StringMarshaller.INSTANCE) in toBuilderTest()
156 .setResponseMarshaller(StringMarshaller.INSTANCE) in toBuilderTest()
165 IntegerMarshaller.INSTANCE, in toBuilderTest()
166 IntegerMarshaller.INSTANCE).build(); in toBuilderTest()
169 assertSame(IntegerMarshaller.INSTANCE, md2.getRequestMarshaller()); in toBuilderTest()
170 assertSame(IntegerMarshaller.INSTANCE, md2.getResponseMarshaller()); in toBuilderTest()
182 .setRequestMarshaller(StringMarshaller.INSTANCE) in toStringTest()
183 .setResponseMarshaller(StringMarshaller.INSTANCE) in toStringTest()
/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/android/guava/src/com/google/common/hash/
DFunnels.java36 return ByteArrayFunnel.INSTANCE; in byteArrayFunnel()
40 INSTANCE; enumConstant
61 return UnencodedCharsFunnel.INSTANCE; in unencodedCharsFunnel()
65 INSTANCE; enumConstant
144 return IntegerFunnel.INSTANCE; in integerFunnel()
148 INSTANCE; enumConstant
211 return LongFunnel.INSTANCE; in longFunnel()
215 INSTANCE; enumConstant

12345678910>>...31