Lines Matching refs:numEras
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()
311 int eraIdx = numEras - 1; in initCurrentEra()