Searched refs:Encoding (Results 1 – 15 of 15) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | readertest.cpp | 447 template <typename Encoding> 448 struct ParseStringHandler : BaseReaderHandler<Encoding, ParseStringHandler<Encoding> > { 450 …~ParseStringHandler() { EXPECT_TRUE(str_ != 0); if (copy_) free(const_cast<typename Encoding::Ch*>… in ~ParseStringHandler() 456 bool String(const typename Encoding::Ch* str, size_t length, bool copy) { in String() 459 str_ = (typename Encoding::Ch*)malloc((length + 1) * sizeof(typename Encoding::Ch)); in String() 460 …memcpy(const_cast<typename Encoding::Ch*>(str_), str, (length + 1) * sizeof(typename Encoding::Ch)… in String() 469 const typename Encoding::Ch* str_; 475 #define TEST_STRING(Encoding, e, x) \ in TEST() argument 477 Encoding::Ch* buffer = StrDup(x); \ in TEST() 478 GenericInsituStringStream<Encoding> is(buffer); \ in TEST() [all …]
|
D | documenttest.cpp | 421 typedef UTF8<> Encoding; 422 typedef GenericDocument<Encoding, Allocator> Document; 428 typedef GenericReader<Encoding, Encoding, Allocator> Reader; 430 GenericStringStream<Encoding> is("[\"one\", \"two\", \"three\"]"); 518 typedef UTF8<> Encoding; 519 typedef GenericDocument<Encoding, Allocator> Document; 525 typedef GenericReader<Encoding, Encoding, Allocator> Reader; 527 GenericStringStream<Encoding> is("[\"one\", \"two\", \"three\"]");
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 69 template <typename Encoding, typename Allocator> 72 template <typename Encoding, typename Allocator, typename StackAllocator> 81 template <typename Encoding, typename Allocator> 83 GenericValue<Encoding, Allocator> name; //!< name of member (must be a string) 84 GenericValue<Encoding, Allocator> value; //!< value of member. 111 template <bool Const, typename Encoding, typename Allocator> 114 , typename internal::MaybeAddConst<Const,GenericMember<Encoding,Allocator> >::Type> { 116 friend class GenericValue<Encoding,Allocator>; 119 typedef GenericMember<Encoding,Allocator> PlainType; 127 typedef GenericMemberIterator<true,Encoding,Allocator> ConstIterator; [all …]
|
D | encodedstream.h | 32 template <typename Encoding, typename InputByteStream> 36 typedef typename Encoding::Ch Ch; 39 current_ = Encoding::TakeBOM(is_); in EncodedInputStream() 43 Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; } in Take() 65 template <typename Encoding, typename OutputByteStream> 69 typedef typename Encoding::Ch Ch; 73 Encoding::PutBOM(os_); in os_() 76 void Put(Ch c) { Encoding::Put(os_, c); } in Put()
|
D | rapidjson.h | 570 template <typename Encoding> 572 typedef typename Encoding::Ch Ch; 589 template <typename Encoding> 590 struct StreamTraits<GenericStringStream<Encoding> > { 604 template <typename Encoding> 606 typedef typename Encoding::Ch Ch; 630 template <typename Encoding> 631 struct StreamTraits<GenericInsituStringStream<Encoding> > {
|
D | stringbuffer.h | 34 template <typename Encoding, typename Allocator = CrtAllocator> 37 typedef typename Encoding::Ch Ch;
|
D | encodings.h | 605 template<typename Encoding> 606 struct Transcoder<Encoding, Encoding> { 615 return Encoding::Validate(is, os); // source/target encoding are the same
|
D | reader.h | 180 template<typename Encoding = UTF8<>, typename Derived = void> 182 typedef typename Encoding::Ch Ch;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | dom.md | 14 template <typename Encoding, typename Allocator = MemoryPoolAllocator<> > 19 template <typename Encoding, typename Allocator = MemoryPoolAllocator<> > 20 class GenericDocument : public GenericValue<Encoding, Allocator> { 32 ## Encoding {#Encoding} 34 …Encoding` parameter specifies the encoding of JSON String value in memory. Possible options are `U… 78 // (2) Using the same Encoding for stream 97 // (7) Normal parsing of a string, using same Encoding of Document 121 …er defines what encoding is in the stream. This can be differed to the `Encoding` of the `Document…
|
D | encoding.md | 1 # Encoding chapter 67 …en using the DOM-style API, the `Encoding` template parameter in `GenericValue<Encoding>` and `Gen… 76 For a detail example, please check the example in [DOM's Encoding](doc/stream.md) section.
|
D | stream.md | 136 `EncodedInputStream` has two template parameters. The first one is a `Encoding` class, such as `UTF…
|
D | internals.md | 21 Both SAX and DOM APIs depends on 3 additional concepts: `Allocator`, `Encoding` and `Stream`. Their…
|
D | tutorial.md | 511 2. [Encoding](doc/encoding.md) defines which character encoding is used in streams and memory. Rapi…
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | utilityclass.dot | 19 Encoding [label="<<concept>>\nEncoding"] 22 Encoding -> { UTF8; UTF16; UTF32; ASCII; AutoUTF }
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | CHANGELOG.md | 53 * ASCII Encoding (#70)
|