Searched refs:numEras (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | EraRules.java | 29 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 …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | EraRules.java | 31 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 …]
|
/external/icu/icu4c/source/i18n/ |
D | erarules.cpp | 105 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 …]
|
D | erarules.h | 44 return numEras; in getNumberOfEras() 93 int32_t numEras; variable
|
/external/icu/libicu/cts_headers/ |
D | erarules.h | 44 return numEras; in getNumberOfEras() 93 int32_t numEras; variable
|