1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

Everywhere: Run clang-format

This commit is contained in:
Idan Horowitz 2022-04-01 20:58:27 +03:00 committed by Linus Groh
parent 0376c127f6
commit 086969277e
1665 changed files with 8479 additions and 8479 deletions

View file

@ -46,7 +46,7 @@ public:
void clear_err() { m_error = 0; }
size_t read(u8*, size_t);
size_t write(const u8*, size_t);
size_t write(u8 const*, size_t);
template<typename CharType>
bool gets(CharType*, size_t);
@ -84,7 +84,7 @@ private:
bool is_not_empty() const { return m_ungotten || !m_empty; }
size_t buffered_size() const;
const u8* begin_dequeue(size_t& available_size) const;
u8 const* begin_dequeue(size_t& available_size) const;
void did_dequeue(size_t actual_size);
u8* begin_enqueue(size_t& available_size) const;
@ -114,7 +114,7 @@ private:
// Read or write using the underlying fd, bypassing the buffer.
ssize_t do_read(u8*, size_t);
ssize_t do_write(const u8*, size_t);
ssize_t do_write(u8 const*, size_t);
// Read some data into the buffer.
bool read_into_buffer();