mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
ErrorOr<off_t> seek(off_t, int whence);
|
||||
ErrorOr<size_t> read(UserOrKernelBuffer&, size_t);
|
||||
ErrorOr<size_t> write(const UserOrKernelBuffer& data, size_t);
|
||||
ErrorOr<size_t> write(UserOrKernelBuffer const& data, size_t);
|
||||
ErrorOr<struct stat> stat();
|
||||
|
||||
// NOTE: These ignore the current offset of this file description.
|
||||
|
@ -66,10 +66,10 @@ public:
|
|||
bool is_directory() const;
|
||||
|
||||
File& file() { return *m_file; }
|
||||
const File& file() const { return *m_file; }
|
||||
File const& file() const { return *m_file; }
|
||||
|
||||
bool is_device() const;
|
||||
const Device* device() const;
|
||||
Device const* device() const;
|
||||
Device* device();
|
||||
|
||||
bool is_tty() const;
|
||||
|
@ -77,19 +77,19 @@ public:
|
|||
TTY* tty();
|
||||
|
||||
bool is_inode_watcher() const;
|
||||
const InodeWatcher* inode_watcher() const;
|
||||
InodeWatcher const* inode_watcher() const;
|
||||
InodeWatcher* inode_watcher();
|
||||
|
||||
bool is_master_pty() const;
|
||||
const MasterPTY* master_pty() const;
|
||||
MasterPTY const* master_pty() const;
|
||||
MasterPTY* master_pty();
|
||||
|
||||
InodeMetadata metadata() const;
|
||||
Inode* inode() { return m_inode.ptr(); }
|
||||
const Inode* inode() const { return m_inode.ptr(); }
|
||||
Inode const* inode() const { return m_inode.ptr(); }
|
||||
|
||||
Custody* custody() { return m_custody.ptr(); }
|
||||
const Custody* custody() const { return m_custody.ptr(); }
|
||||
Custody const* custody() const { return m_custody.ptr(); }
|
||||
|
||||
ErrorOr<Memory::Region*> mmap(Process&, Memory::VirtualRange const&, u64 offset, int prot, bool shared);
|
||||
|
||||
|
@ -103,7 +103,7 @@ public:
|
|||
|
||||
bool is_socket() const;
|
||||
Socket* socket();
|
||||
const Socket* socket() const;
|
||||
Socket const* socket() const;
|
||||
|
||||
bool is_fifo() const;
|
||||
FIFO* fifo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue