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

123456

/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/nio_char/tests/java/nio/charset/
H A DASCIICharsetEncoderTest.java84 encoder.reset();
89 encoder.reset();
98 encoder.reset();
123 encoder.reset();
137 encoder.reset();
144 //reset could be called at any time
147 //Init - > reset
148 newEncoder.reset();
150 //reset - > reset
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/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.java144 * attributes changed, calling {@code reset()} reinitializes the iterator to
147 public void reset() { method in class:CollationElementIterator
148 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/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSecurityChecker.java54 public SecurityChecker reset() { method in class:SecurityChecker
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldNodeChangeEventTest.java65 nl.reset();
70 nl.reset();
113 nl.reset();
118 nl.reset();
163 public void reset() { method in class:OldNodeChangeEventTest.MockNodeChangeListener
H A DOldPreferenceChangeEventTest.java46 pl.reset();
71 pl.reset();
76 pl.reset();
101 pl.reset();
151 public void reset() { method in class:OldPreferenceChangeEventTest.MockPreferenceChangeListener
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/
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/luni/src/test/java/libcore/java/io/
H A DOldBufferedInputStreamTest.java130 // Test 1: Check that reset fails if no mark has been set.
132 is.reset();
138 // Test 2: Check that mark / reset works when the mark is not invalidated.
142 is.reset();
144 is.reset();
145 assertTrue("Test 2: Failed to mark correct position or reset failed.",
152 is.reset();
157 is.reset();
158 assertTrue("Test 4: Failed to mark correct position, or reset failed.",
161 // Test 8: Check that reset fail
[all...]
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/test/java/tests/api/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/crypto/src/main/java/org/conscrypt/
H A DOpenSSLMac.java93 reset();
96 private void reset() { method in class:OpenSSLMac
114 reset();
120 reset();
H A DTrustedCertificateIndex.java77 public void reset() { method in class:TrustedCertificateIndex
83 public void reset(Set<TrustAnchor> anchors) { method in class:TrustedCertificateIndex
85 reset();
/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);
301 reset();
318 reset();
[all...]
/libcore/luni/src/main/java/libcore/icu/
H A DCollationElementIteratorICU.java21 * reset() has to be called.
31 * iterator.reset();
54 public void reset() { method in class:CollationElementIteratorICU
55 NativeCollation.reset(address);

Completed in 2502 milliseconds

123456