/external/guava/guava-tests/test/com/google/common/base/ |
D | ObjectsTest.java | 34 assertTrue(Objects.equal(1, 1)); in testEqual() 35 assertTrue(Objects.equal(null, null)); in testEqual() 40 assertTrue(Objects.equal(s1, s2)); in testEqual() 42 assertFalse(Objects.equal(s1, null)); in testEqual() 43 assertFalse(Objects.equal(null, s1)); in testEqual() 44 assertFalse(Objects.equal("foo", "bar")); in testEqual() 45 assertFalse(Objects.equal("1", 1)); in testEqual() 49 int h1 = Objects.hashCode(1, "two", 3.0); in testHashCode() 50 int h2 = Objects.hashCode( in testHashCode() 56 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2)); in testHashCode() [all …]
|
D | ToStringHelperTest.java | 38 String toTest = Objects.toStringHelper(this).toString(); in testConstructor_instance() 43 String toTest = Objects.toStringHelper(this).toString(); in testConstructorLenient_instance() 49 String toTest = Objects.toStringHelper(new TestClass()).toString(); in testConstructor_innerClass() 54 String toTest = Objects.toStringHelper(new TestClass()).toString(); in testConstructorLenient_innerClass() 60 String toTest = Objects.toStringHelper(new Object() {}).toString(); in testConstructor_anonymousClass() 65 String toTest = Objects.toStringHelper(new Object() {}).toString(); in testConstructorLenient_anonymousClass() 71 String toTest = Objects.toStringHelper(TestClass.class).toString(); in testConstructor_classObject() 76 String toTest = Objects.toStringHelper(TestClass.class).toString(); in testConstructorLenient_classObject() 81 String toTest = Objects.toStringHelper("FooBar").toString(); in testConstructor_stringObject() 89 String toTest = Objects.toStringHelper(new LocalInnerClass()).toString(); in testToStringHelper_localInnerClass() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | ObjectsTest.java | 32 assertTrue(Objects.equal(1, 1)); in testEqual() 33 assertTrue(Objects.equal(null, null)); in testEqual() 38 assertTrue(Objects.equal(s1, s2)); in testEqual() 40 assertFalse(Objects.equal(s1, null)); in testEqual() 41 assertFalse(Objects.equal(null, s1)); in testEqual() 42 assertFalse(Objects.equal("foo", "bar")); in testEqual() 43 assertFalse(Objects.equal("1", 1)); in testEqual() 47 int h1 = Objects.hashCode(1, "two", 3.0); in testHashCode() 48 int h2 = Objects.hashCode( in testHashCode() 54 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2)); in testHashCode() [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineFrameInfo.h | 141 std::vector<StackObject> Objects; variable 291 bool hasStackObjects() const { return !Objects.empty(); } in hasStackObjects() 336 int getObjectIndexEnd() const { return (int)Objects.size()-NumFixedObjects; } in getObjectIndexEnd() 342 unsigned getNumObjects() const { return Objects.size(); } in getNumObjects() 347 Objects[ObjectIndex + NumFixedObjects].PreAllocated = true; in mapLocalFrameObject() 388 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in isObjectPreAllocated() 390 return Objects[ObjectIdx+NumFixedObjects].PreAllocated; in isObjectPreAllocated() 395 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in getObjectSize() 397 return Objects[ObjectIdx+NumFixedObjects].Size; in getObjectSize() 402 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in setObjectSize() [all …]
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | ObjectsBenchmark.java | 20 import com.google.common.base.Objects; 43 dummy += Objects.hashCode(S0, S1); in hashString_2() 51 dummy += Objects.hashCode(S0, S1, S2); in hashString_3() 59 dummy += Objects.hashCode(S0, S1, S2, S3); in hashString_4() 67 dummy += Objects.hashCode(S0, S1, S2, S3, S4); in hashString_5() 75 dummy += Objects.hashCode(I2, S1, D1, S2, I0); in hashMixed_5() 76 dummy += Objects.hashCode(D0, I1, S3, I2, S0); in hashMixed_5()
|
D | ToStringHelperBenchmark.java | 33 private static void addEntries(Objects.ToStringHelper helper) { in addEntries() 47 Objects.ToStringHelper helper = Objects.toStringHelper("klass").omitNullValues(); in toString()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletSpiVisitor.java | 19 import com.google.common.base.Objects; 128 return Objects.equal(pattern, o.pattern) in equals() 129 && Objects.equal(keyOrInstance, o.keyOrInstance) in equals() 130 && Objects.equal(params, o.params) in equals() 131 && Objects.equal(patternType, o.patternType); in equals() 139 return Objects.hashCode(pattern, keyOrInstance, params, patternType); in hashCode() 144 return Objects.toStringHelper(Params.class) in toString()
|
/external/guice/extensions/grapher/src/com/google/inject/grapher/ |
D | Edge.java | 19 import com.google.common.base.Objects; 49 return Objects.equal(fromId, other.fromId) && Objects.equal(toId, other.toId); in equals() 53 return Objects.hashCode(fromId, toId); in hashCode()
|
D | Node.java | 19 import com.google.common.base.Objects; 55 return Objects.equal(id, other.id) in equals() 56 && (ignoreSourceInComparisons || Objects.equal(source, other.source)); in equals() 60 return ignoreSourceInComparisons ? id.hashCode() : Objects.hashCode(id, source); in hashCode()
|
D | NodeId.java | 19 import com.google.common.base.Objects; 68 return Objects.hashCode(key, nodeType); in hashCode() 76 return Objects.equal(key, other.key) && Objects.equal(nodeType, other.nodeType); in equals()
|
D | InstanceNode.java | 19 import com.google.common.base.Objects; 51 return super.equals(other) && Objects.equal(instance, other.instance) in equals() 52 && Objects.equal(members, other.members); in equals() 56 return 31 * super.hashCode() + Objects.hashCode(instance, members); in hashCode()
|
D | BindingEdge.java | 19 import com.google.common.base.Objects; 56 return super.equals(other) && Objects.equal(type, other.type); in equals() 60 return 31 * super.hashCode() + Objects.hashCode(type); in hashCode()
|
D | ImplementationNode.java | 19 import com.google.common.base.Objects; 49 return super.equals(other) && Objects.equal(members, other.members); in equals() 53 return 31 * super.hashCode() + Objects.hashCode(members); in hashCode()
|
D | DependencyEdge.java | 19 import com.google.common.base.Objects; 50 return super.equals(other) && Objects.equal(injectionPoint, other.injectionPoint); in equals() 54 return 31 * super.hashCode() + Objects.hashCode(injectionPoint); in hashCode()
|
/external/guice/core/src/com/google/inject/spi/ |
D | Dependency.java | 21 import com.google.common.base.Objects; 104 return Objects.hashCode(injectionPoint, parameterIndex, key); in hashCode() 110 return Objects.equal(injectionPoint, dependency.injectionPoint) in equals() 111 && Objects.equal(parameterIndex, dependency.parameterIndex) in equals() 112 && Objects.equal(key, dependency.key); in equals()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilderSpec.java | 24 import com.google.common.base.Objects; 242 return Objects.hashCode( in hashCode() 264 return Objects.equal(initialCapacity, that.initialCapacity) in equals() 265 && Objects.equal(maximumSize, that.maximumSize) in equals() 266 && Objects.equal(maximumWeight, that.maximumWeight) in equals() 267 && Objects.equal(concurrencyLevel, that.concurrencyLevel) in equals() 268 && Objects.equal(keyStrength, that.keyStrength) in equals() 269 && Objects.equal(valueStrength, that.valueStrength) in equals() 270 && Objects.equal(recordStats, that.recordStats) in equals() 271 && Objects.equal(durationInNanos(writeExpirationDuration, writeExpirationTimeUnit), in equals() [all …]
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | ObjectTransformLayer.h | 45 ObjSetHandleT addObjectSet(ObjSetT &Objects, MemoryManagerPtrT MemMgr, in addObjectSet() argument 48 for (auto I = Objects.begin(), E = Objects.end(); I != E; ++I) in addObjectSet() 51 return BaseLayer.addObjectSet(Objects, std::move(MemMgr), in addObjectSet()
|
/external/guice/core/src/com/google/inject/util/ |
D | Providers.java | 21 import com.google.common.base.Objects; 74 && Objects.equal(instance, ((ConstantProvider<?>) obj).instance); in equals() 78 return Objects.hashCode(instance); in hashCode() 128 && Objects.equal(delegate, ((GuicifiedProvider<?>) obj).delegate); in equals() 132 return Objects.hashCode(delegate); in hashCode()
|
/external/llvm/tools/dsymutil/ |
D | BinaryHolder.h | 104 std::vector<const ObjectFileType *> Objects; variable 105 Objects.reserve((*ErrOrObjFile).size()); 110 Objects.push_back(Derived); 112 return std::move(Objects);
|
/external/guice/core/src/com/google/inject/internal/ |
D | LinkedBindingImpl.java | 19 import com.google.common.base.Objects; 71 return Objects.toStringHelper(LinkedKeyBinding.class) in toString() 85 && Objects.equal(targetKey, o.targetKey); in equals() 93 return Objects.hashCode(getKey(), getScoping(), targetKey); in hashCode()
|
D | InstanceBindingImpl.java | 19 import com.google.common.base.Objects; 92 return Objects.toStringHelper(InstanceBinding.class) in toString() 105 && Objects.equal(instance, o.instance); in equals() 113 return Objects.hashCode(getKey(), getScoping()); in hashCode()
|
D | ProviderInstanceBindingImpl.java | 19 import com.google.common.base.Objects; 101 return Objects.toStringHelper(ProviderInstanceBinding.class) in toString() 115 && Objects.equal(providerInstance, o.providerInstance); in equals() 123 return Objects.hashCode(getKey(), getScoping()); in hashCode()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ |
D | Pair.java | 13 import com.google.common.base.Objects; 49 return Objects.equal(getLeft(), other.getLeft()) in equals() 50 && Objects.equal(getRight(), other.getRight()); in equals()
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractMapEntry.java | 20 import com.google.common.base.Objects; 49 return Objects.equal(this.getKey(), that.getKey()) in equals() 50 && Objects.equal(this.getValue(), that.getValue()); in equals()
|
D | ForwardingMapEntry.java | 21 import com.google.common.base.Objects; 98 return Objects.equal(this.getKey(), that.getKey()) in standardEquals() 99 && Objects.equal(this.getValue(), that.getValue()); in standardEquals()
|