/external/guava/guava-tests/test/com/google/common/base/ |
D | ObjectsTest.java | 33 assertTrue(Objects.equal(1, 1)); in testEqual() 34 assertTrue(Objects.equal(null, null)); in testEqual() 39 assertTrue(Objects.equal(s1, s2)); in testEqual() 41 assertFalse(Objects.equal(s1, null)); in testEqual() 42 assertFalse(Objects.equal(null, s1)); in testEqual() 43 assertFalse(Objects.equal("foo", "bar")); in testEqual() 44 assertFalse(Objects.equal("1", 1)); in testEqual() 48 int h1 = Objects.hashCode(1, "two", 3.0); in testHashCode() 49 int h2 = Objects.hashCode(new Integer(1), new String("two"), in testHashCode() 55 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/llvm/include/llvm/CodeGen/ |
D | MachineFrameInfo.h | 118 std::vector<StackObject> Objects; variable 238 bool hasStackObjects() const { return !Objects.empty(); } in hasStackObjects() 275 int getObjectIndexEnd() const { return (int)Objects.size()-NumFixedObjects; } in getObjectIndexEnd() 282 unsigned getNumObjects() const { return Objects.size(); } in getNumObjects() 287 Objects[ObjectIndex + NumFixedObjects].PreAllocated = true; in mapLocalFrameObject() 330 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in isObjectPreAllocated() 332 return Objects[ObjectIdx+NumFixedObjects].PreAllocated; in isObjectPreAllocated() 338 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in getObjectSize() 340 return Objects[ObjectIdx+NumFixedObjects].Size; in getObjectSize() 345 assert(unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && in setObjectSize() [all …]
|
/external/llvm/lib/VMCore/ |
D | LeakDetector.cpp | 25 static ManagedStatic<LeakDetectorImpl<void> > Objects; variable 28 Objects->clear(); in clearGarbage() 34 Objects->addGarbage(Object); in addGarbageObjectImpl() 44 Objects->removeGarbage(Object); in removeGarbageObjectImpl() 57 Objects->setName("GENERIC"); in checkForGarbageImpl() 61 if (Objects->hasGarbage(Message) | in checkForGarbageImpl()
|
/external/guava/guava/src/com/google/common/collect/ |
D | SingletonImmutableTable.java | 22 import com.google.common.base.Objects; 76 return Objects.equal(this.singleColumnKey, columnKey); in containsColumn() 80 return Objects.equal(this.singleRowKey, rowKey); in containsRow() 84 return Objects.equal(this.singleValue, value); in containsValue() 126 return Objects.equal(this.singleRowKey, thatCell.getRowKey()) && in equals() 127 Objects.equal(this.singleColumnKey, thatCell.getColumnKey()) && in equals() 128 Objects.equal(this.singleValue, thatCell.getValue()); in equals() 135 return Objects.hashCode(singleRowKey, singleColumnKey, singleValue); in hashCode()
|
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()
|
D | ByFunctionOrdering.java | 23 import com.google.common.base.Objects; 62 return Objects.hashCode(function, ordering); in hashCode()
|
D | GeneralRange.java | 28 import com.google.common.base.Objects; 226 && Objects.equal(lowerEndpoint, r.lowerEndpoint) in equals() 227 && Objects.equal(upperEndpoint, r.upperEndpoint); in equals() 234 return Objects.hashCode(comparator, lowerEndpoint, lowerBoundType, upperEndpoint, in hashCode()
|
D | GenericMapMaker.java | 24 import com.google.common.base.Objects; 146 return (RemovalListener<K, V>) Objects.firstNonNull(removalListener, NullListener.INSTANCE); in getRemovalListener()
|
D | ForwardingCollection.java | 21 import com.google.common.base.Objects; 172 if (Objects.equal(iterator.next(), object)) { in standardRemove()
|
D | AbstractBiMap.java | 24 import com.google.common.base.Objects; 106 if (containedKey && Objects.equal(value, get(key))) { in putInBothMaps() 326 if (Objects.equal(value, getValue())) { 332 checkState(Objects.equal(value, get(getKey())),
|
/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/cache/ |
D | RemovalNotification.java | 22 import com.google.common.base.Objects; 81 return Objects.equal(this.getKey(), that.getKey()) in equals() 82 && Objects.equal(this.getValue(), that.getValue()); in equals()
|
D | CacheStats.java | 23 import com.google.common.base.Objects; 240 return Objects.hashCode(hitCount, missCount, loadSuccessCount, loadExceptionCount, in hashCode() 260 return Objects.toStringHelper(this) in toString()
|
D | CacheBuilder.java | 19 import static com.google.common.base.Objects.firstNonNull; 30 import com.google.common.base.Objects; 435 return (Weigher<K1, V1>) Objects.firstNonNull(weigher, OneWeigher.INSTANCE); in getWeigher() 708 return (RemovalListener<K1, V1>) Objects.firstNonNull(removalListener, NullListener.INSTANCE); in getRemovalListener() 784 Objects.ToStringHelper s = Objects.toStringHelper(this); in toString()
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
D | EnumerationValuesPropertyEditor.java | 13 import com.google.common.base.Objects; 64 if (Objects.equal(m_values[i], value)) { in getText() 82 if (Objects.equal(m_values[i], value)) { in getValueSource()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | AbstractTableReadTest.java | 23 import com.google.common.base.Objects; 144 int expected = Objects.hashCode("foo", 1, 'a') in testHashCode() 145 + Objects.hashCode("bar", 1, 'b') in testHashCode() 146 + Objects.hashCode("foo", 3, 'c'); in testHashCode()
|
D | BstTesting.java | 24 import com.google.common.base.Objects; 53 && Objects.equal(childOrNull(LEFT), node.childOrNull(LEFT)) in equals() 54 && Objects.equal(childOrNull(RIGHT), node.childOrNull(RIGHT)); in equals() 61 return Objects.hashCode(getKey(), childOrNull(LEFT), childOrNull(RIGHT)); in hashCode()
|
D | SingletonImmutableTableTest.java | 21 import com.google.common.base.Objects; 34 assertEquals(Objects.hashCode('a', 1, "blah"), testTable.hashCode()); in testHashCode()
|
D | ArrayTableTest.java | 22 import com.google.common.base.Objects; 140 int expected = Objects.hashCode("foo", 1, 'a') in testHashCode() 141 + Objects.hashCode("bar", 1, 'b') in testHashCode() 142 + Objects.hashCode("foo", 3, 'c') in testHashCode() 143 + Objects.hashCode("bar", 3, 0); in testHashCode()
|
/external/guava/guava/src/com/google/common/net/ |
D | HostAndPort.java | 24 import com.google.common.base.Objects; 234 return Objects.equal(this.host, that.host) in equals() 243 return Objects.hashCode(host, port, hasBracketlessColons); in hashCode()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | EqualsTester.java | 25 import com.google.common.base.Objects; 111 assertTrue("$ITEM must be unequal to $UNRELATED", !Objects.equal(item, unrelated)); in testEquals()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractBiMap.java | 23 import com.google.common.base.Objects; 102 if (containedKey && Objects.equal(value, get(key))) { in putInBothMaps() 322 if (Objects.equal(value, getValue())) { 328 checkState(Objects.equal(value, get(getKey())),
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderFactory.java | 18 import com.google.common.base.Objects; 197 return Objects.hashCode(duration, unit); 211 return Objects.toStringHelper(this)
|