Lines Matching refs:fbl
10 : read_handler_(fbl::move(read_handler)),
11 write_handler_(fbl::move(write_handler)) {
42 : PseudoFile(fbl::move(read_handler), fbl::move(write_handler)),
47 zx_status_t BufferedPseudoFile::Open(uint32_t flags, fbl::RefPtr<Vnode>* out_redirect) {
48 fbl::String output;
56 *out_redirect = fbl::AdoptRef(new Content(fbl::WrapRefPtr(this), flags, fbl::move(output)));
60 BufferedPseudoFile::Content::Content(fbl::RefPtr<BufferedPseudoFile> file, uint32_t flags,
61 fbl::String output)
62 : file_(fbl::move(file)), flags_(flags), output_(fbl::move(output)) {}
74 return file_->write_handler_(fbl::StringPiece(input_data_, input_length_));
160 : PseudoFile(fbl::move(read_handler), fbl::move(write_handler)) {}
164 zx_status_t UnbufferedPseudoFile::Open(uint32_t flags, fbl::RefPtr<Vnode>* out_redirect) {
165 *out_redirect = fbl::AdoptRef(new Content(fbl::WrapRefPtr(this), flags));
169 UnbufferedPseudoFile::Content::Content(fbl::RefPtr<UnbufferedPseudoFile> file, uint32_t flags)
170 : file_(fbl::move(file)), flags_(flags),
175 zx_status_t UnbufferedPseudoFile::Content::Open(uint32_t flags, fbl::RefPtr<Vnode>* out_redirect) {
181 return file_->write_handler_(fbl::StringPiece());
201 fbl::String output;
224 fbl::StringPiece(static_cast<const char*>(data), length));