Lines Matching refs:StreamResult
43 enum StreamResult { SR_ERROR, SR_SUCCESS, SR_BLOCK, SR_EOS }; enum
83 virtual StreamResult Read(void* buffer, size_t buffer_len,
85 virtual StreamResult Write(const void* data, size_t data_len,
210 StreamResult WriteAll(const void* data, size_t data_len,
215 StreamResult ReadAll(void* buffer, size_t buffer_len,
222 StreamResult ReadLine(std::string* line);
249 StreamResult Read(void* buffer,
253 StreamResult Write(const void* data,
324 StreamResult GetTapResult(int* error);
327 StreamResult Read(void* buffer,
331 StreamResult Write(const void* data,
338 StreamResult tap_result_;
354 StreamResult Read(void* buffer,
358 StreamResult Write(const void* data,
385 StreamResult Read(void* buffer,
389 StreamResult Write(const void* data,
431 StreamResult Read(void* buffer,
435 StreamResult Write(const void* buffer,
452 virtual StreamResult DoReserve(size_t size, int* error);
476 StreamResult DoReserve(size_t size, int* error) override;
514 StreamResult ReadOffset(void* buffer, size_t bytes, size_t offset,
521 StreamResult WriteOffset(const void* buffer, size_t bytes, size_t offset,
526 StreamResult Read(void* buffer,
530 StreamResult Write(const void* buffer,
544 StreamResult ReadOffsetLocked(void* buffer, size_t bytes, size_t offset,
549 StreamResult WriteOffsetLocked(const void* buffer, size_t bytes,
571 StreamResult Read(void* buffer,
575 StreamResult Write(const void* data,
603 StreamResult Read(void* buffer,
607 StreamResult Write(const void* data,
695 StreamResult Flow(StreamInterface* source,