HomeSort by relevance Sort by last modified time
    Searched full:write (Results 26 - 50 of 10256) sorted by null

12 3 4 5 6 7 8 91011>>

  /device/htc/common/updater/
bootloader.c 105 MtdWriteContext *write = mtd_write_partition(part); local
106 if (write == NULL) {
110 if (mtd_write_data(write, data, size) != size) {
111 LOGE("Can't write %s\n(%s)\n", MISC_NAME, strerror(errno));
112 mtd_write_close(write);
115 if (mtd_write_close(write)) {
166 MtdWriteContext *write = mtd_write_partition(part); local
167 if (write == NULL) {
172 /* Write an invalid (zero) header first, to disable any previous
180 if (mtd_write_data(write, (char*) &header, header_size) != header_size)
    [all...]
  /bionic/libc/arch-sh/syscalls/
write.S 5 .type write, @function
6 .globl write
9 write: label
  /bionic/libc/arch-x86/syscalls/
write.S 5 .type write, @function
6 .globl write
9 write: label
  /dalvik/libcore/luni/src/test/java/tests/api/java/io/
BufferedWriterTest.java 51 bw.write("Hi", 0, 2);
78 bw.write("Hi", 0, 2);
99 bw.write(testString);
104 assertFalse("Test 2: Write after close.", sw.toString().equals(testString));
124 bw.write("This should not cause a flush");
151 bw.write("Hello");
153 bw.write("World");
169 * @tests java.io.BufferedWriter#write(char[], int, int)
173 method = "write",
177 // Test for method void java.io.BufferedWriter.write(char [], int, int
    [all...]
FilterWriterTest.java 57 public void write(char[] buffer, int offset, int count) throws IOException { method in class:FilterWriterTest.MockWriter
61 public void write(int oneChar) throws IOException { method in class:FilterWriterTest.MockWriter
65 public void write(String str, int offset, int count) throws IOException { method in class:FilterWriterTest.MockWriter
127 * @tests java.io.FilterWriter#write(int)
131 notes = "Verifies write(int).",
132 method = "write",
136 fw.write(0);
137 assertTrue("write(int) has not been called.", called);
141 * @tests java.io.FilterWriter#write(char[], int, int)
145 notes = "Verifies write(char[], int, int)."
    [all...]
WriterTest.java 162 method = "write",
167 tobj.write("01234".toCharArray());
169 tobj.write("abcde".toCharArray());
171 tobj.write("ABCDEFGHIJ".toCharArray());
173 tobj.write("z".toCharArray()); // Just fill the writer to its limit!
175 tobj.write("LES JEUX SONT FAITS".toCharArray());
185 method = "write",
190 tobj.write('a');
191 tobj.write('b');
194 tobj.write('c')
312 public void write(char[] buffer, int offset, int count) method in class:WriterTest.MockWriter
    [all...]
CharArrayWriterTest.java 114 cw.write("HelloWorld", 5, 5);
116 cw.write("HelloWorld", 0, 5);
140 cw.write(hw, 5, 5);
155 cw.write("HelloWorld", 0, 10);
178 cw.write("HelloWorld", 5, 5);
185 * @tests java.io.CharArrayWriter#write(char[], int, int)
189 method = "write",
193 // Test for method void java.io.CharArrayWriter.write(char [], int, int)
194 cw.write(hw, 5, 5);
199 assertEquals("Writer failed to write correct chars"
    [all...]
  /dalvik/libcore/sql/src/main/java/java/sql/
SQLOutput.java 26 * The interface for an output stream used to write attributes of an SQL <i>User
36 * {@code SQLOutput} writer methods to write the data from the {@code SQLData}
44 * Write a {@code String} value into the output stream.
47 * the {@code String} to write.
54 * Write a {@code boolean} value into the output stream.
57 * the {@code boolean} value to write.
64 * Write a {@code byte} value into the output stream.
67 * the {@code byte} value to write.
74 * Write a {@code short} value into the output stream.
77 * the {@code short} value to write
    [all...]
  /packages/apps/Email/src/org/apache/commons/io/output/
NullWriter.java 44 * @param idx The character to write
46 public void write(int idx) { method in class:NullWriter
52 * @param chr The characters to write
54 public void write(char[] chr) { method in class:NullWriter
60 * @param chr The characters to write
62 * @param end The number of characters to write
64 public void write(char[] chr, int st, int end) { method in class:NullWriter
70 * @param str The string to write
72 public void write(String str) { method in class:NullWriter
78 * @param str The string to write
82 public void write(String str, int st, int end) { method in class:NullWriter
    [all...]
NullOutputStream.java 40 * @param b The bytes to write
42 * @param len The number of bytes to write
44 public void write(byte[] b, int off, int len) { method in class:NullOutputStream
50 * @param b The byte to write
52 public void write(int b) { method in class:NullOutputStream
58 * @param b The bytes to write
61 public void write(byte[] b) throws IOException { method in class:NullOutputStream
  /development/tools/mkstubs/src/com/android/mkstubs/sourcer/
ClassSourcer.java 53 mOutput.write("package %s;\n", pkg);
56 mAccessSourcer.write(access & ~Opcodes.ACC_SUPER, AccessSourcer.IS_CLASS);
58 // write class name
59 mOutput.write(" class %s", mClassName);
62 // write template formal definition and super type
68 mOutput.write(sigSourcer.formalsToString());
71 mOutput.write(" extends %s", sigSourcer.getSuperClass().toString());
74 // write non-generic super type
75 mOutput.write(" extends %s", superName.replace('/', '.'));
78 // write interfaces defined, if an
    [all...]
Output.java 23 * An {@link Output} objects is an helper to write to a character stream {@link Writer}.
26 * to help them write to the underlying stream.
37 * @param writer The writer to write to. Could be a file, a string, etc.
51 public void write(String format, Object... args) { method in class:Output
53 mWriter.write(String.format(format, args));
62 * @param c The character to write.
64 public void write(char c) { method in class:Output
65 write(Character.toString(c));
71 * @param sb The {@link StringBuilder#toString()} method is used to ge the string to write.
73 public void write(StringBuilder sb) method in class:Output
    [all...]
AnnotationSourcer.java 45 mOutput.write("%s=", name);
48 mOutput.write(name.toString());
55 mOutput.write(mOpenChar);
61 mOutput.write(mCloseChar);
63 mOutput.write("\n");
69 mOutput.write("@%s", name);
79 mOutput.write("/* annotation enum not supported: %s */\n", name);
  /dalvik/libcore/xml/src/main/java/org/kxml2/io/
KXmlSerializer.java 32 /** size (in characters) for the write buffer */
71 writer.write(' ');
72 writer.write("xmlns");
74 writer.write(':');
75 writer.write(nspStack[i * 2]);
79 writer.write("=\"");
81 writer.write('"');
93 writer.write(close ? " />" : ">");
106 writer.write(c);
108 writer.write("&#"+((int) c)+';')
    [all...]
  /dalvik/dx/src/com/android/dx/util/
Output.java 45 * @param value the value to write; all but the low 8 bits are ignored
52 * @param value the value to write; all but the low 16 bits are ignored
59 * @param value the value to write
66 * @param value the value to write
75 * @param value value to write, treated as an unsigned value
85 * @param value value to write
93 * @param bytes {@code non-null;} the array to write
95 public void write(ByteArray bytes); method in interface:Output
100 * @param bytes {@code non-null;} the array to write
102 * byte to write
105 public void write(byte[] bytes, int offset, int length); method in interface:Output
113 public void write(byte[] bytes); method in interface:Output
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
BERSet.java 52 out.write(SET | CONSTRUCTED);
53 out.write(0x80);
61 out.write(0x00);
62 out.write(0x00);
  /external/webkit/WebCore/manual-tests/
showModalDialog-returnValue.html 4 document.write("<span style='color:green'>Test passed.<br>");
6 document.write("<span style='color:red'>Test failed due to incorrect result.<br>");
9 document.write("<span style='color:green'>Test passed.<br>");
11 document.write("<span style='color:red'>Test failed due to incorrect result.<br>");
  /frameworks/base/awt/com/android/internal/awt/
ImageOutputStreamWrapper.java 43 public void write(int oneByte) throws IOException { method in class:ImageOutputStreamWrapper
45 mIos.write(mBuff, 0, 1);
48 public void write(byte[] b) throws IOException { method in class:ImageOutputStreamWrapper
49 mIos.write(b, 0, b.length);
52 public void write(byte[] b, int off, int len) throws IOException { method in class:ImageOutputStreamWrapper
53 mIos.write(b, off, len);
  /external/proguard/src/proguard/classfile/io/
ProgramClassWriter.java 18 * with this program; if not, write to the Free Software Foundation, Inc.,
72 // Write the magic number.
75 // Write the version numbers.
79 // Write the constant pool.
84 // Write the general class information.
89 // Write the interfaces.
97 // Write the fields.
102 // Write the methods.
107 // Write the class attributes.
123 // Write the general field information
    [all...]
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SinkChannelTest.java 50 method = "write",
56 method = "write",
101 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer [])
106 method = "write",
119 // once to get what sink write.
124 sink.write(buf);
142 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer)
147 method = "write",
159 sink.write(ByteBuffer.wrap(strbytes));
192 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer
    [all...]
  /build/tools/droiddoc/src/
Proofread.java 33 out.write("javadoc proofread file: " + filename + "\n");
61 public static void write(String s) method in class:Proofread
67 out.write(s);
78 write(INDENT);
79 write(s);
80 write("\n");
85 write("\n\n=== ");
86 write(filename);
87 write(" ===\n");
156 write("ENUM: " + f.name() + "\n")
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/
LocalSocketTest.java 46 // Test trivial read and write
47 ls.getOutputStream().write(42);
60 ls.getOutputStream().write(42);
68 // Test multible byte write and available()
69 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5);
94 ls.getOutputStream().write(buffer, 1, 16);
101 ls.getOutputStream().write(buffer, -1, 15);
108 ls.getOutputStream().write(buffer, 0, -1);
129 ls.getOutputStream().write(42);
138 // Try write on closed socke
    [all...]
  /frameworks/base/tools/aidl/
AST.cpp 41 arguments[i]->Write(to);
81 Field::Write(FILE* to)
109 LiteralExpression::Write(FILE* to)
157 Variable::Write(FILE* to)
181 FieldVariable::Write(FILE* to)
184 this->object->Write(to);
206 StatementBlock::Write(FILE* to)
211 this->statements[i]->Write(to);
238 ExpressionStatement::Write(FILE* to)
240 this->expression->Write(to)
    [all...]
  /dalvik/libcore/nio/src/main/java/java/nio/channels/
WritableByteChannel.java 23 * A {@code WritableByteChannel} is a type of {@link Channel} that can write
26 * Write operations are synchronous on a {@code WritableByteChannel}, that is,
27 * if a write is already in progress on the channel then subsequent writes will
28 * block until the first write completes. It is undefined whether non-write
41 * The call may block if other threads are also attempting to write on the
56 * if another thread closes the channel during the write.
59 * write.
63 public int write(ByteBuffer buffer) throws IOException; method in interface:WritableByteChannel
  /packages/apps/Mms/src/com/android/mms/dom/smil/parser/
SmilXmlSerializer.java 49 writer.write('<');
50 writer.write(element.getTagName());
56 writer.write(" " + attribute.getName());
57 writer.write("=\"" + attribute.getValue() + "\"");
65 writer.write('>');
72 writer.write("</");
73 writer.write(element.getTagName());
74 writer.write('>');
76 writer.write("/>");

Completed in 397 milliseconds

12 3 4 5 6 7 8 91011>>