/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
H A 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() 252 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8.json"); in TEST_F() 253 TestEncodedInputStream<UTF8<>, UTF8<> >("utf8bom.json"); in TEST_F() 287 TestEncodedOutputStream<UTF8<>, UTF8<> >("utf8.json", false); in TEST_F() [all …]
|
H A D | readertest.cpp | 514 TEST_STRING(UTF8<>, "", "\"\""); in TEST() 515 TEST_STRING(UTF8<>, "Hello", "\"Hello\""); in TEST() 551 ParseStringHandler<UTF8<> > h; in TEST() 562 GenericStringStream<UTF8<> > is(x); in TEST() 563 GenericReader<UTF8<>, UTF16<> > reader; in TEST() 573 GenericStringStream<UTF8<> > is(x); in TEST() 574 GenericReader<UTF8<>, UTF16<> > reader; in TEST() 583 ParseStringHandler<UTF8<> > h; in TEST() 740 GenericReader<UTF8<>, UTF8<>, CrtAllocator> reader; \ in TEST() 1010 CustomStringStream<UTF8<char> > s(json); in TEST() [all …]
|
H A 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()
|
H A 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() 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() 483 typedef GenericDocument<UTF8<>, Allocator> Document; in TYPED_TEST() [all …]
|
H A 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()
|
H A 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()
|
H A D | namespacetest.cpp | 36 typedef GenericDocument<UTF8<>, CrtAllocator> DocumentType; in TEST()
|
H A 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()
|
/aosp12/art/test/563-checker-fakestring/smali/ |
H A D | TestCase.smali | 34 const-string v3, "UTF8" 61 const-string v2, "UTF8" 99 const-string v3, "UTF8" 127 const-string v1, "UTF8" 151 const-string v1, "UTF8" 172 const-string v1, "UTF8" 194 const-string v1, "UTF8" 213 const-string v1, "UTF8" 233 const-string v1, "UTF8" 259 const-string v3, "UTF8" [all …]
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
H A 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()
|
/aosp12/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
H A D | IkeRfc822AddrIdentification.java | 32 private static final Charset UTF8 = Charset.forName("UTF-8"); field in IkeRfc822AddrIdentification 46 rfc822Name = new String(rfc822NameBytes, UTF8); in IkeRfc822AddrIdentification() 122 return rfc822Name.getBytes(UTF8); in getEncodedIdData()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
H A 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)) {
|
H A 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;
|
H A 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;
|
H A 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> {
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | stringbuffer.h | 83 typedef GenericStringBuffer<UTF8<> > StringBuffer; 87 inline void PutN(GenericStringBuffer<UTF8<> >& stream, char c, size_t n) { in PutN()
|
H A D | prettywriter.h | 34 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
|
H A D | rapidjson.h | 595 typedef GenericStringStream<UTF8<> > StringStream; 636 typedef GenericInsituStringStream<UTF8<> > InsituStringStream;
|
H A D | writer.h | 53 template<typename OutputStream, typename SourceEncoding = UTF8<>, typename TargetEncoding = UTF8<>,…
|
H A 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…
|
H A D | encodedstream.h | 93 #define RAPIDJSON_ENCODINGS_FUNC(x) UTF8<Ch>::x, UTF16LE<Ch>::x, UTF16BE<Ch>::x, UTF32LE<Ch>::x, UT…
|
H A D | reader.h | 180 template<typename Encoding = UTF8<>, typename Derived = void> 1440 typedef GenericReader<UTF8<>, UTF8<> > Reader;
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
H A 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()
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/ |
H A D | messagereader.cpp | 21 : public BaseReaderHandler<UTF8<>, MessageHandler> {
|
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
H A D | utilityclass.dot | 22 Encoding -> { UTF8; UTF16; UTF32; ASCII; AutoUTF }
|