Public Member Functions | |
xpath_allocator (xpath_memory_block *root, size_t root_size=0) | |
void * | allocate_nothrow (size_t size) |
void * | allocate (size_t size) |
void * | reallocate (void *ptr, size_t old_size, size_t new_size) |
void | revert (const xpath_allocator &state) |
void | release () |
Definition at line 5255 of file pugixml.cpp.
xpath_allocator::xpath_allocator | ( | xpath_memory_block * | root, | |
size_t | root_size = 0 | |||
) | [inline] |
Definition at line 5265 of file pugixml.cpp.
void* xpath_allocator::allocate | ( | size_t | size | ) | [inline] |
Definition at line 5297 of file pugixml.cpp.
References allocate_nothrow().
Referenced by allocate_nothrow(), xpath_ast_node::eval_string_concat(), and reallocate().
void* xpath_allocator::allocate_nothrow | ( | size_t | size | ) | [inline] |
Definition at line 5271 of file pugixml.cpp.
References allocate(), xpath_memory_block::data, and xpath_memory_block::next.
Referenced by xpath_parser::alloc_node(), xpath_parser::alloc_string(), and allocate().
void* xpath_allocator::reallocate | ( | void * | ptr, | |
size_t | old_size, | |||
size_t | new_size | |||
) | [inline] |
Definition at line 5312 of file pugixml.cpp.
References allocate(), xpath_memory_block::data, xml_memory_management_function_storage< T >::deallocate, sapt::next(), and xpath_memory_block::next.
Referenced by xpath_node_set_raw::append(), xpath_string::append(), and xpath_node_set_raw::push_back().
void xpath_allocator::release | ( | ) | [inline] |
Definition at line 5370 of file pugixml.cpp.
References xml_memory_management_function_storage< T >::deallocate, sapt::next(), and xpath_memory_block::next.
Referenced by xpath_query_impl::destroy(), and xpath_stack_data::~xpath_stack_data().
void xpath_allocator::revert | ( | const xpath_allocator & | state | ) | [inline] |
Definition at line 5353 of file pugixml.cpp.
References xml_memory_management_function_storage< T >::deallocate, xpath_memory_block::next, and sapt::next().
Referenced by xpath_allocator_capture::~xpath_allocator_capture().