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/xfa/fxfa/fm2js/
Dxfa_fm2jscontext.cpp2359 FX_DOUBLE nPeriods = ValueToDouble(pThis, argThree.get()); in Apr() local
2360 if (nPrincipal <= 0 || nPayment <= 0 || nPeriods <= 0) { in Apr()
2366 2 * (nPeriods * nPayment - nPrincipal) / (nPeriods * nPrincipal); in Apr()
2368 for (int32_t i = 0; i < nPeriods; ++i) in Apr()
2374 ((nTemp + r * nPeriods * (nTemp / (1 + r))) * (nTemp - 1) - in Apr()
2375 (r * nTemp * nPeriods * (nTemp / (1 + r)))) / in Apr()
2384 for (int32_t i = 0; i < nPeriods; ++i) { in Apr()
2586 FX_FLOAT nPeriods = ValueToFloat(pThis, argThree.get()); in Pmt() local
2587 if ((nPrincipal <= 0) || (nRate <= 0) || (nPeriods <= 0)) { in Pmt()
2594 for (int32_t i = 0; i < nPeriods - 1; ++i) in Pmt()