/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/javadoc/ |
H A D | Tag.java | 172 * Return the source position of this tag. 173 * @return the source position of this tag. 175 public SourcePosition position(); method in interface:Tag
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/x509/ |
H A D | ReasonFlags.java | 99 * @param position the position in the bit string to check. 101 private boolean isSet(int position) { argument 102 return (position < bitString.length) && 103 bitString[position]; 107 * Set the bit at the specified position. 109 private void set(int position, boolean val) { argument 111 if (position >= bitString.length) { 112 boolean[] tmp = new boolean[position+1]; 116 bitString[position] [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/ |
H A D | AsynchronousFileChannel.java | 49 * <p> An asynchronous file channel does not have a <i>current position</i> 50 * within the file. Instead, the file position is specified to each read and 402 * <p> The region specified by the {@code position} and {@code size} 435 * @param position 436 * The position at which the locked region is to start; must be 440 * {@code position} + {@code size} must be non-negative 462 public abstract <A> void lock(long position, argument 513 * @param position 514 * The position at which the locked region is to start; must be 518 * {@code position} 537 lock(long position, long size, boolean shared) argument 611 tryLock(long position, long size, boolean shared) argument 681 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 716 read(ByteBuffer dst, long position) argument 747 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 783 write(ByteBuffer src, long position) argument [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/ |
H A D | Segment.java | 89 * an implementation of the interface method Document.getText(position,length,Segment) 91 * state of the flag is false which will cause Document.getText(position,length,Segment) 127 * Sets the position to getBeginIndex() and returns the character at that 128 * position. 142 * Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) 143 * and returns the character at that position. 158 * Gets the character at the current position (as returned by getIndex()). 159 * @return the character at the current position or DONE if the current 160 * position is off the end of the text. 176 * @return the character at the new position o 215 setIndex(int position) argument [all...] |
/openjdk10/jdk/test/sun/nio/cs/ |
H A D | EucJpLinux0212.java | 38 equal(b1.position(), b2.position()); 40 System.out.printf("positions=%d %d%n", b1.position(), b2.position()); 42 for (int i = b1.position(); i < b1.limit(); i++)
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ |
H A D | Token.java | 39 * We use 28 bits for the position and 28 bits for the length of the token. 44 // The first 8 bits are used for the token type, followed by length and position 54 * @param position Start position of the token in the source. 58 public static long toDesc(final TokenType type, final int position, final int length) { argument 59 assert position <= LENGTH_MASK && length <= LENGTH_MASK; 60 return (long)position << POSITION_SHIFT | 66 * Extract token position from a token descriptor. 68 * @return Start position of the token in the source. 76 * which report their position pas [all...] |
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/ |
H A D | TypeAnnotation.java | 45 position = read_position(cr); 50 Annotation annotation, Position position) { 52 this.position = position; 58 n += position_length(position); 66 " pos: " + position.toString(); 74 public final Position position; field in class:TypeAnnotation 85 Position position = new Position(); 86 position.type = type; 96 position 49 TypeAnnotation(ConstantPool constant_pool, Annotation annotation, Position position) argument [all...] |
/openjdk10/hotspot/test/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/ |
H A D | TestAssembler.java | 280 sites.add(new Call(target, code.position(), size, direct, debugInfo)); 284 sites.add(new Mark(code.position(), id)); 288 sites.add(new Infopoint(code.position(), info, InfopointReason.IMPLICIT_EXCEPTION)); 292 sites.add(new DataPatch(code.position(), ref)); 296 dataPatches.add(new DataPatch(data.position(), ref)); 301 ref.setOffset(data.position()); 332 newData.position(data.position()); 337 public int position() { method in class:TestAssembler.Buffer 338 return data.position(); [all...] |
/openjdk10/jdk/test/javax/net/ssl/SSLEngine/ |
H A D | ConnectionTest.java | 32 * when buffers were not empty. (buffer.position() = 10) 120 appIn1.position(10); 121 appIn2.position(10); 126 oneToTwo.position(10); 127 twoToOne.position(10); 136 emptyBuffer.position(emptyBuffer.limit()); 243 oneToTwo.position(10); 244 twoToOne.position(10); 278 oneToTwoShifter.position(oneToTwo.position() [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/org/objectweb/asm/ |
H A D | Label.java | 63 * A label represents a position in the bytecode of a method. Labels are used 79 * Indicates if the position of this label is known. 159 * The position of this label in the code, if known. 161 int position; field in class:Label 171 * position of the first byte of the bytecode instruction that contains the 172 * forward reference, while the second is the position of the first byte of 175 * gives the position of the bytecode instruction. This array is also used 246 * does not contain successive labels that denote the same bytecode position 292 throw new IllegalStateException("Label offset position has not been resolved yet"); 294 return position; 386 resolve( final MethodWriter owner, final int position, final byte[] data) argument [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/dump/ |
H A D | LoggingDumpTube.java | 63 private final Position position; field in class:LoggingDumpTube 66 public LoggingDumpTube(Level loggingLevel, Position position, Tube tubelineHead) { argument 69 this.position = position; 88 this.position = original.position; 102 messageDumper.dump(MessageDumper.MessageType.Request, position.requestState, Converter.toString(dumpPacket), tubeId, Fiber.current().owner.id); 112 messageDumper.dump(MessageDumper.MessageType.Response, position.responseState, Converter.toString(dumpPacket), tubeId, Fiber.current().owner.id); 121 messageDumper.dump(MessageDumper.MessageType.Exception, position.responseState, Converter.toString(t), tubeId, Fiber.current().owner.id);
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/ |
H A D | Label.java | 62 * A label represents a position in the bytecode of a method. Labels are used 81 * Indicates if the position of this label is known. 172 * The position of this label in the code, if known. 174 int position; field in class:Label 184 * position of the first byte of the bytecode instruction that contains the 185 * forward reference, while the second is the position of the first byte of 188 * gives the position of the bytecode instruction. This array is also used 259 * does not contain successive labels that denote the same bytecode position 309 "Label offset position has not been resolved yet"); 311 return position; 403 resolve(final MethodWriter owner, final int position, final byte[] data) argument [all...] |
/openjdk10/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/ |
H A D | MapLoops.java | 140 int position; field in class:MapLoops.Runner 151 position = key.length / 2; 157 position += (r & 7) - 3; 158 while (position >= key.length) position -= key.length; 159 while (position < 0) position += key.length; 161 Integer k = key[position]; 169 // get away from this position 170 position [all...] |
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/websocket/ |
H A D | Frame.java | 151 int i = src.position(), j = dst.position(); 158 src.position(i); 159 dst.position(j); 166 int i = src.position(); 167 int j = dst.position(); 173 src.position(i - 8); 175 src.position(i); 178 dst.position(j - 8); 180 dst.position( [all...] |
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/ |
H A D | WindowsAsynchronousFileChannelImpl.java | 215 private final long position; field in class:WindowsAsynchronousFileChannelImpl.LockTask 219 LockTask(long position, argument 223 this.position = position; 241 int n = lockFile(handle, position, fli.size(), fli.isShared(), 293 <A> Future<FileLock> implLock(final long position, argument 305 FileLockImpl fli = addToFileLockTable(position, size, shared); 317 LockTask<A> lockTask = new LockTask<A>(position, fli, result); 329 public FileLock tryLock(long position, long size, boolean shared) argument 338 final FileLockImpl fli = addToFileLockTable(position, siz 369 private final long position; // file position field in class:WindowsAsynchronousFileChannelImpl.ReadTask 375 ReadTask(ByteBuffer dst, int pos, int rem, long position, PendingFuture<Integer,A> result) argument 505 implRead(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 556 private final long position; // file position field in class:WindowsAsynchronousFileChannelImpl.WriteTask 562 WriteTask(ByteBuffer src, int pos, int rem, long position, PendingFuture<Integer,A> result) argument 677 implWrite(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 728 lockFile(long handle, long position, long size, boolean shared, long overlapped) argument [all...] |
/openjdk10/jdk/test/sun/nio/cs/OLD/ |
H A D | DBCS_ONLY_IBM_EBCDIC_Decoder.java | 68 int sp = src.arrayOffset() + src.position(); 73 int dp = dst.arrayOffset() + dst.position(); 99 src.position(sp - src.arrayOffset()); 100 dst.position(dp - dst.arrayOffset()); 105 int mark = src.position(); 128 src.position(mark);
|
H A D | SingleByteDecoder.java | 53 int sp = src.arrayOffset() + src.position(); 58 int dp = dst.arrayOffset() + dst.position(); 77 src.position(sp - src.arrayOffset()); 78 dst.position(dp - dst.arrayOffset()); 83 int mark = src.position(); 98 src.position(mark);
|
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/ |
H A D | SSLSocketOutputRecord.java | 53 int position = headerSize + writeCipher.getExplicitNonceSize(); 54 count = position; 135 int position = headerSize + writeCipher.getExplicitNonceSize(); 137 count = position; 140 if ((count - position) < (fragLimit - length)) { 147 int remains = (limit - offset) + (count - position); 180 count = position; 188 int position = headerSize + writeCipher.getExplicitNonceSize(); 189 count = position; 219 int position [all...] |
/openjdk10/jdk/test/com/sun/nio/sctp/SctpChannel/ |
H A D | Send.java | 121 int position = buffer.position(); 128 check(buffer.position() == (position + sent), 129 "buffers position should have been incremented by sent"); 139 position = buffer.position(); 146 check(buffer.position() == (position + sent), 147 "buffers position shoul [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/ |
H A D | MappedByteBufferDataSource.java | 49 buf.position((int) pos); 51 System.err.println("Error seeking to file position 0x" + Long.toHexString(pos)); 55 public long getFilePointer() throws IOException { return buf.position(); }
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | ArrayNodeListIterator.java | 86 public int getNodeByPosition(int position) { argument 87 return _nodes[position - 1];
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/dtd/models/ |
H A D | CMAny.java | 65 public CMAny(int type, String uri, int position) { argument 71 fPosition = position; 135 // Otherwise, its just the one bit of our position 146 // Otherwise, its just the one bit of our position
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | LayoutStyle.java | 32 * <code>LayoutStyle</code> provides information about how to position 159 * current size and position of <code>component2</code> or 168 * @param position the position <code>component2</code> is being placed 181 * @throws IllegalArgumentException if <code>position</code> is not 191 ComponentPlacement type, int position, 199 * @param position the position <code>component</code> is being placed 209 * @throws IllegalArgumentException if <code>position</code> is not 215 public abstract int getContainerGap(JComponent component, int position, argument 189 getPreferredGap(JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/zip/ |
H A D | Checksum.java | 74 * at the buffer's position. Upon return, the buffer's position will be 85 * buffer.position() + buffer.arrayOffset(), 106 int pos = buffer.position(); 123 buffer.position(limit);
|
/openjdk10/jdk/src/java.management/share/classes/sun/management/counter/perf/ |
H A D | PerfByteArrayCounter.java | 53 bb.position(0); 66 bb.position(index);
|