Searched refs:position (Results 76 - 100 of 462) sorted by relevance

1234567891011>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/
H A DMappedByteBufferDataSource.java49 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(); }
/openjdk7/jdk/src/share/classes/javax/swing/
H A DLayoutStyle.java32 * <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...]
/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/sun/security/ssl/
H A DEngineArgs.java111 netPos = netData.position();
133 appPoss[i] = appData[i].position();
157 appData[i].limit(appData[i].position() + amount);
176 readyData.limit(readyData.position() + amount);
192 return (netData.position() - netPos);
203 sum += appData[i].position() - appPoss[i];
219 netData.position(netPos);
222 appData[i].position(appPoss[i]);
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/
H A DPerfByteArrayCounter.java53 bb.position(0);
66 bb.position(index);
H A DPerfLongArrayCounter.java55 lb.position(0);
68 lb.position(index);
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DX11CNS11643.java90 int sp = src.arrayOffset() + src.position();
93 int dp = dst.arrayOffset() + dst.position();
124 src.position(sp - src.arrayOffset());
125 dst.position(dp - dst.arrayOffset());
147 int sp = src.arrayOffset() + src.position();
151 int dp = dst.arrayOffset() + dst.position();
173 src.position(sp - src.arrayOffset());
174 dst.position(dp - dst.arrayOffset());
H A DX11GB2312.java69 int sp = src.arrayOffset() + src.position();
73 int dp = dst.arrayOffset() + dst.position();
92 src.position(sp - src.arrayOffset());
93 dst.position(dp - dst.arrayOffset());
114 int sp = src.arrayOffset() + src.position();
119 int dp = dst.arrayOffset() + dst.position();
142 src.position(sp - src.arrayOffset());
143 dst.position(dp - dst.arrayOffset());
H A DX11KSC5601.java69 int sp = src.arrayOffset() + src.position();
72 int dp = dst.arrayOffset() + dst.position();
91 src.position(sp - src.arrayOffset());
92 dst.position(dp - dst.arrayOffset());
113 int sp = src.arrayOffset() + src.position();
118 int dp = dst.arrayOffset() + dst.position();
142 src.position(sp - src.arrayOffset());
143 dst.position(dp - dst.arrayOffset());
/openjdk7/jdk/test/sun/nio/cs/
H A DX11CNS11643.java85 int sp = src.arrayOffset() + src.position();
88 int dp = dst.arrayOffset() + dst.position();
112 src.position(sp - src.arrayOffset());
113 dst.position(dp - dst.arrayOffset());
141 int sp = src.arrayOffset() + src.position();
147 int dp = dst.arrayOffset() + dst.position();
184 src.position(sp - src.arrayOffset());
185 dst.position(dp - dst.arrayOffset());
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDROutputStream_1_0.java145 // Last end tag position
204 it = new byte[bbwi.position()];
208 for (int i = 0; i < bbwi.position(); i++)
236 int incr = bbwi.position() & (align - 1);
246 bbwi.position(bbwi.position() + computeAlignment(align));
248 if (bbwi.position() + n > bbwi.buflen)
297 //if (bbwi.position() + 1 > bbwi.buflen)
301 // increment the ByteBuffer position. This is true
304 bbwi.byteBuffer.put(bbwi.position(),
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DMultipleGradientPaintContext.java474 // multiplying the normalized current position by the total color
518 * @param position the unmanipulated position, which will be mapped
522 protected final int indexIntoGradientsArrays(float position) { argument
523 // first, manipulate position value depending on the cycle method
525 if (position > 1) {
527 position = 1;
528 } else if (position < 0) {
530 position = 0;
535 position
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DCurrentNodeListFilter.java35 public abstract boolean test(int node, int position, int last, int current, argument
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSymbol.java71 int sp = src.arrayOffset() + src.position();
76 int dp = dst.arrayOffset() + dst.position();
97 src.position(sp - src.arrayOffset());
98 dst.position(dp - dst.arrayOffset());
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DBranchHandle.java108 public int getPosition() { return bi.position; }
111 i_position = bi.position = pos;
116 i_position = bi.position;
H A DBranchInstruction.java75 protected int position; // Byte code offset field in class:BranchInstruction
120 throw new ClassGenException("Invalid branch target position offset for " +
123 return t - position;
132 * Called by InstructionList.setPositions when setting the position for every
142 position += offset;
149 * &lt;position in byte code&gt;
174 t = "" + (index + position);
267 position=-1;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/
H A DOopMapStream.java34 private int position; field in class:OopMapStream
55 position = 0;
90 while (position++ < size) {
/openjdk7/jdk/src/share/classes/java/nio/
H A DStringCharBuffer.java50 offset + this.position());
65 position(), limit(), capacity(), offset);
104 int pos = position();
H A DByteBufferAs-X-Buffer.java.template51 int pos = this.position();
73 int pos = this.position();
85 this.position(),
95 this.position(),
140 int pos = position();
147 db.position(ix(0));
149 sb.position(pos << $LG_BYTES_PER_VALUE$);
151 position(rem);
178 db.position(start);
191 int pos = position();
[all...]
/openjdk7/jdk/test/javax/swing/text/NavigationFilter/6735293/
H A Dbug6735293.java70 for (int position : new int[]{-100, Integer.MIN_VALUE}) {
73 nf.getNextVisualPositionFrom(jtf, position, bias, direction, biasRet);
75 throw new RuntimeException("BadLocationException was not thrown: position = " +
76 position + ", bias = " + bias + ", direction = " + direction);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java108 public final int position() { method in class:RenderBuffer
112 public final void position(long numBytes) { method in class:RenderBuffer
144 position(position() + lengthInBytes);
159 // assert (position() % SIZEOF_SHORT == 0);
170 // assert (position() % SIZEOF_SHORT == 0);
175 position(position() + lengthInBytes);
196 // assert (position() % SIZEOF_INT == 0);
207 // assert (position()
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/cs/
H A DISO_8859_1.java72 int sp = src.arrayOffset() + src.position();
77 int dp = dst.arrayOffset() + dst.position();
92 src.position(sp - src.arrayOffset());
93 dst.position(dp - dst.arrayOffset());
100 int mark = src.position();
111 src.position(mark);
154 int sp = src.arrayOffset() + src.position();
159 int dp = dst.arrayOffset() + dst.position();
179 src.position(sp - src.arrayOffset());
180 dst.position(d
[all...]
H A DUS_ASCII.java72 int sp = src.arrayOffset() + src.position();
77 int dp = dst.arrayOffset() + dst.position();
96 src.position(sp - src.arrayOffset());
97 dst.position(dp - dst.arrayOffset());
104 int mark = src.position();
119 src.position(mark);
172 int sp = src.arrayOffset() + src.position();
177 int dp = dst.arrayOffset() + dst.position();
198 src.position(sp - src.arrayOffset());
199 dst.position(d
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DStackTraceTool.java148 String position = "";
150 position = " (native method)";
152 position = ":" + loc.lineNumber();
156 position = ", pc = " + pc;
160 this.setText("[" + (index+1) +"] " + methName + position);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DTransfers.java61 fc.position(off);
64 fc.position(0);
89 fc.position(off);
122 fc.position(0);
208 fc.position(0);
217 if (fc.position() != size)
218 throw new Failure("Wrong position: "
219 + fc.position() + " (expected " + size +
248 s.limit(s.position() + nr);
250 src.position(sr
[all...]

Completed in 62 milliseconds

1234567891011>>