/external/libbrillo/brillo/streams/ |
memory_stream.cc | 16 MemoryStream::MemoryStream( 21 StreamPtr MemoryStream::OpenRef(const void* buffer, 29 StreamPtr MemoryStream::OpenCopyOf(const void* buffer, 38 StreamPtr MemoryStream::OpenRef(const std::string& buffer, ErrorPtr* error) { 44 StreamPtr MemoryStream::OpenCopyOf(std::string buffer, ErrorPtr* error) { 50 StreamPtr MemoryStream::OpenRef(const char* buffer, ErrorPtr* error) { 54 StreamPtr MemoryStream::OpenCopyOf(const char* buffer, ErrorPtr* error) { 58 StreamPtr MemoryStream::Create(size_t reserve_size, ErrorPtr* error) { 64 StreamPtr MemoryStream::CreateRef(std::string* buffer, ErrorPtr* error) [all...] |
memory_stream_unittest.cc | 51 stream_.reset(new MemoryStream{std::move(container), 0}); 66 std::unique_ptr<MemoryStream> stream_; 204 TEST(MemoryStream, OpenBinary) { 206 StreamPtr stream = MemoryStream::OpenRef(buffer, sizeof(buffer), nullptr); 218 TEST(MemoryStream, OpenBinaryCopy) { 220 StreamPtr stream = MemoryStream::OpenCopyOf(buffer, sizeof(buffer), nullptr); 232 TEST(MemoryStream, OpenString) { 234 StreamPtr stream = MemoryStream::OpenRef(str, nullptr); 244 TEST(MemoryStream, OpenStringCopy) { 246 StreamPtr stream = MemoryStream::OpenCopyOf(str, nullptr) [all...] |
memory_stream.h | 19 // MemoryStream is a brillo::Stream implementation for memory buffer. A number 22 // MemoryStream offers support for constant read-only memory buffers as well as 51 class BRILLO_EXPORT MemoryStream : public Stream { 192 // Private constructor used by MemoryStream::OpenNNNN() and 193 // MemoryStream::CreateNNNN() factory methods. 194 MemoryStream( 207 DISALLOW_COPY_AND_ASSIGN(MemoryStream);
|
/external/libweave/src/ |
streams_unittest.cc | 22 MemoryStream source{test_data, &task_runner}; 23 MemoryStream destination{{}, &task_runner};
|
streams.cc | 16 MemoryStream::MemoryStream(const std::vector<uint8_t>& data, 20 void MemoryStream::Read(void* buffer, 32 void MemoryStream::Write(const void* buffer,
|
streams.h | 17 class MemoryStream : public InputStream, public OutputStream { 19 MemoryStream(const std::vector<uint8_t>& data,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
memorystream.h | 28 Differences between MemoryStream and StringStream: 29 1. StringStream has encoding but MemoryStream is a byte stream. 30 2. MemoryStream needs size of the source buffer and the buffer don't need to be null terminated. StringStream assume null-terminated string as source. 31 3. MemoryStream supports Peek4() for encoding detection. StringStream is specified with an encoding so it should not have Peek4(). 34 struct MemoryStream { 37 MemoryStream(const Ch *src, size_t size) : src_(src), begin_(src), end_(src + size), size_(size) {}
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 94 uint8_t* MemoryStream::getRawBufferAddr() { 98 jobject MemoryStream::getRawBuffer() { 102 int MemoryStream::getRawBufferSize() { 110 size_t MemoryStream::doRead(void* buffer, size_t size) {
|
Stream.h | 44 class MemoryStream : public Stream { 46 MemoryStream(void* buffer, size_t size, jobject buf) :
|
FrameSequenceJNI.cpp | 56 MemoryStream stream(bytes + offset, length, NULL); 67 MemoryStream stream(
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
ANTLRxxxxStreamFixture.cs | 42 using MemoryStream = System.IO.MemoryStream; 68 MemoryStream grammarStream = new MemoryStream(grammarStrBuffer); 76 MemoryStream grammarStream = new MemoryStream(new byte[] { }); 87 MemoryStream grammarStream = new MemoryStream(grammarStrBuffer); 98 MemoryStream grammarStream = new MemoryStream(grammarStrBuffer) [all...] |
/external/webrtc/talk/media/base/ |
rtpdump_unittest.cc | 79 rtc::MemoryStream stream; 120 rtc::MemoryStream stream; 158 rtc::MemoryStream stream; 180 rtc::MemoryStream stream; 209 rtc::MemoryStream stream; 235 rtc::MemoryStream stream; 246 rtc::MemoryStream stream; 257 rtc::MemoryStream stream; 279 rtc::MemoryStream stream;
|
videoframe_unittest.h | 101 rtc::scoped_ptr<rtc::MemoryStream> ms(LoadSample(filename)); 105 bool LoadFrame(rtc::MemoryStream* ms, 113 bool LoadFrame(rtc::MemoryStream* ms, 160 rtc::MemoryStream* LoadSample(const std::string& filename) { 172 rtc::scoped_ptr<rtc::MemoryStream> ms( 173 new rtc::MemoryStream()); 213 rtc::MemoryStream* CreateYuv422Sample(uint32_t fourcc, 221 rtc::scoped_ptr<rtc::MemoryStream> ms( 222 new rtc::MemoryStream); 242 rtc::MemoryStream* CreateYuvSample(uint32_t width [all...] |
/external/webrtc/webrtc/base/ |
linux_unittest.cc | 72 MemoryStream *test_stream = new MemoryStream(
|
multipart_unittest.cc | 64 rtc::scoped_ptr<rtc::MemoryStream> stream( 65 new rtc::MemoryStream(kTestStreamContent)); 73 new rtc::MemoryStream(kTestStreamContent),
|
httprequest.h | 28 class MemoryStream;
|
stream.h | 422 // MemoryStream is a simple implementation of a StreamInterface over in-memory 464 // MemoryStream dynamically resizes to accomodate written data. 466 class MemoryStream : public MemoryStreamBase { 468 MemoryStream(); 469 explicit MemoryStream(const char* data); // Calls SetData(data, strlen(data)) 470 MemoryStream(const void* data, size_t length); // Calls SetData(data, length) 471 ~MemoryStream() override;
|
stream.cc | 521 // MemoryStream 621 MemoryStream::MemoryStream() 625 MemoryStream::MemoryStream(const char* data) 630 MemoryStream::MemoryStream(const void* data, size_t length) 635 MemoryStream::~MemoryStream() { 639 void MemoryStream::SetData(const void* data, size_t length) [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 20 #include "rapidjson/memorystream.h"
100 // Test MemoryStream
104 MemoryStream ms(data, size);
105 EncodedInputStream<FileEncoding, MemoryStream> eis(ms);
140 // Test MemoryStream
144 MemoryStream ms(data, size);
145 AutoUTFInputStream<unsigned, MemoryStream> eis(ms);
279 MemoryStream ms(json, sizeof(json));
280 AutoUTFInputStream<unsigned, MemoryStream> eis(ms, kUTF8);
|
/external/libbrillo/brillo/http/ |
http_connection_fake.cc | 105 return MemoryStream::OpenRef(response_.GetData(), error); 108 return MemoryStream::OpenCopyOf(nullptr, 0, error);
|
http_form_data.cc | 87 streams->push_back(MemoryStream::OpenCopyOf(data_, nullptr)); 130 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr)); 134 streams->push_back(MemoryStream::OpenRef("\r\n", nullptr)); 138 streams->push_back(MemoryStream::OpenCopyOf(data, nullptr));
|
/system/webservd/libwebserv/ |
response.cc | 65 Reply(status_code, brillo::MemoryStream::OpenCopyOf(text, nullptr), 97 data_stream_ = brillo::MemoryStream::OpenCopyOf(error_text, nullptr);
|
request_utils.cc | 64 brillo::MemoryStream::CreateRef(&container->data, nullptr);
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 269 System.IO.MemoryStream propStream = new System.IO.MemoryStream();
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize);
290 MemoryStream compressedStream = new MemoryStream((int)kCompressedBufferSize);
|
/external/webrtc/webrtc/p2p/base/ |
pseudotcp_unittest.cc | 198 rtc::MemoryStream send_stream_; 199 rtc::MemoryStream recv_stream_; 311 rtc::MemoryStream send_stream_; 312 rtc::MemoryStream recv_stream_; 581 rtc::MemoryStream send_stream_; 582 rtc::MemoryStream recv_stream_;
|