/external/llvm/lib/Bitcode/ |
CMakeLists.txt | 2 add_subdirectory(Writer)
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
InstructionMethodItem.java | 60 public boolean writeTo(IndentingWriter writer) throws IOException { 63 writeOpcode(writer); 64 writer.write(' '); 65 writeTargetLabel(writer); 69 writer.write("#unknown opcode: 0x"); 70 writer.printUnsignedLongAsHex(((UnknownInstruction) instruction).getOriginalOpcode() & 0xFFFF); 71 writer.write('\n'); 73 writeOpcode(writer); 76 writeOpcode(writer); 77 writer.write(' ') [all...] |
/external/chromium_org/third_party/WebKit/Source/core/page/ |
PagePopupClient.cpp | 38 #define addLiteral(literal, writer) writer.addData(literal, sizeof(literal) - 1) 40 void PagePopupClient::addJavaScriptString(const String& str, DocumentWriter& writer) 42 addLiteral("\"", writer); 50 addString(builder.toString(), writer); 51 addLiteral("\"", writer); 54 void PagePopupClient::addProperty(const char* name, const String& value, DocumentWriter& writer) 56 writer.addData(name, strlen(name)); 57 addLiteral(": ", writer); 58 addJavaScriptString(value, writer); 66 addString(String::number(value), writer); local 74 addString(String::number(value), writer); local [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
DebugMethodItem.java | 51 protected static void writeLine(IndentingWriter writer, int line) throws IOException { 52 writer.write(".line "); 53 writer.printSignedIntAsDec(line); 56 protected static void writeEndPrologue(IndentingWriter writer) throws IOException { 57 writer.write(".prologue"); 60 protected static void writeBeginEpilogue(IndentingWriter writer) throws IOException { 61 writer.write(".epilogue"); 64 protected static void writeStartLocal(IndentingWriter writer, CodeItem codeItem, int register, 67 writer.write(".local "); 68 RegisterFormatter.writeTo(writer, codeItem, register) [all...] |
ReferenceFormatter.java | 38 public static void writeReference(IndentingWriter writer, Item item) throws IOException { 41 writeMethodReference(writer, (MethodIdItem)item); 44 writeFieldReference(writer, (FieldIdItem)item); 47 writeStringReference(writer, (StringIdItem)item); 50 writeTypeReference(writer, (TypeIdItem)item); 55 public static void writeMethodReference(IndentingWriter writer, MethodIdItem item) throws IOException { 56 writer.write(item.getContainingClass().getTypeDescriptor()); 57 writer.write("->"); 58 writer.write(item.getMethodName().getStringValue()); 59 writer.write(item.getPrototype().getPrototypeString()) [all...] |
/external/chromium_org/net/quic/ |
quic_data_writer_test.cc | 14 QuicDataWriter writer(4); 16 writer.WriteUInt32(0xfefdfcfb); 17 EXPECT_TRUE(writer.WriteUInt8ToOffset(1, 0)); 18 EXPECT_TRUE(writer.WriteUInt8ToOffset(2, 1)); 19 EXPECT_TRUE(writer.WriteUInt8ToOffset(3, 2)); 20 EXPECT_TRUE(writer.WriteUInt8ToOffset(4, 3)); 22 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...] |
/external/skia/tests/ |
Writer32Test.cpp | 16 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 19 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 20 writer.flatten(storage.get()); 26 SkWriter32 writer(0, storage, sizeof(storage)); 33 writer.writeString(NULL); 35 check_contents(reporter, writer, null, sizeof(null)); 40 writer.reset(storage, sizeof(storage)); 44 writer.writeString(""); 46 check_contents(reporter, writer, empty, sizeof(empty)); 53 SkSWriter32<32> writer(32) [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
xmlwriter.h | 46 XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer); 57 xmlTextWriterStartDocument(xmlTextWriterPtr writer, 62 writer); 68 writer); 69 XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer); 71 xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, 75 xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer, 80 writer, 88 xmlTextWriterStartElement(xmlTextWriterPtr writer, 91 writer, [all...] |
/external/libxml2/include/libxml/ |
xmlwriter.h | 46 XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer); 57 xmlTextWriterStartDocument(xmlTextWriterPtr writer, 62 writer); 68 writer); 69 XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer); 71 xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, 75 xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer, 80 writer, 88 xmlTextWriterStartElement(xmlTextWriterPtr writer, 91 writer, [all...] |
/external/marisa-trie/lib/marisa/ |
io.h | 6 #include "writer.h"
|
writer.h | 11 class Writer { 13 Writer(); 14 explicit Writer(std::FILE *file); 15 explicit Writer(int fd); 16 explicit Writer(std::ostream *stream); 17 ~Writer(); 42 void swap(Writer *rhs); 53 Writer(const Writer &); 54 Writer &operator=(const Writer &) [all...] |
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
io.h | 6 #include "writer.h"
|
writer.h | 11 class Writer { 13 Writer(); 14 explicit Writer(std::FILE *file); 15 explicit Writer(int fd); 16 explicit Writer(std::ostream *stream); 17 ~Writer(); 43 void swap(Writer *rhs); 54 Writer(const Writer &); 55 Writer &operator=(const Writer &) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
AppendableWriterTest.java | 22 import java.io.Writer; 63 Writer writer = new AppendableWriter(builder); local 65 writer.write("Hello".toCharArray()); 66 writer.write(','); 67 writer.write(0xBEEF0020); // only lower 16 bits are important 68 writer.write("Wo"); 69 writer.write("Whirled".toCharArray(), 3, 2); 70 writer.write("Mad! Mad, I say", 2, 2); 77 Writer writer = new AppendableWriter(builder) local 89 Writer writer = new AppendableWriter(spy); local 106 Writer writer = new AppendableWriter(builder); local [all...] |
/external/clang/lib/Serialization/ |
ASTWriterStmt.cpp | 32 ASTWriter &Writer; 39 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) 40 : Writer(Writer), Record(Record) { } 53 Writer.AddSourceLocation(Args.getTemplateKeywordLoc(), Record); 54 Writer.AddSourceLocation(Args.LAngleLoc, Record); 55 Writer.AddSourceLocation(Args.RAngleLoc, Record); 57 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); 65 Writer.AddSourceLocation(S->getSemiLoc(), Record); 75 Writer.AddStmt(*CS) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkFlattenableSerialization.cpp | 16 SkOrderedWriteBuffer writer(1024); 17 writer.setFlags(SkOrderedWriteBuffer::kCrossProcess_Flag); 18 writer.writeFlattenable(flattenable); 19 uint32_t size = writer.bytesWritten(); 21 writer.writeToMemory(data);
|
/external/skia/src/core/ |
SkFlattenableSerialization.cpp | 16 SkOrderedWriteBuffer writer(1024); 17 writer.setFlags(SkOrderedWriteBuffer::kCrossProcess_Flag); 18 writer.writeFlattenable(flattenable); 19 uint32_t size = writer.bytesWritten(); 21 writer.writeToMemory(data);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/external/chromium/chrome/common/ |
important_file_writer_unittest.cc | 60 ImportantFileWriter writer(file_, 62 EXPECT_FALSE(file_util::PathExists(writer.path())); 63 writer.WriteNow("foo"); 66 ASSERT_TRUE(file_util::PathExists(writer.path())); 67 EXPECT_EQ("foo", GetFileContent(writer.path())); 71 ImportantFileWriter writer(file_, 73 writer.set_commit_interval(base::TimeDelta::FromMilliseconds(25)); 74 EXPECT_FALSE(writer.HasPendingWrite()); 76 writer.ScheduleWrite(&serializer); 77 EXPECT_TRUE(writer.HasPendingWrite()) [all...] |
/external/chromium_org/base/files/ |
important_file_writer_unittest.cc | 63 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); 64 EXPECT_FALSE(PathExists(writer.path())); 65 writer.WriteNow("foo"); 68 ASSERT_TRUE(PathExists(writer.path())); 69 EXPECT_EQ("foo", GetFileContent(writer.path())); 73 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); 74 writer.set_commit_interval(TimeDelta::FromMilliseconds(25)); 75 EXPECT_FALSE(writer.HasPendingWrite()); 77 writer.ScheduleWrite(&serializer); 78 EXPECT_TRUE(writer.HasPendingWrite()) [all...] |
/external/chromium_org/chromeos/dbus/ |
shill_manager_client.cc | 66 dbus::MessageWriter writer(&method_call); 67 writer.AppendString(name); 68 ShillClientHelper::AppendValueDataAsVariant(&writer, value); 79 dbus::MessageWriter writer(&method_call); 80 writer.AppendString(type); 92 dbus::MessageWriter writer(&method_call); 93 writer.AppendString(type); 105 dbus::MessageWriter writer(&method_call); 106 writer.AppendString(type); 118 dbus::MessageWriter writer(&method_call) [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlwriter.c | 3 * xmlwriter.c: XML text writer implementation 100 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 112 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 114 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 119 * @ctxt: a writer context 123 * Handle a writer error 141 * @ctxt: a writer context 146 * Handle a writer error 167 * NOTE: the @out parameter will be deallocated when the writer is closed 305 * NOTE: the @ctxt context will be freed with the resulting writer [all...] |
/external/libxml2/ |
xmlwriter.c | 3 * xmlwriter.c: XML text writer implementation 100 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 112 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 114 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 119 * @ctxt: a writer context 123 * Handle a writer error 141 * @ctxt: a writer context 146 * Handle a writer error 167 * NOTE: the @out parameter will be deallocated when the writer is closed 305 * NOTE: the @ctxt context will be freed with the resulting writer [all...] |