|
Grok
7.6.0
|
Namespaces | |
| local | |
Data Structures | |
| class | argument |
| class | cli_interpreter |
| struct | coded_lists |
| struct | line_buf |
| class | mem_elastic_allocator |
| class | mem_fixed_allocator |
| class | message_base |
| class | message_error |
| class | message_info |
| class | message_warning |
| struct | point |
| struct | rect |
| struct | size |
Typedefs | |
| typedef uint8_t | ui8 |
| typedef int8_t | si8 |
| typedef uint16_t | ui16 |
| typedef int16_t | si16 |
| typedef uint32_t | ui32 |
| typedef int32_t | si32 |
| typedef uint64_t | ui64 |
| typedef int64_t | si64 |
Enumerations | |
| enum | OJPH_MSG_LEVEL : int { NO_MSG = 0, INFO = 1, WARN = 2, ERROR = 3 } |
Functions | |
| int | cpu_ext_level () |
| static int | population_count (ui32 val) |
| static int | count_leading_zeros (ui32 val) |
| static int | count_trailing_zeros (ui32 val) |
| static si32 | ojph_round (float val) |
| static si32 | ojph_trunc (float val) |
| template<typename T , int N> | |
| size_t | calc_aligned_size (size_t size) |
| template<typename T , int N> | |
| T * | align_ptr (T *ptr) |
| OJPH_EXPORT void | set_info_stream (FILE *s) |
| OJPH_EXPORT void | configure_info (message_info *info) |
| OJPH_EXPORT message_info & | get_info () |
| OJPH_EXPORT void | set_warning_stream (FILE *s) |
| OJPH_EXPORT void | configure_warning (message_warning *warn) |
| OJPH_EXPORT message_warning & | get_warning () |
| OJPH_EXPORT void | set_error_stream (FILE *s) |
| OJPH_EXPORT void | configure_error (message_error *error) |
| OJPH_EXPORT message_error & | get_error () |
Variables | |
| const int | byte_alignment = 32 |
| const int | log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
| const int | object_alignment = 8 |
| const int | NUM_FRAC_BITS = 13 |
| typedef int16_t ojph::si16 |
| typedef int32_t ojph::si32 |
| typedef int64_t ojph::si64 |
| typedef int8_t ojph::si8 |
| typedef uint16_t ojph::ui16 |
| typedef uint32_t ojph::ui32 |
| typedef uint64_t ojph::ui64 |
| typedef uint8_t ojph::ui8 |
| enum ojph::OJPH_MSG_LEVEL : int |
|
inline |
References count_leading_zeros().
| size_t ojph::calc_aligned_size | ( | size_t | size | ) |
References count_leading_zeros().
| OJPH_EXPORT void ojph::configure_error | ( | message_error * | error | ) |
| OJPH_EXPORT void ojph::configure_info | ( | message_info * | info | ) |
| OJPH_EXPORT void ojph::configure_warning | ( | message_warning * | warn | ) |
|
inlinestatic |
References population_count().
Referenced by align_ptr(), and calc_aligned_size().
|
inlinestatic |
References population_count().
| int ojph::cpu_ext_level | ( | ) |
| OJPH_EXPORT message_error& ojph::get_error | ( | ) |
| OJPH_EXPORT message_info& ojph::get_info | ( | ) |
| OJPH_EXPORT message_warning& ojph::get_warning | ( | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Referenced by count_leading_zeros(), and count_trailing_zeros().
| OJPH_EXPORT void ojph::set_error_stream | ( | FILE * | s | ) |
| OJPH_EXPORT void ojph::set_info_stream | ( | FILE * | s | ) |
| OJPH_EXPORT void ojph::set_warning_stream | ( | FILE * | s | ) |
| const int ojph::byte_alignment = 32 |
| const int ojph::log_byte_alignment = 31 - count_leading_zeros(byte_alignment) |
| const int ojph::NUM_FRAC_BITS = 13 |
| const int ojph::object_alignment = 8 |
1.8.18