/external/guava/guava-tests/test/com/google/common/collect/ |
D | EmptyImmutableTableTest.java | 30 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/android/guava-tests/test/com/google/common/collect/ |
D | EmptyImmutableTableTest.java | 30 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/ |
D | BlankSpanTest.java | 32 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 …]
|
D | TracerTest.java | 51 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 …]
|
D | SpanBuilderTest.java | 52 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/ |
D | NullTypeTest.java | 59 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 …]
|
D | VoidTypeTest.java | 59 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/ |
D | extensions_data.txt | 8 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/ |
D | SmaliElementTypes.java | 38 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/ |
D | ReverseNaturalOrdering.java | 29 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()
|
D | DiscreteDomain.java | 54 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/ |
D | ReverseNaturalOrdering.java | 29 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()
|
D | DiscreteDomain.java | 54 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/ |
D | Logger.java | 11 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/ |
D | NoopTags.java | 49 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/ |
D | RecordUtils.java | 109 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/ |
D | CharacterPropertiesImpl.java | 39 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/ |
D | CharacterPropertiesImpl.java | 37 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/cldr/tools/java/org/unicode/cldr/tool/ |
D | ToolConfig.java | 14 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/ |
D | Aggregation.java | 70 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/caliper/examples/src/main/java/examples/ |
D | ListModificationBenchmark.java | 34 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/ |
D | Funnels.java | 36 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
|
/external/guava/android/guava/src/com/google/common/hash/ |
D | Funnels.java | 36 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
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | MethodDescriptorTest.java | 143 .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/auto/common/src/main/java/com/google/auto/common/ |
D | MoreTypes.java | 67 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 …]
|