Home
last modified time | relevance | path

Searched refs:FileReadStream (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md68 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 …]
Dfeatures.md79 * Support `rapidjson::FileReadStream` and `rapidjson::FileWriteStream` for input/output `FILE` obje…
Ddom.md47 FileReadStream bis(fp, readBuffer, sizeof(readBuffer));
49 AutoUTFInputStream<unsigned, FileReadStream> eis(bis); // wraps bis into eis
Dfaq.md227 …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`.
Dsax.md442 FileReadStream is(stdin, readBuffer, sizeof(readBuffer));
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dfilestreamtest.cpp68 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()
Dencodedstreamtest.cpp86 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()
Ddocumenttest.cpp120 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/
Dprettyauto.cpp29 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/
Dfilereadstream.h27 class FileReadStream {
37FileReadStream(std::FILE* fp, char* buffer, size_t bufferSize) : fp_(fp), buffer_(buffer), bufferS… in FileReadStream() function
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp337 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/
Dcondense.cpp18 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/pretty/
Dpretty.cpp16 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/
Dcapitalize.cpp51 FileReadStream is(stdin, readBuffer, sizeof(readBuffer)); in main()