/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/ |
H A D | FileLock.java | 65 * held, the type and validity of the lock, and the position and size of the 111 * certain position, often 2<sup>30</sup> or 2<sup>31</sup>. In general, great 123 private final long position; field in class:FileLock 133 * @param position 134 * The position within the file at which the locked region starts; 139 * {@code position} + {@code size} must be non-negative 149 long position, long size, boolean shared) 152 if (position < 0) 153 throw new IllegalArgumentException("Negative position"); 156 if (position 148 FileLock(FileChannel channel, long position, long size, boolean shared) argument 187 FileLock(AsynchronousFileChannel channel, long position, long size, boolean shared) argument 237 public final long position() { method in class:FileLock 275 overlaps(long position, long size) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm/src/org/graalvm/compiler/asm/ |
H A D | Label.java | 32 private int position = -1; field in class:Label 42 * Returns the position of this label in the code buffer. 44 * @return the position 46 public int position() { method in class:Label 47 assert position >= 0 : "Unbound label is being referenced"; 48 return position; 63 * Binds the label to the specified position. 65 * @param pos the position 68 this.position = pos; 73 return position > [all...] |
H A D | Buffer.java | 43 public int position() { method in class:Buffer 44 return data.position(); 47 public void setPosition(int position) { argument 48 assert position >= 0 && position <= data.limit(); 49 data.position(position); 57 * including) {@code position()} is returned 63 // Make a copy even if result.length == data.position() since 65 result = Arrays.copyOf(result, data.position()); [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/ |
H A D | Scanner.java | 37 protected int position; field in class:Scanner 59 * @param start position index in content where to start 64 this.position = start; 68 reset(position); 86 * @param state state, the state is a tuple {position, limit, line} only visible internally 90 position = state.position; 94 reset(position); 102 public final int position; field in class:Scanner.State 110 State(final int position, fina argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/ |
H A D | HotSpotMethodDataAccessor.java | 11 * exact position within the method data. 34 static int readTag(HotSpotVMConfig config, HotSpotMethodData data, int position) { argument 35 final int tag = data.readUnsignedByte(position, config.dataLayoutTagOffset); 45 int getBCI(HotSpotMethodData data, int position) { argument 46 return data.readUnsignedShort(position, config.dataLayoutBCIOffset); 50 * Computes the size for the specific data at the given position. 54 final int getSize(HotSpotMethodData data, int position) { argument 55 int size = staticSize + getDynamicSize(data, position); 57 int vmSize = HotSpotJVMCIRuntime.runtime().compilerToVm.methodDataProfileDataSize(data.metaspaceMethodData, position); 62 TriState getExceptionSeen(HotSpotMethodData data, int position) { argument 71 getTypeProfile(HotSpotMethodData data, int position) argument 79 getMethodProfile(HotSpotMethodData data, int position) argument 87 getBranchTakenProbability(HotSpotMethodData data, int position) argument 95 getSwitchProbabilities(HotSpotMethodData data, int position) argument 103 getExecutionCount(HotSpotMethodData data, int position) argument 111 getNullSeen(HotSpotMethodData data, int position) argument 115 getFlags(HotSpotMethodData data, int position) argument 123 getDynamicSize(HotSpotMethodData data, int position) argument [all...] |
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/ |
H A D | AbstractPerfDataBufferPrologue.java | 118 byteBuffer.position(PERFDATA_PROLOG_MAGIC_OFFSET); 133 byteBuffer.position(PERFDATA_PROLOG_BYTEORDER_OFFSET); 151 byteBuffer.position(PERFDATA_PROLOG_MAJOR_OFFSET); 162 byteBuffer.position(PERFDATA_PROLOG_MINOR_OFFSET); 231 int position = bb.position(); 236 bb.position(PERFDATA_PROLOG_MAGIC_OFFSET); 241 bb.position(position); 253 int position [all...] |
/openjdk10/jdk/test/javax/swing/text/WrappedPlainView/6857057/ |
H A D | StubLeafElement.java | 30 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();
|
/openjdk10/jdk/src/java.desktop/share/native/libfontmanager/layout/ |
H A D | GlyphIterator.cpp | 45 : direction(1), position(-1), nextLimit(-1), prevLimit(-1), 64 position = glyphCount; 75 position = that.position; 94 position = that.position; 113 position = that.position; 135 position = prevLimit; 144 return glyphStorage.insertGlyphs(position, coun [all...] |
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/code/ |
H A D | CompressedStream.java | 38 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;
|
H A D | CompressedWriteStream.java | 39 public CompressedWriteStream(Address buffer, int position) { argument 40 super(buffer, position);
|
/openjdk10/jdk/test/java/nio/Buffer/ |
H A D | AllocateDirectInit.java | 37 for (bb.position(0); bb.position() < bb.limit(); ) { 39 throw new RuntimeException("uninitialized buffer, position = " 40 + bb.position()); 47 for (bb.position(0); bb.position() < bb.limit(); )
|
/openjdk10/jdk/src/java.base/share/classes/java/nio/ |
H A D | Buffer.java | 37 * buffer are its capacity, limit, and position: </p> 48 * <p> A buffer's <i>position</i> is the index of the next element to be 49 * read or written. A buffer's position is never negative and is never 65 * at the current position and then increment the position by the number of 72 * affect the position. Absolute <i>get</i> and <i>put</i> operations throw 80 * current position. 85 * <p> A buffer's <i>mark</i> is the index to which its position will be reset 88 * than the position. If the mark is defined then it is discarded when the 89 * position o 194 private int position = 0; field in class:Buffer 269 public final int position() { method in class:Buffer 286 public Buffer position(int newPosition) { method in class:Buffer [all...] |
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/amd64/ |
H A D | AMD64ELFMacroAssembler.java | 55 currentEndOfInstruction = position(); 68 stub.setDispatchJumpOffset(position()); 73 stub.setMovOffset(position()); 77 stub.setC2IJumpOffset(position()); 81 stub.setResolveJumpStart(position()); 83 stub.setResolveJumpOffset(position()); 84 currentEndOfInstruction = position(); 88 stub.setSize(position()); 98 stub.setMovOffset(position()); 103 stub.setDispatchJumpOffset(position()); [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/ |
H A D | XML11EntityScanner.java | 71 if (fCurrentEntity.position == fCurrentEntity.count) { 76 int c = fCurrentEntity.ch[fCurrentEntity.position]; 99 if (fCurrentEntity.position == fCurrentEntity.count) { 104 int offset = fCurrentEntity.position; 105 int c = fCurrentEntity.ch[fCurrentEntity.position++]; 111 if (fCurrentEntity.position == fCurrentEntity.count) { 118 int cc = fCurrentEntity.ch[fCurrentEntity.position++]; 120 fCurrentEntity.position--; 129 checkEntityLimit(nt, fCurrentEntity, offset, fCurrentEntity.position - offset); 152 if (fCurrentEntity.position [all...] |
/openjdk10/test/lib/jdk/test/lib/hprof/parser/ |
H A D | PositionInputStream.java | 41 * '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;
|
H A D | PositionDataInputStream.java | 40 * (in effect 'position' in stream) so far. 61 public long position() { method in class:PositionDataInputStream 62 return ((PositionInputStream)in).position();
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/ |
H A D | DefaultLayoutStyle.java | 50 ComponentPlacement type, int position, Container parent) { 55 checkPosition(position); 58 (position == SwingConstants.EAST || 59 position == SwingConstants.WEST)) { 60 int indent = getIndent(component1, position); 69 public int getContainerGap(JComponent component, int position, argument 74 checkPosition(position); 83 int position) { 84 if (position == SwingConstants.EAST || 85 position 49 getPreferredGap(JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent) argument 82 isLabelAndNonlabel(JComponent c1, JComponent c2, int position) argument 106 getButtonGap(JComponent source, JComponent target, int position, int offset) argument 130 getButtonGap(JComponent source, int position, int offset) argument 139 getButtonGap(JComponent c, int position) argument 151 checkPosition(int position) argument 160 flipDirection(int position) argument 180 getIndent(JComponent c, int position) argument 216 isLeftAligned(AbstractButton button, int position) argument 227 isRightAligned(AbstractButton button, int position) argument 238 getInset(JComponent c, int position) argument 242 getInset(Insets insets, int position) argument [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDRInputStream_1_1.java | 48 return bbwi.position() + fragmentOffset; 57 // checkBlockLength since it may move the position 58 int alignment = computeAlignment(bbwi.position(), align); 60 if (bbwi.position() + n + alignment > bbwi.buflen) { 65 if (bbwi.position() + alignment == bbwi.buflen) 67 bbwi.position(bbwi.position() + alignment); 73 // fragmentation since the new bbwi.position() (after the header) 76 alignment = computeAlignment(bbwi.position(), align); 79 bbwi.position(bbw [all...] |
/openjdk10/hotspot/src/jdk.aot/share/classes/jdk.tools.jaotc/src/jdk/tools/jaotc/utils/ |
H A D | NativeOrderOutputStream.java | 72 int aligned = alignUp(position(), alignment); 74 int diff = aligned - position(); 81 assert aligned == position(); 85 public int position() { method in class:NativeOrderOutputStream 97 private NativeOrderOutputStream putAt(byte[] data, int length, int position) { argument 98 os.writeAt(data, length, position); 124 int position = os.size(); 125 PatchableInt patchableInt = new PatchableInt(position); 132 private final int position; field in class:NativeOrderOutputStream.Patchable 135 Patchable(int position) { argument 148 public int position() { method in class:NativeOrderOutputStream.Patchable 156 PatchableInt(int position) argument 183 writeAt(byte[] data, int length, int position) argument [all...] |
/openjdk10/jdk/make/src/classes/build/tools/generatenimbus/ |
H A D | GradientStop.java | 32 @XmlAttribute private float position; field in class:GradientStop 33 public float getPosition() { return position; }
|
/openjdk10/jdk/src/jdk.management/share/classes/com/sun/management/internal/ |
H A D | DiagnosticCommandArgumentInfo.java | 32 * arguments are identified by their position in the command line. The generic 43 * argumentA's position is 0, argumentB's position is 1 and argumentC's 44 * position is 2. 57 private final int position; field in class:DiagnosticCommandArgumentInfo 113 * identified by their position on command line. 134 * Returns the expected position of this argument if it is not an option, 135 * -1 otherwise. Argument position if defined from left to right, 139 * @return the expected position of this argument if it is not an option, 143 return position; 146 DiagnosticCommandArgumentInfo(String name, String description, String type, String defaultValue, boolean mandatory, boolean option, boolean multiple, int position) argument [all...] |
/openjdk10/jdk/src/jdk.internal.jvmstat/share/classes/sun/jvmstat/perfdata/monitor/v2_0/ |
H A D | PerfDataBufferPrologue.java | 111 byteBuffer.position(PERFDATA_PROLOG_ACCESSIBLE_OFFSET); 122 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET); 144 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET); 157 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET); 165 byteBuffer.position(PERFDATA_PROLOG_ENTRYOFFSET_OFFSET); 173 byteBuffer.position(PERFDATA_PROLOG_NUMENTRIES_OFFSET); 193 byteBuffer.position(PERFDATA_PROLOG_USED_OFFSET); 222 byteBuffer.position(PERFDATA_PROLOG_OVERFLOW_OFFSET); 237 byteBuffer.position(PERFDATA_PROLOG_MODTIMESTAMP_OFFSET); 252 byteBuffer.position(PERFDATA_PROLOG_NUMENTRIES_OFFSE [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | ChunkedIntArray.java | 106 * the record, both 0-based (though position 0 is reserved for special 108 * @param position int Record number 111 int readEntry(int position, int offset) throws ArrayIndexOutOfBoundsException argument 116 return fastArray[(position*slotsize)+offset]; 124 position*=slotsize; 125 int chunkpos = position >> lowbits; 126 int slotpos = position & lowmask; 132 // Check that the node at index "position" is not an ancestor 134 // RETURN -1. If position is NOT an ancestor, return position 138 specialFind(int startPos, int position) argument 193 writeEntry(int position, int offset, int value) argument 222 writeSlot(int position, int w0, int w1, int w2, int w3) argument 246 readSlot(int position, int[] buffer) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/ |
H A D | StringTokenizer.java | 55 * position within the string to be tokenized. Some operations advance this 56 * current position past the characters processed.<p> 240 * Skips delimiters starting from the specified position. If retDelims 248 int position = startPos; 249 while (!retDelims && position < maxPosition) { 251 char c = str.charAt(position); 254 position++; 256 int c = str.codePointAt(position); 260 position += Character.charCount(c); 263 return position; [all...] |
/openjdk10/jdk/test/java/net/httpclient/websocket/jdk.incubator.httpclient/jdk/incubator/http/internal/websocket/ |
H A D | MaskerTest.java | 100 // 1. position check 101 assertEquals(src.position(), srcCopy.position() + masked); 102 assertEquals(dst.position(), dstCopy.position() + masked); 104 src.position(srcCopy.position()); 105 dst.position(dstCopy.position()); 112 int srcPosition = src.position(); [all...] |