/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | readertest.cpp | 31 struct ParseBoolHandler : BaseReaderHandler<UTF8<>, ParseBoolHandler<expect> > { 57 struct ParseIntHandler : BaseReaderHandler<UTF8<>, ParseIntHandler> { 66 struct ParseUintHandler : BaseReaderHandler<UTF8<>, ParseUintHandler> { 75 struct ParseInt64Handler : BaseReaderHandler<UTF8<>, ParseInt64Handler> { 84 struct ParseUint64Handler : BaseReaderHandler<UTF8<>, ParseUint64Handler> { 93 struct ParseDoubleHandler : BaseReaderHandler<UTF8<>, ParseDoubleHandler> { 514 TEST_STRING(UTF8<>, "", "\"\""); in TEST() 515 TEST_STRING(UTF8<>, "Hello", "\"Hello\""); in TEST() 516 TEST_STRING(UTF8<>, "Hello\nWorld", "\"Hello\\nWorld\""); in TEST() 517 TEST_STRING(UTF8<>, "\"\\/\b\f\n\r\t", "\"\\\"\\\\/\\b\\f\\n\\r\\t\""); in TEST() [all …]
|
D | encodedstreamtest.cpp | 92 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestEncodedInputStream() 110 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestEncodedInputStream() 132 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestAutoUTFInputStream() 151 EXPECT_TRUE(UTF8<>::Decode(s, &expected)); in TestAutoUTFInputStream() 172 bool success = Transcoder<UTF8<>, MemoryEncoding>::Transcode(s, eos); in TestEncodedOutputStream() 187 bool success = Transcoder<UTF8<>, MemoryEncoding>::Transcode(s, eos); in TestEncodedOutputStream() 206 bool success = Transcoder<UTF8<>, AutoUTF<unsigned> >::Transcode(s, eos); in TestAutoUTFOutputStream() 221 bool success = Transcoder<UTF8<>, AutoUTF<unsigned> >::Transcode(s, eos); in TestAutoUTFOutputStream() 252 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8.json"); in TEST_F() 253 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8bom.json"); in TEST_F() [all …]
|
D | documenttest.cpp | 71 typedef GenericDocument<UTF8<>, Allocator, StackAllocator> DocumentType; in ParseTest() 121 EncodedInputStream<UTF8<>, FileReadStream> eis(bis); in TEST() 124 d.ParseStream<0, UTF8<> >(eis); in TEST() 137 typedef EncodedOutputStream<UTF8<>, StringBuffer> OutputStream; in TEST() 139 Writer<OutputStream, UTF16<>, UTF8<> > writer(eos); in TEST() 263 typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<> > DocumentType; in TEST() 354 typedef GenericDocument<UTF8<>, Allocator> Document; in TYPED_TEST() 388 typedef GenericDocument<UTF8<>, Allocator> Document; in TYPED_TEST() 421 typedef UTF8<> Encoding; 447 typedef GenericDocument<UTF8<>, Allocator> Document; in TYPED_TEST() [all …]
|
D | encodingstest.cpp | 286 TEST(EncodingsTest, UTF8) { in TEST() argument 291 UTF8<>::Encode(os, codepoint); in TEST() 318 bool result = UTF8<>::Decode(is, &decodedCodepoint); in TEST() 329 bool result = UTF8<>::Validate(is, os2); in TEST() 339 GenericStringBuffer<UTF8<> > utf8os; in TEST() 351 UTF8<>::Encode(utf8os, codepoint); in TEST()
|
D | writertest.cpp | 117 Writer<StringBuffer, UTF16<>, UTF8<> > writer(buffer); in TEST() 118 GenericReader<UTF8<>, UTF16<> > reader; in TEST() 127 Writer<StringBuffer, UTF8<>, ASCII<> > writer(buffer); in TEST() 133 GenericReader<ASCII<>, UTF8<> > reader2; in TEST() 325 Writer<GenericStringBuffer<UTF16<> >, UTF8<>, UTF16<> > writer(buffer); in TEST()
|
D | jsoncheckertest.cpp | 70 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST() 90 …GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no… in TEST()
|
D | valuetest.cpp | 40 typedef GenericValue<UTF8<>, CrtAllocator> Value; in TEST() 76 typedef GenericValue<UTF8<>, CrtAllocator> Value; in TEST() 185 GenericValue<UTF8<>, CrtAllocator> y; in TEST() 186 GenericDocument<UTF8<>, CrtAllocator> z(&crtAllocator); in TEST() 264 TestCopyFrom<GenericValue<UTF8<>, CrtAllocator> >(); in TEST() 1016 GenericValue<UTF8<>, CrtAllocator> othername("A"); in TEST() 1202 GenericValue<UTF8<>, CrtAllocator> othername("A"); in TEST() 1285 typedef GenericValue<UTF8<>, CrtAllocator> V; in TEST()
|
D | namespacetest.cpp | 36 typedef GenericDocument<UTF8<>, CrtAllocator> DocumentType; in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
D | prettyauto.cpp | 27 GenericReader<AutoUTF<unsigned>, UTF8<> > reader; // CHANGED in main() 40 PrettyWriter<OutputStream, UTF8<>, AutoUTF<unsigned> > writer(eos); // CHANGED in main() 45 PrettyWriter<OutputStream, UTF8<>, UTF16LE<> > writer(eos); // CHANGED in main()
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeRfc822AddrIdentification.java | 36 private static final Charset UTF8 = Charset.forName("UTF-8"); field in IkeRfc822AddrIdentification 49 rfc822Name = new String(rfc822NameBytes, UTF8); in IkeRfc822AddrIdentification() 101 return rfc822Name.getBytes(UTF8); in getEncodedIdData()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | stream.md | 37 Note that, `StringStream` is a typedef of `GenericStringStream<UTF8<> >`, user may use another enco… 53 …city automatically. The default capacity is 256 characters (256 bytes for UTF8, 512 bytes for UTF1… 62 Similarly, `StringBuffer` is a typedef of `GenericStringBuffer<UTF8<> >`. 136 …as two template parameters. The first one is a `Encoding` class, such as `UTF8`, `UTF16LE`, define… 153 Document d; // Document is GenericDocument<UTF8<> > 168 Document d; // Document is GenericDocument<UTF8<> > 179 Writer<OutputStream, UTF32LE<>, UTF8<>> writer(eos); 206 Document d; // Document is GenericDocument<UTF8<> > 230 Writer<OutputStream, UTF8<>, AutoUTF<> > writer;
|
D | encoding.md | 42 struct UTF8; 65 …essing text in memory, we normally use `UTF8`, `UTF16` or `UTF32`. For processing text via I/O, we… 67 …g to be used to represent JSON string in memory. So normally we will use `UTF8`, `UTF16` or `UTF32… 100 Document d; // UTF8<> 135 if (!Transcoder::Transcode<UTF8<>, UTF16<> >(source, target)) {
|
D | dom.md | 24 typedef GenericValue<UTF8<> > Value; 25 typedef GenericDocument<UTF8<> > Document; 34 …memory. Possible options are `UTF8`, `UTF16`, `UTF32`. Note that, these 3 types are also template … 265 typedef GenericDocument<UTF8<>, MemoryPoolAllocator<>, MemoryPoolAllocator<>> DocumentType;
|
D | sax.md | 146 typedef GenericReader<UTF8<>, UTF8<> > Reader; 154 GenericReader<UTF8<>, UTF16<> > reader; 246 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,… 303 : public BaseReaderHandler<UTF8<>, MessageHandler> {
|
D | features.md | 37 * By default the character types are `char` for UTF8, `wchar_t` for UTF16, `uint32_t` for UTF32.
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | rapidjsontest.cpp | 168 GenericDocument<UTF8<>, CrtAllocator> doc; in TEST_F() 177 EncodedInputStream<UTF8<>, MemoryStream> is(ms); in TEST_F() 179 doc.ParseStream<0, UTF8<> >(is); in TEST_F() 332 result &= UTF8<>::Validate(is, os); in TEST_F()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | stringbuffer.h | 83 typedef GenericStringBuffer<UTF8<> > StringBuffer; 87 inline void PutN(GenericStringBuffer<UTF8<> >& stream, char c, size_t n) { in PutN()
|
D | prettywriter.h | 34 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
|
D | rapidjson.h | 595 typedef GenericStringStream<UTF8<> > StringStream; 636 typedef GenericInsituStringStream<UTF8<> > InsituStringStream;
|
D | writer.h | 53 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
|
D | encodings.h | 96 struct UTF8 { struct 555 #define RAPIDJSON_ENCODINGS_FUNC(x) UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UT…
|
D | reader.h | 180 template<typename Encoding = UTF8<>, typename Derived = void> 1440 typedef GenericReader<UTF8<>, UTF8<> > Reader;
|
D | encodedstream.h | 93 #define RAPIDJSON_ENCODINGS_FUNC(x) UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UT…
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/ |
D | messagereader.cpp | 21 : public BaseReaderHandler<UTF8<>, MessageHandler> {
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | utilityclass.dot | 22 Encoding -> { UTF8; UTF16; UTF32; ASCII; AutoUTF }
|