/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 967 public static int floorMod(int x, int y) { in floorMod() method in StrictMath 968 return Math.floorMod(x , y); in floorMod() 995 public static int floorMod(long x, int y) { in floorMod() method in StrictMath 996 return Math.floorMod(x , y); in floorMod() 1022 public static long floorMod(long x, long y) { in floorMod() method in StrictMath 1023 return Math.floorMod(x, y); in floorMod()
|
D | Math.java | 1266 public static int floorMod(int x, int y) { in floorMod() method in Math 1292 public static int floorMod(long x, int y) { in floorMod() method in Math 1319 public static long floorMod(long x, long y) { in floorMod() method in Math
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StrictMathTest.java | 173 int floorMod = StrictMath.floorMod(a, b); in testFloorModI() local 178 assertEquals(expected, floorMod); in testFloorModI() 219 long floorMod = StrictMath.floorMod(a, b); in testFloorModL() local 224 assertEquals(expected, floorMod); in testFloorModL()
|
D | MathTest.java | 245 int floorMod = Math.floorMod(a, b); in testFloorModI() local 250 assertEquals(expected, floorMod); in testFloorModI() 291 long floorMod = Math.floorMod(a, b); in testFloorModL() local 296 assertEquals(expected, floorMod); in testFloorModL()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | DivModTests.java | 399 return Math.floorMod(x, y); in doFloorMod() 413 return Math.floorMod(x, y); in doFloorMod() 427 return Math.floorMod(x, y); in doFloorMod() 483 return StrictMath.floorMod(x, y); in doStrictFloorMod() 497 return StrictMath.floorMod(x, y); in doStrictFloorMod() 511 return StrictMath.floorMod(x, y); in doStrictFloorMod()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestIsoChronoImpl.java | 127 cal.setFirstDayOfWeek(Math.floorMod(firstDayOfWeek.getValue(), 7) + 1); in test_DayOfWeek_IsoChronology_vsCalendar() 141 int jdow = Math.floorMod(cal.get(Calendar.DAY_OF_WEEK) - 2, 7) + 1; in test_DayOfWeek_IsoChronology_vsCalendar() 174 return DayOfWeek.of(Math.floorMod(i - 2, 7) + 1); in toISOfromCalendarDOW()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | FileTime.java | 252 nanos = (int)Math.floorMod(value, MILLIS_PER_SECOND) in toInstant() 257 nanos = (int)Math.floorMod(value, MICROS_PER_SECOND) in toInstant() 262 nanos = (int)Math.floorMod(value, NANOS_PER_SECOND); in toInstant() 427 long lo = Math.floorMod(zeroSecs, SECONDS_PER_10000_YEARS); in toString()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 618 return millis - Math.floorMod(millis, tickNanos / 1000_000L); in millis() 624 return Instant.ofEpochMilli(millis - Math.floorMod(millis, tickNanos / 1000_000L)); in instant() 628 long adjust = Math.floorMod(nanos, tickNanos); in instant()
|
D | Instant.java | 323 int nos = (int)Math.floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofEpochSecond() 339 int mos = (int)Math.floorMod(epochMilli, 1000); in ofEpochMilli()
|
D | LocalDateTime.java | 415 int secsOfDay = (int)Math.floorMod(localSecond, SECONDS_PER_DAY); in ofEpochSecond() 1563 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()
|
D | LocalDate.java | 799 int dow0 = (int)Math.floorMod(toEpochDay() + 3, 7); in getDayOfWeek() 1302 int newMonth = (int)Math.floorMod(calcMonths, 12) + 1; in plusMonths()
|
D | YearMonth.java | 847 int newMonth = (int)Math.floorMod(calcMonths, 12) + 1; in plusMonths()
|
D | OffsetTime.java | 255 int secsOfDay = (int) Math.floorMod(localSecond, SECONDS_PER_DAY); in ofInstant()
|
D | Duration.java | 242 int nos = (int) Math.floorMod(nanoAdjustment, NANOS_PER_SECOND); in ofSeconds()
|
D | LocalTime.java | 359 int secsOfDay = Math.floorMod(localSecond, SECONDS_PER_DAY); in ofInstant()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticChronology.java | 208 return Math.floorMod(prolepticYear, 4) == 3; in isLeapYear()
|
D | CopticDate.java | 214 case DAY_OF_WEEK: return Math.floorMod(toEpochDay() + 3, 7) + 1; in getLong() 288 int newMonth = (int)Math.floorMod(calcEm, 13) + 1; in plusMonths()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 777 return Math.floorMod(isoDow - sow, 7) + 1; in localizedDayOfWeek() 782 return Math.floorMod(isoDow - sow, 7) + 1; in localizedDayOfWeek() 870 int weekStart = Math.floorMod(day - dow, 7); in startOfWeekOffset() 924 long isoDow = Math.floorMod((startDow - 1) + (checkedValue - 1), 7) + 1; in resolve()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 200 diff = Math.floorMod(NANOS_PER_DAY + diff, NANOS_PER_DAY); in now()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahDate.java | 494 int dow0 = (int)Math.floorMod(toEpochDay() + 3, 7); in getDayOfWeek() 536 int newMonth = (int)Math.floorMod(calcMonths, 12L) + 1; in plusMonths()
|
D | IsoChronology.java | 502 addFieldValue(fieldValues, MONTH_OF_YEAR, Math.floorMod(pMonth, 12) + 1); in resolveProlepticMonth()
|
D | ChronoLocalDateTimeImpl.java | 358 long newNoD = Math.floorMod(totNanos, NANOS_PER_DAY); in plusWithOverflow()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ImmutableCollections.java | 695 int idx = Math.floorMod(pe.hashCode() ^ SALT, elements.length); in probe() 953 int idx = Math.floorMod(pk.hashCode() ^ SALT, table.length >> 1) << 1;
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | Parsed.java | 543 long nod = Math.floorMod(totalNanos, 86400_000_000_000L); in resolveTime()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 252 int weekStart = Math.floorMod(1 - dow, 7); in test_weekOfWeekBasedYearField()
|