Home
last modified time | relevance | path

Searched refs:CharSink (Results 1 – 13 of 13) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DCharSourceTest.java244 static final CharSink BROKEN_WRITE_SINK = new TestCharSink(WRITE_THROWS);
245 static final CharSink BROKEN_CLOSE_SINK = new TestCharSink(CLOSE_THROWS);
246 static final CharSink BROKEN_OPEN_SINK = new TestCharSink(OPEN_THROWS);
250 private static final ImmutableSet<CharSink> BROKEN_SINKS
268 for (CharSink out : BROKEN_SINKS) { in testCopyExceptions()
277 for (CharSink out : BROKEN_SINKS) { in testCopyExceptions()
296 for (CharSink out : BROKEN_SINKS) { in testCopyExceptions()
305 for (CharSink out : BROKEN_SINKS) { in testCopyExceptions()
319 private static void runFailureTest(CharSource in, CharSink out) { in runFailureTest()
330 private static int runSuppressionFailureTest(CharSource in, CharSink out) { in runSuppressionFailureTest()
[all …]
DCharSinkTester.java37 public class CharSinkTester extends SourceSinkTester<CharSink, String, CharSinkFactory> {
64 private CharSink sink;
DSourceSinkFactory.java99 public interface CharSinkFactory extends SinkFactory<CharSink, String> {
DTestCharSink.java31 public class TestCharSink extends CharSink implements TestStreamSupplier {
DSourceSinkFactories.java128 public CharSink createSink() throws IOException {
368 public CharSink createSink() throws IOException {
/external/guava/guava/src/com/google/common/io/
DByteSink.java58 public CharSink asCharSink(Charset charset) { in asCharSink()
138 private final class AsCharSink extends CharSink {
DCharSink.java49 public abstract class CharSink { class
54 protected CharSink() {} in CharSink() method in CharSink
DCharSource.java124 public long copyTo(CharSink sink) throws IOException { in copyTo()
DFiles.java229 public static CharSink asCharSink(File file, Charset charset, in asCharSink()
DBaseEncoding.java195 public final ByteSink encodingSink(final CharSink encodedSink) { in encodingSink()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java29 import com.google.common.io.CharSink;
185 new CharSink() { in file() method
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java74 import com.google.common.io.CharSink;
235 .put(CharSink.class, NullByteSink.INSTANCE.asCharSink(Charsets.UTF_8))
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java58 import com.google.common.io.CharSink;
338 assertNotNull(ArbitraryInstances.get(CharSink.class)); in testGet_io()