Searched refs:FileReadStream (Results 1 – 14 of 14) sorted by relevance
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | stream.md | 68 However, if the JSON is big, or memory is limited, you can use `FileReadStream`. It only read a par… 70 ## FileReadStream (Input) {#FileReadStream} 72 `FileReadStream` reads the file via a `FILE` pointer. And user need to provide a buffer. 83 FileReadStream is(fp, readBuffer, sizeof(readBuffer)); 91 Different from string streams, `FileReadStream` is byte stream. It does not handle encodings. If th… 93 Apart from reading file, user can also use `FileReadStream` to read `stdin`. 97 `FileWriteStream` is buffered output stream. Its usage is very similar to `FileReadStream`. 140 #include "rapidjson/filereadstream.h" // FileReadStream 149 FileReadStream bis(fp, readBuffer, sizeof(readBuffer)); 151 EncodedInputStream<UTF16LE<>, FileReadStream> eis(bis); // wraps bis into eis [all …]
|
D | features.md | 79 * Support `rapidjson::FileReadStream` and `rapidjson::FileWriteStream` for input/output `FILE` obje…
|
D | dom.md | 47 FileReadStream bis(fp, readBuffer, sizeof(readBuffer)); 49 AutoUTFInputStream<unsigned, FileReadStream> eis(bis); // wraps bis into eis
|
D | faq.md | 227 …User can use `FileReadStream` to read the file chunk-by-chunk. But for *in situ* parsing, the whol… 231 …ser can implement a custom stream for this. Please refer to the implementation of `FileReadStream`.
|
D | sax.md | 442 FileReadStream is(stdin, readBuffer, sizeof(readBuffer));
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | filestreamtest.cpp | 68 TEST_F(FileStreamTest, FileReadStream) { in TEST_F() argument 72 FileReadStream s(fp, buffer, sizeof(buffer)); in TEST_F() 99 FileReadStream is(fp, buffer, sizeof(buffer)); in TEST_F()
|
D | encodedstreamtest.cpp | 86 FileReadStream fs(fp, buffer, sizeof(buffer)); in TestEncodedInputStream() 87 EncodedInputStream<FileEncoding, FileReadStream> eis(fs); in TestEncodedInputStream() 126 FileReadStream fs(fp, buffer, sizeof(buffer)); in TestAutoUTFInputStream() 127 AutoUTFInputStream<unsigned, FileReadStream> eis(fs); in TestAutoUTFInputStream()
|
D | documenttest.cpp | 120 FileReadStream bis(fp, buffer, sizeof(buffer)); in TEST() 121 EncodedInputStream<UTF8<>, FileReadStream> eis(bis); in TEST() 145 FileReadStream is(fp, buffer, sizeof(buffer)); in TEST() 161 FileReadStream bis(fp, buffer, sizeof(buffer)); in TEST() 162 AutoUTFInputStream<unsigned, FileReadStream> eis(bis); in TEST() 184 FileReadStream is(fp, buffer, sizeof(buffer)); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/prettyauto/ |
D | prettyauto.cpp | 29 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main() 30 AutoUTFInputStream<unsigned, FileReadStream> eis(is); // NEW in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | filereadstream.h | 27 class FileReadStream { 37 …FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferS… in FileReadStream() function
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | rapidjsontest.cpp | 337 TEST_F(RapidJson, FileReadStream) { in TEST_F() argument 341 FileReadStream s(fp, buffer, sizeof(buffer)); in TEST_F() 352 FileReadStream s(fp, buffer, sizeof(buffer)); in TEST_F()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/condense/ |
D | condense.cpp | 18 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/ |
D | pretty.cpp | 16 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
D | capitalize.cpp | 51 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()
|