/openjdk7/jdk/src/share/classes/sun/nio/cs/ext/ |
H A D | IBM964.java | 125 int sp = src.arrayOffset() + src.position(); 130 int dp = dst.arrayOffset() + dst.position(); 192 src.position(sp - src.arrayOffset()); 193 dst.position(dp - dst.arrayOffset()); 198 int mark = src.position(); 253 src.position(mark);
|
H A D | SimpleEUCEncoder.java | 99 int sp = src.arrayOffset() + src.position(); 104 int dp = dst.arrayOffset() + dst.position(); 183 src.position(sp - src.arrayOffset()); 184 dst.position(dp - dst.arrayOffset()); 192 int mark = src.position(); 261 src.position(mark);
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | BasicDouble.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 410 b.position(13); 419 b.position(b.limit()); 448 b.position(0); 513 b.position(2); 514 b2.position( [all...] |
H A D | BasicFloat.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 410 b.position(13); 419 b.position(b.limit()); 448 b.position(0); 513 b.position(2); 514 b2.position( [all...] |
H A D | BasicInt.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 410 b.position(13); 419 b.position(b.limit()); 448 b.position(0); 513 b.position(2); 514 b2.position( [all...] |
H A D | BasicLong.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 410 b.position(13); 419 b.position(b.limit()); 448 b.position(0); 513 b.position(2); 514 b2.position( [all...] |
H A D | BasicShort.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 410 b.position(13); 419 b.position(b.limit()); 448 b.position(0); 513 b.position(2); 514 b2.position( [all...] |
/openjdk7/hotspot/src/share/vm/code/ |
H A D | debugInfoRec.cpp | 111 assert(_stream->position() > serialized_null, "sanity"); 178 int result = stream()->position(); 199 int result = stream()->position(); 244 int stream_length = stream()->position() - stream_offset; 296 int stream_offset = stream()->position(); 395 return _stream->position(); 408 nm->copy_scopes_data(stream()->buffer(), stream()->position());
|
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | TextComponent.java | 85 * <code>selectionStart</code> is the start position 97 * is the end position of the selected text. 341 * Gets the start position of the selected text in 343 * @return the start position of the selected text 357 * the specified position. The new start point is constrained 364 * @param selectionStart the start position of the 378 * Gets the end position of the selected text in 380 * @return the end position of the selected text 394 * the specified position. The new end point is constrained 400 * @param selectionEnd the end position o 499 setCaretPosition(int position) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11Cipher.java | 614 int origPos = inBuffer.position(); 635 outOfs = outBuffer.position(); 639 outOfs = (outBuffer.position() + outBuffer.arrayOffset()); 651 inBuffer.position(origPos + inLen); 690 inBuffer.position(inBuffer.position() + inLen); 706 outBuffer.position(outBuffer.position() + k); 710 // Reset input buffer to its original position for 711 inBuffer.position(origPo [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/ |
H A D | JCDiagnostic.java | 88 * @param pos The source position at which to report the error. 100 * @param pos The source position at which to report the warning. 114 * @param pos The source position at which to report the warning. 140 * @param pos The source position at which to report the warning. 153 * @param pos The source position at which to report the warning. 185 * @param pos The source position at which to report the note. 209 * @param pos The source position at which to report the message. 224 * @param pos The source position at which to report the message. 291 * that gave rise to a diagnostic. It always defines a "preferred" position 298 /** If there is a tree node, get the start position o 347 private final DiagnosticPosition position; field in class:JCDiagnostic [all...] |
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/EngineArgs/ |
H A D | DebugReportsOneExtraByte.java | 224 if (serverOut.position() == 1) { 250 if (!dataDone && (clientOut.limit() == serverIn.position()) && 251 (serverOut.limit() == clientIn.position())) { 365 a.position(a.limit()); 366 b.position(b.limit());
|
/openjdk7/jdk/test/java/util/BitSet/ |
H A D | ImportExport.java | 76 bb.position(k); 117 b2.position(beg); 119 b2.limit(b2.position()); 120 b2.position(beg); 134 equal(s3.get(i), ((b2.get(b2.position()+i/64) & (1L<<(i%64))) != 0));
|
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialBlob.java | 146 * 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 D | SerialClob.java | 230 * <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/java/util/zip/ |
H A D | ZipCoder.java | 69 return new String(ca, 0, cb.position()); 99 if (bb.position() == ba.length) // defensive copy? 102 return Arrays.copyOf(ba, bb.position());
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AbstractLine.java | 166 long position = getLongFramePosition(); 177 sendEvents(new LineEvent(this, LineEvent.Type.OPEN, position)); 179 sendEvents(new LineEvent(this, LineEvent.Type.CLOSE, position)); 205 * Return the frame position in a long value
|
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | formsopt.cpp | 598 void PeepMatch::add_instruction(int parent, int position, const char *name, argument 600 if( position > _max_position ) _max_position = position; 603 _position.addName((char*) (intptr_t) position); 613 const char *PeepMatch::instruction_name(int position) { argument 614 return _instrs.name(position); 625 void PeepMatch::next_instruction(int &parent, int &position, const char* &name, int &input) { argument 627 position = (int) (intptr_t) _position.iter(); 632 // 'true' if current position in iteration is a placeholder, not matched. 654 // Check if constraints use instruction at position 655 constrains_instruction(int position) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Transfer.java | 79 long oldSinkPosition = sinkChannel.position(); 80 long oldSourcePosition = sourceChannel.position(); 86 if (sourceChannel.position() == oldSourcePosition) 87 throw new RuntimeException("Source position didn't change"); 89 if (sinkChannel.position() != oldSinkPosition) 90 throw new RuntimeException("Sink position changed"); 132 long oldPosition = fc.position(); 139 if (fc.position() != oldPosition) 353 sourceChannel.position(7); 354 long remaining = sourceChannel.size() - sourceChannel.position(); [all...] |
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ |
H A D | ZipCoder.java | 74 return new String(ca, 0, cb.position()); 96 if (bb.position() == ba.length) // defensive copy? 99 return Arrays.copyOf(ba, bb.position());
|
/openjdk7/jdk/src/share/classes/sun/security/util/ |
H A D | BitArray.java | 49 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/javax/crypto/Cipher/ |
H A D | ByteBuffersNull.java | 72 ByteBuffer getByteBuffer(int capacity, int position, argument 76 bb.position(position); 102 // ByteBuffer with some data but position is at the limit 104 "ByteBuffer with data but position at the limit",
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | EUC_TW_OLD.java | 10591 int sp = src.arrayOffset() + src.position(); 10597 int dp = dst.arrayOffset() + dst.position(); 10669 src.position(sp - src.arrayOffset()); 10670 dst.position(dp - dst.arrayOffset()); 10677 int mark = src.position(); 10746 src.position(mark); [all...] |
H A D | FindEncoderBugs.java | 122 byte[] bytes = new byte[bb.position()]; 129 ipos = ib.position(); 138 int pos = b.position(); 140 b.position(0); 142 b.position(pos); 147 byte[] a = new byte[b.position()]; 148 b.position(0); 283 // (rob.position() == 0 || hasBom(rob)))) { 291 // rib.position(0); 297 // (rob.position() [all...] |
/openjdk7/jdk/src/share/classes/sun/management/counter/perf/ |
H A D | PerfInstrumentation.java | 73 buffer.position(prologue.getEntryOffset()); 74 nextEntry = buffer.position(); 101 buffer.position(nextEntry);
|