Searched refs:position (Results 201 - 225 of 718) sorted by relevance

1234567891011>>

/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DTagImpl.java186 public SourcePosition position() { method in class:TagImpl
187 return holder.position();
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/
H A DTokenStream.java46 /** Cursor to write position in buffer */
49 /** Cursor to read position in buffer */
67 * Get the next position in the buffer.
68 * @param position Current position in buffer.
69 * @return Next position in buffer.
71 private int next(final int position) { argument
72 // Next position.
73 int next = position + 1;
85 * Get the index position i
[all...]
/openjdk10/jdk/test/java/util/zip/
H A DTimeChecksum.java62 int pos = buf.position();
65 if (limit != buf.position() || limit != buf.limit()) {
67 buf.position(), buf.limit(), limit, limit);
70 buf.position(pos);
98 int pos = buf.position();
101 if (limit != buf.position() || limit != buf.limit()) {
103 buf.position(), buf.limit(), limit, limit);
106 buf.position(pos);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.code/src/org/graalvm/compiler/code/
H A DCompilationResult.java70 public final int position; field in class:CompilationResult.CodeAnnotation
72 public CodeAnnotation(int position) { argument
73 this.position = position;
91 * A string comment about one or more instructions at a specific position in the code.
97 public CodeComment(int position, String comment) { argument
98 super(position);
109 if (this.position == that.position && this.value.equals(that.value)) {
118 return getClass().getSimpleName() + "@" + position
148 JumpTable(int position, int low, int high, int entrySize) argument
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm/src/org/graalvm/compiler/asm/
H A DAssembler.java42 * The position (bytes from the beginning of the method) of the annotated instruction.
72 * Returns the current position of the underlying code buffer.
74 * @return current position in code buffer
76 public int position() { method in class:Assembler
77 return codeBuffer.position();
148 * including) {@code position()} is returned
157 l.bind(position());
233 LabelHint hint = new LabelHint(label, position());
254 this.capturedTarget = label.position();
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/debug/
H A DDynamicCounterNode.java93 public static void addCounterBefore(String group, String name, long increment, boolean withContext, FixedNode position) { argument
94 StructuredGraph graph = position.graph();
95 graph.addBeforeFixed(position, position.graph().add(new DynamicCounterNode(name, group, ConstantNode.forLong(increment, position.graph()), withContext)));
/openjdk10/jdk/src/java.base/share/classes/sun/nio/cs/
H A DUTF_32Coder.java67 int mark = src.position();
86 src.position(mark);
108 src.position(mark);
146 int mark = src.position();
180 src.position(mark);
/openjdk10/jdk/src/jdk.internal.le/share/classes/jdk/internal/jline/internal/
H A DInputStreamReader.java204 * at position {@code offset} in the character array {@code buf}. Returns
213 * the initial position in {@code buf} to store the characters
251 && (out.position() > offset)) {
280 bytes.limit(bytes.position());
281 bytes.position(0);
300 return out.position() - offset == 0 ? -1 : out.position() - offset;
/openjdk10/jdk/test/java/net/httpclient/whitebox/jdk.incubator.httpclient/jdk/incubator/http/
H A DResponseHeadersTest.java122 byte[] res = new byte[buffer.limit() - buffer.position()];
123 System.arraycopy(buffer.array(), buffer.position(), res, 0, res.length);
124 buffer.position(buffer.limit());
130 int p = buffer.position();
136 byte[] res = new byte[buffer.position() - p -2];
/openjdk10/jdk/test/java/nio/channels/AsynchronousFileChannel/
H A DLotsOfWrites.java50 private volatile long position; field in class:LotsOfWrites.Writer
54 position += nwrote;
55 return position;
59 int n = Math.min(8192 + rand.nextInt(8192), (int)(size - position));
103 if (position >= size) {
/openjdk10/jdk/test/javax/net/ssl/Stapling/
H A DStapleEnableProps.java329 * start at the current position of the buffer and run to its limit.
330 * After completing the dump, the position will be returned to its
358 * ByteBuffer has its position set at the first byte of the TLS record
361 * position reset to the initial offset in the buffer. If an exception is
362 * thrown the position at the time of the exception will be preserved.
409 data.position(data.position() + 34);
414 data.position(data.position() + sessLen);
420 data.position(dat
[all...]
/openjdk10/nashorn/test/script/jfx/
H A Dspread.js74 // create tree at the specified position with number of branches
75 function create_tree(branches, start_width, position, branch_count) {
78 branch_add(branches, new Branch(position, angle_offset * i, start_width));
88 // get the coordinates for the position of a new tree
98 // position has x and y properties
100 function Branch(position, direction, width) {
101 this.x = position.x;
102 this.y = position.y;
108 // update position, direction and width of a particular branch
160 // constrain branch position t
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64Call.java199 int before = masm.position();
215 int after = masm.position();
222 int before = masm.position();
224 int after = masm.position();
231 int before = masm.position();
234 int after = masm.position();
240 int before = masm.position();
242 int after = masm.position();
248 int before = masm.position();
250 int after = masm.position();
[all...]
/openjdk10/jdk/test/java/nio/Buffer/
H A DByteBufferViews.java61 Map.entry("ByteBuffer.allocate(size).position(8)",
62 size -> ByteBuffer.allocate(size).position(8)),
63 Map.entry("ByteBuffer.allocate(size).position(8).slice()",
64 size -> ByteBuffer.allocate(size).position(8).slice()),
65 Map.entry("ByteBuffer.allocate(size).position(8).slice().duplicate()",
66 size -> ByteBuffer.allocate(size).position(8).slice().duplicate()),
68 Map.entry("ByteBuffer.allocate(size).position(1)",
69 size -> ByteBuffer.allocate(size).position(1)),
70 Map.entry("ByteBuffer.allocate(size).position(1).slice()",
71 size -> ByteBuffer.allocate(size).position(
[all...]
H A DBasicDouble.java104 b.position(0);
121 c.position(7);
125 c.position(7);
141 b.position(0);
189 ck(slice, 0, slice.position());
555 b.position(13);
564 b.position(b.limit());
573 () -> b.position(0).mark().compact().reset());
576 b.position(b.limit() + 1);
577 fail("IllegalArgumentException expected for position beyon
[all...]
H A DBasicFloat.java104 b.position(0);
121 c.position(7);
125 c.position(7);
141 b.position(0);
189 ck(slice, 0, slice.position());
555 b.position(13);
564 b.position(b.limit());
573 () -> b.position(0).mark().compact().reset());
576 b.position(b.limit() + 1);
577 fail("IllegalArgumentException expected for position beyon
[all...]
H A DBasicShort.java104 b.position(0);
121 c.position(7);
125 c.position(7);
141 b.position(0);
189 ck(slice, 0, slice.position());
555 b.position(13);
564 b.position(b.limit());
573 () -> b.position(0).mark().compact().reset());
576 b.position(b.limit() + 1);
577 fail("IllegalArgumentException expected for position beyon
[all...]
H A DBasicInt.java104 b.position(0);
121 c.position(7);
125 c.position(7);
141 b.position(0);
189 ck(slice, 0, slice.position());
555 b.position(13);
564 b.position(b.limit());
573 () -> b.position(0).mark().compact().reset());
576 b.position(b.limit() + 1);
577 fail("IllegalArgumentException expected for position beyon
[all...]
H A DBasicLong.java104 b.position(0);
121 c.position(7);
125 c.position(7);
141 b.position(0);
189 ck(slice, 0, slice.position());
555 b.position(13);
564 b.position(b.limit());
573 () -> b.position(0).mark().compact().reset());
576 b.position(b.limit() + 1);
577 fail("IllegalArgumentException expected for position beyon
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/security/ssl/
H A DDTLSOutputRecord.java164 int dstPos = destination.position();
168 destination.position(dstContent);
176 sources[i].limit(sources[i].position() + amount);
183 destination.limit(destination.position());
184 destination.position(dstContent);
201 temporary.limit(temporary.position());
202 temporary.position(dstPos);
224 int dstPos = destination.position();
228 destination.position(dstContent);
232 destination.limit(destination.position());
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/
H A DTextComponent.java85 * {@code selectionStart} is the start position
97 * is the end position of the selected text.
350 * Gets the start position of the selected text in
352 * @return the start position of the selected text
366 * the specified position. The new start point is constrained
373 * @param selectionStart the start position of the
387 * Gets the end position of the selected text in
389 * @return the end position of the selected text
403 * the specified position. The new end point is constrained
409 * @param selectionEnd the end position o
508 setCaretPosition(int position) argument
[all...]
H A DChoice.java234 * @param index the new item position
256 * Inserts the item into this choice at the specified position.
270 * @param index the position at which the item should be inserted
318 * at the specified position. If the item
324 * @param position the position of the item
326 * position is out of bounds
329 public void remove(int position) { argument
331 removeNoInvalidate(position);
340 * specified position, bu
345 removeNoInvalidate(int position) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DType1Font.java207 mapBuf.position(0);
278 mappedBuf.position(offset);
287 * ie endianness, position etc, are shared. verify() can do
298 bb.position(6);
301 bb.position(0);
375 int pos = bb.position();
421 bb.position(0);
424 bb.position(8);
600 starting from the current position.
604 int pos1 = bb.position()
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/security/x509/
H A DKeyUsageExtension.java83 * @param position the position in the bit string to check.
85 private boolean isSet(int position) { argument
86 return (position < bitString.length) &&
87 bitString[position];
91 * Set the bit at the specified position.
93 private void set(int position, boolean val) { argument
95 if (position >= bitString.length) {
96 boolean[] tmp = new boolean[position+1];
100 bitString[position]
[all...]
/openjdk10/jdk/src/java.base/share/classes/javax/crypto/
H A DCipherSpi.java528 * <code>input.position()</code> are processed. The result is stored
530 * Upon return, the input buffer's position will be equal
532 * position will have advanced by n, where n is the value returned
679 * <code>input.position()</code> are processed.
684 * Upon return, the input buffer's position will be equal
686 * position will have advanced by n, where n is the value returned
751 int inPos = input.position();
770 int outPos = output.position();
778 input.position(inLimit);
779 output.position(outPo
[all...]

Completed in 294 milliseconds

1234567891011>>