/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()
|
/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 …]
|
D | faq.md | 189 ## Reader/Writer (SAX) 191 1. Why don't we just `printf` a JSON? Why do we need a `Writer`? 193 …Writer` will ensure the output JSON is well-formed. Calling SAX events incorrectly (e.g. `StartObj… 221 …Yes, use `ASCII<>` as output encoding template parameter in `Writer` can enforce escaping those ch…
|
D | stream.md | 47 Writer<StringBuffer> writer(buffer); 114 Writer<FileWriteStream> writer(os); 179 Writer<OutputStream, UTF32LE<>, UTF8<>> writer(eos); 230 Writer<OutputStream, UTF8<>, AutoUTF<> > writer; 366 Writer<OStreamWrapper> writer(os);
|
D | dom.md | 240 In RapidJSON, stringifying a DOM with `Writer` may be look a little bit weired. 244 Writer<StringBuffer> writer(buffer); 248 …he handler. With this design, `Value` and `Writer` are decoupled. `Value` can generate SAX events,…
|
/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/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/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/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorage.java | 150 private Writer createWriter(int slot) throws IOException { in createWriter() 152 return new Writer(file); in createWriter() 206 public static final class Writer implements Closeable { class in ClipStorage 211 private Writer(File file) throws IOException { in Writer() method in ClipStorage.Writer 267 try(Writer writer = mClipStore.createWriter(mSlot)){ in doInBackground()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsOperationRecorder.java | 30 private static final VmsOperationRecorder INSTANCE = new VmsOperationRecorder(new Writer()); 31 private final Writer mWriter; 35 public VmsOperationRecorder(Writer writer) { in VmsOperationRecorder() 217 public static class Writer { class in VmsOperationRecorder
|
/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/Dialer/java/com/android/voicemail/impl/utils/ |
D | IndentingPrintWriter.java | 20 import java.io.Writer; 50 public IndentingPrintWriter(Writer writer, String singleIndent) { in IndentingPrintWriter() 54 public IndentingPrintWriter(Writer writer, String singleIndent, int wrapLength) { in IndentingPrintWriter()
|
/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()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainActivityTest.java | 35 import java.io.Writer; 196 Writer writer = new OutputStreamWriter(bao, StandardCharsets.US_ASCII); in convertToPem()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | LauncherLayoutBuilder.java | 27 import java.io.Writer; 93 public void build(Writer writer) throws IOException { in build()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 43 import java.io.Writer; 114 Writer writer = null; in runInternal()
|