HomeSort by relevance Sort by last modified time
    Searched full:writer (Results 126 - 150 of 2093) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/io/
OldCharArrayWriterTest.java 34 assertEquals("Test 1: Incorrect writer created.", 0, cw.size());
79 assertEquals("Test 1: Writer failed to write correct chars;",
95 CharArrayWriter writer = new CharArrayWriter(10); local
99 writer.append(testString, -1, 0);
105 writer.append(testString, 0, -1);
111 writer.append(testString, 1, 0);
117 writer.append(testString, 1, testString.length() + 1);
123 writer.append(testString, 1, 3);
124 writer.flush();
126 testString.substring(1, 3), writer.toString())
    [all...]
OutputStreamWriterTest.java 35 OutputStreamWriter writer = new OutputStreamWriter(os, "UTF-8"); local
39 writer.write(chars);
42 writer.flush();
44 writer.close();
52 // On flush/close, the writer needs to admit defeat and write the replacement character.
54 OutputStreamWriter writer = new OutputStreamWriter(baos, "UTF-32BE"); local
58 writer.write(cs, 0, cs.length);
59 writer.flush();
62 writer.write(0xdf9f);
64 writer.close()
    [all...]
  /external/marisa-trie/lib/marisa/
vector-inline.h 86 Writer writer; local
87 writer.open(filename, trunc_flag, offset, whence);
88 write(writer);
93 Writer writer(file);
94 write(writer);
99 Writer writer(fd);
100 write(writer);
    [all...]
tail.cc 81 Writer writer; local
82 writer.open(filename, trunc_flag, offset, whence);
83 write(writer);
87 Writer writer(file);
88 write(writer);
92 Writer writer(fd);
93 write(writer);
    [all...]
  /external/marisa-trie/v0_1_5/lib/marisa_alpha/
vector-inline.h 86 Writer writer; local
87 writer.open(filename, trunc_flag, offset, whence);
88 write(writer);
93 Writer writer(file);
94 write(writer);
99 Writer writer(fd);
100 write(writer);
    [all...]
tail.cc 81 Writer writer; local
82 writer.open(filename, trunc_flag, offset, whence);
83 write(writer);
87 Writer writer(file);
88 write(writer);
92 Writer writer(fd);
93 write(writer);
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
MemoryHandlerTest.java 52 final static StringWriter writer = new StringWriter(); field in class:MemoryHandlerTest
104 writer.getBuffer().setLength(0);
106 assertEquals(writer.toString(), "close");
119 writer.getBuffer().setLength(0);
121 assertEquals(writer.toString(), "flush");
299 writer.getBuffer().setLength(0);
303 assertEquals(writer.toString(), "");
304 // assertEquals(writer.toString(), "flush");
305 writer.getBuffer().setLength(0);
307 assertEquals(writer.toString(), "")
    [all...]
  /external/chromium_org/chromeos/dbus/
shill_device_client.cc 78 dbus::MessageWriter writer(&method_call);
79 writer.AppendString(name);
80 ShillClientHelper::AppendValueDataAsVariant(&writer, value);
91 dbus::MessageWriter writer(&method_call);
92 writer.AppendString(name);
102 dbus::MessageWriter writer(&method_call);
103 writer.AppendString(method);
114 dbus::MessageWriter writer(&method_call);
115 writer.AppendString(pin);
116 writer.AppendBool(require)
    [all...]
cryptohome_client.cc 72 dbus::MessageWriter writer(&method_call);
73 writer.AppendString(username);
74 writer.AppendString(key);
88 dbus::MessageWriter writer(&method_call);
89 writer.AppendString(username);
90 writer.AppendString(from_key);
91 writer.AppendString(to_key);
103 dbus::MessageWriter writer(&method_call);
104 writer.AppendString(username);
127 dbus::MessageWriter writer(&method_call)
    [all...]
permission_broker_client.cc 32 dbus::MessageWriter writer(&method_call);
33 writer.AppendString(path);
34 writer.AppendInt32(interface_id);
46 dbus::MessageWriter writer(&method_call);
47 writer.AppendUint16(vendor_id);
48 writer.AppendUint16(product_id);
49 writer.AppendInt32(interface_id);
  /external/guava/guava-tests/test/com/google/common/io/
CharStreamsTest.java 37 import java.io.Writer;
52 static final OutputSupplier<? extends Writer> BROKEN_WRITE
58 static final OutputSupplier<? extends Writer> BROKEN_CLOSE_OUTPUT
64 static final OutputSupplier<? extends Writer> BROKEN_GET_OUTPUT
69 private static final ImmutableSet<OutputSupplier<? extends Writer>> BROKEN_OUTPUTS
159 CheckCloseSupplier.Output<Writer> okWrite
160 = newCheckWriter(new OutputSupplier<Writer>() {
162 public Writer getOutput() {
167 CheckCloseSupplier.Output<Writer> brokenWrite
228 InputSupplier<? extends Reader> in, OutputSupplier<? extends Writer> out)
    [all...]
  /external/chromium_org/device/media_transfer_protocol/
media_transfer_protocol_daemon_client.cc 53 dbus::MessageWriter writer(&method_call);
54 writer.AppendString(storage_name);
70 dbus::MessageWriter writer(&method_call);
71 writer.AppendString(storage_name);
73 writer.AppendString(mtpd::kReadOnlyMode);
87 dbus::MessageWriter writer(&method_call);
88 writer.AppendString(handle);
105 dbus::MessageWriter writer(&method_call);
106 writer.AppendString(handle);
107 writer.AppendString(path)
    [all...]
  /external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
CharWrapperTester.java 24 import java.io.Writer;
28 * Writer}.
38 public abstract Writer create(Writer delegate) throws Exception;
47 * Configures whether the writer is expected to throw exceptions when an
82 @Override public Writer create() throws Exception {
108 Writer o = create(delegate);
117 Writer o = create(delegate);
127 Writer o = create(delegate);
143 Writer o = create(delegate)
    [all...]
CharSinkTester.java 25 import java.io.Writer;
30 * Tests behaviour common to all implementations of {@link Writer}. This adapts
38 * Creates a new writer ready to receive an arbitrary number of chars. Each
42 public abstract Writer create() throws Exception;
45 * Returns the current set of chars written to the writer last returned by
46 * {@link #create}, and releases any resources held by that writer.
51 * Configures whether the writer is expected to throw exceptions when an
95 Writer out = create();
103 Writer out = create();
116 Writer out = create()
    [all...]
  /external/llvm/include/llvm/MC/
MCWinCOFFObjectWriter.h 1 //===-- llvm/MC/MCWinCOFFObjectWriter.h - Win COFF Object Writer *- C++ -*-===//
34 /// \brief Construct a new Win COFF writer instance.
36 /// \param MOTW - The target specific WinCOFF writer subclass.
38 /// \returns The constructed object writer.
  /external/smali/util/src/main/java/org/jf/util/
IndentingWriter.java 32 import java.io.Writer;
34 public class IndentingWriter extends Writer {
35 protected final Writer writer; field in class:IndentingWriter
41 public IndentingWriter(Writer writer) {
42 this.writer = writer;
50 writer.write(' ');
61 writer.write(newLine)
    [all...]
CommentingIndentingWriter.java 35 import java.io.Writer;
40 public CommentingIndentingWriter(Writer writer, String commentStr) {
41 super(writer);
46 writer.write(commentStr);
  /libcore/luni/src/main/java/java/io/
PipedWriter.java 24 * data back and forth, one creates a piped writer and the other creates a piped
29 public class PipedWriter extends Writer {
35 * Constructs a new unconnected {@code PipedWriter}. The resulting writer
46 * Any data written to this writer can be read from {@code destination}.
59 * Closes this writer. If a {@link PipedReader} is connected to this writer,
64 * if an error occurs while closing this writer.
78 * written to this writer becomes readable in the reader.
83 * if this writer is closed or already connected, or if {@code
102 * method does nothing if this Writer is not connected
    [all...]
  /external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/
TestFileUtil.java 15 import java.io.Writer;
29 Writer writer = null; local
31 writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8");
32 writer.write("<html><meta charset=\"UTF-8\" />" +
39 if (writer != null) {
40 writer.close();
  /external/chromium_org/chrome/browser/diagnostics/
diagnostics_controller.cc 62 DiagnosticsWriter* writer) {
63 writer_ = writer;
74 DiagnosticsWriter* writer) {
90 if (writer) {
91 writer->WriteInfoLine("No diagnostics have been run.");
92 writer->OnAllRecoveryDone(model_.get());
97 writer_ = writer;
  /frameworks/base/core/java/android/app/
BackStackRecord.java 237 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
238 dump(prefix, writer, true);
241 void dump(String prefix, PrintWriter writer, boolean full) {
243 writer.print(prefix); writer.print("mName="); writer.print(mName);
244 writer.print(" mIndex="); writer.print(mIndex);
245 writer.print(" mCommitted="); writer.println(mCommitted)
    [all...]
  /frameworks/support/v4/java/android/support/v4/app/
BackStackRecord.java 236 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) {
237 dump(prefix, writer, true);
240 public void dump(String prefix, PrintWriter writer, boolean full) {
242 writer.print(prefix); writer.print("mName="); writer.print(mName);
243 writer.print(" mIndex="); writer.print(mIndex);
244 writer.print(" mCommitted="); writer.println(mCommitted)
    [all...]
  /frameworks/av/libvideoeditor/vss/3gpwriter/inc/
M4MP4W_Writer.h 20 * @brief Core MP4 writer interface
21 * @note This file declares the MP4 writer interface functions.
22 * The MP4 writer specific types are defined in file M4MP4W_Types.h
69 * @param contextPtr (OUT) Pointer to the MP4 writer context to create.
90 * @param context (IN/OUT) MP4 writer context.
107 * @brief Signal to the core MP4 writer that there is no more tracks to add
108 * @param context (IN/OUT) MP4 writer context.
121 * @brief Asks the core MP4 writer to initiate the access unit creation in
123 * @param context (IN/OUT) MP4 writer context.
139 * @brief Ask the core MP4 writer to write the access unit in the streamID trac
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
FastPrintWriter.java 9 import java.io.Writer;
18 private static Writer sDummyWriter = new Writer() {
45 final private Writer mWriter;
55 * stream. By default, the new print writer does not automatically flush its
69 * stream. The parameter {@code autoFlush} determines if the print writer
88 * if the print writer automatically flushes its contents to the target stream
120 * writer. By default, the new print writer does not automatically flush its
121 * contents to the target writer when a newline is encountered
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
SerializerTraceWriter.java 25 import java.io.Writer;
28 * This class wraps the real writer, it only purpose is to send
30 * Each method immediately sends the call to the wrapped writer unchanged, but
34 * listener knows what characters have been written to the output Writer.
37 * output writer and what is really going there. These differences will be due
39 * and the underlying writer may not be UTF-8 encoding. There may also be
45 final class SerializerTraceWriter extends Writer implements WriterChain
48 /** The real writer to immediately write to.
52 private final java.io.Writer m_writer;
88 * If the writer passed in is null, then this SerializerTraceWriter wil
    [all...]

Completed in 1662 milliseconds

1 2 3 4 56 7 8 91011>>