| /third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/ |
| D | hash_codes.dart | 15 /// If you only need to handle one value's hashCode, then just refer to its 16 /// [hashCode] getter directly. 24 /// int hashCode => hashValues(foo, bar, hashList(quux), baz); 46 result = 37 * result + arg01.hashCode; 48 result = 37 * result + arg02.hashCode; 51 result = 37 * result + arg03.hashCode; 54 result = 37 * result + arg04.hashCode; 57 result = 37 * result + arg05.hashCode; 60 result = 37 * result + arg06.hashCode; 63 result = 37 * result + arg07.hashCode; [all …]
|
| /third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
| D | PhonenumberTest.java | 39 assertEquals(numberA.hashCode(), numberB.hashCode()); in testEqualSimpleNumber() 51 assertEquals(numberA.hashCode(), numberB.hashCode()); in testEqualWithItalianLeadingZeroSetToDefault() 62 assertEquals(numberA.hashCode(), numberB.hashCode()); in testEqualWithCountryCodeSourceSet() 73 assertFalse(numberA.hashCode() == numberB.hashCode()); in testNonEqualWithItalianLeadingZeroSetToTrue() 88 assertFalse(numberA.hashCode() == numberB.hashCode()); in testNonEqualWithDifferingRawInput() 99 assertFalse(numberA.hashCode() == numberB.hashCode()); in testNonEqualWithPreferredDomesticCarrierCodeSetToDefault() 110 assertEquals(numberA.hashCode(), numberB.hashCode()); in testEqualWithPreferredDomesticCarrierCodeSetToDefault()
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
| D | DecimalFormatProperties.java | 314 int hashCode = 0; in _hashCode() local 315 hashCode ^= _hashCodeHelper(compactCustomData); in _hashCode() 316 hashCode ^= _hashCodeHelper(compactStyle); in _hashCode() 317 hashCode ^= _hashCodeHelper(currency); in _hashCode() 318 hashCode ^= _hashCodeHelper(currencyPluralInfo); in _hashCode() 319 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 320 hashCode ^= _hashCodeHelper(decimalPatternMatchRequired); in _hashCode() 321 hashCode ^= _hashCodeHelper(decimalSeparatorAlwaysShown); in _hashCode() 322 hashCode ^= _hashCodeHelper(exponentSignAlwaysShown); in _hashCode() 323 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode() [all …]
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
| D | DecimalFormatProperties.java | 319 int hashCode = 0; in _hashCode() local 320 hashCode ^= _hashCodeHelper(compactCustomData); in _hashCode() 321 hashCode ^= _hashCodeHelper(compactStyle); in _hashCode() 322 hashCode ^= _hashCodeHelper(currency); in _hashCode() 323 hashCode ^= _hashCodeHelper(currencyPluralInfo); in _hashCode() 324 hashCode ^= _hashCodeHelper(currencyUsage); in _hashCode() 325 hashCode ^= _hashCodeHelper(decimalPatternMatchRequired); in _hashCode() 326 hashCode ^= _hashCodeHelper(decimalSeparatorAlwaysShown); in _hashCode() 327 hashCode ^= _hashCodeHelper(exponentSignAlwaysShown); in _hashCode() 328 hashCode ^= _hashCodeHelper(formatWidth); in _hashCode() [all …]
|
| /third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
| D | LazyFieldTest.java | 46 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 48 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCode() 51 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCode() 57 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() 59 assertEquals(message.hashCode(), lazyField.hashCode()); in testHashCodeEx() 62 assertNotEqual(message.hashCode(), lazyField.hashCode()); in testHashCodeEx()
|
| D | LiteEqualsAndHashTest.java | 76 assertEquals(foo1a.hashCode(), foo1b.hashCode()); in testEquals() 118 assertFalse(o1.hashCode() == o2.hashCode()); in assertEqualsAndHashCodeAreFalse() 123 TestRecursiveOneof.getDefaultInstance().hashCode(); in testRecursiveHashcode()
|
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| D | UnknownFieldSetLite.java | 346 private static int hashCode(int[] tags, int count) { in hashCode() method in UnknownFieldSetLite 347 int hashCode = 17; in hashCode() local 349 hashCode = 31 * hashCode + tags[i]; in hashCode() 351 return hashCode; in hashCode() 354 private static int hashCode(Object[] objects, int count) { in hashCode() method in UnknownFieldSetLite 355 int hashCode = 17; in hashCode() local 357 hashCode = 31 * hashCode + objects[i].hashCode(); in hashCode() 359 return hashCode; in hashCode() 363 public int hashCode() { in hashCode() method in UnknownFieldSetLite 364 int hashCode = 17; in hashCode() local [all …]
|
| D | AbstractProtobufList.java | 87 public int hashCode() { in hashCode() method in AbstractProtobufList 89 int hashCode = 1; in hashCode() local 91 hashCode = (31 * hashCode) + get(i).hashCode(); in hashCode() 93 return hashCode; in hashCode()
|
| /third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/ |
| D | MidiPortWrapper.java | 115 public int hashCode() { in hashCode() method in MidiPortWrapper 116 int hashCode = 1; in hashCode() local 117 hashCode = 31 * hashCode + mPortIndex; in hashCode() 118 hashCode = 31 * hashCode + mType; in hashCode() 119 hashCode = 31 * hashCode + mInfo.hashCode(); in hashCode() 120 return hashCode; in hashCode()
|
| /third_party/flutter/flutter/packages/flutter/test/services/ |
| D | text_input_test.dart | 80 expect(text.hashCode == number.hashCode, false); 81 expect(number.hashCode == number2.hashCode, true); 82 expect(number.hashCode == signed.hashCode, false); 83 expect(signed.hashCode == signed2.hashCode, true); 84 expect(signed.hashCode == decimal.hashCode, false); 85 expect(signed.hashCode == signedDecimal.hashCode, false); 86 expect(decimal.hashCode == signedDecimal.hashCode, false);
|
| /third_party/icu/icu4c/source/common/ |
| D | lsr.cpp | 37 hashCode(other.hashCode) { in LSR() 41 other.hashCode = 0; in LSR() 57 hashCode = other.hashCode; in operator =() 61 other.hashCode = 0; in operator =() 105 if (hashCode == 0) { in setHashCode() 109 hashCode = h * 37 + flags; in setHashCode()
|
| /third_party/node/deps/icu-small/source/common/ |
| D | lsr.cpp | 37 hashCode(other.hashCode) { in LSR() 41 other.hashCode = 0; in LSR() 57 hashCode = other.hashCode; in operator =() 61 other.hashCode = 0; in operator =() 105 if (hashCode == 0) { in setHashCode() 109 hashCode = h * 37 + flags; in setHashCode()
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| D | lsr.cpp | 37 hashCode(other.hashCode) { in LSR() 41 other.hashCode = 0; in LSR() 57 hashCode = other.hashCode; in operator =() 61 other.hashCode = 0; in operator =() 105 if (hashCode == 0) { in setHashCode() 109 hashCode = h * 37 + flags; in setHashCode()
|
| /third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
| D | PropertiesTest.java | 131 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 135 hashCodes.add(p1.hashCode()); in testFieldCoverage() 143 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 148 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 153 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 155 hashCodes.add(p1.hashCode()); in testFieldCoverage() 160 assertEquals(p1.hashCode(), copy.hashCode()); in testFieldCoverage() 169 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 174 hashCodes.add(p3.hashCode()); in testFieldCoverage() 176 hashCodes.add(p4.hashCode()); in testFieldCoverage()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
| D | PropertiesTest.java | 134 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 138 hashCodes.add(p1.hashCode()); in testFieldCoverage() 146 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 151 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 156 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 158 hashCodes.add(p1.hashCode()); in testFieldCoverage() 163 assertEquals(p1.hashCode(), copy.hashCode()); in testFieldCoverage() 172 assertEquals(p1.hashCode(), p2.hashCode()); in testFieldCoverage() 177 hashCodes.add(p3.hashCode()); in testFieldCoverage() 179 hashCodes.add(p4.hashCode()); in testFieldCoverage()
|
| /third_party/flutter/engine/flutter/lib/web_ui/test/ |
| D | locale_test.dart | 14 expect(const Locale('en').hashCode, const Locale('en', $null).hashCode); 16 // TODO(het): This fails on web because "".hashCode == null.hashCode == 0 17 //expect(const Locale('en').hashCode, isNot(const Locale('en', '').hashCode)); 62 const Locale.fromSubtags(languageCode: 'en').hashCode, 64 .hashCode));
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
| D | MutableCodePointTrie.java | 757 int hashCode = makeHashCode(data, start); in extend() local 758 addEntry(data, null, start, hashCode, start); in extend() 770 int hashCode = makeHashCode(data, start); in extend() local 771 addEntry(null, data, start, hashCode, start); in extend() 776 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 777 int entryIndex = findEntry(data, null, blockData, null, blockStart, hashCode); in findBlock() 786 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 787 int entryIndex = findEntry(null, data, blockData, null, blockStart, hashCode); in findBlock() 796 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 797 int entryIndex = findEntry(null, data, null, blockData, blockStart, hashCode); in findBlock() [all …]
|
| D | StringTrieBuilder.java | 185 public abstract int hashCode() /*const*/; in hashCode() method in StringTrieBuilder.Node 279 public int hashCode() /*const*/ { in hashCode() method in StringTrieBuilder.ValueNode 322 public int hashCode() /*const*/ { in hashCode() method in StringTrieBuilder.IntermediateValueNode 323 return (0x222222*37+value)*37+next.hashCode(); in hashCode() 360 public int hashCode() /*const*/ { return hash; } in hashCode() method in StringTrieBuilder.LinearMatchNode 489 hash=(0x333333*37+length)*37+next.hashCode(); in setHashCode() 596 public int hashCode() /*const*/ { return hash; } in hashCode() method in StringTrieBuilder.BranchNode 626 public int hashCode() { in hashCode() method in StringTrieBuilder.ListBranchNode 627 return super.hashCode(); in hashCode() 703 hash=(hash*37+c)*37+node.hashCode(); in add() [all …]
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
| D | MutableCodePointTrie.java | 765 int hashCode = makeHashCode(data, start); in extend() local 766 addEntry(data, null, start, hashCode, start); in extend() 778 int hashCode = makeHashCode(data, start); in extend() local 779 addEntry(null, data, start, hashCode, start); in extend() 784 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 785 int entryIndex = findEntry(data, null, blockData, null, blockStart, hashCode); in findBlock() 794 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 795 int entryIndex = findEntry(null, data, blockData, null, blockStart, hashCode); in findBlock() 804 int hashCode = makeHashCode(blockData, blockStart); in findBlock() local 805 int entryIndex = findEntry(null, data, null, blockData, blockStart, hashCode); in findBlock() [all …]
|
| D | StringTrieBuilder.java | 186 public abstract int hashCode() /*const*/; in hashCode() method in StringTrieBuilder.Node 280 public int hashCode() /*const*/ { in hashCode() method in StringTrieBuilder.ValueNode 323 public int hashCode() /*const*/ { in hashCode() method in StringTrieBuilder.IntermediateValueNode 324 return (0x222222*37+value)*37+next.hashCode(); in hashCode() 361 public int hashCode() /*const*/ { return hash; } in hashCode() method in StringTrieBuilder.LinearMatchNode 490 hash=(0x333333*37+length)*37+next.hashCode(); in setHashCode() 597 public int hashCode() /*const*/ { return hash; } in hashCode() method in StringTrieBuilder.BranchNode 627 public int hashCode() { in hashCode() method in StringTrieBuilder.ListBranchNode 628 return super.hashCode(); in hashCode() 704 hash=(hash*37+c)*37+node.hashCode(); in add() [all …]
|
| /third_party/node/deps/icu-small/source/common/unicode/ |
| D | stringtriebuilder.h | 203 inline int32_t hashCode() const { return hash; } in hashCode() function 205 … static inline int32_t hashCode(const Node *node) { return node==NULL ? 0 : node->hashCode(); } in hashCode() function 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 361 hash=(hash*37u+c)*37u+hashCode(node); in add() 377 hashCode(lessThanNode))*37u+hashCode(greaterOrEqualNode)), in SplitBranchNode() 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
| /third_party/icu/icu4c/source/common/unicode/ |
| D | stringtriebuilder.h | 203 inline int32_t hashCode() const { return hash; } in hashCode() function 205 … static inline int32_t hashCode(const Node *node) { return node==NULL ? 0 : node->hashCode(); } in hashCode() function 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 361 hash=(hash*37u+c)*37u+hashCode(node); in add() 377 hashCode(lessThanNode))*37u+hashCode(greaterOrEqualNode)), in SplitBranchNode() 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
| /third_party/flutter/skia/third_party/externals/icu/source/common/unicode/ |
| D | stringtriebuilder.h | 200 inline int32_t hashCode() const { return hash; } in hashCode() function 202 … static inline int32_t hashCode(const Node *node) { return node==NULL ? 0 : node->hashCode(); } in hashCode() function 298 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 315 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 358 hash=(hash*37u+c)*37u+hashCode(node); in add() 374 hashCode(lessThanNode))*37u+hashCode(greaterOrEqualNode)), in SplitBranchNode() 390 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
| /third_party/skia/third_party/externals/icu/source/common/unicode/ |
| D | stringtriebuilder.h | 203 inline int32_t hashCode() const { return hash; } in hashCode() function 205 … static inline int32_t hashCode(const Node *node) { return node==NULL ? 0 : node->hashCode(); } in hashCode() function 301 : ValueNode(0x222222u*37u+hashCode(nextNode)), next(nextNode) { setValue(v); } in IntermediateValueNode() 318 : ValueNode((0x333333u*37u+len)*37u+hashCode(nextNode)), in LinearMatchNode() 361 hash=(hash*37u+c)*37u+hashCode(node); in add() 377 hashCode(lessThanNode))*37u+hashCode(greaterOrEqualNode)), in SplitBranchNode() 393 : ValueNode((0x666666u*37u+len)*37u+hashCode(subNode)), in BranchHeadNode()
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/ |
| D | RBBIAPITest.java | 116 if (bi1.hashCode() != bi1clone.hashCode() in TestHashCode() 117 || bi1.hashCode() != bi3.hashCode() in TestHashCode() 118 || bi1clone.hashCode() != bi3.hashCode() in TestHashCode() 119 || bi2.hashCode() != bi2clone.hashCode()) in TestHashCode() 122 if (bi1.hashCode() == bi2.hashCode() in TestHashCode() 123 || bi2.hashCode() == bi3.hashCode() in TestHashCode() 124 || bi1clone.hashCode() == bi2clone.hashCode() in TestHashCode() 125 || bi1clone.hashCode() == bi2.hashCode()) in TestHashCode()
|