Searched refs:direction (Results 1 - 10 of 10) sorted by relevance
/libcore/luni/src/main/java/java/nio/ |
H A D | IoVec.java | 39 private final Direction direction; field in class:IoVec 41 IoVec(ByteBuffer[] byteBuffers, int offset, int bufferCount, Direction direction) { argument 45 this.direction = direction; 55 if (direction == Direction.READV) { 74 if (direction == Direction.READV) { 95 b.position((direction == Direction.WRITEV ? b.position() : 0) + byteCount);
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Math.java | 1065 * Returns the next double after {@code start} in the given {@code direction}. 1068 public static double nextAfter(double start, double direction) { argument 1069 if (start == 0 && direction == 0) { 1070 return direction; 1072 return nextafter(start, direction); 1076 * Returns the next float after {@code start} in the given {@code direction}. 1079 public static float nextAfter(float start, double direction) { argument 1080 if (Float.isNaN(start) || Double.isNaN(direction)) { 1083 if (start == 0 && direction == 0) { 1084 return (float) direction; [all...] |
H A D | StrictMath.java | 1910 * {@code direction}. 1914 public static double nextAfter(double start, double direction) { argument 1915 if (start == 0 && direction == 0) { 1916 return direction; 1918 return nextafter(start, direction); 1922 * Returns the next float after {@code start} in the given {@code direction} 1927 public static float nextAfter(float start, double direction) { argument 1928 return Math.nextAfter(start, direction);
|
/libcore/luni/src/main/java/java/text/ |
H A D | Bidi.java | 35 * direction of the text as well as the nesting level. Left-to-right runs have 91 * attribute determines the base direction of the bidirectional text. If it 130 Object direction = paragraph.getAttribute(TextAttribute.RUN_DIRECTION); 131 if (direction != null && direction instanceof Boolean) { 132 if (direction.equals(TextAttribute.RUN_DIRECTION_LTR)) { 197 * indicates the base direction of the bidirectional text. It is 198 * expected that this will be one of the direction constant 250 * indicates the base direction of the bidirectional text. It is 251 * expected that this will be one of the direction constan 356 private int direction; field in class:Bidi [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
H A D | RelativeDateTimeFormatter.java | 127 com.ibm.icu.text.RelativeDateTimeFormatter.Direction direction; 129 direction = com.ibm.icu.text.RelativeDateTimeFormatter.Direction.LAST; 131 direction = com.ibm.icu.text.RelativeDateTimeFormatter.Direction.NEXT; 160 // available. Note that we cannot set up direction and unit here and 192 direction = com.ibm.icu.text.RelativeDateTimeFormatter.Direction.THIS; 224 return formatter.format(count, direction, unit); 226 return formatter.format(direction, aunit);
|
/libcore/luni/src/main/java/java/sql/ |
H A D | Statement.java | 362 * Gets the default direction for fetching rows for {@code ResultSet}s 365 * @return the default fetch direction, one of: 581 * Sets the fetch direction - a hint to the JDBC driver about the direction 583 * The default fetch direction is {@code FETCH_FORWARD}. 585 * @param direction 586 * which fetch direction to use. This parameter should be one of 594 * fetch direction is unrecognized. 596 public void setFetchDirection(int direction) throws SQLException; argument
|
H A D | ResultSet.java | 112 * in the forward direction, first to last. 118 * in the reverse direction, last to first. 631 * Gets the direction in which rows are fetched for this {@code ResultSet} 634 * @return the fetch direction. Will be one of: 1298 * Indicates which direction (forward/reverse) will be used to process the 1302 * @param direction 1308 public void setFetchDirection(int direction) throws SQLException; argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StrictMathTest.java | 702 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; 704 .nextAfter(start, direction)); 705 final long directionBits = Double.doubleToLongBits(direction); 706 if (direction > start) { 709 } else if (direction < start) { 713 assertEquals("Result should be direction.", directionBits, 767 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; 769 .nextAfter(start, direction)); 770 if (direction > start) { 773 } else if (direction < star [all...] |
H A D | MathTest.java | 800 * direction number cases for test_nextAfter_DD/test_nextAfter_FD in 825 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; 827 start, direction)); 828 final long directionBits = Double.doubleToLongBits(direction); 829 if (direction > start) { 832 } else if (direction < start) { 836 assertEquals("Result should be direction.", directionBits, 914 final double direction = NEXTAFTER_DD_FD_DIRECTION_CASES[j]; 916 start, direction)); 917 if (direction > star [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1531 public static final int direction = 0; field in class:R
|
Completed in 246 milliseconds