Home
last modified time | relevance | path

Searched refs:historicRules (Results 1 – 10 of 10) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DRuleBasedTimeZone.java31 private List<TimeZoneRule> historicRules; field in RuleBasedTimeZone
78 if (historicRules == null) { in addTransitionRule()
79 historicRules = new ArrayList<TimeZoneRule>(); in addTransitionRule()
81 historicRules.add(rule); in addTransitionRule()
261 if (historicRules != null && otherRBTZ.historicRules != null) { in hasSameRules()
262 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
265 for (TimeZoneRule rule : historicRules) { in hasSameRules()
267 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules()
277 } else if (historicRules != null || otherRBTZ.historicRules != null) { in hasSameRules()
291 if (historicRules != null) { in getTimeZoneRules()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DRuleBasedTimeZone.java30 private List<TimeZoneRule> historicRules; field in RuleBasedTimeZone
81 if (historicRules == null) { in addTransitionRule()
82 historicRules = new ArrayList<>(); in addTransitionRule()
84 historicRules.add(rule); in addTransitionRule()
279 if (historicRules != null && otherRBTZ.historicRules != null) { in hasSameRules()
280 if (historicRules.size() != otherRBTZ.historicRules.size()) { in hasSameRules()
283 for (TimeZoneRule rule : historicRules) { in hasSameRules()
285 for (TimeZoneRule orule : otherRBTZ.historicRules) { in hasSameRules()
295 } else if (historicRules != null || otherRBTZ.historicRules != null) { in hasSameRules()
311 if (historicRules != null) { in getTimeZoneRules()
[all …]
/third_party/icu/icu4c/source/i18n/
Dolsontz.cpp658 historicRules = NULL; in clearTransitionRules()
679 if (historicRules != NULL) { in deleteTransitionRules()
681 if (historicRules[i] != NULL) { in deleteTransitionRules()
682 delete historicRules[i]; in deleteTransitionRules()
685 uprv_free(historicRules); in deleteTransitionRules()
769 if (historicRules == NULL) { in initTransitionRules()
771historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
772 if (historicRules == NULL) { in initTransitionRules()
780 historicRules[i] = NULL; in initTransitionRules()
783historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
[all …]
Dolsontz.h400 TimeArrayTimeZoneRule **historicRules; variable
/third_party/node/deps/icu-small/source/i18n/
Dolsontz.cpp658 historicRules = nullptr; in clearTransitionRules()
679 if (historicRules != nullptr) { in deleteTransitionRules()
681 if (historicRules[i] != nullptr) { in deleteTransitionRules()
682 delete historicRules[i]; in deleteTransitionRules()
685 uprv_free(historicRules); in deleteTransitionRules()
769 if (historicRules == nullptr) { in initTransitionRules()
771historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
772 if (historicRules == nullptr) { in initTransitionRules()
780 historicRules[i] = nullptr; in initTransitionRules()
783historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
[all …]
Dolsontz.h400 TimeArrayTimeZoneRule **historicRules; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dolsontz.cpp659 historicRules = NULL; in clearTransitionRules()
680 if (historicRules != NULL) { in deleteTransitionRules()
682 if (historicRules[i] != NULL) { in deleteTransitionRules()
683 delete historicRules[i]; in deleteTransitionRules()
686 uprv_free(historicRules); in deleteTransitionRules()
770 if (historicRules == NULL) { in initTransitionRules()
772historicRules = (TimeArrayTimeZoneRule**)uprv_malloc(sizeof(TimeArrayTimeZoneRule*)*historicRuleCo… in initTransitionRules()
773 if (historicRules == NULL) { in initTransitionRules()
781 historicRules[i] = NULL; in initTransitionRules()
784historicRules[typeIdx] = new TimeArrayTimeZoneRule((dst == 0 ? stdName : dstName), in initTransitionRules()
[all …]
Dolsontz.h400 TimeArrayTimeZoneRule **historicRules; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java963 if (historicRules != null) { in getNextTransition()
978 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition()
979 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition()
1014 if (historicRules != null) { in getPreviousTransition()
1030 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition()
1031 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition()
1053 if (historicRules != null) { in getTimeZoneRules()
1056 for (int i = 0; i < historicRules.length; i++) { in getTimeZoneRules()
1057 if (historicRules[i] != null) { in getTimeZoneRules()
1074 if (historicRules != null) { in getTimeZoneRules()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DOlsonTimeZone.java965 if (historicRules != null) { in getNextTransition()
980 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx + 1])]; in getNextTransition()
981 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx])]; in getNextTransition()
1016 if (historicRules != null) { in getPreviousTransition()
1032 TimeZoneRule to = historicRules[getInt(typeMapData[ttidx])]; in getPreviousTransition()
1033 TimeZoneRule from = historicRules[getInt(typeMapData[ttidx-1])]; in getPreviousTransition()
1055 if (historicRules != null) { in getTimeZoneRules()
1058 for (int i = 0; i < historicRules.length; i++) { in getTimeZoneRules()
1059 if (historicRules[i] != null) { in getTimeZoneRules()
1076 if (historicRules != null) { in getTimeZoneRules()
[all …]