Halide 16.0.0
Halide compiler and libraries
|
#include <string_table.h>
Definition at line 15 of file string_table.h.
|
delete |
Halide::Runtime::Internal::StringTable::StringTable | ( | const SystemMemoryAllocatorFns & | allocator = StringStorage::default_allocator() | ) |
Definition at line 65 of file string_table.h.
Halide::Runtime::Internal::StringTable::StringTable | ( | void * | user_context, |
size_t | capacity, | ||
const SystemMemoryAllocatorFns & | allocator = StringStorage::default_allocator() |
||
) |
Definition at line 71 of file string_table.h.
References resize().
Halide::Runtime::Internal::StringTable::StringTable | ( | void * | user_context, |
const char ** | array, | ||
size_t | count, | ||
const SystemMemoryAllocatorFns & | allocator = StringStorage::default_allocator() |
||
) |
Definition at line 79 of file string_table.h.
References fill().
Halide::Runtime::Internal::StringTable::~StringTable | ( | ) |
Definition at line 85 of file string_table.h.
References destroy().
|
delete |
void Halide::Runtime::Internal::StringTable::resize | ( | void * | user_context, |
size_t | capacity | ||
) |
Definition at line 89 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::append(), Halide::cast(), Halide::Runtime::Internal::StringStorage::create(), Halide::Runtime::Internal::PointerTable::current_allocator(), Halide::Runtime::Internal::PointerTable::resize(), and Halide::Runtime::Internal::PointerTable::size().
Referenced by fill(), parse(), and StringTable().
void Halide::Runtime::Internal::StringTable::destroy | ( | void * | user_context | ) |
Definition at line 107 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::assign(), Halide::cast(), Halide::Runtime::Internal::PointerTable::destroy(), Halide::Runtime::Internal::StringStorage::destroy(), and Halide::Runtime::Internal::PointerTable::size().
Referenced by ~StringTable().
void Halide::Runtime::Internal::StringTable::clear | ( | void * | user_context | ) |
void Halide::Runtime::Internal::StringTable::fill | ( | void * | user_context, |
const char ** | array, | ||
size_t | coun | ||
) |
Definition at line 124 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::assign(), Halide::cast(), resize(), and Halide::Runtime::Internal::PointerTable::size().
Referenced by StringTable().
void Halide::Runtime::Internal::StringTable::assign | ( | void * | user_context, |
size_t | index, | ||
const char * | str, | ||
size_t | length = 0 |
||
) |
Definition at line 133 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::assign(), Halide::cast(), Halide::Runtime::Internal::PointerTable::size(), and Halide::Runtime::Internal::strlen().
void Halide::Runtime::Internal::StringTable::append | ( | void * | user_context, |
const char * | str, | ||
size_t | length = 0 |
||
) |
Definition at line 144 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::append(), Halide::cast(), Halide::Runtime::Internal::StringStorage::create(), and Halide::Runtime::Internal::PointerTable::current_allocator().
void Halide::Runtime::Internal::StringTable::prepend | ( | void * | user_context, |
const char * | str, | ||
size_t | length = 0 |
||
) |
Definition at line 151 of file string_table.h.
References Halide::cast(), Halide::Runtime::Internal::StringStorage::create(), Halide::Runtime::Internal::PointerTable::current_allocator(), and Halide::Runtime::Internal::PointerTable::prepend().
size_t Halide::Runtime::Internal::StringTable::parse | ( | void * | user_context, |
const char * | str, | ||
const char * | delim | ||
) |
Definition at line 158 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::assign(), Halide::cast(), Halide::Runtime::Internal::StringUtils::count_tokens(), Halide::Runtime::Internal::StringUtils::is_empty(), resize(), Halide::Runtime::Internal::PointerTable::size(), Halide::Runtime::Internal::strlen(), and strstr().
Definition at line 117 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::size().
Definition at line 204 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::data().
Definition at line 190 of file string_table.h.
References Halide::cast(), Halide::Runtime::Internal::StringUtils::is_empty(), and Halide::Runtime::Internal::PointerTable::size().
|
inline |
Definition at line 54 of file string_table.h.
References Halide::Runtime::Internal::PointerTable::size().