Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DEraRules.java29 private int numEras; field in EraRules
32 private EraRules(int[] startDates, int numEras) { in EraRules() argument
34 this.numEras = numEras; in EraRules()
45 int numEras = erasRes.getSize(); in getInstance() local
47 int[] startDates = new int[numEras]; in getInstance()
59 if (eraIdx < 0 || eraIdx >= numEras) { in getInstance()
61 + " must be in range [0, " + (numEras - 1) + "]"); in getInstance()
128 return new EraRules(startDates, numEras); in getInstance()
136 return numEras; in getNumberOfEras()
149 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DEraRules.java31 private int numEras; field in EraRules
34 private EraRules(int[] startDates, int numEras) { in EraRules() argument
36 this.numEras = numEras; in EraRules()
47 int numEras = erasRes.getSize(); in getInstance() local
49 int[] startDates = new int[numEras]; in getInstance()
61 if (eraIdx < 0 || eraIdx >= numEras) { in getInstance()
63 + " must be in range [0, " + (numEras - 1) + "]"); in getInstance()
130 return new EraRules(startDates, numEras); in getInstance()
138 return numEras; in getNumberOfEras()
151 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Derarules.cpp102 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() argument
103 : numEras(numEras) { in EraRules()
124 int32_t numEras = ures_getSize(rb.getAlias()); in createInstance() local
127 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
132 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
146 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()
222 result = new EraRules(startDates, numEras); in createInstance()
235 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
247 if (eraIdx < 0 || eraIdx >= numEras) { in getStartYear()
267 int32_t high = numEras; // last index + 1 in getEraIndex()
[all …]
Derarules.h38 return numEras; in getNumberOfEras()
86 int32_t numEras; variable
/third_party/node/deps/icu-small/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() argument
106 : numEras(numEras) { in EraRules()
127 int32_t numEras = ures_getSize(rb.getAlias()); in createInstance() local
130 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
135 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
149 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
238 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
250 if (eraIdx < 0 || eraIdx >= numEras) { in getStartYear()
270 int32_t high = numEras; // last index + 1 in getEraIndex()
[all …]
Derarules.h44 return numEras; in getNumberOfEras()
93 int32_t numEras; variable
/third_party/icu/icu4c/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() argument
106 : numEras(numEras) { in EraRules()
127 int32_t numEras = ures_getSize(rb.getAlias()); in createInstance() local
130 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
135 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
149 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
238 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
250 if (eraIdx < 0 || eraIdx >= numEras) { in getStartYear()
270 int32_t high = numEras; // last index + 1 in getEraIndex()
[all …]
Derarules.h44 return numEras; in getNumberOfEras()
93 int32_t numEras; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Derarules.cpp105 EraRules::EraRules(LocalMemory<int32_t>& eraStartDates, int32_t numEras) in EraRules() argument
106 : numEras(numEras) { in EraRules()
127 int32_t numEras = ures_getSize(rb.getAlias()); in createInstance() local
130 LocalMemory<int32_t> startDates(static_cast<int32_t *>(uprv_malloc(numEras * sizeof(int32_t)))); in createInstance()
135 uprv_memset(startDates.getAlias(), 0 , numEras * sizeof(int32_t)); in createInstance()
149 if (eraIdx < 0 || eraIdx >= numEras) { in createInstance()
225 result = new EraRules(startDates, numEras); in createInstance()
238 if (eraIdx < 0 || eraIdx >= numEras) { in getStartDate()
250 if (eraIdx < 0 || eraIdx >= numEras) { in getStartYear()
270 int32_t high = numEras; // last index + 1 in getEraIndex()
[all …]
Derarules.h44 return numEras; in getNumberOfEras()
93 int32_t numEras; variable