Searched refs:reset (Results 1 - 25 of 126) 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/include/
H A DScopedLocalRef.h32 reset();
35 void reset(T ptr = NULL) { function in class:ScopedLocalRef
H A DUniquePtr.h57 reset();
76 void reset(T* ptr = NULL) { function in class:UniquePtr
105 reset();
119 void reset(T* ptr = NULL) { function in class:UniquePtr
182 // Does reset work?
186 c.reset(new C);
209 // Does reset work?
213 c.reset(new C[2]);
/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()
153 public synchronized void reset() throws IOException { method in class:FilterInputStream
154 in.reset();
159 * calls to {@code read} will not return these bytes unless {@code reset} is
167 * @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()
165 * {@code reset()} in the Reader subclass that is filtered by this reader.
170 * {@code mark()} and {@code reset()}.
175 public void reset() throws IOException { method in class:FilterReader
177 in.reset();
183 * 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()
202 public void reset() throws IOException { method in class:LineNumberInputStream
203 in.reset();
216 * @see #reset()
224 * calls to {@code read} will not return these bytes unless {@code reset} is
236 * @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()
220 public void reset() throws IOException { method in class:LineNumberReader
222 super.reset();
236 * @see #reset()
246 * {@code read} will not return these characters unless {@code reset}
258 * @see #reset()
H A DInputStream.java40 * {@link #reset()} is called.
119 * Sending {@code reset()} will reposition the stream back to the marked
129 * @see #reset()
137 * {@code reset()} methods. The default implementation returns {@code false}.
141 * @see #reset()
217 public synchronized void reset() throws IOException { method in class:InputStream
/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/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());
H A DOldLineNumberReaderTest.java37 lnr.reset();
147 lnr.reset();
149 assertEquals("Test 2: Failed to reset reader", "0", line);
154 lnr.reset();
/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/luni/src/main/java/java/util/regex/
H A DMatcher.java89 reset(input);
160 public Matcher reset() { method in class:Matcher
161 return reset(input, 0, input.length());
175 public Matcher reset(CharSequence input) { method in class:Matcher
176 return reset(input, 0, input.length());
183 * the region. This is the internal version of reset() to which the several
195 private Matcher reset(CharSequence input, int start, int end) { method in class:Matcher
264 return reset(input, start, end);
296 reset();
313 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);
/libcore/luni/src/main/java/javax/xml/transform/
H A DTransformer.java54 * <p><code>Transformer</code> is reset to the same state as when it was created with
58 * <code>reset()</code> is designed to allow the reuse of existing <code>Transformer</code>s
61 * <p>The reset <code>Transformer</code> is not guaranteed to have the same {@link URIResolver}
68 public void reset() { method in class:Transformer
72 "This Transformer, \"" + this.getClass().getName() + "\", does not support the reset functionality."
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPath.java91 * <p><code>XPath</code> is reset to the same state as when it was created with
93 * <code>reset()</code> is designed to allow the reuse of existing <code>XPath</code>s
96 * <p>The reset <code>XPath</code> is not guaranteed to have the same {@link XPathFunctionResolver}, {@link XPathVariableResolver}
101 public void reset(); method in interface:XPath

Completed in 480 milliseconds

123456