/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | writertest.cpp | 24 TEST(Writer, Compact) { in TEST() argument 27 Writer<StringBuffer> writer(buffer); in TEST() 41 Writer<StringBuffer> writer(buffer); \ 48 TEST(Writer, Root) { in TEST() argument 58 TEST(Writer, Int) { in TEST() argument 64 TEST(Writer, UInt) { in TEST() argument 72 TEST(Writer, Int64) { in TEST() argument 77 TEST(Writer, Uint64) { in TEST() argument 82 TEST(Writer, String) { in TEST() argument 90 Writer<StringBuffer> writer(buffer); in TEST() [all …]
|
D | documenttest.cpp | 139 Writer<OutputStream, UTF16<>, UTF8<> > writer(eos); in TEST() 148 Writer<StringBuffer> writer(bos2); in TEST() 178 Writer<StringBuffer> writer(bos); in TEST() 187 Writer<StringBuffer> writer(bos2); in TEST() 256 Writer<OutputStringStream> writer(os); in TEST() 287 Writer<OutputStringStream> writer(os); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | misctest.cpp | 761 template <typename Writer> 764 Writer writer(sb); in itoa_Writer_StringBufferVerify() 774 template <typename Writer> 776 Writer writer; in itoa_Writer_InsituStringStreamVerify() 791 template <typename Writer> 796 Writer writer(sb); in itoa_Writer_StringBuffer() 808 template <typename Writer> 813 Writer writer; in itoa_Writer_InsituStringStream() 826 template <typename Writer> 829 Writer writer(sb); in itoa64_Writer_StringBufferVerify() [all …]
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
D | Profilers.java | 29 private static Writer sErrorWriter = new ErrorWriter(); 30 private static Writer sWarningWriter = new WarningWriter(); 31 private static Writer sInfoWriter = new InfoWriter(); 32 private static Writer sDebugWriter = new DebugWriter(); 33 private static Writer sVerboseWriter = new VerboseWriter(); 123 private static class DebugWriter implements Writer { 130 private static class ErrorWriter implements Writer { 137 private static class InfoWriter implements Writer { 144 private static class VerboseWriter implements Writer { 151 private static class WarningWriter implements Writer {
|
D | GuardingProfiler.java | 26 private final Writer mGuardWriter; 27 private final Writer mVerboseWriter; 31 public GuardingProfiler(Writer writer, Writer verbose) { in GuardingProfiler() 36 public GuardingProfiler(Writer writer, Writer verbose, int maxDurationMillis) { in GuardingProfiler()
|
D | GuardingProfile.java | 26 private final Writer mGuardWriter; 27 private final Writer mVerboseWriter; 30 public GuardingProfile(Writer writer, Writer verbose, String name,int maxDuration) { in GuardingProfile()
|
D | LoggingProfiler.java | 23 private final Writer mWriter; 26 public LoggingProfiler(Writer writer) { in LoggingProfiler()
|
D | LoggingProfile.java | 24 private final Writer mWriter; 27 public LoggingProfile(Writer writer, String name) { in LoggingProfile()
|
D | Writer.java | 22 public interface Writer { interface
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/ |
D | serialize.cpp | 17 template <typename Writer> 18 void Serialize(Writer& writer) const { in Serialize() 42 template <typename Writer> 43 void Serialize(Writer& writer) const { in Serialize() 78 template <typename Writer> 79 void Serialize(Writer& writer) const { in Serialize() 111 template <typename Writer> 112 void Serialize(Writer& writer) const { in Serialize()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | sax.md | 5 …(typedef of `GenericReader<...>`) is the SAX-style parser for JSON, and `Writer` (typedef of `Gene… 176 # Writer {#Writer} 178 `Reader` converts (parses) JSON into events. `Writer` does exactly the opposite. It converts events… 180 …Writer` is very easy to use. If your application only need to converts some data into JSON, it may… 194 Writer<StringBuffer> writer(s); 226 …dArray()` and `EndObject()`. An `SizeType` can be passed but it will be simply ignored by `Writer`. 231 1. `Writer` must output a well-formed JSON. If there is incorrect event sequence (e.g. `Int()` just… 232 2. `Writer::String()` can handle string escaping (e.g. converting code point `U+000A` to `\n`) and … 233 3. `Writer` handles number output consistently. 234 4. `Writer` implements the event handler concept. It can be used to handle events from `Reader`, `D… [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | writer.h | 54 class Writer { 64 …Writer(OutputStream& os, StackAllocator* stackAllocator = 0, size_t levelDepth = kDefaultLevelDept… 68 Writer(StackAllocator* allocator = 0, size_t levelDepth = kDefaultLevelDepth) : 343 Writer(const Writer&); 344 Writer& operator=(const Writer&); 350 inline bool Writer<StringBuffer>::WriteInt(int i) { in WriteInt() 358 inline bool Writer<StringBuffer>::WriteUint(unsigned u) { in WriteUint() 366 inline bool Writer<StringBuffer>::WriteInt64(int64_t i64) { in WriteInt64() 374 inline bool Writer<StringBuffer>::WriteUint64(uint64_t u) { in WriteUint64() 382 inline bool Writer<StringBuffer>::WriteDouble(double d) { in WriteDouble()
|
D | prettywriter.h | 35 class PrettyWriter : public Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator> { 37 typedef Writer<OutputStream, SourceEncoding, TargetEncoding, StackAllocator> Base;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | CopyUtils.java | 27 import java.io.Writer; 154 public static void copy(byte[] input, Writer output) in copy() 173 Writer output, in copy() 220 Writer output) in copy() 246 Writer output) in copy() 264 Writer output, in copy() 328 public static void copy(String input, Writer output) in copy()
|
D | IOUtils.java | 32 import java.io.Writer; 157 public static void closeQuietly(Writer output) { in closeQuietly() 651 public static void write(byte[] data, Writer output) throws IOException { in write() 674 public static void write(byte[] data, Writer output, String encoding) in write() 698 public static void write(char[] data, Writer output) throws IOException { in write() 765 public static void write(String data, Writer output) throws IOException { in write() 829 public static void write(StringBuffer data, Writer output) in write() 963 Writer writer) throws IOException { in writeLines() 1050 public static void copy(InputStream input, Writer output) in copy() 1075 public static void copy(InputStream input, Writer output, String encoding) in copy() [all …]
|
/packages/services/Telephony/src/org/apache/commons/io/ |
D | IOUtils.java | 33 import java.io.Writer; 156 public static void closeQuietly(Writer output) { in closeQuietly() 576 public static void write(byte[] data, Writer output) throws IOException { in write() 599 public static void write(byte[] data, Writer output, String encoding) in write() 623 public static void write(char[] data, Writer output) throws IOException { in write() 690 public static void write(String data, Writer output) throws IOException { in write() 754 public static void write(StringBuffer data, Writer output) in write() 888 Writer writer) throws IOException { in writeLines() 975 public static void copy(InputStream input, Writer output) in copy() 1000 public static void copy(InputStream input, Writer output, String encoding) in copy() [all …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 37 import java.io.Writer; 48 public void write(Writer writer) throws IOException; in write() 91 Writer writer) { in dumpMetadata() 94 public void write(Writer writer) throws IOException { in dumpMetadata() 114 Writer writer) { in dumpMetadata() 117 public void write(Writer writer) throws IOException { in dumpMetadata() 164 private static void dumpMetadata(Writeable metadata, Writer writer) { in dumpMetadata()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 42 import java.io.Writer; 132 final Writer writer = new OutputStreamWriter(stream); in writeTo() 214 private static void writeOneAttachment(Context context, Writer writer, OutputStream out, in writeOneAttachment() 294 private static void writeHeader(Writer writer, String name, String value) throws IOException { in writeHeader() 310 private static void writeEncodedHeader(Writer writer, String name, String value) in writeEncodedHeader() 327 private static void writeAddressHeader(Writer writer, String name, String value) in writeAddressHeader() 344 private static void writeBoundary(Writer writer, String boundary, boolean end) in writeBoundary() 365 private static void writeTextWithHeaders(Writer writer, OutputStream out, String[] bodyText) in writeTextWithHeaders()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
D | FileWriterWithEncoding.java | 24 import java.io.Writer; 50 public class FileWriterWithEncoding extends Writer { 55 private final Writer out; 222 … private static Writer initWriter(File file, Object encoding, boolean append) throws IOException { in initWriter() 231 Writer writer = null; in initWriter()
|
D | LockableFileWriter.java | 25 import java.io.Writer; 50 public class LockableFileWriter extends Writer { 58 private final Writer out; 230 private Writer initWriter(File file, String encoding, boolean append) throws IOException { in initWriter() 233 Writer writer = null; in initWriter()
|
D | NullWriter.java | 19 import java.io.Writer; 29 public class NullWriter extends Writer {
|
D | ProxyWriter.java | 21 import java.io.Writer; 41 public ProxyWriter(Writer proxy) { in ProxyWriter()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | simpledom.dot | 21 Writer 52 Document2 -> Writer [label=" Traverse DOM by Accept()"] 53 Writer -> dstjson [label=" Output to StringBuffer"]
|
D | architecture.dot | 21 Reader -> Writer [style=invis] 41 Handler -> Writer
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
D | capitalize.cpp | 56 Writer<FileWriteStream> writer(os); in main() 59 CapitalizeFilter<Writer<FileWriteStream> > filter(writer); in main()
|