/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/ |
H A D | ASCIIReader.java | 193 * Tell whether this stream supports the mark() operation. 202 * character-input streams support the mark() operation. 205 * read while still preserving the mark. After 209 * @exception IOException If the stream does not support mark(), 212 public void mark(int readAheadLimit) throws IOException { method in class:ASCIIReader 213 fInputStream.mark(readAheadLimit); 214 } // mark(int) 218 * reposition it at the mark. If the stream has not been marked, then 222 * reset() without supporting mark(). 225 * or if the mark ha [all...] |
H A D | UCSReader.java | 257 * Tell whether this stream supports the mark() operation. 266 * character-input streams support the mark() operation. 269 * read while still preserving the mark. After 273 * @exception IOException If the stream does not support mark(), 276 public void mark(int readAheadLimit) throws IOException { method in class:UCSReader 277 fInputStream.mark(readAheadLimit); 278 } // mark(int) 282 * reposition it at the mark. If the stream has not been marked, then 286 * reset() without supporting mark(). 289 * or if the mark ha [all...] |
H A D | UTF8Reader.java | 612 * Tell whether this stream supports the mark() operation. 621 * character-input streams support the mark() operation. 624 * read while still preserving the mark. After 628 * @exception IOException If the stream does not support mark(), 631 public void mark(int readAheadLimit) throws IOException { method in class:UTF8Reader 632 throw new IOException(fFormatter.formatMessage(fLocale, "OperationNotSupported", new Object[]{"mark()", "UTF-8"})); 633 } // mark(int) 637 * reposition it at the mark. If the stream has not been marked, then 641 * reset() without supporting mark(). 644 * or if the mark ha [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/compiler/ |
H A D | Lexer.java | 435 * Reset token queue mark and m_token to a 437 * @param mark The new position. 439 private final void resetTokenMark(int mark) argument 444 m_processor.m_queueMark = (mark > 0) 445 ? ((mark <= qsz) ? mark - 1 : mark) : 0;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | BufferManagerReadStream.java | 292 // the mark was engaged. 299 public void mark(RestorableInputStream inputStream) method in class:BufferManagerReadStream 313 // Collects fragments received since the mark was engaged. 328 // REVISIT - call to reset without call to mark
|
H A D | MarshalInputStream.java | 80 // mark/reset from java.io.InputStream 81 public void mark(int readAheadLimit); method in interface:MarshalInputStream
|
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | AudioInputStream.java | 40 * for reading. An audio input stream may support marks. When you set a mark, 90 * The position where a mark was set. 107 * MarkBuffer at mark position 396 * the mark position becomes invalid. 401 public void mark(int readlimit) { method in class:AudioInputStream 403 stream.mark(readlimit); 420 * <code>mark</code> method was last invoked. 422 * @see #mark 441 * Tests whether this audio input stream supports the <code>mark</code> and 443 * @return <code>true</code> if this stream supports the <code>mark</cod [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedReader.java | 78 /** The skipLF flag when the mark was set */ 119 * Fills the input buffer, taking the mark into account if it is valid. 124 /* No mark */ 130 /* Gone past read-ahead limit: Invalidate mark */ 198 if there is no mark/reset activity, and if line feeds are not 254 * however, the buffer is empty, the mark is not valid, and the requested 461 * Tells whether this stream supports the mark() operation, which it does. 472 * read while still preserving the mark. An attempt 483 public void mark(int readAheadLimit) throws IOException { method in class:BufferedReader 496 * Resets the stream to the most recent mark [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Buffer.java | 82 * <p> A buffer's <i>mark</i> is the index to which its position will be reset 83 * when the {@link #reset reset} method is invoked. The mark is not always 85 * than the position. If the mark is defined then it is discarded when the 86 * position or the limit is adjusted to a value smaller than the mark. If the 87 * mark is not defined then invoking the {@link #reset reset} method causes an 93 * <p> The following invariant holds for the mark, position, limit, and 98 * <i>mark</i> <tt><=</tt> 104 * <p> A newly-created buffer always has a position of zero and a mark that is 140 * content to be changed, but its mark, position, and limit values are mutable. 176 // Invariants: mark < 177 private int mark = -1; field in class:Buffer 189 Buffer(int mark, int pos, int lim, int cap) argument 279 public final Buffer mark() { method in class:Buffer [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/atomic/ |
H A D | AtomicMarkableReference.java | 40 * along with a mark bit, that can be updated atomically. 54 final boolean mark; field in class:AtomicMarkableReference.Pair 55 private Pair(T reference, boolean mark) { argument 57 this.mark = mark; 59 static <T> Pair<T> of(T reference, boolean mark) { argument 60 return new Pair<T>(reference, mark); 71 * @param initialMark the initial mark 87 * Returns the current value of the mark. 89 * @return the current value of the mark [all...] |
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AudioFloatInputStream.java | 112 public void mark(int readlimit) { method in class:AudioFloatInputStream.BytaArrayAudioFloatInputStream 201 public void mark(int readlimit) { method in class:AudioFloatInputStream.DirectAudioFloatInputStream 202 stream.mark(readlimit * framesize_pc); 276 public abstract void mark(int readlimit); method in class:AudioFloatInputStream
|
H A D | SunFileWriter.java | 217 public void mark(int readlimit) { method in class:SunFileWriter.NoCloseInputStream 218 in.mark(readlimit);
|
H A D | AudioFloatFormatConverter.java | 95 public synchronized void mark(int readlimit) { method in class:AudioFloatFormatConverter.AudioFloatFormatConverterInputStream 96 stream.mark(readlimit * fsize); 158 public void mark(int readlimit) { method in class:AudioFloatFormatConverter.AudioFloatInputStreamChannelMixer 159 ais.mark((readlimit / targetChannels) * sourceChannels); 322 public void mark(int readlimit) { method in class:AudioFloatFormatConverter.AudioFloatInputStreamResampler 323 ais.mark((int) (readlimit * pitch[0]));
|
H A D | ModelByteBuffer.java | 54 private long mark = 0; field in class:ModelByteBuffer.RandomFileInputStream 69 public synchronized void mark(int readlimit) { method in class:ModelByteBuffer.RandomFileInputStream 71 mark = raf.getFilePointer(); 83 raf.seek(mark);
|
/openjdk7/hotspot/src/share/tools/LogCompilation/src/com/sun/hotspot/tools/compiler/ |
H A D | LogCleanupReader.java | 197 public void mark(int unused) throws java.io.IOException { method in class:LogCleanupReader 198 throw new UnsupportedOperationException("mark not supported");
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/ |
H A D | XmlReader.java | 79 // real byte order mark. 467 * Returns true iff the reader supports mark/reset. 474 * Sets a mark allowing a limited number of characters to 479 public void mark(int value) throws IOException { method in class:XmlReader 480 if (in != null) in.mark(value);
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/ |
H A D | StreamSOAPCodec.java | 253 XMLStreamBuffer mark = new XMLStreamBufferMark(headerBlockNamespaces, creator); 255 headers.add(createHeader(reader, mark)); 271 protected abstract StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark); argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/ |
H A D | FastInfosetStreamSOAPCodec.java | 119 protected abstract StreamHeader createHeader(XMLStreamReader reader, XMLStreamBuffer mark); argument
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/message/stream/ |
H A D | StreamHeader.java | 108 * The parser pointing at the start of the mark. 111 * @param mark 114 protected StreamHeader(XMLStreamReader reader, XMLStreamBuffer mark) { argument 115 assert reader!=null && mark!=null; 116 _mark = mark;
|
/openjdk7/jdk/test/java/lang/instrument/ |
H A D | RetransformAgent.java | 143 public static void callTracker(int mark) { argument 144 System.err.println("got mark " + mark); 145 if (markCount >= markGolden.length || mark != markGolden[markCount++]) {
|
/openjdk7/jdk/src/share/classes/sun/net/www/http/ |
H A D | KeepAliveStream.java | 116 /* we explicitly do not support mark/reset */ 122 public void mark(int limit) {} method in class:KeepAliveStream 125 throw new IOException("mark/reset not supported");
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | Oop.java | 49 mark = new CIntField(type.getCIntegerField("_mark"), 0); 73 private static CIntField mark; field in class:Oop 146 Mark mark = getMark(); 147 if (mark.isUnlocked() && (!mark.hasNoHash())) { 148 return (int) mark.hash(); 149 } else if (mark.isMarked()) { 150 return (int) mark.hash(); 169 visitor.doCInt(mark, true);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | StyledEditorKit.java | 224 * Updates the attributes. <code>dot</code> and <code>mark</code> 225 * mark give the positions of the selection in <code>c</code>. 227 void updateInputAttributes(int dot, int mark, JTextComponent c) { argument 233 int start = Math.min(dot, mark); 241 if (currentParagraph.getStartOffset() == start || dot != mark) {
|
/openjdk7/jdk/src/share/classes/java/beans/ |
H A D | XMLEncoder.java | 344 private void mark(Object o, boolean isArgument) { method in class:XMLEncoder 350 // Do not mark liternal strings. Other strings, which might, 365 mark(exp); 374 private void mark(Statement stm) { method in class:XMLEncoder 378 mark(arg, true); 380 mark(stm.getTarget(), false); 402 Note we must do the mark first as we may 409 mark(oldStm);
|
/openjdk7/jdk/src/share/classes/javax/imageio/stream/ |
H A D | ImageInputStream.java | 869 * support marking. Additionally, calls to <code>mark</code> and 872 * <p> Unlike the <code>mark</code> methods declared by the 875 * of data may be read following the call to <code>mark</code>. 879 * <code>mark</code> and <code>reset</code>. 883 * Therefore, if an application calls <code>mark</code> prior to 888 void mark(); method in interface:ImageInputStream 893 * to <code>mark</code>. 896 * to <code>mark</code> have no effect.
|