|
ReactOS 0.4.17-dev-1190-g4c812f4
|
#include <uacpi/internal/types.h>#include <uacpi/internal/helpers.h>#include <uacpi/platform/libc.h>#include <uacpi/platform/config.h>#include <uacpi/kernel_api.h>

Go to the source code of this file.
Macros | |
| #define | uacpi_memcpy memcpy |
| #define | uacpi_memmove memmove |
| #define | uacpi_memset memset |
| #define | uacpi_memcmp memcmp |
| #define | uacpi_free(mem, _) uacpi_kernel_free(mem) |
| #define | uacpi_memzero(ptr, size) uacpi_memset(ptr, 0, size) |
| #define | UACPI_COMPARE(x, y, op) ((x) op (y) ? (x) : (y)) |
| #define | UACPI_MIN(x, y) UACPI_COMPARE(x, y, <) |
| #define | UACPI_MAX(x, y) UACPI_COMPARE(x, y, >) |
| #define | UACPI_ALIGN_UP_MASK(x, mask) (((x) + (mask)) & ~(mask)) |
| #define | UACPI_ALIGN_UP(x, val, type) UACPI_ALIGN_UP_MASK(x, (type)(val) - 1) |
| #define | UACPI_ALIGN_DOWN_MASK(x, mask) ((x) & ~(mask)) |
| #define | UACPI_ALIGN_DOWN(x, val, type) UACPI_ALIGN_DOWN_MASK(x, (type)(val) - 1) |
| #define | UACPI_IS_ALIGNED_MASK(x, mask) (((x) & (mask)) == 0) |
| #define | UACPI_IS_ALIGNED(x, val, type) UACPI_IS_ALIGNED_MASK(x, (type)(val) - 1) |
| #define | UACPI_IS_POWER_OF_TWO(x, type) UACPI_IS_ALIGNED(x, x, type) |
| #define | uacpi_kernel_alloc_zeroed uacpi_builtin_alloc_zeroed |
Functions | |
| void * | memcpy (void *dest, const void *src, uacpi_size count) |
| void * | memmove (void *dest, const void *src, uacpi_size count) |
| void * | memset (void *dest, int ch, uacpi_size count) |
| int | memcmp (const void *lhs, const void *rhs, uacpi_size count) |
| uacpi_size | uacpi_strlen (const uacpi_char *str) |
| uacpi_size | uacpi_strnlen (const uacpi_char *str, uacpi_size max) |
| uacpi_i32 | uacpi_strcmp (const uacpi_char *lhs, const uacpi_char *rhs) |
| uacpi_i32 | uacpi_snprintf (uacpi_char *buffer, uacpi_size capacity, const uacpi_char *fmt,...) |
| uacpi_i32 | uacpi_vsnprintf (uacpi_char *buffer, uacpi_size capacity, const uacpi_char *fmt, uacpi_va_list vlist) |
| void | uacpi_memcpy_zerout (void *dst, const void *src, uacpi_size dst_size, uacpi_size src_size) |
| uacpi_u8 | uacpi_bit_scan_forward (uacpi_u64) |
| uacpi_u8 | uacpi_bit_scan_backward (uacpi_u64) |
| void * | uacpi_builtin_alloc_zeroed (uacpi_size size) |
| #define uacpi_kernel_alloc_zeroed uacpi_builtin_alloc_zeroed |
Definition at line 2807 of file string.c.
| void * memcpy | ( | void * | dest, |
| const void * | src, | ||
| uacpi_size | count | ||
| ) |
| void * memmove | ( | void * | dest, |
| const void * | src, | ||
| uacpi_size | count | ||
| ) |
Definition at line 3093 of file string.c.
| void * memset | ( | void * | dest, |
| int | ch, | ||
| uacpi_size | count | ||
| ) |
Definition at line 3235 of file string.c.
Definition at line 166 of file stdlib.c.
Referenced by gas_get_access_bit_width(), and handle_unary_math().
Definition at line 124 of file stdlib.c.
Referenced by handle_unary_math().
| void * uacpi_builtin_alloc_zeroed | ( | uacpi_size | size | ) |
| void uacpi_memcpy_zerout | ( | void * | dst, |
| const void * | src, | ||
| uacpi_size | dst_size, | ||
| uacpi_size | src_size | ||
| ) |
Definition at line 112 of file stdlib.c.
Referenced by buffer_alloc_and_store(), build_table_id(), do_aml_resource_to_native(), do_native_resource_to_aml(), exec_op(), handle_buffer(), handle_deref_of(), handle_special_field(), object_assign_with_implicit_cast(), object_to_integer(), uacpi_dispatch_opregion_io(), uacpi_read_field_unit(), uacpi_write_buffer_field(), and write_buffer_index().
| uacpi_i32 uacpi_snprintf | ( | uacpi_char * | buffer, |
| uacpi_size | capacity, | ||
| const uacpi_char * | fmt, | ||
| ... | |||
| ) |
Definition at line 690 of file stdlib.c.
Referenced by buffer_to_string(), handle_concatenate(), integer_to_string(), uacpi_eval_cls(), and uacpi_eval_uid().
| uacpi_i32 uacpi_strcmp | ( | const uacpi_char * | lhs, |
| const uacpi_char * | rhs | ||
| ) |
Definition at line 96 of file stdlib.c.
Referenced by find_interface_unlocked(), matches_any(), and uacpi_uninstall_interface().
| uacpi_size uacpi_strlen | ( | const uacpi_char * | str | ) |
Definition at line 72 of file stdlib.c.
Referenced by consume(), uacpi_free_dynamic_string(), uacpi_install_interface(), uacpi_namespace_node_resolve(), and uacpi_object_create_cstring().
| uacpi_size uacpi_strnlen | ( | const uacpi_char * | str, |
| uacpi_size | max | ||
| ) |
Definition at line 85 of file stdlib.c.
Referenced by handle_string(), and handle_to_string().
| uacpi_i32 uacpi_vsnprintf | ( | uacpi_char * | buffer, |
| uacpi_size | capacity, | ||
| const uacpi_char * | fmt, | ||
| uacpi_va_list | vlist | ||
| ) |
Definition at line 499 of file stdlib.c.
Referenced by uacpi_log(), and uacpi_snprintf().