HomeSort by relevance Sort by last modified time
    Searched refs:ByteSink (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/icu/icu4c/source/common/unicode/
bytestream.h 9 // Abstract interface that consumes a sequence of bytes (ByteSink).
15 // ByteSink:
47 * A ByteSink can be filled with bytes.
50 class U_COMMON_API ByteSink : public UMemory {
56 ByteSink() { }
61 virtual ~ByteSink();
77 * on this ByteSink.
91 * If the ByteSink allocates or reallocates an internal buffer, it should use
122 * The ByteSink should be ready for further Append() calls after Flush().
129 ByteSink(const ByteSink &) = delete
    [all...]
idna.h 203 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,
casemap.h 22 class ByteSink;
205 * @param sink A ByteSink to which the result string is written.
220 StringPiece src, ByteSink &sink, Edits *edits,
231 * @param sink A ByteSink to which the result string is written.
246 StringPiece src, ByteSink &sink, Edits *edits,
271 * @param sink A ByteSink to which the result string is written.
286 StringPiece src, ByteSink &sink, Edits *edits,
302 * @param sink A ByteSink to which the result string is written.
317 StringPiece src, ByteSink &sink, Edits *edits,
normalizer2.h 38 class ByteSink;
233 * @param sink A ByteSink to which the normalized UTF-8 result string is written.
247 normalizeUTF8(uint32_t options, StringPiece src, ByteSink &sink,
551 * @param sink A ByteSink to which the normalized UTF-8 result string is written.
565 normalizeUTF8(uint32_t options, StringPiece src, ByteSink &sink,
    [all...]
bytestrie.h 32 class ByteSink;
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);
locid.h 425 void toLanguageTag(ByteSink& sink, UErrorCode& status) const;
661 void getKeywordValue(StringPiece keywordName, ByteSink& sink, UErrorCode& status) const;
692 void getUnicodeKeywordValue(StringPiece keywordName, ByteSink& sink, UErrorCode& status) const;
    [all...]
  /external/icu/icu4c/source/common/
bytesinkutil.h 15 class ByteSink;
26 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
31 ByteSink &sink, Edits *edits, UErrorCode &errorCode);
34 static void appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits = nullptr);
38 ByteSink &sink, Edits *edits = nullptr) {
43 static void appendTwoBytes(UChar32 c, ByteSink &sink);
46 ByteSink &sink, uint32_t options, Edits *edits,
54 ByteSink &sink, uint32_t options, Edits *edits,
59 ByteSink &sink, uint32_t options, Edits *edits);
62 class CharStringByteSink : public ByteSink {
    [all...]
bytestream.cpp 15 ByteSink::~ByteSink() {}
17 char* ByteSink::GetAppendBuffer(int32_t min_capacity,
29 void ByteSink::Flush() {}
bytesinkutil.cpp 22 ByteSink &sink, Edits *edits, UErrorCode &errorCode) {
61 ByteSink &sink, Edits *edits, UErrorCode &errorCode) {
71 ByteSinkUtil::appendCodePoint(int32_t length, UChar32 c, ByteSink &sink, Edits *edits) {
90 ByteSinkUtil::appendTwoBytes(UChar32 c, ByteSink &sink) {
98 ByteSink &sink, uint32_t options, Edits *edits) {
110 ByteSink &sink, uint32_t options, Edits *edits,
ucasemap_imp.h 68 class ByteSink;
212 icu::ByteSink &sink, icu::Edits *edits,
222 icu::ByteSink &sink, icu::Edits *edits,
231 icu::ByteSink &sink, icu::Edits *edits,
ucasemap.cpp 141 ByteSink &sink, uint32_t options, icu::Edits *edits, UErrorCode &errorCode) {
206 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) {
317 icu::ByteSink &sink, icu::Edits *edits, UErrorCode &errorCode) {
427 ByteSink &sink, icu::Edits *edits,
572 ByteSink &sink, Edits *edits,
724 icu::ByteSink &sink, icu::Edits *edits,
738 icu::ByteSink &sink, icu::Edits *edits,
756 icu::ByteSink &sink, icu::Edits *edits,
768 icu::ByteSink &sink, icu::Edits *edits,
889 StringPiece src, ByteSink &sink, Edits *edits
    [all...]
bytestrie.cpp 388 BytesTrie::getNextBytes(ByteSink &out) const {
421 BytesTrie::getNextBranchBytes(const uint8_t *pos, int32_t length, ByteSink &out) {
436 BytesTrie::append(ByteSink &out, int c) {
  /external/protobuf/src/google/protobuf/stubs/
bytestream.h 31 // This file declares the ByteSink and ByteSource abstract interfaces. These
32 // interfaces represent objects that consume (ByteSink) or produce (ByteSource)
39 // ByteSink:
73 // ByteSink* sink = ...
77 class LIBPROTOBUF_EXPORT ByteSink {
79 ByteSink() {}
80 virtual ~ByteSink() {}
85 // Flushes internal buffers. The default implemenation does nothing. ByteSink
91 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ByteSink);
135 // Writes the next n bytes in this ByteSource to the given ByteSink, an
    [all...]
bytestream.cc 40 void ByteSource::CopyTo(ByteSink* sink, size_t n) {
54 void ByteSink::Flush() {}
188 void LimitByteSource::CopyTo(ByteSink *sink, size_t n) {
  /external/icu/icu4c/source/i18n/
bocsu.h 28 class ByteSink;
157 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink);
bocsu.cpp 101 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::ByteSink &sink) {
  /external/guava/guava/src/com/google/common/io/
ByteSink.java 31 * {@code ByteSink} is not an open, stateful stream that can be written to and closed. Instead, it
34 * <p>{@code ByteSink} provides two kinds of methods:
47 public abstract class ByteSink {
52 protected ByteSink() {}
55 * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink
148 return new OutputStreamWriter(ByteSink.this.openStream(), charset);
153 return ByteSink.this.toString() + ".asCharSink(" + charset + ")";
  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkFactory.java 85 * Factory for {@link ByteSink} instances.
87 public interface ByteSinkFactory extends SinkFactory<ByteSink, byte[]> {
ByteSourceTest.java 317 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) {
353 for (ByteSink out : BROKEN_SINKS) {
372 for (ByteSink out : BROKEN_SINKS) {
381 for (ByteSink out : BROKEN_SINKS) {
395 private static void runFailureTest(ByteSource in, ByteSink out) {
406 private static int runSuppressionFailureTest(ByteSource in, ByteSink out)
    [all...]
TestByteSink.java 30 public class TestByteSink extends ByteSink implements TestStreamSupplier {
ByteSinkTester.java 35 * A generator of {@code TestSuite} instances for testing {@code ByteSink} implementations.
36 * Generates tests of a all methods on a {@code ByteSink} given various inputs written to it as well
41 public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
75 private ByteSink sink;
  /external/protobuf/src/google/protobuf/util/internal/
json_escaping.h 79 // Escape the given ByteSource to the given ByteSink.
80 static void Escape(strings::ByteSource* input, strings::ByteSink* output);
type_info_test_helper.h 81 const string& type_url, strings::ByteSink* output,
proto_writer.h 79 strings::ByteSink* output, ErrorListener* listener);
228 strings::ByteSink* output, ErrorListener* listener);
251 // Write serialized output to the final output ByteSink, inserting all
305 // output_ : pointer to an external ByteSink for final user-visible output.
309 strings::ByteSink* output_;
  /external/protobuf/src/google/protobuf/util/
json_util.h 118 class LIBPROTOBUF_EXPORT ZeroCopyStreamByteSink : public strings::ByteSink {

Completed in 544 milliseconds

1 2 3