Searched refs:reset (Results 1 - 25 of 161) sorted by relevance

1234567

/libcore/luni/src/main/java/java/util/zip/
H A DChecksum.java36 public void reset(); method in interface:Checksum
H A DAdler32.java43 public void reset() { method in class:Adler32
H A DCRC32.java44 public void reset() { method in class:CRC32
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
H A DAdler32Test.java41 adl.reset();
47 adl.reset();
48 assertEquals("reset failed to reset the checksum value to zero", 1, adl
51 adl.reset();
60 * java.util.zip.Adler32#reset()
63 // test methods of java.util.zip.reset()
70 adl.reset();
71 assertEquals("reset failed to reset th
[all...]
H A DCRC32Test.java41 crc.reset();
49 crc.reset();
58 crc.reset();
65 crc.reset();
66 assertEquals("reset failed to reset the checksum value to zero", 0, crc
71 * java.util.zip.CRC32#reset()
74 // test methods of java.util.zip.crc32.reset()
82 crc.reset();
83 assertEquals("reset faile
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DASCIICharsetEncoderTest.java84 encoder.reset();
89 encoder.reset();
104 encoder.reset();
129 encoder.reset();
143 encoder.reset();
150 //reset could be called at any time
153 //Init - > reset
154 newEncoder.reset();
156 //reset - > reset
[all...]
H A DCharsetEncoderTest.java261 * methods which can change internal states are two encode, flush, two canEncode, reset
265 // Normal case: just after reset, and it also means reset can be done
268 assertSame(encoder, encoder.reset());
270 assertSame(encoder, encoder.reset());
272 assertSame(encoder, encoder.reset());
274 assertSame(encoder, encoder.reset());
276 assertSame(encoder, encoder.reset());
278 assertSame(encoder, encoder.reset());
285 // Illegal state: after reset
[all...]
H A DCharsetDecoderTest.java252 decoder.reset();
258 decoder.reset();
276 decoder.reset();
282 decoder.reset();
312 decoder.reset();
325 decoder.reset();
338 decoder.reset();
348 decoder.reset();
364 decoder.reset();
412 decoder.reset();
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
H A DAbstractBufferTest.java56 baseBuf.reset();
77 baseBuf.reset();
131 baseBuf.reset();
142 baseBuf.reset();
177 baseBuf.reset();
182 baseBuf.reset();
221 baseBuf.reset();
237 baseBuf.reset();
263 baseBuf.reset();
268 baseBuf.reset();
[all...]
/libcore/luni/src/main/java/java/io/
H A DFilterInputStream.java70 * Sending {@code reset()} will reposition this stream back to the marked
79 * @see #reset()
87 * Indicates whether this stream supports {@code mark()} and {@code reset()}.
91 * @return {@code true} if {@code mark()} and {@code reset()} are supported,
94 * @see #reset()
133 public synchronized void reset() throws IOException { method in class:FilterInputStream
134 in.reset();
139 * calls to {@code read} will not return these bytes unless {@code reset} is
147 * @see #reset()
H A DFilterReader.java64 * Sending {@code reset()} will reposition this reader back to the marked
75 * @see #reset()
85 * Indicates whether this reader supports {@code mark()} and {@code reset()}.
88 * @return {@code true} if {@code mark()} and {@code reset()} are supported
91 * @see #reset()
156 * {@code reset()} in the Reader subclass that is filtered by this reader.
161 * {@code mark()} and {@code reset()}.
166 public void reset() throws IOException { method in class:FilterReader
168 in.reset();
174 * will not return these characters unless {@code reset} i
[all...]
H A DLineNumberInputStream.java82 * Sending {@code reset()} will reposition this stream back to the marked
84 * The line number count will also be reset to the last marked
93 * @see #reset()
191 public void reset() throws IOException { method in class:LineNumberInputStream
192 in.reset();
205 * @see #reset()
213 * calls to {@code read} will not return these bytes unless {@code reset} is
225 * @see #reset()
H A DLineNumberReader.java76 * Sending {@code reset()} will reposition this reader back to the marked
79 * it can be restored when {@code reset()} is called.
87 * @see #reset()
211 public void reset() throws IOException { method in class:LineNumberReader
213 super.reset();
227 * @see #reset()
237 * {@code read} will not return these characters unless {@code reset}
249 * @see #reset()
/libcore/luni/src/main/java/java/text/
H A DCollationElementIterator.java48 * To change iteration direction, {@code reset}, {@code setOffset} or {@code setText}
49 * must be called to reset the iterator. If a change of direction is done without one
138 * attributes changed, calling {@code reset()} reinitializes the iterator to
141 public void reset() { method in class:CollationElementIterator
142 this.icuIterator.reset();
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLInputStream.java51 public synchronized void reset() throws IOException { method in class:FtpURLInputStream
52 is.reset();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DLineNumberInputStreamTest.java77 lnis.reset();
110 * java.io.LineNumberInputStream#reset()
115 lnis.reset();
116 assertEquals("Failed to reset", 0, lnis.getLineNumber());
117 assertEquals("Failed to reset", '0', lnis.read());
118 lnis.reset();
124 lnis.reset();
155 * In order for IOException to be thrown in reset(),the inputStream to
156 * the constructor cannot be a byteArrayInputstream because the reset()
H A DByteArrayInputStreamTest.java99 is.reset();
101 is.reset();
119 is.reset();
136 * ByteArrayInputStream#reset()
143 is.reset();
145 is.reset();
H A DBufferedInputStreamTest.java250 is.reset();
252 is.reset();
265 in.reset();
272 in.reset();
430 * java.io.BufferedInputStream#reset()
437 is.reset();
439 is.reset();
449 bIn.reset();
453 * java.io.BufferedInputStream#reset()
460 bis.reset();
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSecurityChecker.java54 public SecurityChecker reset() { method in class:SecurityChecker
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DTrustManagerFactorySpiTest.java55 factory.reset();
69 factory.reset();
82 factory.reset();
97 factory.reset();
108 factory.reset();
114 factory.reset();
/libcore/luni/src/test/java/libcore/java/util/zip/
H A DOldAndroidChecksumTest.java48 adler.reset();
63 crc.reset();
87 adler.reset();
/libcore/luni/src/test/java/libcore/java/io/
H A DOldLineNumberInputStreamTest.java114 lnis.reset();
115 assertEquals("Test 1: Failed to reset", 0, lnis.getLineNumber());
116 assertEquals("Test 2: Failed to reset", '0', lnis.read());
117 lnis.reset();
122 lnis.reset();
131 lnis.reset();
167 * In order for IOException to be thrown in reset(),the inputStream to
168 * the constructor cannot be a byteArrayInputstream because the reset()
H A DOldByteArrayInputStreamTest.java110 is.reset();
112 is.reset();
132 is.reset();
180 // Test for method void java.io.ByteArrayInputStream.reset()
186 is.reset();
188 is.reset();
192 fail("Exception during reset test : " + e.getMessage());
/libcore/luni/src/main/java/java/util/regex/
H A DMatcher.java90 reset(input);
161 public Matcher reset() { method in class:Matcher
162 return reset(input, 0, input.length());
176 public Matcher reset(CharSequence input) { method in class:Matcher
177 return reset(input, 0, input.length());
184 * the region. This is the internal version of reset() to which the several
196 private Matcher reset(CharSequence input, int start, int end) { method in class:Matcher
269 return reset(input, start, end);
299 reset();
316 reset();
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DCollationElementIteratorICU.java21 * reset() has to be called.
31 * iterator.reset();
45 public void reset() { method in class:CollationElementIteratorICU
46 NativeCollation.reset(address);

Completed in 384 milliseconds

1234567