Home
last modified time | relevance | path

Searched refs:ByteSink (Results 1 – 25 of 25) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Dbytestream.h48 class U_COMMON_API ByteSink : public UMemory {
54 ByteSink() { } in ByteSink() function
59 virtual ~ByteSink();
127 ByteSink(const ByteSink &); // copy constructor not implemented
128 ByteSink &operator=(const ByteSink &); // assignment operator not implemented
143 class U_COMMON_API CheckedArrayByteSink : public ByteSink {
231 class StringByteSink : public ByteSink {
Didna.h201 labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
219 labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
237 nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
255 nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
Dbytestrie.h30 class ByteSink; variable
236 int32_t getNextBytes(ByteSink &out) const;
422 static void getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out);
423 static void append(ByteSink &out, int c);
Dunistr.h1714 void toUTF8(ByteSink &sink) const;
/external/icu/icu4c/source/common/
Dbytestream.cpp13 ByteSink::~ByteSink() {} in ~ByteSink()
15 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer()
27 void ByteSink::Flush() {} in Flush()
Duts46.cpp71 IDNA::labelToASCII_UTF8(const StringPiece &label, ByteSink &dest, in labelToASCII_UTF8()
81 IDNA::labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest, in labelToUnicodeUTF8()
91 IDNA::nameToASCII_UTF8(const StringPiece &name, ByteSink &dest, in nameToASCII_UTF8()
101 IDNA::nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest, in nameToUnicodeUTF8()
134 labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
138 labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
142 nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
146 nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
159 ByteSink &dest,
254 UTS46::labelToASCII_UTF8(const StringPiece &label, ByteSink &dest, in labelToASCII_UTF8()
[all …]
Dbytestrie.cpp386 BytesTrie::getNextBytes(ByteSink &out) const { in getNextBytes()
419 BytesTrie::getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out) { in getNextBranchBytes()
434 BytesTrie::append(ByteSink &out, int c) { in append()
Dunistr.cpp941 UnicodeString::toUTF8(ByteSink &sink) const { in toUTF8()
/external/guava/guava-tests/test/com/google/common/io/
DByteSourceTest.java317 private static final ByteSink BROKEN_CLOSE_SINK
319 private static final ByteSink BROKEN_OPEN_SINK
321 private static final ByteSink BROKEN_WRITE_SINK
326 private static final ImmutableSet<ByteSink> BROKEN_SINKS
344 for (ByteSink out : BROKEN_SINKS) { in testCopyExceptions()
353 for (ByteSink out : BROKEN_SINKS) { in testCopyExceptions()
372 for (ByteSink out : BROKEN_SINKS) { in testCopyExceptions()
381 for (ByteSink out : BROKEN_SINKS) { in testCopyExceptions()
395 private static void runFailureTest(ByteSource in, ByteSink out) { in runFailureTest()
406 private static int runSuppressionFailureTest(ByteSource in, ByteSink out) { in runSuppressionFailureTest()
[all …]
DByteSinkTester.java41 public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
75 private ByteSink sink;
DSourceSinkFactory.java87 public interface ByteSinkFactory extends SinkFactory<ByteSink, byte[]> {
DTestByteSink.java30 public class TestByteSink extends ByteSink implements TestStreamSupplier {
DByteSourceTester.java142 source.copyTo(new ByteSink() { in testCopyTo_byteSink()
DSourceSinkFactories.java298 public ByteSink createSink() throws IOException {
/external/guava/guava/src/com/google/common/io/
DByteSink.java47 public abstract class ByteSink { class
52 protected ByteSink() {} in ByteSink() method in ByteSink
148 return new OutputStreamWriter(ByteSink.this.openStream(), charset); in openStream()
153 return ByteSink.this.toString() + ".asCharSink(" + charset + ")"; in toString()
DFiles.java184 public static ByteSink asByteSink(File file, FileWriteMode... modes) { in asByteSink()
188 private static final class FileByteSink extends ByteSink {
DBaseEncoding.java195 public final ByteSink encodingSink(final CharSink encodedSink) { in encodingSink()
197 return new ByteSink() { in encodingSink()
DByteSource.java234 public long copyTo(ByteSink sink) throws IOException { in copyTo()
/external/icu/icu4c/source/i18n/
Dbocsu.h26 class ByteSink; variable
155 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink);
Dbocsu.cpp99 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink) { in u_writeIdenticalLevelRun()
Dcollationkeys.h30 class SortKeyByteSink : public ByteSink {
Dcollationkeys.cpp109 void appendTo(ByteSink &sink) const { in appendTo()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java71 import com.google.common.io.ByteSink;
234 .put(ByteSink.class, NullByteSink.INSTANCE)
456 private static final class NullByteSink extends ByteSink implements Serializable {
/external/guava/guava-testlib/test/com/google/common/testing/
DArbitraryInstancesTest.java56 import com.google.common.io.ByteSink;
337 assertNotNull(ArbitraryInstances.get(ByteSink.class)); in testGet_io()
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp339 class SimpleByteSink : public ByteSink {