Home
last modified time | relevance | path

Searched refs:nPeriods (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicPeriodBuilderFactory.java492 private int nPeriods;
494 MultiUnitBuilder(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
496 this.nPeriods = nPeriods;
499 public static MultiUnitBuilder get(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
500 if (nPeriods > 0 && settings != null) {
501 return new MultiUnitBuilder(nPeriods, settings);
508 return MultiUnitBuilder.get(nPeriods, settingsToUse);
520 if (n == nPeriods) {
527 if (n < nPeriods) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicPeriodBuilderFactory.java491 private int nPeriods;
493 MultiUnitBuilder(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
495 this.nPeriods = nPeriods;
498 public static MultiUnitBuilder get(int nPeriods, BasicPeriodBuilderFactory.Settings settings) {
499 if (nPeriods > 0 && settings != null) {
500 return new MultiUnitBuilder(nPeriods, settings);
507 return MultiUnitBuilder.get(nPeriods, settingsToUse);
519 if (n == nPeriods) {
526 if (n < nPeriods) {
/external/pdfium/fxjs/
Dcfxjse_formcalc_context.cpp2244 double nPeriods = ValueToDouble(pThis, argThree.get()); in Apr() local
2245 if (nPrincipal <= 0 || nPayment <= 0 || nPeriods <= 0) { in Apr()
2250 double r = 2 * (nPeriods * nPayment - nPrincipal) / (nPeriods * nPrincipal); in Apr()
2252 for (int32_t i = 0; i < nPeriods; ++i) in Apr()
2258 ((nTemp + r * nPeriods * (nTemp / (1 + r))) * (nTemp - 1) - in Apr()
2259 (r * nTemp * nPeriods * (nTemp / (1 + r)))) / in Apr()
2268 for (int32_t i = 0; i < nPeriods; ++i) { in Apr()
2469 float nPeriods = ValueToFloat(pThis, argThree.get()); in Pmt() local
2470 if ((nPrincipal <= 0) || (nRate <= 0) || (nPeriods <= 0)) { in Pmt()
2477 for (int32_t i = 0; i < nPeriods - 1; ++i) in Pmt()