/openjdk7/jdk/test/sun/nio/cs/OLD/ |
H A D | X11KSC5601_OLD.java | 60 int sp = src.arrayOffset() + src.position(); 63 int dp = dst.arrayOffset() + dst.position(); 82 src.position(sp - src.arrayOffset()); 83 dst.position(dp - dst.arrayOffset()); 98 int sp = src.arrayOffset() + src.position(); 103 int dp = dst.arrayOffset() + dst.position(); 127 src.position(sp - src.arrayOffset()); 128 dst.position(dp - dst.arrayOffset());
|
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);
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ |
H A D | DTMAxisIterator.java | 57 * @return The position of the current node in the set, as defined by XPath. 96 * from its current position. 106 * Return the node at the given position. 108 * @param position The position 109 * @return The node at the given position. 111 public int getNodeByPosition(int position); argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | DTMAxisIteratorBase.java | 34 /** The position of the last node within the iteration, as defined by XPath. 36 * confuse it with the current (most recently returned) position. 40 /** The position of the current node within the iteration, as defined by XPath. 45 /** The position of the marked node within the iteration; 113 /** Returns the position of the last node within the iteration, as 130 // -- and explicitly saving our position counter (number of nodes 133 // %REVIEW% Should position also be saved by setMark()? 154 * @return The position of the current node within the set, as defined by 221 * Reset the position to zero. NOTE that this does not change the iteration 222 * state, only the position numbe 268 getNodeByPosition(int position) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream_1_2.java | 86 // checkBlockLength since it may move the position 94 int alignIncr = computeAlignment(bbwi.position(),align); 95 bbwi.position(bbwi.position() + alignIncr); 97 if (bbwi.position() + n > bbwi.buflen) {
|
/openjdk7/jdk/src/macosx/native/jobjc/src/tests/java/com/apple/jobjc/ |
H A D | NativeBufferTest.java | 34 b.position(1);
|
/openjdk7/langtools/src/share/classes/com/sun/javadoc/ |
H A D | Tag.java | 154 * Return the source position of this tag. 155 * @return the source position of this tag. 157 public SourcePosition position(); method in interface:Tag
|
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | SubstitutionLookups.h | 63 le_int32 position,
|
/openjdk7/jdk/src/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 396 * <p> The region specified by the {@code position} and {@code size} 427 * @param position 428 * The position at which the locked region is to start; must be 432 * {@code position} + {@code size} must be non-negative 454 public abstract <A> void lock(long position, argument 503 * @param position 504 * The position at which the locked region is to start; must be 508 * {@code position} 527 lock(long position, long size, boolean shared) argument 601 tryLock(long position, long size, boolean shared) argument 669 read(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 704 read(ByteBuffer dst, long position) argument 733 write(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 769 write(ByteBuffer src, long position) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Truncate.java | 69 long position = generator.nextInt((int)testSize); 70 fc.position(position); 78 if (position > newSize) { 79 if (fc.position() != newSize) 82 if (fc.position() != position) 83 throw new RuntimeException("Truncate changed position");
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileChannelImpl.java | 66 // Lock for operations involving position and size 111 nd.release(fd, fl.position(), fl.size()); 249 public long position() throws IOException { method in class:FileChannelImpl 260 // in append-mode then position is advanced to end before writing 272 public FileChannel position(long newPosition) throws IOException { method in class:FileChannelImpl 336 // get current position 351 // set position to size if greater than size 400 private long transferToDirectly(long position, int icount, argument 433 n = transferTo0(thisFDVal, position, icount, targetFDVal); 457 private long transferToTrustedChannel(long position, lon argument 505 transferToArbitraryChannel(long position, int icount, WritableByteChannel target) argument 541 transferTo(long position, long count, WritableByteChannel target) argument 576 transferFromFileChannel(FileChannelImpl src, long position, long count) argument 615 transferFromArbitraryChannel(ReadableByteChannel src, long position, long count) argument 651 transferFrom(ReadableByteChannel src, long position, long count) argument 671 read(ByteBuffer dst, long position) argument 688 readInternal(ByteBuffer dst, long position) argument 710 write(ByteBuffer src, long position) argument 727 writeInternal(ByteBuffer src, long position) argument 817 map(MapMode mode, long position, long size) argument 1001 lock(long position, long size, boolean shared) argument 1046 tryLock(long position, long size, boolean shared) argument 1110 checkList(long position, long size) argument 1153 map0(int prot, long position, long length) argument 1160 transferTo0(int src, long position, long count, int dst) argument [all...] |
/openjdk7/jdk/src/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...] |
/openjdk7/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++)
|
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/ |
H A D | ConnectionTest.java | 32 * when buffers were not empty. (buffer.position() = 10) 115 appIn1.position(10); 116 appIn2.position(10); 121 oneToTwo.position(10); 122 twoToOne.position(10); 131 emptyBuffer.position(emptyBuffer.limit()); 238 oneToTwo.position(10); 239 twoToOne.position(10); 273 oneToTwoShifter.position(oneToTwo.position() [all...] |
/openjdk7/jaxws/src/share/jaxws_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...] |
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/ |
H A D | MapLoops.java | 135 int position; field in class:MapLoops.Runner 142 position = key.length / 2; 148 position += (r & 7) - 3; 149 while (position >= key.length) position -= key.length; 150 while (position < 0) position += key.length; 152 Integer k = key[position]; 160 // get awy from this position 161 position [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | WindowsAsynchronousFileChannelImpl.java | 217 private final long position; field in class:WindowsAsynchronousFileChannelImpl.LockTask 221 LockTask(long position, argument 225 this.position = position; 242 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 lockTask = new LockTask<A>(position, fli, result); 342 public FileLock tryLock(long position, long size, boolean shared) argument 351 final FileLockImpl fli = addToFileLockTable(position, siz 382 private final long position; // file position field in class:WindowsAsynchronousFileChannelImpl.ReadTask 388 ReadTask(ByteBuffer dst, int pos, int rem, long position, PendingFuture<Integer,A> result) argument 518 implRead(ByteBuffer dst, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 573 private final long position; // file position field in class:WindowsAsynchronousFileChannelImpl.WriteTask 579 WriteTask(ByteBuffer src, int pos, int rem, long position, PendingFuture<Integer,A> result) argument 694 implWrite(ByteBuffer src, long position, A attachment, CompletionHandler<Integer,? super A> handler) argument 749 lockFile(long handle, long position, long size, boolean shared, long overlapped) argument [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Heap-X-Buffer.java.template | 103 this.position() + offset); 109 this.position(), 119 this.position(), 146 System.arraycopy(hb, ix(position()), dst, offset, length); 147 position(position() + length); 184 System.arraycopy(src, offset, hb, ix(position()), length); 185 position(position() + length); 201 System.arraycopy(sb.hb, sb.ix(sb.position()), [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/ |
H A D | NativeBuffer.java | 71 public int position() { return buffer.position(); } method in class:NativeBuffer 72 public NativeBuffer position(int newPosition) { buffer.position(newPosition); return this; } method in class:NativeBuffer 86 if(position() == i) 99 return bufferPtr + position();
|
/openjdk7/jdk/src/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 bitString[position]; 106 * Set the bit at the specified position. 108 private void set(int position, boolean val) { argument 110 if (position >= bitString.length) { 111 boolean[] tmp = new boolean[position+1]; 115 bitString[position] = val;
|
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | SingleByteDecoder.java | 54 int sp = src.arrayOffset() + src.position(); 59 int dp = dst.arrayOffset() + dst.position(); 78 src.position(sp - src.arrayOffset()); 79 dst.position(dp - dst.arrayOffset()); 84 int mark = src.position(); 99 src.position(mark);
|
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | FileDispatcherImpl.java | 49 int pread(FileDescriptor fd, long address, int len, long position) argument 52 return pread0(fd, address, len, position); 63 int pwrite(FileDescriptor fd, long address, int len, long position) argument 66 return pwrite0(fd, address, len, position); 117 long position) throws IOException; 126 long position) throws IOException; 116 pread0(FileDescriptor fd, long address, int len, long position) argument 125 pwrite0(FileDescriptor fd, long address, int len, long position) argument
|
/openjdk7/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...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | ArrayNodeListIterator.java | 87 public int getNodeByPosition(int position) { argument 88 return _nodes[position - 1];
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/ |
H A D | CMAny.java | 106 public CMAny(int type, String uri, int position) { argument 112 fPosition = position; 176 // Otherwise, its just the one bit of our position 187 // Otherwise, its just the one bit of our position
|