![]() |
MOS Source Code
|
Namespaces | |
namespace | string_literals |
Classes | |
struct | __shared_ptr_core |
class | basic_string |
class | basic_string_view |
struct | default_allocator |
class | HashMap |
struct | InitOnce |
class | list |
struct | NamedType |
class | shared_ptr |
struct | Slab |
struct | string_literal |
class | weak_ptr |
Concepts | |
concept | HasTypeName |
Typedefs | |
using | string = mos::basic_string<char, mos::default_allocator> |
typedef basic_string_view< char > | string_view |
Functions | |
template<typename T, typename... Args> requires HasTypeName<T> | |
T * | create (Args &&...args) |
template<typename T, typename... Args> | |
T * | create (Args &&...args) |
template<typename T, typename... Args> requires HasTypeName<T> | |
shared_ptr< T > | make_shared (Args &&...args) |
template<typename CharT> | |
constexpr auto | generic_strlen (const CharT *c) |
template<typename CharT> | |
constexpr auto | generic_strnlen (const CharT *c, size_t max) |
template<typename CharT> | |
constexpr auto | generic_strncmp (const CharT *a, const CharT *b, size_t n) |
template<typename T> | |
static consteval string_view | getTypeName () |
Variables | |
constexpr size_t | short_string_capacity = 16 |
using string = mos::basic_string<char, mos::default_allocator> |
Definition at line 336 of file string.hpp.
typedef basic_string_view<char> string_view |
Definition at line 113 of file string_view.hpp.
T * create | ( | Args &&... | args | ) |
Definition at line 10 of file allocator.hpp.
Referenced by cpio_inode_trycreate(), cpio_mount(), dentry_create(), dirter_add(), futex_wait(), hashmap_put(), inode_create(), HashMap< Key, Value, TAllocator >::insert(), HashMap< Key, Value, TAllocator >::insert(), list< T >::insert(), interrupt_handler_register(), ipc_conn_io_create(), ipc_connect_to_server(), ipc_create(), ipc_server_create(), kthread_create_no_sched(), make_shared(), memfd_create(), mm_create_context(), MOS_INIT(), naive_sched_add_thread(), Process::New(), HashMap< Key, Value, TAllocator >::operator[](), pipe_create(), pipeio_create(), power_register_shutdown_callback(), process_do_fork(), list< T >::push_back(), list< T >::push_front(), register_sysfs_acpi_node(), register_sysfs_acpi_rsdp(), ring_buffer_create(), ring_buffer_create_at(), shared_ptr< T >::shared_ptr(), signal_send_to_thread(), sysfs_fops_open(), thread_allocate(), tmpfs_create_inode(), tmpfs_fsop_mount(), userfs_fsop_mount(), userfs_manager_register_filesystem(), vfs_do_open_dentry(), vfs_list_dir(), vfs_open_ipc(), vmap_create(), vmap_split(), and waitlist_append().
T * create | ( | Args &&... | args | ) |
Definition at line 10 of file allocator.hpp.
Referenced by cpio_inode_trycreate(), cpio_mount(), dentry_create(), dirter_add(), futex_wait(), hashmap_put(), inode_create(), HashMap< Key, Value, TAllocator >::insert(), HashMap< Key, Value, TAllocator >::insert(), list< T >::insert(), interrupt_handler_register(), ipc_conn_io_create(), ipc_connect_to_server(), ipc_create(), ipc_server_create(), kthread_create_no_sched(), make_shared(), memfd_create(), mm_create_context(), MOS_INIT(), naive_sched_add_thread(), Process::New(), HashMap< Key, Value, TAllocator >::operator[](), pipe_create(), pipeio_create(), power_register_shutdown_callback(), process_do_fork(), list< T >::push_back(), list< T >::push_front(), register_sysfs_acpi_node(), register_sysfs_acpi_rsdp(), ring_buffer_create(), ring_buffer_create_at(), shared_ptr< T >::shared_ptr(), signal_send_to_thread(), sysfs_fops_open(), thread_allocate(), tmpfs_create_inode(), tmpfs_fsop_mount(), userfs_fsop_mount(), userfs_manager_register_filesystem(), vfs_do_open_dentry(), vfs_list_dir(), vfs_open_ipc(), vmap_create(), vmap_split(), and waitlist_append().
shared_ptr< T > make_shared | ( | Args &&... | args | ) |
Definition at line 347 of file shared_ptr.hpp.
Referenced by dentry_mount().
|
constexpr |
|
constexpr |
Definition at line 24 of file string_view.hpp.
|
constexpr |
Definition at line 35 of file string_view.hpp.
Referenced by basic_string< char, mos::default_allocator >::_do_compare(), basic_string_view< char >::find(), and basic_string_view< char >::operator==().
|
staticconsteval |
Definition at line 55 of file type_utils.hpp.
Referenced by Slab< T >::Slab().
|
constexpr |
Definition at line 12 of file string.hpp.
Referenced by basic_string< char, mos::default_allocator >::_convert_to_long(), basic_string< char, mos::default_allocator >::_convert_to_short(), basic_string< char, mos::default_allocator >::_init(), basic_string< char, mos::default_allocator >::basic_string(), basic_string< char, mos::default_allocator >::operator+=(), basic_string< char, mos::default_allocator >::operator=(), basic_string< char, mos::default_allocator >::operator=(), basic_string< char, mos::default_allocator >::operator=(), and basic_string< char, mos::default_allocator >::resize().