Searched refs:adjust (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/lang/String/ |
D | Indent.java | 60 for (int adjust : new int[] {-8, -7, -4, -3, -2, -1, 0, 1, 2, 3, 4, 7, 8}) { in testIndent() 65 String output = input.indent(adjust); in testIndent() 68 if (adjust > 0) { in testIndent() 69 final String spaces = " ".repeat(adjust); in testIndent() 71 } else if (adjust < 0) { in testIndent() 72 … stream = stream.map(s -> s.substring(Math.min(-adjust, indexOfNonWhitespace(s)))); in testIndent()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Phaser.java | 379 private int doArrive(int adjust) { in doArrive() argument 390 if (STATE.compareAndSet(this, s, s-=adjust)) { in doArrive() 426 long adjust = ((long)registrations << PARTIES_SHIFT) | registrations; in doRegister() local 443 else if (STATE.compareAndSet(this, s, s + adjust)) in doRegister() 448 long next = ((long)phase << PHASE_SHIFT) | adjust; in doRegister() 463 ((long)phase << PHASE_SHIFT) | adjust)) { in doRegister()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimePrintContext.java | 119 this.temporal = adjust(temporal, formatter); in DateTimePrintContext() 123 …private static TemporalAccessor adjust(final TemporalAccessor temporal, DateTimeFormatter formatte… in adjust() method in DateTimePrintContext
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 770 long adjust = Math.floorMod(nanos, tickNanos); in instant() local 771 return instant.minusNanos(adjust); in instant()
|
D | LocalDate.java | 342 long adjust = 0; in ofEpochDay() local 346 adjust = adjustCycles * 400; in ofEpochDay() 356 yearEst += adjust; // reset any negative year in ofEpochDay()
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRules.java | 955 long adjust = 0; in findYear() local 959 adjust = adjustCycles * 400; in findYear() 969 yearEst += adjust; // reset any negative year in findYear()
|
/libcore/tools/testmapping/ |
D | README | 26 adjust. (These could be converted to command-line options if convenient.)
|