/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
AndroidDebugger.java | 13 import java.io.Writer; 38 private Writer writer; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 45 this.writer = writer; 66 // Create a special Writer that wraps the main Writer and logs data to the GUI. 67 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/external/smack/src/de/measite/smack/ |
AndroidDebugger.java | 13 import java.io.Writer; 38 private Writer writer; field in class:AndroidDebugger 43 public AndroidDebugger(Connection connection, Writer writer, Reader reader) { 45 this.writer = writer; 66 // Create a special Writer that wraps the main Writer and logs data to the GUI. 67 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/external/smack/src/org/jivesoftware/smack/debugger/ |
ConsoleDebugger.java | 27 import java.io.Writer; 52 private Writer writer; field in class:ConsoleDebugger 57 public ConsoleDebugger(Connection connection, Writer writer, Reader reader) { 59 this.writer = writer; 80 // Create a special Writer that wraps the main Writer and logs data to the GUI. 81 ObservableWriter debugWriter = new ObservableWriter(writer); [all...] |
/libcore/luni/src/main/java/javax/xml/transform/stream/ |
StreamResult.java | 24 import java.io.Writer; 68 * @param writer A valid Writer reference. 70 public StreamResult(Writer writer) { 71 setWriter(writer); 115 * Set the writer that is to receive the result. Normally, 116 * a stream should be used rather than a writer, so that 119 * there are times when it is useful to write to a writer, 122 * @param writer A valid Writer reference 193 private Writer writer; field in class:StreamResult [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ObjectCursorLoader.java | 172 public void dump(String prefix, FileDescriptor fd, PrintWriter writer, String[] args) { 173 super.dump(prefix, fd, writer, args); 174 writer.print(prefix); writer.print("mUri="); writer.println(mUri); 175 writer.print(prefix); writer.print("mProjection="); 176 writer.println(Arrays.toString(mProjection)); 177 writer.print(prefix); writer.print("mSelection="); writer.println(mSelection) [all...] |
/external/chromium_org/content/browser/streams/ |
stream_unittest.cc | 114 TestStreamWriter writer; local 118 new Stream(registry_.get(), &writer, url)); 125 TestStreamWriter writer; local 129 new Stream(registry_.get(), &writer, url)); 137 TestStreamWriter writer; local 141 new Stream(registry_.get(), &writer, url)); 151 TestStreamWriter writer; local 155 new Stream(registry_.get(), &writer, url)); 160 writer.Write(stream.get(), buffer, kBufferSize); 175 // Writer::Close() 178 TestStreamWriter writer; local 195 TestStreamWriter writer; local 206 TestStreamWriter writer; local 218 TestStreamWriter writer; local 231 TestStreamWriter writer; local 245 TestStreamWriter writer; local 290 TestStreamWriter writer; local [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
PreInstructionRegisterInfoMethodItem.java | 61 public boolean writeTo(IndentingWriter writer) throws IOException { 86 printedSomething = writeFullMergeRegs(writer, registers, registerCount); 89 printedSomething |= writeRegisterInfo(writer, registers, printedSomething); 168 private boolean writeFullMergeRegs(IndentingWriter writer, BitSet registers, int registerCount) 199 writer.write('\n'); 202 writer.write('#'); 203 RegisterFormatter.writeTo(writer, encodedMethod.codeItem, registerNum); 204 writer.write('='); 205 analyzedInstruction.getPreInstructionRegisterType(registerNum).writeTo(writer); 206 writer.write(":merge{") [all...] |
RegisterFormatter.java | 48 * @param writer the <code>IndentingWriter</code> to write to 53 public static void writeRegisterRange(IndentingWriter writer, CodeItem codeItem, int startRegister, 65 writer.write("{p"); 66 writer.printSignedIntAsDec(startRegister - (registerCount - parameterRegisterCount)); 67 writer.write(" .. p"); 68 writer.printSignedIntAsDec(lastRegister - (registerCount - parameterRegisterCount)); 69 writer.write('}'); 73 writer.write("{v"); 74 writer.printSignedIntAsDec(startRegister); 75 writer.write(" .. v") [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
Utf8Utils.java | 28 import java.io.Writer; 181 public static void writeEscapedChar(Writer writer, char c) throws IOException { 184 writer.write('\\'); 186 writer.write(c); 190 case '\n': writer.write("\\n"); return; 191 case '\r': writer.write("\\r"); return; 192 case '\t': writer.write("\\t"); return; 196 writer.write("\\u"); 197 writer.write(Character.forDigit(c >> 12, 16)) [all...] |
/external/chromium_org/tools/ipc_fuzzer/message_lib/ |
message_file_writer.cc | 19 class Writer { 21 Writer(const base::FilePath& path); 22 ~Writer(); 50 DISALLOW_COPY_AND_ASSIGN(Writer); 53 Writer::Writer(const base::FilePath& path) 59 Writer::~Writer() { 64 bool Writer::OpenFile() { 77 bool Writer::WriteBlob(const void *buffer, size_t size) [all...] |
/external/chromium_org/dbus/ |
values_util_unittest.cc | 21 MessageWriter writer(response.get()); 23 writer.AppendByte(kByteValue); 25 writer.AppendBool(kBoolValue); 27 writer.AppendInt16(kInt16Value); 29 writer.AppendUint16(kUint16Value); 31 writer.AppendInt32(kInt32Value); 33 writer.AppendUint32(kUint32Value); 35 writer.AppendInt64(kInt64Value); 37 writer.AppendUint64(kUint64Value); 39 writer.AppendDouble(kDoubleValue) [all...] |
/external/chromium_org/net/tools/quic/test_tools/ |
quic_dispatcher_peer.cc | 29 QuicTestWriter* writer) { 30 writer->set_writer(dispatcher->writer_.release()); 31 dispatcher->writer_.reset(writer);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ColorChooserPopupUIController.cpp | 83 void ColorChooserPopupUIController::writeDocument(DocumentWriter& writer) 91 PagePopupClient::addString("<!DOCTYPE html><head><meta charset='UTF-8'><style>\n", writer); 92 writer.addData(pickerCommonCss, sizeof(pickerCommonCss)); 93 writer.addData(colorSuggestionPickerCss, sizeof(colorSuggestionPickerCss)); 95 "window.dialogArguments = {\n", writer); 96 PagePopupClient::addProperty("values", suggestionValues, writer); 97 PagePopupClient::addProperty("otherColorLabel", locale().queryString(WebLocalizedString::OtherColorLabel), writer); 98 addProperty("anchorRectInScreen", anchorRectInScreen, writer); 99 PagePopupClient::addString("};\n", writer); 100 writer.addData(pickerCommonJs, sizeof(pickerCommonJs)) [all...] |
/external/skia/bench/ |
WriterBench.cpp | 21 return "writer"; 27 SkWriter32 writer(256 * 4); 30 writer.writeString(gStr, j);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterCurvesRepresentation.java | 118 public void serializeRepresentation(JsonWriter writer) throws IOException { 119 writer.beginObject(); 121 writer.name(NAME_TAG); 122 writer.value(getName()); 124 writer.name(SERIALIZATION_NAME + i); 125 writer.beginArray(); 129 writer.beginArray(); 130 writer.value(p.x); 131 writer.value(p.y); 132 writer.endArray() [all...] |
FilterVignetteRepresentation.java | 186 public void serializeRepresentation(JsonWriter writer) throws IOException { 187 writer.beginObject(); 188 writer.name(ELLIPSE); 189 writer.beginArray(); 190 writer.value(mCenterX); 191 writer.value(mCenterY); 192 writer.value(mRadiusX); 193 writer.value(mRadiusY); 194 writer.endArray(); 196 writer.name(ARGS) [all...] |
/external/skia/tests/ |
SerializationTest.cpp | 32 static void Write(SkOrderedWriteBuffer& writer, const T* flattenable) { 33 writer.writeFlattenable(flattenable); 41 static void Write(SkOrderedWriteBuffer& writer, const SkMatrix* matrix) { 42 writer.writeMatrix(*matrix); 50 static void Write(SkOrderedWriteBuffer& writer, const SkPath* path) { 51 writer.writePath(*path); 59 static void Write(SkOrderedWriteBuffer& writer, const SkRegion* region) { 60 writer.writeRegion(*region); 68 static void Write(SkOrderedWriteBuffer& writer, unsigned char* data, uint32_t arraySize) { 69 writer.writeByteArray(data, arraySize) [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
UnresolvedOdexInstructionMethodItem.java | 42 public boolean writeTo(IndentingWriter writer) throws IOException { 43 writeThrowTo(writer); 47 private void writeThrowTo(IndentingWriter writer) throws IOException { 48 writer.write("#Replaced unresolvable odex instruction with a throw\n"); 49 writer.write("throw "); 50 writeRegister(writer, instruction.ObjectRegisterNum);
|
/external/chromium_org/sync/syncable/ |
syncable_model_neutral_write_transaction.cc | 14 WriterTag writer, Directory* directory) 17 writer,
|
/external/chromium_org/net/quic/ |
quic_data_writer_test.cc | 16 QuicDataWriter writer(4); 18 writer.WriteUInt32(0xfefdfcfb); 19 EXPECT_TRUE(writer.WriteUInt8ToOffset(1, 0)); 20 EXPECT_TRUE(writer.WriteUInt8ToOffset(2, 1)); 21 EXPECT_TRUE(writer.WriteUInt8ToOffset(3, 2)); 22 EXPECT_TRUE(writer.WriteUInt8ToOffset(4, 3)); 24 scoped_ptr<char[]> data(writer.take()); 33 QuicDataWriter writer(4); 37 EXPECT_DEBUG_DEATH(writer.WriteUInt8ToOffset(5, 4), "Check failed"); 39 EXPECT_DEATH(writer.WriteUInt8ToOffset(5, 4), "Check failed") [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 47 TestThread reader, writer; local 73 writer = new TestThread() { 86 writer.start(); 92 writer.join(1000); 100 if (writer.exception != null) { 101 throw new Exception(writer.exception); 114 TestThread reader, writer; local 152 writer = new TestThread() { 171 writer.start(); 177 writer.join(1000) 200 TestThread reader, writer; local [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonWriter.java | 21 import java.io.Writer; 34 * writer as you walk the structure's contents, nesting arrays and objects as 72 * JsonWriter writer = new JsonWriter(new OutputStreamWriter(out, "UTF-8")); 73 * writer.setIndent(" "); 74 * writeMessagesArray(writer, messages); 75 * writer.close(); 78 * public void writeMessagesArray(JsonWriter writer, List<Message> messages) throws IOException { 79 * writer.beginArray(); 81 * writeMessage(writer, message); 83 * writer.endArray() [all...] |
/libcore/luni/src/main/java/java/io/ |
StringWriter.java | 23 * A specialized {@link Writer} that writes characters to a {@code StringBuffer} 30 public class StringWriter extends Writer { 38 * writer. 49 * writer. 63 * Calling this method has no effect. In contrast to most {@code Writer} subclasses, 68 * if an error occurs while closing this writer. 84 * Gets a reference to this writer's internal {@link StringBuffer}. Any 85 * changes made to the returned buffer are reflected in this writer. 87 * @return a reference to this writer's internal {@code StringBuffer}. 94 * Gets a copy of the contents of this writer as a string [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
formatter.py | 4 specific output events on writer objects. Formatters manage several stack 5 structures to allow various properties of a writer object to be changed and 7 of ``change back'' operation. Specific writer properties which may be 10 arbitrary, non-exclusive style settings to a writer as well. Additional 14 Writer objects encapsulate device interfaces. Abstract devices, such as 30 If the writer parameter is omitted, a NullWriter instance is created. 31 No methods of the writer are called by NullFormatter instances. 33 Implementations should inherit from this class if implementing a writer 38 def __init__(self, writer=None): 39 if writer is None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
formatter.py | 4 specific output events on writer objects. Formatters manage several stack 5 structures to allow various properties of a writer object to be changed and 7 of ``change back'' operation. Specific writer properties which may be 10 arbitrary, non-exclusive style settings to a writer as well. Additional 14 Writer objects encapsulate device interfaces. Abstract devices, such as 30 If the writer parameter is omitted, a NullWriter instance is created. 31 No methods of the writer are called by NullFormatter instances. 33 Implementations should inherit from this class if implementing a writer 38 def __init__(self, writer=None): 39 if writer is None [all...] |