/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NFRule.java | 141 NFRule rule1 = new NFRule(ownersOwner, description); in makeRules() local 142 description = rule1.ruleText; in makeRules() 154 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules() 155 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules() 156 || rule1.baseValue == INFINITY_RULE in makeRules() 157 || rule1.baseValue == NAN_RULE) in makeRules() 159 rule1.extractSubstitutions(owner, description, predecessor); in makeRules() 170 if ((rule1.baseValue > 0 in makeRules() 171 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules() 172 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NFRule.java | 140 NFRule rule1 = new NFRule(ownersOwner, description); in makeRules() local 141 description = rule1.ruleText; in makeRules() 153 || rule1.baseValue == PROPER_FRACTION_RULE in makeRules() 154 || rule1.baseValue == NEGATIVE_NUMBER_RULE in makeRules() 155 || rule1.baseValue == INFINITY_RULE in makeRules() 156 || rule1.baseValue == NAN_RULE) in makeRules() 158 rule1.extractSubstitutions(owner, description, predecessor); in makeRules() 169 if ((rule1.baseValue > 0 in makeRules() 170 && rule1.baseValue % (power(rule1.radix, rule1.exponent)) == 0) in makeRules() 171 || rule1.baseValue == IMPROPER_FRACTION_RULE in makeRules() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | zrule.cpp | 38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument 39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals() 62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument 63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo() 87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument 88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals() 113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument 114 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
|
D | nfrule.cpp | 119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() local 121 if (rule1 == 0) { in makeRules() 125 description = rule1->fRuleText; in makeRules() 137 || rule1->getType() == kProperFractionRule in makeRules() 138 || rule1->getType() == kNegativeNumberRule in makeRules() 139 || rule1->getType() == kInfinityRule in makeRules() 140 || rule1->getType() == kNaNRule) in makeRules() 142 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules() 153 if ((rule1->baseValue > 0 in makeRules() 154 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules() [all …]
|
D | zrule.h | 64 zrule_equals(const ZRule* rule1, const ZRule* rule2); 101 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2); 143 izrule_equals(const IZRule* rule1, const IZRule* rule2); 180 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
|
D | rbtz.cpp | 311 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete() local 314 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete() 329 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete() 331 final1->to = rule1; in complete() 335 final0->to = rule1; in complete() 336 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete() 337 final1->from = rule1; in complete()
|
D | rbt_set.cpp | 139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError() argument 148 rule1.toRule(r, false); in maskingError()
|
D | nfrs.cpp | 335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument 337 if (rule1) { in util_equalRules() 339 return *rule1 == *rule2; in util_equalRules()
|
/external/cronet/third_party/icu/source/i18n/ |
D | zrule.cpp | 38 zrule_equals(const ZRule* rule1, const ZRule* rule2) { in zrule_equals() argument 39 return *(const TimeZoneRule*)rule1 == *(const TimeZoneRule*)rule2; in zrule_equals() 62 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2) { in zrule_isEquivalentTo() argument 63 return ((TimeZoneRule*)rule1)->TimeZoneRule::isEquivalentTo(*(TimeZoneRule*)rule2); in zrule_isEquivalentTo() 87 izrule_equals(const IZRule* rule1, const IZRule* rule2) { in izrule_equals() argument 88 return *(const InitialTimeZoneRule*)rule1 == *(const InitialTimeZoneRule*)rule2; in izrule_equals() 113 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2) { in izrule_isEquivalentTo() argument 114 …return ((InitialTimeZoneRule*)rule1)->InitialTimeZoneRule::isEquivalentTo(*(InitialTimeZoneRule*)r… in izrule_isEquivalentTo()
|
D | nfrule.cpp | 119 NFRule* rule1 = new NFRule(rbnf, description, status); in makeRules() local 121 if (rule1 == 0) { in makeRules() 125 description = rule1->fRuleText; in makeRules() 137 || rule1->getType() == kProperFractionRule in makeRules() 138 || rule1->getType() == kNegativeNumberRule in makeRules() 139 || rule1->getType() == kInfinityRule in makeRules() 140 || rule1->getType() == kNaNRule) in makeRules() 142 rule1->extractSubstitutions(owner, description, predecessor, status); in makeRules() 153 if ((rule1->baseValue > 0 in makeRules() 154 && (rule1->baseValue % util64_pow(rule1->radix, rule1->exponent)) == 0) in makeRules() [all …]
|
D | zrule.h | 64 zrule_equals(const ZRule* rule1, const ZRule* rule2); 101 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2); 143 izrule_equals(const IZRule* rule1, const IZRule* rule2); 180 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
|
D | rbtz.cpp | 311 TimeZoneRule *rule1 = (TimeZoneRule*)fFinalRules->elementAt(1); in complete() local 314 …UBool avail1 = rule1->getNextStart(lastTransitionTime, curRule->getRawOffset(), curRule->getDSTSav… in complete() 329 … rule1->getNextStart(tt0, rule0->getRawOffset(), rule0->getDSTSavings(), false, final1->time); in complete() 331 final1->to = rule1; in complete() 335 final0->to = rule1; in complete() 336 … rule0->getNextStart(tt1, rule1->getRawOffset(), rule1->getDSTSavings(), false, final1->time); in complete() 337 final1->from = rule1; in complete()
|
D | rbt_set.cpp | 139 static void maskingError(const icu::TransliterationRule& rule1, in maskingError() argument 148 rule1.toRule(r, false); in maskingError()
|
D | nfrs.cpp | 335 util_equalRules(const NFRule* rule1, const NFRule* rule2) in util_equalRules() argument 337 if (rule1) { in util_equalRules() 339 return *rule1 == *rule2; in util_equalRules()
|
/external/icu/libicu/cts_headers/ |
D | zrule.h | 64 zrule_equals(const ZRule* rule1, const ZRule* rule2); 101 zrule_isEquivalentTo(ZRule* rule1, ZRule* rule2); 143 izrule_equals(const IZRule* rule1, const IZRule* rule2); 180 izrule_isEquivalentTo(IZRule* rule1, IZRule* rule2);
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNotificationManagerTest.java | 267 AutomaticZenRule rule1 = in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() local 281 String id1 = notificationManager.addAutomaticZenRule(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 285 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 287 assertThat(notificationManager.getAutomaticZenRules()).containsExactly(id1, rule1, id2, rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 343 AutomaticZenRule rule1 = in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() local 357 String id1 = notificationManager.addAutomaticZenRule(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 369 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 372 .containsExactly(id1, rule1, id2, updatedRule); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 408 AutomaticZenRule rule1 = in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue() local 422 String id1 = notificationManager.addAutomaticZenRule(rule1); in removeAutomaticZenRule_existingId_shouldRemoveRuleAndReturnTrue()
|
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowNotificationManagerTest.java | 373 AutomaticZenRule rule1 = in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() local 387 String id1 = notificationManager.addAutomaticZenRule(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 391 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 393 assertThat(notificationManager.getAutomaticZenRules()).containsExactly(id1, rule1, id2, rule2); in addAutomaticZenRule_twoRules_shouldAddBothRulesAndReturnDifferentIds() 449 AutomaticZenRule rule1 = in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() local 463 String id1 = notificationManager.addAutomaticZenRule(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 475 assertThat(notificationManager.getAutomaticZenRule(id1)).isEqualTo(rule1); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 478 .containsExactly(id1, rule1, id2, updatedRule); in updateAutomaticZenRule_existingId_shouldUpdateRuleAndReturnTrue() 485 AutomaticZenRule rule1 = in updateAutomaticZenRule_nullOwnerWithConfigurationActivity_updateRuleAndReturnTrue() local 503 String id1 = notificationManager.addAutomaticZenRule(rule1); in updateAutomaticZenRule_nullOwnerWithConfigurationActivity_updateRuleAndReturnTrue() [all …]
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTreeNodeStream.java | 338 Tree rule1 = nodes[2]; in testDeepTree() local 348 rules.addChild(rule1); in testDeepTree() 349 rule1.addChild(id); in testDeepTree() 350 rule1.addChild(block); in testDeepTree()
|
/external/cronet/net/base/ |
D | scheme_host_port_matcher_rule_unittest.cc | 176 SchemeHostPortMatcherHostnamePatternRule rule1("", "foo1.com", -1); in TEST() local 178 suffix_matching_rule = rule1.GenerateSuffixMatchingRule(); in TEST() 179 EXPECT_EQ("foo1.com", rule1.ToString()); in TEST() 182 rule1.Evaluate(GURL("http://www.foo1.com"))); in TEST()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cmsccoll.c | 2271 const char* rule1 = in TestBeforePrefixFailure() 2283 genericRulesStarter(rule1, test, UPRV_LENGTHOF(test)); in TestBeforePrefixFailure() 2297 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure() 2323 const char* rule1 = in TestPrefixCompose() local 2340 uStringLen = u_unescape(rule1, string, 256); in TestPrefixCompose() 3773 static const UChar rule1[]={ in TestTailor6179() local 3813 ruleLen = u_strlen(rule1); in TestTailor6179() 3814 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestTailor6179() 3879 UChar rule1[256]= {0x26, 0xb7, 0x3c, 0x61, 0}; /* & middle-dot < a */ in TestUCAPrecontext() local 3942 ruleLen = u_strlen(rule1); in TestUCAPrecontext() [all …]
|
D | capitst.c | 459 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local 493 rule1 = ucol_getRules(col1, &tempLength); in TestRuleBasedColl() 497 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl() 499 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
|
/external/cronet/third_party/icu/source/test/cintltst/ |
D | cmsccoll.c | 2271 const char* rule1 = in TestBeforePrefixFailure() 2283 genericRulesStarter(rule1, test, UPRV_LENGTHOF(test)); in TestBeforePrefixFailure() 2297 uStringLen = u_unescape(rule1, string, 256); in TestBeforePrefixFailure() 2323 const char* rule1 = in TestPrefixCompose() local 2340 uStringLen = u_unescape(rule1, string, 256); in TestPrefixCompose() 3773 static const UChar rule1[]={ in TestTailor6179() local 3813 ruleLen = u_strlen(rule1); in TestTailor6179() 3814 coll = ucol_openRules(rule1, ruleLen, UCOL_OFF, UCOL_TERTIARY, NULL,&status); in TestTailor6179() 3879 UChar rule1[256]= {0x26, 0xb7, 0x3c, 0x61, 0}; /* & middle-dot < a */ in TestUCAPrecontext() local 3942 ruleLen = u_strlen(rule1); in TestUCAPrecontext() [all …]
|
D | capitst.c | 459 const UChar *rule1, *rule2, *rule3, *rule4; in TestRuleBasedColl() local 493 rule1 = ucol_getRules(col1, &tempLength); in TestRuleBasedColl() 497 doAssert((u_strcmp(rule1, rule2) != 0), "Default collator getRules failed"); in TestRuleBasedColl() 499 doAssert((u_strcmp(rule1, rule3) != 0), "Default collator getRules failed"); in TestRuleBasedColl()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationAPITest.java | 607 String rule1 = col1.getRules(); 611 doAssert(!rule1.equals(rule2), "Default collator getRules failed"); 613 doAssert(!rule1.equals(rule3), "Default collator getRules failed");
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 604 String rule1 = col1.getRules(); 608 doAssert(!rule1.equals(rule2), "Default collator getRules failed"); 610 doAssert(!rule1.equals(rule3), "Default collator getRules failed");
|