Searched refs:ByteSink (Results 1 - 13 of 13) sorted by relevance

/external/icu4c/common/unicode/
H A Dbytestream.h7 // Abstract interface that consumes a sequence of bytes (ByteSink).
13 // ByteSink:
45 * A ByteSink can be filled with bytes.
48 class U_COMMON_API ByteSink : public UMemory { class in inherits:UMemory
54 ByteSink() { } function in class:ByteSink
59 virtual ~ByteSink() { }
75 * on this ByteSink.
89 * If the ByteSink allocates or reallocates an internal buffer, it should use
120 * The ByteSink should be ready for further Append() calls after Flush().
127 ByteSink(cons
[all...]
H A Didna.h195 labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
213 labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
231 nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
249 nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
H A Dbytestrie.h30 class ByteSink;
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);
H A Dunistr.h1599 * to a ByteSink. This is called by toUTF8String().
1603 * @param sink A ByteSink to which the UTF-8 version of the string is written.
1608 void toUTF8(ByteSink &sink) const;
H A Durename.h1791 #define ByteSink U_ICU_ENTRY_POINT_RENAME(ByteSink) macro
/external/icu4c/common/
H A Dbytestream.cpp13 char* ByteSink::GetAppendBuffer(int32_t min_capacity,
25 void ByteSink::Flush() {}
H A Duts46.cpp68 IDNA::labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
78 IDNA::labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
88 IDNA::nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
98 IDNA::nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
133 labelToASCII_UTF8(const StringPiece &label, ByteSink &dest,
137 labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest,
141 nameToASCII_UTF8(const StringPiece &name, ByteSink &dest,
145 nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest,
158 ByteSink &dest,
250 UTS46::labelToASCII_UTF8(const StringPiece &label, ByteSink
[all...]
H A Dbytestrie.cpp386 BytesTrie::getNextBytes(ByteSink &out) const {
419 BytesTrie::getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out) {
434 BytesTrie::append(ByteSink &out, int c) {
H A Dunistr.cpp838 UnicodeString::toUTF8(ByteSink &sink) const {
/external/icu4c/i18n/
H A Dbocsu.h26 class ByteSink;
155 u_writeIdenticalLevelRun(const UChar *s, int32_t length, U_NAMESPACE_QUALIFIER ByteSink &sink);
H A Dbocsu.cpp98 u_writeIdenticalLevelRun(const UChar *s, int32_t length, U_NAMESPACE_QUALIFIER ByteSink &sink) {
H A Ducol.cpp4270 class SortKeyByteSink : public ByteSink {
/external/icu4c/test/intltest/
H A Dstrtest.cpp368 // Verify that ByteSink is subclassable and Flush() overridable.
369 class SimpleByteSink : public ByteSink {
386 // Test the ByteSink base class.
395 errln("ByteSink (SimpleByteSink) did not Append() or Flush() as expected");
402 errln("ByteSink.GetAppendBuffer(min_capacity<1) did not properly return NULL[0]");
407 errln("ByteSink.GetAppendBuffer(scratch_capacity<min_capacity) did not properly return NULL[0]");
412 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer");

Completed in 278 milliseconds