/openjdk7/jdk/src/share/classes/sun/java2d/pipe/ |
H A D | RenderQueue.java | 175 * position to the first 8-byte value used in the following operation 190 * position to the first 8-byte value used in the following operation 193 int first8ByteValuePosition = buf.position() + first8ByteValueOffset; 215 * Updates the current position of the underlying buffer, and then 219 public void flushNow(int position) { argument 220 buf.position(position);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | FileLockImpl.java | 36 FileLockImpl(FileChannel channel, long position, long size, boolean shared) argument 38 super(channel, position, size, shared); 41 FileLockImpl(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 43 super(channel, position, size, shared);
|
H A D | IOUtil.java | 46 static int write(FileDescriptor fd, ByteBuffer src, long position, argument 51 return writeFromNativeBuffer(fd, src, position, nd); 54 int pos = src.position(); 63 src.position(pos); 65 int n = writeFromNativeBuffer(fd, bb, position, nd); 68 src.position(pos + n); 77 long position, NativeDispatcher nd) 80 int pos = bb.position(); 88 if (position != -1) { 91 rem, position); 76 writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument 185 read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) argument 207 readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument [all...] |
H A D | NativeDispatcher.java | 43 * position sensitive methods. 49 int pread(FileDescriptor fd, long address, int len, long position) argument 61 int pwrite(FileDescriptor fd, long address, int len, long position) argument
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/ |
H A D | XSCMRepeatingLeaf.java | 38 int minOccurs, int maxOccurs, int id, int position) { 39 super(type, leaf, id, position); 37 XSCMRepeatingLeaf(int type, Object leaf, int minOccurs, int maxOccurs, int id, int position) argument
|
/openjdk7/jdk/src/share/classes/java/nio/channels/ |
H A D | SeekableByteChannel.java | 32 * A byte channel that maintains a current <i>position</i> and allows the 33 * position to be changed. 37 * written. The current position can be {@link #position() <i>queried</i>} and 38 * {@link #position(long) <i>modified</i>}. The channel also provides access to 43 * <p> The {@link #position(long) position} and {@link #truncate truncate} methods 59 * <p> Bytes are read starting at this channel's current position, and 60 * then the position is updated with the number of bytes actually read. 70 * <p> Bytes are written starting at this channel's current position, unles 94 long position() throws IOException; method in interface:SeekableByteChannel 125 SeekableByteChannel position(long newPosition) throws IOException; method in interface:SeekableByteChannel [all...] |
H A D | FileChannel.java | 43 * a file. It has a current <i>position</i> within its file which can 44 * be both {@link #position() <i>queried</i>} and {@link #position(long) 61 * position in a file in a way that does not affect the channel's current 62 * position. </p></li> 87 * channel's position or can change its file's size may be in progress at any 90 * operations, in particular those that take an explicit position, may proceed 114 * method returned the channel. Changing the channel's position, whether 115 * explicitly or by reading or writing bytes, will change the file position of 140 * operation first advances the position t 432 public abstract long position() throws IOException; method in class:FileChannel 460 public abstract FileChannel position(long newPosition) throws IOException; method in class:FileChannel 618 transferTo(long position, long count, WritableByteChannel target) argument 685 transferFrom(ReadableByteChannel src, long position, long count) argument 732 read(ByteBuffer dst, long position) argument 777 write(ByteBuffer src, long position) argument 914 map(MapMode mode, long position, long size) argument 1010 lock(long position, long size, boolean shared) argument 1121 tryLock(long position, long size, boolean shared) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/ |
H A D | XMLEntityScanner.java | 323 return fCurrentEntity != null ? fCurrentEntity.fTotalCountTillLastLoad + fCurrentEntity.position : -1 ; 473 return fCurrentEntity.ch[fCurrentEntity.position + relative]; 495 if (fCurrentEntity.position == fCurrentEntity.count) { 501 int c = fCurrentEntity.ch[fCurrentEntity.position]; 537 if (fCurrentEntity.position == fCurrentEntity.count) { 543 int c = fCurrentEntity.ch[fCurrentEntity.position++]; 548 if (fCurrentEntity.position == fCurrentEntity.count) { 554 if (fCurrentEntity.ch[fCurrentEntity.position++] != '\n') { 555 fCurrentEntity.position--; 595 if (fCurrentEntity.position [all...] |
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/v1_0/ |
H A D | PerfDataBufferPrologue.java | 105 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET); 127 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET); 140 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET); 160 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET); 189 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET); 204 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET);
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | StringCharBufferSliceTest.java | 26 * @summary (bf) CharBuffer.slice() on wrapped CharSequence results in wrong position 39 ">>> StringCharBufferSliceTest-main: testing with the position 0."); 45 ">>> StringCharBufferSliceTest-main: testing with new position."); 47 buff.position(2); 51 ">>> StringCharBufferSliceTest-main: testing with non zero initial position."); 58 buff.position(4); 69 buff.position(4); 80 buff.position(0); 84 slice.position(i); 86 if (nextSlice.position() ! [all...] |
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/ |
H A D | Prologue.java | 79 header.position(PrologueFieldOffset.MAGIC); 111 header.position(PrologueFieldOffset.MAJOR_VERSION); 116 header.position(PrologueFieldOffset.MINOR_VERSION); 121 header.position(PrologueFieldOffset.BYTE_ORDER); 133 header.position(PrologueFieldOffset.ENTRY_OFFSET); 140 header.position(PrologueFieldOffset.USED); 145 header.position(PrologueFieldOffset.OVERFLOW); 150 header.position(PrologueFieldOffset.MOD_TIMESTAMP); 155 header.position(PrologueFieldOffset.NUM_ENTRIES); 160 header.position(PrologueFieldOffse [all...] |
H A D | PerfDataEntry.java | 70 entryStart = b.position(); 86 b.position(entryStart + EntryFieldOffset.NAME_OFFSET); 97 b.position(entryStart + EntryFieldOffset.VECTOR_LENGTH); 100 b.position(entryStart + EntryFieldOffset.DATA_TYPE); 103 b.position(entryStart + EntryFieldOffset.FLAGS); 106 b.position(entryStart + EntryFieldOffset.DATA_UNIT); 109 b.position(entryStart + EntryFieldOffset.DATA_VAR); 112 b.position(entryStart + EntryFieldOffset.DATA_OFFSET); 117 b.position(entryStart + nameOffset); 124 b.position(entryStar [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | compressedStream.hpp | 52 CompressedStream(u_char* buffer, int position = 0) { 54 _position = position; 60 int position() const { return _position; } function in class:CompressedStream 61 void set_position(int position) { _position = position; } argument 72 CompressedReadStream(u_char* buffer, int position = 0) 73 : CompressedStream(buffer, position) {} 111 CompressedWriteStream(u_char* buffer, int initial_size, int position = 0) 112 : CompressedStream(buffer, position) { _size = initial_size; }
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/ |
H A D | CompressedReadStream.java | 35 public CompressedReadStream(Address buffer, int position) { argument 36 super(buffer, position); 110 int pos = position - 1; 131 short retval = (short) buffer.getCIntegerAt(position, 1, true); 132 ++position;
|
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | CharArrayIterator.java | 47 * Sets the position to getBeginIndex() and returns the character at that 48 * position. 59 * Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty) 60 * and returns the character at that position. 76 * Gets the character at the current position (as returned by getIndex()). 77 * @return the character at the current position or DONE if the current 78 * position is off the end of the text. 96 * @return the character at the new position or DONE if the new 97 * position is off the end of the text range. 115 * @return the character at the new position o 138 setIndex(int position) argument [all...] |
/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | LEInsertionList.cpp | 43 le_int32 position; member in struct:InsertionRecord 79 LEGlyphID *LEInsertionList::insert(le_int32 position, le_int32 count, LEErrorCode &success) argument 91 insertion->position = position; 113 if (callback->applyInsertion(rec->position, rec->count, rec->glyphs)) {
|
H A D | SubstitutionLookups.cpp | 56 le_int32 position, 69 tempIterator.setCurrStreamPosition(position); 50 applySubstitutionLookups( LookupProcessor *lookupProcessor, SubstitutionLookupRecord *substLookupRecordArray, le_uint16 substCount, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, le_int32 position, LEErrorCode& success) argument
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDROutputStream_1_2.java | 91 if (inBlock && requiredSize + bbwi.position() > bbwi.buflen) { 96 int oldSize = bbwi.position(); 97 bbwi.position(blockSizeIndex - 4); 101 bbwi.position(oldSize); 197 bbwi.position(bbwi.position() + computeAlignment(align)); 199 if (bbwi.position() + n > bbwi.buflen) 206 int oldSize = bbwi.position(); 219 int oldIndex = bbwi.position(); 221 bbwi.position(blockSizeInde [all...] |
H A D | CDROutputStream_1_1.java | 34 // to the current bbwi.position(), the result is the current position 60 if (bbwi.position() + n + alignment > bbwi.buflen) { 73 bbwi.position(bbwi.position() + alignment); 78 int oldSize = bbwi.position(); 92 // previous buffer. bbwi.position() is the length of the 94 fragmentOffset += (oldSize - bbwi.position()); 99 return bbwi.position() + fragmentOffset;
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | InputSlot.java | 43 public void setPosition(int position) { argument 45 InputSlot s = inputSlots.remove(position); 46 inputSlots.add(position, s); 55 return "InputSlot[figure=" + this.getFigure().toString() + ", position=" + getPosition() + "]";
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | CompressedLineNumberReadStream.java | 36 public CompressedLineNumberReadStream(Address buffer, int position) { argument 37 super(buffer, position);
|
/openjdk7/jdk/src/share/classes/java/sql/ |
H A D | Blob.java | 50 * determining the position of a pattern of bytes within a 78 * consecutive bytes starting at position <code>pos</code>. 80 * @param pos the ordinal position of the first byte in the 82 * position 1 88 * byte at position <code>pos</code> 114 * Retrieves the byte position at which the specified byte array 117 * search for <code>pattern</code> begins at position 121 * @param start the position at which to begin searching; the 122 * first position is 1 123 * @return the position a 130 long position(byte pattern[], long start) throws SQLException; method in interface:Blob 149 long position(Blob pattern, long start) throws SQLException; method in interface:Blob [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/ |
H A D | TextTag.java | 106 public SourcePosition position() { method in class:TextTag 107 return holder.position();
|
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/ |
H A D | PerfByteArrayMonitor.java | 88 bb.position(0); 104 bb.position(index);
|
/openjdk7/jdk/test/sun/nio/cs/OLD/ |
H A D | X11GB2312_OLD.java | 60 int sp = src.arrayOffset() + src.position(); 64 int dp = dst.arrayOffset() + dst.position(); 83 src.position(sp - src.arrayOffset()); 84 dst.position(dp - dst.arrayOffset()); 99 int sp = src.arrayOffset() + src.position(); 104 int dp = dst.arrayOffset() + dst.position(); 127 src.position(sp - src.arrayOffset()); 128 dst.position(dp - dst.arrayOffset());
|