Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/common/unicode/
Dbytestream.h50 class U_COMMON_API ByteSink : public UMemory {
56 ByteSink() { } in ByteSink() function
61 virtual ~ByteSink();
129 ByteSink(const ByteSink &); // copy constructor not implemented
130 ByteSink &operator=(const ByteSink &); // assignment operator not implemented
145 class U_COMMON_API CheckedArrayByteSink : public ByteSink {
233 class StringByteSink : public ByteSink {
Didna.h203 labelToASCII_UTF8(StringPiece label, ByteSink &dest,
221 labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
239 nameToASCII_UTF8(StringPiece name, ByteSink &dest,
257 nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
Dbytestrie.h32 class ByteSink; variable
238 int32_t getNextBytes(ByteSink &out) const;
423 static void getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out);
424 static void append(ByteSink &out, int c);
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.h77 class LIBPROTOBUF_EXPORT ByteSink {
79 ByteSink() {} in ByteSink() function
80 virtual ~ByteSink() {} in ~ByteSink()
91 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ByteSink);
141 virtual void CopyTo(ByteSink* sink, size_t n);
162 class LIBPROTOBUF_EXPORT UncheckedArrayByteSink : public ByteSink {
190 class LIBPROTOBUF_EXPORT CheckedArrayByteSink : public ByteSink {
226 class LIBPROTOBUF_EXPORT GrowingArrayByteSink : public strings::ByteSink {
256 class LIBPROTOBUF_EXPORT StringByteSink : public ByteSink {
273 class LIBPROTOBUF_EXPORT NullByteSink : public ByteSink {
[all …]
Dbytestream.cc40 void ByteSource::CopyTo(ByteSink* sink, size_t n) { in CopyTo()
54 void ByteSink::Flush() {} in Flush()
188 void LimitByteSource::CopyTo(ByteSink *sink, size_t n) { in CopyTo()
Dbytestream_unittest.cc131 void WriteAndFlush(ByteSink* s) { in WriteAndFlush()
/external/icu/icu4c/source/common/
Dbytestream.cpp15 ByteSink::~ByteSink() {} in ~ByteSink()
17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer()
29 void ByteSink::Flush() {} in Flush()
Duts46.cpp73 IDNA::labelToASCII_UTF8(StringPiece label, ByteSink &dest, in labelToASCII_UTF8()
83 IDNA::labelToUnicodeUTF8(StringPiece label, ByteSink &dest, in labelToUnicodeUTF8()
93 IDNA::nameToASCII_UTF8(StringPiece name, ByteSink &dest, in nameToASCII_UTF8()
103 IDNA::nameToUnicodeUTF8(StringPiece name, ByteSink &dest, in nameToUnicodeUTF8()
136 labelToASCII_UTF8(StringPiece label, ByteSink &dest,
140 labelToUnicodeUTF8(StringPiece label, ByteSink &dest,
144 nameToASCII_UTF8(StringPiece name, ByteSink &dest,
148 nameToUnicodeUTF8(StringPiece name, ByteSink &dest,
161 ByteSink &dest,
256 UTS46::labelToASCII_UTF8(StringPiece label, ByteSink &dest, in labelToASCII_UTF8()
[all …]
Dbytestrie.cpp388 BytesTrie::getNextBytes(ByteSink &out) const { in getNextBytes()
421 BytesTrie::getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out) { in getNextBranchBytes()
436 BytesTrie::append(ByteSink &out, int c) { in append()
/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 {
/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()
/external/icu/icu4c/source/i18n/
Dbocsu.h28 class ByteSink; variable
157 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink);
Dbocsu.cpp101 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink) { in u_writeIdenticalLevelRun()
Dcollationkeys.h32 class SortKeyByteSink : public ByteSink {
/external/protobuf/src/google/protobuf/util/internal/
Dproto_writer.h79 strings::ByteSink* output, ErrorListener* listener);
228 strings::ByteSink* output, ErrorListener* listener);
309 strings::ByteSink* output_;
Dprotostream_objectwriter.h98 strings::ByteSink* output, ErrorListener* listener,
249 strings::ByteSink* output, ErrorListener* listener);
Djson_escaping.h80 static void Escape(strings::ByteSource* input, strings::ByteSink* output);
Dtype_info_test_helper.h81 const string& type_url, strings::ByteSink* output,
Dtype_info_test_helper.cc105 const string& type_url, strings::ByteSink* output, ErrorListener* listener, in NewProtoWriter()
Djson_objectwriter.h143 class LIBPROTOBUF_EXPORT ByteSinkWrapper : public strings::ByteSink {
/external/protobuf/src/google/protobuf/util/
Djson_util.h118 class LIBPROTOBUF_EXPORT ZeroCopyStreamByteSink : public strings::ByteSink {
/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 {

12