/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | DayPeriodRules.java | 36 if ("midnight".contentEquals(str)) { return MIDNIGHT; } in fromStringOrNull() 37 if ("noon".contentEquals(str)) { return NOON; } in fromStringOrNull() 38 if ("morning1".contentEquals(str)) { return MORNING1; } in fromStringOrNull() 39 if ("afternoon1".contentEquals(str)) { return AFTERNOON1; } in fromStringOrNull() 40 if ("evening1".contentEquals(str)) { return EVENING1; } in fromStringOrNull() 41 if ("night1".contentEquals(str)) { return NIGHT1; } in fromStringOrNull() 42 if ("morning2".contentEquals(str)) { return MORNING2; } in fromStringOrNull() 43 if ("afternoon2".contentEquals(str)) { return AFTERNOON2; } in fromStringOrNull() 44 if ("evening2".contentEquals(str)) { return EVENING2; } in fromStringOrNull() 45 if ("night2".contentEquals(str)) { return NIGHT2; } in fromStringOrNull() [all …]
|
D | StandardPlural.java | 73 if ("=0".contentEquals(keyword)) { in orNullFromString() 75 } else if ("=1".contentEquals(keyword)) { in orNullFromString() 80 if ("one".contentEquals(keyword)) { in orNullFromString() 82 } else if ("two".contentEquals(keyword)) { in orNullFromString() 84 } else if ("few".contentEquals(keyword)) { in orNullFromString() 89 if ("many".contentEquals(keyword)) { in orNullFromString() 91 } else if ("zero".contentEquals(keyword)) { in orNullFromString() 96 if ("other".contentEquals(keyword)) { in orNullFromString()
|
D | StaticUnicodeSets.java | 184 if (key.contentEquals("date")) { in put() 187 assert key.contentEquals("general") || key.contentEquals("number"); in put() 190 boolean isLenient = key.contentEquals("lenient"); in put()
|
D | StringSegment.java | 210 public boolean contentEquals(CharSequence other) {
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | DayPeriodRules.java | 43 if ("midnight".contentEquals(str)) { return MIDNIGHT; } in fromStringOrNull() 44 if ("noon".contentEquals(str)) { return NOON; } in fromStringOrNull() 45 if ("morning1".contentEquals(str)) { return MORNING1; } in fromStringOrNull() 46 if ("afternoon1".contentEquals(str)) { return AFTERNOON1; } in fromStringOrNull() 47 if ("evening1".contentEquals(str)) { return EVENING1; } in fromStringOrNull() 48 if ("night1".contentEquals(str)) { return NIGHT1; } in fromStringOrNull() 49 if ("morning2".contentEquals(str)) { return MORNING2; } in fromStringOrNull() 50 if ("afternoon2".contentEquals(str)) { return AFTERNOON2; } in fromStringOrNull() 51 if ("evening2".contentEquals(str)) { return EVENING2; } in fromStringOrNull() 52 if ("night2".contentEquals(str)) { return NIGHT2; } in fromStringOrNull() [all …]
|
D | StandardPlural.java | 66 if ("one".contentEquals(keyword)) { in orNullFromString() 68 } else if ("two".contentEquals(keyword)) { in orNullFromString() 70 } else if ("few".contentEquals(keyword)) { in orNullFromString() 75 if ("many".contentEquals(keyword)) { in orNullFromString() 77 } else if ("zero".contentEquals(keyword)) { in orNullFromString() 82 if ("other".contentEquals(keyword)) { in orNullFromString()
|
D | ICUCurrencyDisplayInfoProvider.java | 419 if (key.contentEquals("Currencies")) { in consumeTopTable() 421 } else if (key.contentEquals("Currencies%variant")) { in consumeTopTable() 423 } else if (key.contentEquals("CurrencyPlurals")) { in consumeTopTable() 592 if (key.contentEquals("beforeCurrency")) { in consumeCurrencySpacingTable() 595 } else if (key.contentEquals("afterCurrency")) { in consumeCurrencySpacingTable() 605 if (key.contentEquals("currencyMatch")) { in consumeCurrencySpacingTable() 607 } else if (key.contentEquals("surroundingMatch")) { in consumeCurrencySpacingTable() 609 } else if (key.contentEquals("insertBetween")) { in consumeCurrencySpacingTable()
|
D | StaticUnicodeSets.java | 191 if (key.contentEquals("date")) { in put() 194 assert key.contentEquals("general") || key.contentEquals("number"); in put() 197 boolean isLenient = key.contentEquals("lenient"); in put()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | RelativeDateTimeFormatter.java | 1076 if (key.contentEquals("-2")) { in keyToDirection() 1079 if (key.contentEquals("-1")) { in keyToDirection() 1082 if (key.contentEquals("0")) { in keyToDirection() 1085 if (key.contentEquals("1")) { in keyToDirection() 1088 if (key.contentEquals("2")) { in keyToDirection() 1132 if ("day".contentEquals(keyword)) { in orNullFromString() 1134 } else if ("sun".contentEquals(keyword)) { in orNullFromString() 1136 } else if ("mon".contentEquals(keyword)) { in orNullFromString() 1138 } else if ("tue".contentEquals(keyword)) { in orNullFromString() 1140 } else if ("wed".contentEquals(keyword)) { in orNullFromString() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RelativeDateTimeFormatter.java | 1166 if (key.contentEquals("-2")) { in keyToDirection() 1169 if (key.contentEquals("-1")) { in keyToDirection() 1172 if (key.contentEquals("0")) { in keyToDirection() 1175 if (key.contentEquals("1")) { in keyToDirection() 1178 if (key.contentEquals("2")) { in keyToDirection() 1222 if ("day".contentEquals(keyword)) { in orNullFromString() 1224 } else if ("sun".contentEquals(keyword)) { in orNullFromString() 1226 } else if ("mon".contentEquals(keyword)) { in orNullFromString() 1228 } else if ("tue".contentEquals(keyword)) { in orNullFromString() 1230 } else if ("wed".contentEquals(keyword)) { in orNullFromString() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
D | StringSegmentTest.java | 52 assertTrue(segment.contentEquals(SAMPLE_STRING)); in testCharAt() 55 assertTrue(segment.contentEquals("radio ")); in testCharAt() 56 assertFalse(segment.contentEquals(SAMPLE_STRING)); in testCharAt() 59 assertTrue(segment.contentEquals("radio")); in testCharAt() 60 assertFalse(segment.contentEquals(SAMPLE_STRING)); in testCharAt()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 161 assertTrue(sb1.contentEquals(sb2)); in testCopy() 165 assertFalse(sb1.contentEquals(sb2)); in testCopy() 223 assertTrue(sb.contentEquals(sb2)); in testFields() 224 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields() 227 assertTrue(!sb.contentEquals(sb2)); in testFields() 228 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedStringBuilderTest.java | 158 assertTrue(sb1.contentEquals(sb2)); in testCopy() 162 assertFalse(sb1.contentEquals(sb2)); in testCopy() 220 assertTrue(sb.contentEquals(sb2)); in testFields() 221 assertTrue(sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields() 224 assertTrue(!sb.contentEquals(sb2)); in testFields() 225 assertTrue(!sb.contentEquals(sb2.toCharArray(), sb2.toFieldArray())); in testFields()
|
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyDisplayInfoProvider.java | 415 if (key.contentEquals("Currencies")) { in consumeTopTable() 417 } else if (key.contentEquals("Currencies%variant")) { in consumeTopTable() 419 } else if (key.contentEquals("CurrencyPlurals")) { in consumeTopTable() 588 if (key.contentEquals("beforeCurrency")) { in consumeCurrencySpacingTable() 591 } else if (key.contentEquals("afterCurrency")) { in consumeCurrencySpacingTable() 601 if (key.contentEquals("currencyMatch")) { in consumeCurrencySpacingTable() 603 } else if (key.contentEquals("surroundingMatch")) { in consumeCurrencySpacingTable() 605 } else if (key.contentEquals("insertBetween")) { in consumeCurrencySpacingTable()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | BytesTrieTest.java | 305 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes() 314 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 321 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 328 if(count!=1 || !"a".contentEquals(buffer)) { in Test41GetNextBytes() 334 if(count!=1 || !"r".contentEquals(buffer)) { in Test41GetNextBytes() 832 if(!data[i].s.contentEquals(bytesString)) { in checkIterator()
|
D | CharsTrieTest.java | 434 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextChars() 443 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextChars() 450 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextChars() 457 if(count!=1 || !"a".contentEquals(buffer)) { in Test41GetNextChars() 463 if(count!=1 || !"r".contentEquals(buffer)) { in Test41GetNextChars() 975 if(!expectedString.contentEquals(entry.chars)) { in checkIterator()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | BytesTrieTest.java | 303 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextBytes() 312 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 319 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextBytes() 326 if(count!=1 || !"a".contentEquals(buffer)) { in Test41GetNextBytes() 332 if(count!=1 || !"r".contentEquals(buffer)) { in Test41GetNextBytes() 866 if(!data[i].s.contentEquals(bytesString)) { in checkIterator()
|
D | CharsTrieTest.java | 431 if(count!=2 || !"aj".contentEquals(buffer)) { in Test41GetNextChars() 440 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextChars() 447 if(count!=20 || !".abcdefghijklmnopqru".contentEquals(buffer)) { in Test41GetNextChars() 454 if(count!=1 || !"a".contentEquals(buffer)) { in Test41GetNextChars() 460 if(count!=1 || !"r".contentEquals(buffer)) { in Test41GetNextChars() 972 if(!expectedString.contentEquals(entry.chars)) { in checkIterator()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 112 assertTrue(nsb1 + " vs. " + nsb2, nsb1.contentEquals(nsb2)); in mutableEqualsImmutable() 113 assertFalse(nsb1 + " vs. " + nsb3, nsb1.contentEquals(nsb3)); in mutableEqualsImmutable()
|
D | NumberRangeFormatterTest.java | 786 if (!key.contentEquals("miscPatterns")) { in put() 791 if (key.contentEquals("range") && !rangePatterns.containsKey(nsName)) { in put() 794 … if (key.contentEquals("approximately") && !approxPatterns.containsKey(nsName)) { in put()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | MutablePatternModifierTest.java | 114 assertTrue(nsb1 + " vs. " + nsb2, nsb1.contentEquals(nsb2)); in mutableEqualsImmutable() 115 assertFalse(nsb1 + " vs. " + nsb3, nsb1.contentEquals(nsb3)); in mutableEqualsImmutable()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numbertest_patternmodifier.cpp | 194 assertTrue(nsb1.toUnicodeString() + " vs " + nsb2.toUnicodeString(), nsb1.contentEquals(nsb2)); in testMutableEqualsImmutable() 195 assertFalse(nsb1.toUnicodeString() + " vs " + nsb3.toUnicodeString(), nsb1.contentEquals(nsb3)); in testMutableEqualsImmutable()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | FormattedNumberRange.java | 188 return string.contentEquals(_other.string) in equals()
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 513 if((!nfdPrefix.contentEquals(prefix) || !nfdString.contentEquals(str)) && in addRelation() 875 if(ignoreString(str) || str.contentEquals(nfdString)) { continue; } 885 boolean samePrefix = prefix.contentEquals(nfdPrefix); 889 … if(ignoreString(str) || (samePrefix && str.contentEquals(nfdString))) { continue; }
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
D | CollationBuilder.java | 517 if((!nfdPrefix.contentEquals(prefix) || !nfdString.contentEquals(str)) && in addRelation() 879 if(ignoreString(str) || str.contentEquals(nfdString)) { continue; } 889 boolean samePrefix = prefix.contentEquals(nfdPrefix); 893 … if(ignoreString(str) || (samePrefix && str.contentEquals(nfdString))) { continue; }
|