Searched defs:position (Results 26 - 50 of 154) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/java/sql/
H A DClob.java78 * The substring begins at position
83 * The first character is at position 1.
129 * Retrieves the character position at which the specified substring
132 * begins at position <code>start</code>.
135 * @param start the position at which to begin searching; the first position
137 * @return the position at which the substring appears or -1 if it is not
138 * present; the first position is 1
145 long position(String searchstr, long start) throws SQLException; method in interface:Clob
148 * Retrieves the character position a
164 long position(Clob searchstr, long start) throws SQLException; method in interface:Clob
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/parser/
H A DPositionInputStream.java41 * 'position' in stream) from the input stream.
45 private long position = 0L; field in class:PositionInputStream
53 if (res != -1) position++;
59 if (res != -1) position += res;
65 position += res;
81 public long position() { method in class:PositionInputStream
82 return position;
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DCharArrayIterator.java47 * 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/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java49 private volatile long position; field in class:LotsOfWrites.Writer
53 position += nwrote;
54 return position;
58 int n = Math.min(8192 + rand.nextInt(8192), (int)(size - position));
102 if (position >= size) {
H A DBasic.java125 long position = 0L;
127 Future<Integer> result = ch.write(src, position);
130 // update position
131 position += n;
143 position = 0L;
146 Future<Integer> result = ch.read(dst, position);
150 // update position
151 if (n > 0) position += n;
400 long[] position = new long[nwriters];
403 position[
549 writeFully(final AsynchronousFileChannel ch, final ByteBuffer src, long position) argument
574 readAll(final AsynchronousFileChannel ch, final ByteBuffer dst, long position) argument
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DLEInsertionList.cpp43 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)) {
/openjdk7/jdk/test/java/util/concurrent/locks/ReentrantReadWriteLock/
H A DMapLoops.java135 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/test/javax/swing/text/WrappedPlainView/6857057/
H A DStubLeafElement.java30 int position; field in class:StubLeafElement
32 public StubLeafElement(String context, Element parent, int position) { argument
35 this.position = position;
59 return position;
63 return position + document.getLength();
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DNativeDispatcher.java43 * 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/dtd/models/
H A DCMAny.java106 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
H A DCMLeaf.java95 public CMLeaf(QName element, int position) { argument
98 // Store the element index and position
100 fPosition = position;
107 // Store the element index and position
170 // Otherwise, its just the one bit of our position
181 // Otherwise, its just the one bit of our position
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/
H A DXSCMLeaf.java60 public XSCMLeaf(int type, Object leaf, int id, int position) { argument
63 // Store the element index and position
66 fPosition = position;
120 // Otherwise, its just the one bit of our position
130 // Otherwise, its just the one bit of our position
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/
H A DDTMAxisIterator.java57 * @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 DEmptyIterator.java63 public final int getNodeByPosition(int position){ return END; } argument
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DByteBufferWithInfo.java38 // Assumptions, the ByteBuffer's position is set by the constructor's
41 // position in the buffer, the ByteBuffer's position is updated
42 // any time there's a call to this class's position().
51 // REVISIT - index should eventually be replaced with byteBuffer.position()
52 private int index; // Current empty position in buffer.
70 position(index);
123 position(0);
138 position(bbwi.position());
156 public int position() method in class:ByteBufferWithInfo
170 public void position(int newPosition) method in class:ByteBufferWithInfo
[all...]
H A DTypeCodeInputStream.java93 public void addTypeCodeAtPosition(TypeCodeImpl tc, int position) { argument
98 //if (TypeCodeImpl.debug) System.out.println(this + " adding tc " + tc + " at position " + position);
99 typeMap.put(new Integer(position), tc);
102 public TypeCodeImpl getTypeCodeAtPosition(int position) { argument
106 //System.out.println("Getting tc " + (TypeCode)typeMap.get(new Integer(position)) +
107 //" at position " + position);
109 return (TypeCodeImpl)typeMap.get(new Integer(position));
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/
H A DCompressedStream.java38 protected int position; field in class:CompressedStream
45 public CompressedStream(Address buffer, int position) { argument
47 this.position = position;
65 return position;
67 public void setPosition(int position) { argument
68 this.position = position;
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/
H A DSerialBlob.java146 * position, from this <code>SerialBlob</code> object to
153 * @param pos the ordinal position of the first byte in this
161 * position and containing the given number of consecutive bytes
162 * @throws SerialException if the given starting position is out of bounds
170 throw new SerialException("Invalid arguments: position cannot be "
214 * Returns the position in this <code>SerialBlob</code> object where
216 * specified position.
219 * @param start the position of the byte in this
221 * the search; the first position is <code>1</code>;
224 * @return the position i
233 public long position(byte[] pattern, long start) method in class:SerialBlob
276 public long position(Blob pattern, long start) method in class:SerialBlob
[all...]
H A DSerialClob.java230 * <code>SerialClob</code> object, starting at the given position
233 * @param pos the position of the first character in the substring
235 * <code>SerialClob</code> object is at position
237 * and the sum of the starting position and the length
243 * sum of the starting position and the length
248 * given position and containing the specified number of
255 throw new SerialException("Invalid position in BLOB object set");
259 throw new SerialException("Invalid position and substring length");
273 * Returns the position in this <code>SerialClob</code> object
275 * the search at the specified position
293 public long position(String searchStr, long start) method in class:SerialClob
338 public long position(Clob searchStr, long start) method in class:SerialClob
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSizeSequence.java47 * to find the column corresponding to a certain position.
53 * The following figure shows the relationship between size and position data
58 * alt="The first item begins at position 0, the second at the position equal
64 * The first column's position starts at 0,
70 * the position <em>size<sub>0</sub></em>
83 * Normally when storing the size and position of entries,
87 * rendering are: <code>getIndex(position)</code>
92 * that encloses a particular position is linear in the
248 * Returns the start position fo
288 getIndex(int position) argument
292 getIndex(int from, int to, int position) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DTabStop.java78 private float position; field in class:TabStop
82 * Creates a tab at position <code>pos</code> with a default alignment
90 * Creates a tab with the specified position <code>pos</code>,
96 position = pos;
100 * Returns the position, as a float, of the tab.
101 * @return the position of the tab
104 return position;
136 (position == o.position) ); /* TODO: epsilon */
148 return alignment ^ leader ^ Math.round(position);
[all...]
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DAsynchronousFileChannel.java49 * <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}&nbsp;+&nbsp;{@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/src/share/classes/sun/security/util/
H A DBitArray.java49 private static int position(int idx) { // bits big-endian in each unit method in class:BitArray
132 return (repn[subscript(index)] & position(index)) != 0;
144 int bit = position(index);
/openjdk7/jdk/test/java/util/concurrent/ConcurrentHashMap/
H A DMapLoops.java176 int position; field in class:MapLoops.Runner
183 position = key.length / 2;
189 position += (r & 7) - 3;
190 while (position >= key.length) position -= key.length;
191 while (position < 0) position += key.length;
193 Integer k = key[position];
202 position = total % key.length; // move from position
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderQueue.java175 * 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);

Completed in 67 milliseconds

1234567