|
CARLA
|
#include "pugixml.hpp"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <assert.h>#include <limits.h>#include <math.h>#include <float.h>#include <istream>#include <ostream>#include <string>#include <new>#include <stdint.h>Go to the source code of this file.
Namespaces | |
| namespace | pugi |
Macros | |
| #define | PUGI__CHECK_ERROR(err, m) |
| #define | PUGI__DMC_VOLATILE |
| #define | PUGI__ENDSEG() |
| #define | PUGI__ENDSWITH(c, e) |
| #define | PUGI__FN |
| #define | PUGI__FN_NO_INLINE PUGI__NO_INLINE |
| #define | PUGI__GETHEADER_IMPL(object, page, flags) |
| #define | PUGI__GETPAGE(n) |
| #define | PUGI__GETPAGE_IMPL(header) |
| #define | PUGI__IS_CHARTYPE(c, ct) |
| #define | PUGI__IS_CHARTYPE_IMPL(c, ct, table) |
| #define | PUGI__IS_CHARTYPEX(c, ct) |
| #define | PUGI__NO_INLINE |
| #define | PUGI__NODETYPE(n) |
| #define | PUGI__NS_BEGIN namespace pugi { namespace impl { namespace { |
| #define | PUGI__NS_END } } } |
| #define | PUGI__OPTSET(OPT) |
| #define | PUGI__POPNODE() |
| #define | PUGI__PUSHNODE(TYPE) |
| #define | PUGI__SCANCHAR(ch) |
| #define | PUGI__SCANCHARTYPE(ct) |
| #define | PUGI__SCANFOR(X) |
| #define | PUGI__SCANWHILE(X) |
| #define | PUGI__SCANWHILE_UNROLL(X) |
| #define | PUGI__SKIPWS() |
| #define | PUGI__SNPRINTF sprintf |
| #define | PUGI__STATIC_ASSERT(cond) |
| #define | PUGI__THROW_ERROR(err, m) |
| #define | PUGI__UNLIKELY(cond) |
| #define | PUGI__UNSIGNED_OVERFLOW |
| #define | SOURCE_PUGIXML_CPP |
Typedefs | |
| typedef char_t *(*) | strconv_attribute_t(char_t *, char_t) |
| typedef char_t *(*) | strconv_pcdata_t(char_t *) |
| typedef wchar_selector< sizeof(wchar_t)>::counter | wchar_counter |
| typedef wchar_selector< sizeof(wchar_t)>::writer | wchar_writer |
| typedef xml_memory_management_function_storage< int > | xml_memory |
Functions | |
| PUGI__NS_END PUGI__NS_BEGIN xml_attribute_struct * | allocate_attribute (xml_allocator &alloc) |
| xml_node_struct * | allocate_node (xml_allocator &alloc, xml_node_type type) |
| PUGI__FN bool | allow_insert_attribute (xml_node_type parent) |
| PUGI__FN bool | allow_insert_child (xml_node_type parent, xml_node_type child) |
| PUGI__FN bool | allow_move (xml_node parent, xml_node child) |
| void | append_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
| PUGI__FN_NO_INLINE xml_attribute_struct * | append_new_attribute (xml_node_struct *node, xml_allocator &alloc) |
| PUGI__FN_NO_INLINE xml_node_struct * | append_new_node (xml_node_struct *node, xml_allocator &alloc, xml_node_type type=node_element) |
| void | append_node (xml_node_struct *child, xml_node_struct *node) |
| PUGI__FN std::string PUGIXML_FUNCTION | pugi::as_utf8 (const std::basic_string< wchar_t > &str) |
| PUGI__FN std::string PUGIXML_FUNCTION | pugi::as_utf8 (const wchar_t *str) |
| PUGI__FN size_t | as_utf8_begin (const wchar_t *str, size_t length) |
| PUGI__FN void | as_utf8_end (char *buffer, size_t size, const wchar_t *str, size_t length) |
| PUGI__FN std::string | as_utf8_impl (const wchar_t *str, size_t length) |
| PUGI__FN std::basic_string< wchar_t > PUGIXML_FUNCTION | pugi::as_wide (const char *str) |
| PUGI__FN std::basic_string< wchar_t > PUGIXML_FUNCTION | pugi::as_wide (const std::string &str) |
| PUGI__FN std::basic_string< wchar_t > | as_wide_impl (const char *str, size_t size) |
| PUGI__FN bool | check_string_to_number_format (const char_t *string) |
| PUGI__FN void | close_file (FILE *file) |
| PUGI__FN bool | convert_buffer (char_t *&out_buffer, size_t &out_length, xml_encoding encoding, const void *contents, size_t size, bool is_mutable) |
| template<typename D> | |
| PUGI__FN bool | convert_buffer_generic (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, D) |
| PUGI__FN bool | convert_buffer_latin1 (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, bool is_mutable) |
| PUGI__FN size_t | convert_buffer_output (char_t *, uint8_t *r_u8, uint16_t *r_u16, uint32_t *r_u32, const char_t *data, size_t length, xml_encoding encoding) |
| template<typename D, typename T> | |
| PUGI__FN size_t | convert_buffer_output_generic (typename T::value_type dest, const char_t *data, size_t length, D, T) |
| template<typename D, typename T> | |
| PUGI__FN size_t | convert_buffer_output_generic (typename T::value_type dest, const char_t *data, size_t length, D, T, bool opt_swap) |
| PUGI__FN bool | convert_number_to_boolean (double value) |
| PUGI__FN void | convert_number_to_mantissa_exponent (double value, char(&buffer)[32], char **out_mantissa, int *out_exponent) |
| PUGI__FN xpath_string | convert_number_to_string (double value, xpath_allocator *alloc) |
| PUGI__FN const char_t * | convert_number_to_string_special (double value) |
| PUGI__FN char * | convert_path_heap (const wchar_t *str) |
| PUGI__FN double | convert_string_to_number (const char_t *string) |
| PUGI__FN bool | convert_string_to_number_scratch (char_t(&buffer)[32], const char_t *begin, const char_t *end, double *out_result) |
| PUGI__FN bool | copy_xpath_variable (xpath_variable *lhs, const xpath_variable *rhs) |
| PUGI__NS_BEGIN PUGI__FN void * | default_allocate (size_t size) |
| PUGI__FN void | default_deallocate (void *ptr) |
| template<typename T> | |
| PUGI__FN void | delete_xpath_variable (T *var) |
| PUGI__FN void | delete_xpath_variable (xpath_value_type type, xpath_variable *var) |
| void | destroy_attribute (xml_attribute_struct *a, xml_allocator &alloc) |
| void | destroy_node (xml_node_struct *n, xml_allocator &alloc) |
| PUGI__FN const void * | document_buffer_order (const xpath_node &xnode) |
| PUGI__NS_END PUGI__NS_BEGIN uint16_t | endian_swap (uint16_t value) |
| uint32_t | endian_swap (uint32_t value) |
| PUGI__FN impl::xpath_ast_node * | evaluate_node_set_prepare (xpath_query_impl *impl) |
| PUGI__FN const char_t * | find_char (const char_t *s, char_t c) |
| PUGI__FN const char_t * | find_substring (const char_t *s, const char_t *p) |
| PUGI__FN double | gen_nan () |
| template<typename Object> | |
| xml_allocator & | get_allocator (const Object *object) |
| PUGI__FN xml_encoding | get_buffer_encoding (xml_encoding encoding, const void *contents, size_t size) |
| template<typename Object> | |
| xml_document_struct & | get_document (const Object *object) |
| PUGI__FN xml_parse_status | get_file_size (FILE *file, size_t &out_result) |
| PUGI__FN size_t | get_latin1_7bit_prefix_length (const uint8_t *data, size_t size) |
| PUGI__FN allocation_function PUGIXML_FUNCTION | pugi::get_memory_allocation_function () |
| PUGI__FN deallocation_function PUGIXML_FUNCTION | pugi::get_memory_deallocation_function () |
| PUGI__FN bool | get_mutable_buffer (char_t *&out_buffer, size_t &out_length, const void *contents, size_t size, bool is_mutable) |
| PUGI__FN strconv_attribute_t | get_strconv_attribute (unsigned int optmask) |
| PUGI__FN strconv_pcdata_t | get_strconv_pcdata (unsigned int optmask) |
| PUGI__FN size_t | get_valid_length (const char_t *data, size_t length) |
| PUGI__FN bool | get_value_bool (const char_t *value) |
| PUGI__FN double | get_value_double (const char_t *value) |
| PUGI__FN float | get_value_float (const char_t *value) |
| PUGI__FN int | get_value_int (const char_t *value) |
| PUGI__FN unsigned int | get_value_uint (const char_t *value) |
| PUGI__FN bool | get_variable_scratch (char_t(&buffer)[32], xpath_variable_set *set, const char_t *begin, const char_t *end, xpath_variable **out_result) |
| PUGI__FN xml_encoding | get_wchar_encoding () |
| PUGI__FN xml_encoding | get_write_encoding (xml_encoding encoding) |
| PUGI__FN xml_encoding | get_write_native_encoding () |
| PUGI__FN xml_encoding | guess_buffer_encoding (const uint8_t *data, size_t size) |
| PUGI__FN bool | has_declaration (xml_node_struct *node) |
| PUGI__FN PUGI__UNSIGNED_OVERFLOW unsigned int | hash_string (const char_t *str) |
| void | insert_attribute_after (xml_attribute_struct *attr, xml_attribute_struct *place, xml_node_struct *node) |
| void | insert_attribute_before (xml_attribute_struct *attr, xml_attribute_struct *place, xml_node_struct *node) |
| void | insert_node_after (xml_node_struct *child, xml_node_struct *node) |
| void | insert_node_before (xml_node_struct *child, xml_node_struct *node) |
| template<typename T, typename Pred> | |
| void | insertion_sort (T *begin, T *end, const Pred &pred) |
| template<typename U> | |
| PUGI__FN PUGI__UNSIGNED_OVERFLOW char_t * | integer_to_string (char_t *begin, char_t *end, U value, bool negative) |
| PUGI__FN bool | is_attribute_of (xml_attribute_struct *attr, xml_node_struct *node) |
| PUGI__FN bool | is_little_endian () |
| PUGI__FN bool | is_nan (double value) |
| bool | is_text_node (xml_node_struct *node) |
| bool | is_xpath_attribute (const char_t *name) |
| PUGI__FN xml_parse_result | load_buffer_impl (xml_document_struct *doc, xml_node_struct *root, void *contents, size_t size, unsigned int options, xml_encoding encoding, bool is_mutable, bool own, char_t **out_buffer) |
| PUGI__FN xml_parse_result | load_file_impl (xml_document_struct *doc, FILE *file, unsigned int options, xml_encoding encoding, char_t **out_buffer) |
| template<typename T> | |
| PUGI__FN xml_parse_status | load_stream_data_noseek (std::basic_istream< T > &stream, void **out_buffer, size_t *out_size) |
| template<typename T> | |
| PUGI__FN xml_parse_status | load_stream_data_seek (std::basic_istream< T > &stream, void **out_buffer, size_t *out_size) |
| template<typename T> | |
| PUGI__FN xml_parse_result | load_stream_impl (xml_document_struct *doc, std::basic_istream< T > &stream, unsigned int options, xml_encoding encoding, char_t **out_buffer) |
| PUGI__FN const char_t * | local_name (const xpath_node &node) |
| xml_parse_result | make_parse_result (xml_parse_status status, ptrdiff_t offset=0) |
| template<typename I, typename Pred> | |
| I | median3 (I first, I middle, I last, const Pred &pred) |
| template<typename I, typename Pred> | |
| I | min_element (I begin, I end, const Pred &pred) |
| PUGI__FN const char_t * | namespace_uri (const xpath_node &node) |
| PUGI__FN const char_t * | namespace_uri (xml_attribute attr, xml_node parent) |
| PUGI__FN const char_t * | namespace_uri (xml_node node) |
| template<typename T> | |
| PUGI__FN T * | new_xpath_variable (const char_t *name) |
| PUGI__FN xpath_variable * | new_xpath_variable (xpath_value_type type, const char_t *name) |
| PUGI__FN void | node_copy_attribute (xml_attribute_struct *da, xml_attribute_struct *sa) |
| PUGI__FN void | node_copy_contents (xml_node_struct *dn, xml_node_struct *sn, xml_allocator *shared_alloc) |
| template<typename String, typename Header> | |
| PUGI__FN void | node_copy_string (String &dest, Header &header, uintptr_t header_mask, char_t *source, Header &source_header, xml_allocator *alloc) |
| PUGI__FN void | node_copy_tree (xml_node_struct *dn, xml_node_struct *sn) |
| PUGI__FN bool | node_is_ancestor (xml_node_struct *parent, xml_node_struct *node) |
| PUGI__FN bool | node_is_before (xml_node_struct *ln, xml_node_struct *rn) |
| PUGI__FN bool | node_is_before_sibling (xml_node_struct *ln, xml_node_struct *rn) |
| PUGI__FN void | node_output (xml_buffered_writer &writer, xml_node_struct *root, const char_t *indent, unsigned int flags, unsigned int depth) |
| PUGI__FN void | node_output_attributes (xml_buffered_writer &writer, xml_node_struct *node, const char_t *indent, size_t indent_length, unsigned int flags, unsigned int depth) |
| PUGI__FN void | node_output_comment (xml_buffered_writer &writer, const char_t *s) |
| PUGI__FN void | node_output_end (xml_buffered_writer &writer, xml_node_struct *node) |
| PUGI__FN void | node_output_pi_value (xml_buffered_writer &writer, const char_t *s) |
| PUGI__FN void | node_output_simple (xml_buffered_writer &writer, xml_node_struct *node, unsigned int flags) |
| PUGI__FN bool | node_output_start (xml_buffered_writer &writer, xml_node_struct *node, const char_t *indent, size_t indent_length, unsigned int flags, unsigned int depth) |
| PUGI__FN char_t * | normalize_space (char_t *buffer) |
| PUGI__FN FILE * | open_file_wide (const wchar_t *path, const wchar_t *mode) |
| PUGI__FN bool | parse_declaration_encoding (const uint8_t *data, size_t size, const uint8_t *&out_encoding, size_t &out_length) |
| template<typename T, typename Pred> | |
| void | partition3 (T *begin, T *end, T pivot, const Pred &pred, T **out_eqbeg, T **out_eqend) |
| void | prepend_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
| void | prepend_node (xml_node_struct *child, xml_node_struct *node) |
| PUGI__FN const char_t * | qualified_name (const xpath_node &node) |
| void | remove_attribute (xml_attribute_struct *attr, xml_node_struct *node) |
| void | remove_node (xml_node_struct *node) |
| template<typename I> | |
| void | reverse (I begin, I end) |
| PUGI__FN double | round_nearest (double value) |
| PUGI__FN double | round_nearest_nzero (double value) |
| PUGI__FN bool | save_file_impl (const xml_document &doc, FILE *file, const char_t *indent, unsigned int flags, xml_encoding encoding) |
| PUGI__FN void PUGIXML_FUNCTION | pugi::set_memory_management_functions (allocation_function allocate, deallocation_function deallocate) |
| template<typename String, typename Header> | |
| PUGI__FN bool | set_value_ascii (String &dest, Header &header, uintptr_t header_mask, char *buf) |
| template<typename String, typename Header> | |
| PUGI__FN bool | set_value_bool (String &dest, Header &header, uintptr_t header_mask, bool value) |
| template<typename String, typename Header> | |
| PUGI__FN bool | set_value_convert (String &dest, Header &header, uintptr_t header_mask, double value) |
| template<typename String, typename Header> | |
| PUGI__FN bool | set_value_convert (String &dest, Header &header, uintptr_t header_mask, float value) |
| template<typename U, typename String, typename Header> | |
| PUGI__FN bool | set_value_integer (String &dest, Header &header, uintptr_t header_mask, U value, bool negative) |
| template<typename I, typename Pred> | |
| void | sort (I begin, I end, const Pred &pred) |
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN bool | starts_with (const char_t *string, const char_t *pattern) |
| PUGI__FN char_t * | strconv_cdata (char_t *s, char_t endch) |
| PUGI__FN char_t * | strconv_comment (char_t *s, char_t endch) |
| PUGI__FN char_t * | strconv_escape (char_t *s, gap &g) |
| template<typename String, typename Header> | |
| PUGI__FN bool | strcpy_insitu (String &dest, Header &header, uintptr_t header_mask, const char_t *source, size_t source_length) |
| template<typename Header> | |
| bool | strcpy_insitu_allow (size_t length, const Header &header, uintptr_t header_mask, char_t *target) |
| PUGI__FN bool | strequal (const char_t *src, const char_t *dst) |
| PUGI__FN bool | strequalrange (const char_t *lhs, const char_t *rhs, size_t count) |
| template<typename U> | |
| PUGI__FN PUGI__UNSIGNED_OVERFLOW U | string_to_integer (const char_t *value, U minv, U maxv) |
| PUGI__FN xpath_string | string_value (const xpath_node &na, xpath_allocator *alloc) |
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN size_t | strlength (const char_t *s) |
| PUGI__FN size_t | strlength_wide (const wchar_t *s) |
| template<typename T> | |
| void | swap (T &lhs, T &rhs) |
| PUGI__FN void | text_output (xml_buffered_writer &writer, const char_t *s, chartypex_t type, unsigned int flags) |
| PUGI__FN void | text_output_cdata (xml_buffered_writer &writer, const char_t *s) |
| PUGI__FN void | text_output_escaped (xml_buffered_writer &writer, const char_t *s, chartypex_t type) |
| PUGI__FN void | text_output_indent (xml_buffered_writer &writer, const char_t *indent, size_t indent_length, unsigned int depth) |
| PUGI__FN char_t | tolower_ascii (char_t ch) |
| PUGI__FN char_t * | translate (char_t *buffer, const char_t *from, const char_t *to, size_t to_length) |
| PUGI__FN char_t * | translate_table (char_t *buffer, const unsigned char *table) |
| PUGI__FN unsigned char * | translate_table_generate (xpath_allocator *alloc, const char_t *from, const char_t *to) |
| PUGI__FN void | truncate_zeros (char *begin, char *end) |
| template<typename I> | |
| I | unique (I begin, I end) |
| static PUGI__FN void | pugi::unspecified_bool_xml_attribute (xml_attribute ***) |
| static PUGI__FN void | pugi::unspecified_bool_xml_node (xml_node ***) |
| static PUGI__FN void | pugi::unspecified_bool_xml_text (xml_text ***) |
| static PUGI__FN void | pugi::unspecified_bool_xpath_node (xpath_node ***) |
| static PUGI__FN void | pugi::unspecified_bool_xpath_query (xpath_query ***) |
| PUGI__FN xpath_node | xpath_first (const xpath_node *begin, const xpath_node *end, xpath_node_set::type_t type) |
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN xpath_node_set::type_t | xpath_get_order (const xpath_node *begin, const xpath_node *end) |
| PUGI__FN xpath_node_set::type_t | xpath_sort (xpath_node *begin, xpath_node *end, xpath_node_set::type_t type, bool rev) |
| PUGI__FN size_t | zero_terminate_buffer (void *buffer, size_t size, xml_encoding encoding) |
| #define PUGI__CHECK_ERROR | ( | err, | |
| m ) |
Definition at line 2603 of file pugixml.cpp.
Referenced by xml_parser::parse_exclamation(), and xml_parser::parse_question().
| #define PUGI__DMC_VOLATILE |
Definition at line 112 of file pugixml.cpp.
Referenced by translate().
| #define PUGI__ENDSEG | ( | ) |
Definition at line 2601 of file pugixml.cpp.
Referenced by xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__ENDSWITH | ( | c, | |
| e ) |
Definition at line 2593 of file pugixml.cpp.
Referenced by xml_parser::parse_exclamation(), xml_parser::parse_question(), xml_parser::parse_tree(), strconv_cdata(), and strconv_comment().
| #define PUGI__FN |
Definition at line 168 of file pugixml.cpp.
Referenced by pugi::xpath_node_set::_assign(), pugi::xpath_variable_set::_assign(), pugi::xpath_variable_set::_clone(), pugi::xml_document::_create(), pugi::xml_text::_data(), pugi::xml_text::_data_new(), pugi::xml_document::_destroy(), pugi::xpath_variable_set::_destroy(), pugi::xpath_variable_set::_find(), pugi::xpath_variable_set::_swap(), pugi::xpath_variable_set::add(), allow_insert_attribute(), allow_insert_child(), allow_move(), pugi::xml_node::append_attribute(), pugi::xml_node::append_buffer(), pugi::xml_node::append_child(), pugi::xml_node::append_child(), pugi::xml_node::append_copy(), pugi::xml_node::append_copy(), pugi::xml_node::append_move(), pugi::xml_attribute::as_bool(), pugi::xml_text::as_bool(), pugi::xml_attribute::as_double(), pugi::xml_text::as_double(), pugi::xml_attribute::as_float(), pugi::xml_text::as_float(), pugi::xml_attribute::as_int(), pugi::xml_text::as_int(), pugi::xml_attribute::as_string(), pugi::xml_text::as_string(), pugi::xml_attribute::as_uint(), pugi::xml_text::as_uint(), pugi::as_utf8(), pugi::as_utf8(), as_utf8_begin(), as_utf8_end(), as_utf8_impl(), pugi::as_wide(), pugi::as_wide(), as_wide_impl(), pugi::xml_node::attribute(), pugi::xml_node::attribute(), pugi::xpath_node::attribute(), pugi::xml_node::attributes(), pugi::xml_node::attributes_begin(), pugi::xml_node::attributes_end(), pugi::xml_node::begin(), pugi::xml_tree_walker::begin(), pugi::xpath_node_set::begin(), check_string_to_number_format(), pugi::xml_node::child(), pugi::xml_node::child_value(), pugi::xml_node::child_value(), pugi::xml_node::children(), pugi::xml_node::children(), close_file(), convert_buffer(), convert_buffer_generic(), convert_buffer_latin1(), convert_buffer_output(), convert_buffer_output_generic(), convert_buffer_output_generic(), convert_number_to_boolean(), convert_number_to_mantissa_exponent(), convert_number_to_string(), convert_number_to_string_special(), convert_path_heap(), convert_string_to_number(), convert_string_to_number_scratch(), copy_xpath_variable(), pugi::xml_text::data(), default_allocate(), default_deallocate(), delete_xpath_variable(), delete_xpath_variable(), pugi::xml_tree_walker::depth(), pugi::xml_parse_result::description(), pugi::xpath_parse_result::description(), document_buffer_order(), pugi::xml_document::document_element(), pugi::xml_attribute::empty(), pugi::xml_node::empty(), pugi::xml_text::empty(), pugi::xpath_node_set::empty(), pugi::xml_node::end(), pugi::xml_tree_walker::end(), pugi::xpath_node_set::end(), pugi::xpath_query::evaluate_boolean(), pugi::xpath_query::evaluate_node(), pugi::xpath_query::evaluate_node_set(), evaluate_node_set_prepare(), pugi::xpath_query::evaluate_number(), pugi::xpath_query::evaluate_string(), pugi::xpath_query::evaluate_string(), find_char(), pugi::xml_node::find_child_by_attribute(), pugi::xml_node::find_child_by_attribute(), find_substring(), pugi::xpath_node_set::first(), pugi::xml_node::first_attribute(), pugi::xml_node::first_child(), pugi::xml_node::first_element_by_path(), gen_nan(), pugi::xml_text::get(), pugi::xpath_variable_set::get(), pugi::xpath_variable_set::get(), pugi::xpath_variable::get_boolean(), get_buffer_encoding(), get_file_size(), get_latin1_7bit_prefix_length(), pugi::get_memory_allocation_function(), pugi::get_memory_deallocation_function(), get_mutable_buffer(), pugi::xpath_variable::get_node_set(), pugi::xpath_variable::get_number(), get_strconv_attribute(), get_strconv_pcdata(), pugi::xpath_variable::get_string(), get_valid_length(), get_value_bool(), get_value_double(), get_value_float(), get_value_int(), get_value_uint(), get_variable_scratch(), get_wchar_encoding(), get_write_encoding(), get_write_native_encoding(), guess_buffer_encoding(), has_declaration(), hash_string(), pugi::xml_attribute::hash_value(), pugi::xml_node::hash_value(), pugi::xml_node::insert_attribute_after(), pugi::xml_node::insert_attribute_before(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_after(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_child_before(), pugi::xml_node::insert_copy_after(), pugi::xml_node::insert_copy_after(), pugi::xml_node::insert_copy_before(), pugi::xml_node::insert_copy_before(), pugi::xml_node::insert_move_after(), pugi::xml_node::insert_move_before(), integer_to_string(), pugi::xml_attribute::internal_object(), pugi::xml_node::internal_object(), is_attribute_of(), is_little_endian(), is_nan(), pugi::xml_node::last_attribute(), pugi::xml_node::last_child(), pugi::xml_document::load(), pugi::xml_document::load(), pugi::xml_document::load(), pugi::xml_document::load_buffer(), load_buffer_impl(), pugi::xml_document::load_buffer_inplace(), pugi::xml_document::load_buffer_inplace_own(), pugi::xml_document::load_file(), pugi::xml_document::load_file(), load_file_impl(), load_stream_data_noseek(), load_stream_data_seek(), load_stream_impl(), pugi::xml_document::load_string(), local_name(), pugi::xml_attribute::name(), pugi::xml_node::name(), pugi::xpath_variable::name(), namespace_uri(), namespace_uri(), namespace_uri(), new_xpath_variable(), new_xpath_variable(), pugi::xml_attribute::next_attribute(), pugi::xml_node::next_sibling(), pugi::xml_node::next_sibling(), pugi::xpath_node::node(), node_copy_attribute(), node_copy_contents(), node_copy_string(), node_copy_tree(), node_is_ancestor(), node_is_before(), node_is_before_sibling(), node_output(), node_output_attributes(), node_output_comment(), node_output_end(), node_output_pi_value(), node_output_simple(), node_output_start(), normalize_space(), pugi::xml_node::offset_debug(), open_file_wide(), pugi::xml_parse_result::operator bool(), pugi::xpath_parse_result::operator bool(), pugi::xml_attribute::operator unspecified_bool_type(), pugi::xml_node::operator unspecified_bool_type(), pugi::xml_text::operator unspecified_bool_type(), pugi::xpath_node::operator unspecified_bool_type(), pugi::xpath_query::operator unspecified_bool_type(), pugi::xml_attribute::operator!(), pugi::xml_node::operator!(), pugi::xml_text::operator!(), pugi::xpath_node::operator!(), pugi::xpath_query::operator!(), pugi::xml_attribute::operator!=(), pugi::xml_attribute_iterator::operator!=(), pugi::xml_named_node_iterator::operator!=(), pugi::xml_node::operator!=(), pugi::xml_node_iterator::operator!=(), pugi::xpath_node::operator!=(), pugi::xml_attribute_iterator::operator*(), pugi::xml_named_node_iterator::operator*(), pugi::xml_node_iterator::operator*(), pugi::xml_attribute_iterator::operator++(), pugi::xml_attribute_iterator::operator++(), pugi::xml_named_node_iterator::operator++(), pugi::xml_named_node_iterator::operator++(), pugi::xml_node_iterator::operator++(), pugi::xml_node_iterator::operator++(), pugi::xml_attribute_iterator::operator--(), pugi::xml_attribute_iterator::operator--(), pugi::xml_named_node_iterator::operator--(), pugi::xml_named_node_iterator::operator--(), pugi::xml_node_iterator::operator--(), pugi::xml_node_iterator::operator--(), pugi::xml_attribute_iterator::operator->(), pugi::xml_named_node_iterator::operator->(), pugi::xml_node_iterator::operator->(), pugi::xml_attribute::operator<(), pugi::xml_node::operator<(), pugi::xml_attribute::operator<=(), pugi::xml_node::operator<=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_attribute::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xml_text::operator=(), pugi::xpath_node_set::operator=(), pugi::xpath_variable_set::operator=(), pugi::xml_attribute::operator==(), pugi::xml_attribute_iterator::operator==(), pugi::xml_named_node_iterator::operator==(), pugi::xml_node::operator==(), pugi::xml_node_iterator::operator==(), pugi::xpath_node::operator==(), pugi::xml_attribute::operator>(), pugi::xml_node::operator>(), pugi::xml_attribute::operator>=(), pugi::xml_node::operator>=(), pugi::xpath_node_set::operator[](), pugi::xml_node::parent(), pugi::xpath_node::parent(), parse_declaration_encoding(), pugi::xml_node::path(), pugi::xml_node::prepend_attribute(), pugi::xml_node::prepend_child(), pugi::xml_node::prepend_child(), pugi::xml_node::prepend_copy(), pugi::xml_node::prepend_copy(), pugi::xml_node::prepend_move(), pugi::xml_attribute::previous_attribute(), pugi::xml_node::previous_sibling(), pugi::xml_node::previous_sibling(), pugi::xml_node::print(), pugi::xml_node::print(), pugi::xml_node::print(), qualified_name(), pugi::xml_node::remove_attribute(), pugi::xml_node::remove_attribute(), pugi::xml_node::remove_child(), pugi::xml_node::remove_child(), pugi::xml_document::reset(), pugi::xml_document::reset(), pugi::xpath_exception::result(), pugi::xpath_query::result(), pugi::xpath_query::return_type(), pugi::xml_node::root(), round_nearest(), round_nearest_nzero(), pugi::xml_document::save(), pugi::xml_document::save(), pugi::xml_document::save(), pugi::xml_document::save_file(), pugi::xml_document::save_file(), save_file_impl(), pugi::xml_node::select_node(), pugi::xml_node::select_node(), pugi::xml_node::select_nodes(), pugi::xml_node::select_nodes(), pugi::xml_node::select_single_node(), pugi::xml_node::select_single_node(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xml_text::set(), pugi::xpath_variable::set(), pugi::xpath_variable::set(), pugi::xpath_variable::set(), pugi::xpath_variable::set(), pugi::xpath_variable_set::set(), pugi::xpath_variable_set::set(), pugi::xpath_variable_set::set(), pugi::xpath_variable_set::set(), pugi::set_memory_management_functions(), pugi::xml_attribute::set_name(), pugi::xml_node::set_name(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_attribute::set_value(), pugi::xml_node::set_value(), set_value_ascii(), set_value_bool(), set_value_convert(), set_value_convert(), set_value_integer(), pugi::xpath_node_set::size(), pugi::xpath_node_set::sort(), starts_with(), strconv_cdata(), strconv_comment(), strconv_escape(), strcpy_insitu(), strequal(), strequalrange(), string_to_integer(), string_value(), strlength(), strlength_wide(), pugi::xml_node::text(), text_output(), text_output_cdata(), text_output_escaped(), text_output_indent(), tolower_ascii(), translate(), translate_table(), translate_table_generate(), pugi::xml_node::traverse(), truncate_zeros(), pugi::xml_node::type(), pugi::xpath_node_set::type(), pugi::xpath_variable::type(), pugi::unspecified_bool_xml_attribute(), pugi::unspecified_bool_xml_node(), pugi::unspecified_bool_xml_text(), pugi::unspecified_bool_xpath_node(), pugi::unspecified_bool_xpath_query(), pugi::xml_attribute::value(), pugi::xml_node::value(), pugi::xpath_exception::what(), pugi::xml_writer_file::write(), pugi::xml_writer_stream::write(), pugi::xml_attribute::xml_attribute(), pugi::xml_attribute::xml_attribute(), pugi::xml_attribute_iterator::xml_attribute_iterator(), pugi::xml_attribute_iterator::xml_attribute_iterator(), pugi::xml_attribute_iterator::xml_attribute_iterator(), pugi::xml_document::xml_document(), pugi::xml_named_node_iterator::xml_named_node_iterator(), pugi::xml_named_node_iterator::xml_named_node_iterator(), pugi::xml_named_node_iterator::xml_named_node_iterator(), pugi::xml_node::xml_node(), pugi::xml_node::xml_node(), pugi::xml_node_iterator::xml_node_iterator(), pugi::xml_node_iterator::xml_node_iterator(), pugi::xml_node_iterator::xml_node_iterator(), pugi::xml_parse_result::xml_parse_result(), pugi::xml_text::xml_text(), pugi::xml_text::xml_text(), pugi::xml_tree_walker::xml_tree_walker(), pugi::xml_writer_file::xml_writer_file(), pugi::xml_writer_stream::xml_writer_stream(), pugi::xml_writer_stream::xml_writer_stream(), pugi::xpath_exception::xpath_exception(), xpath_first(), xpath_get_order(), pugi::xpath_node::xpath_node(), pugi::xpath_node::xpath_node(), pugi::xpath_node::xpath_node(), pugi::xpath_node_set::xpath_node_set(), pugi::xpath_node_set::xpath_node_set(), pugi::xpath_node_set::xpath_node_set(), pugi::xpath_parse_result::xpath_parse_result(), pugi::xpath_query::xpath_query(), pugi::xpath_query::xpath_query(), xpath_sort(), pugi::xpath_variable::xpath_variable(), pugi::xpath_variable_set::xpath_variable_set(), pugi::xpath_variable_set::xpath_variable_set(), zero_terminate_buffer(), pugi::xml_document::~xml_document(), pugi::xml_tree_walker::~xml_tree_walker(), pugi::xpath_node_set::~xpath_node_set(), pugi::xpath_query::~xpath_query(), and pugi::xpath_variable_set::~xpath_variable_set().
| #define PUGI__FN_NO_INLINE PUGI__NO_INLINE |
Definition at line 169 of file pugixml.cpp.
Referenced by xml_allocator::allocate_memory_oob(), append_new_attribute(), append_new_node(), and xpath_node_set_raw::push_back_grow().
| #define PUGI__GETHEADER_IMPL | ( | object, | |
| page, | |||
| flags ) |
Definition at line 454 of file pugixml.cpp.
Referenced by pugi::xml_attribute_struct::xml_attribute_struct(), and pugi::xml_node_struct::xml_node_struct().
| #define PUGI__GETPAGE | ( | n | ) |
Definition at line 459 of file pugixml.cpp.
Referenced by pugi::xml_document::_destroy(), destroy_attribute(), destroy_node(), get_allocator(), and get_document().
| #define PUGI__GETPAGE_IMPL | ( | header | ) |
Definition at line 456 of file pugixml.cpp.
Referenced by strcpy_insitu().
| #define PUGI__IS_CHARTYPE | ( | c, | |
| ct ) |
Definition at line 1904 of file pugixml.cpp.
Referenced by check_string_to_number_format(), xpath_lexer::next(), normalize_space(), strconv_pcdata_impl< opt_trim, opt_eol, opt_escape >::parse(), parse_declaration_encoding(), strconv_attribute_impl< opt_escape >::parse_eol(), xml_parser::parse_exclamation(), xpath_parser::parse_path_or_unary_expression(), xml_parser::parse_question(), strconv_attribute_impl< opt_escape >::parse_simple(), xml_parser::parse_tree(), strconv_attribute_impl< opt_escape >::parse_wconv(), strconv_attribute_impl< opt_escape >::parse_wnorm(), strconv_cdata(), strconv_comment(), and string_to_integer().
| #define PUGI__IS_CHARTYPE_IMPL | ( | c, | |
| ct, | |||
| table ) |
Definition at line 1901 of file pugixml.cpp.
| #define PUGI__IS_CHARTYPEX | ( | c, | |
| ct ) |
Definition at line 1905 of file pugixml.cpp.
Referenced by check_string_to_number_format(), xpath_lexer::next(), and text_output_escaped().
| #define PUGI__NO_INLINE |
Definition at line 95 of file pugixml.cpp.
| #define PUGI__NODETYPE | ( | n | ) |
Definition at line 460 of file pugixml.cpp.
Referenced by pugi::xml_text::_data(), pugi::xml_node::child_value(), pugi::xml_document::document_element(), has_declaration(), xml_parser::has_element_node_siblings(), is_text_node(), node_copy_tree(), node_output(), node_output_simple(), xml_parser::parse_tree(), pugi::xml_node::set_name(), pugi::xml_node::set_value(), xpath_ast_node::step_push(), and pugi::xml_node::type().
| #define PUGI__NS_BEGIN namespace pugi { namespace impl { namespace { |
Definition at line 165 of file pugixml.cpp.
| #define PUGI__NS_END } } } |
Definition at line 166 of file pugixml.cpp.
| #define PUGI__OPTSET | ( | OPT | ) |
Definition at line 2595 of file pugixml.cpp.
Referenced by xml_parser::parse(), xml_parser::parse_exclamation(), xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__POPNODE | ( | ) |
Definition at line 2597 of file pugixml.cpp.
Referenced by xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__PUSHNODE | ( | TYPE | ) |
Definition at line 2596 of file pugixml.cpp.
Referenced by xml_parser::parse_exclamation(), xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__SCANCHAR | ( | ch | ) |
Referenced by parse_declaration_encoding().
| #define PUGI__SCANCHARTYPE | ( | ct | ) |
Referenced by parse_declaration_encoding().
| #define PUGI__SCANFOR | ( | X | ) |
Definition at line 2598 of file pugixml.cpp.
Referenced by xml_parser::parse_doctype_primitive(), xml_parser::parse_exclamation(), xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__SCANWHILE | ( | X | ) |
Definition at line 2599 of file pugixml.cpp.
Referenced by xml_parser::parse_question().
| #define PUGI__SCANWHILE_UNROLL | ( | X | ) |
Definition at line 2600 of file pugixml.cpp.
Referenced by strconv_pcdata_impl< opt_trim, opt_eol, opt_escape >::parse(), strconv_attribute_impl< opt_escape >::parse_eol(), strconv_attribute_impl< opt_escape >::parse_simple(), xml_parser::parse_tree(), strconv_attribute_impl< opt_escape >::parse_wconv(), strconv_attribute_impl< opt_escape >::parse_wnorm(), strconv_cdata(), strconv_comment(), and text_output_escaped().
| #define PUGI__SKIPWS | ( | ) |
Definition at line 2594 of file pugixml.cpp.
Referenced by xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__SNPRINTF sprintf |
Definition at line 151 of file pugixml.cpp.
Referenced by convert_number_to_mantissa_exponent(), set_value_convert(), and set_value_convert().
| #define PUGI__STATIC_ASSERT | ( | cond | ) |
Definition at line 106 of file pugixml.cpp.
Referenced by pugi::xml_document::_create(), xml_allocator::allocate_string(), convert_buffer_output_generic(), convert_buffer_output_generic(), gen_nan(), get_strconv_attribute(), get_strconv_pcdata(), get_wchar_encoding(), string_to_integer(), and xml_buffered_writer::xml_buffered_writer().
| #define PUGI__THROW_ERROR | ( | err, | |
| m ) |
Definition at line 2602 of file pugixml.cpp.
Referenced by xml_parser::parse_doctype_group(), xml_parser::parse_doctype_ignore(), xml_parser::parse_doctype_primitive(), xml_parser::parse_exclamation(), xml_parser::parse_question(), and xml_parser::parse_tree().
| #define PUGI__UNLIKELY | ( | cond | ) |
Definition at line 102 of file pugixml.cpp.
Referenced by xml_allocator::allocate_memory().
| #define PUGI__UNSIGNED_OVERFLOW |
Definition at line 123 of file pugixml.cpp.
Referenced by hash_string(), integer_to_string(), and string_to_integer().
| #define SOURCE_PUGIXML_CPP |
Copyright (C) 2006-2018, by Arseny Kapoulkine (arsen.nosp@m.y.ka.nosp@m.poulk.nosp@m.ine@.nosp@m.gmail.nosp@m..com) Report bugs and download new versions at http://pugixml.org/
This library is distributed under the MIT License. See notice at the end of this file.
This work is based on the pugxml parser, which is: Copyright (C) 2003, by Kristen Wegner (krist.nosp@m.en@t.nosp@m.ima.n.nosp@m.et)
Definition at line 15 of file pugixml.cpp.
| typedef char_t *(*) strconv_attribute_t(char_t *, char_t) |
Definition at line 2732 of file pugixml.cpp.
| typedef char_t *(*) strconv_pcdata_t(char_t *) |
Definition at line 2661 of file pugixml.cpp.
| typedef wchar_selector<sizeof(wchar_t)>::counter wchar_counter |
Definition at line 1809 of file pugixml.cpp.
| typedef wchar_selector<sizeof(wchar_t)>::writer wchar_writer |
Definition at line 1810 of file pugixml.cpp.
| typedef xml_memory_management_function_storage<int> xml_memory |
Definition at line 212 of file pugixml.cpp.
| enum ast_type_t |
Definition at line 9263 of file pugixml.cpp.
| enum axis_t |
Definition at line 9328 of file pugixml.cpp.
| enum chartype_t |
| Enumerator | |
|---|---|
| ct_parse_pcdata | |
| ct_parse_attr | |
| ct_parse_attr_ws | |
| ct_space | |
| ct_parse_cdata | |
| ct_parse_comment | |
| ct_symbol | |
| ct_start_symbol | |
Definition at line 1834 of file pugixml.cpp.
| enum chartypex_t |
| Enumerator | |
|---|---|
| ctx_special_pcdata | |
| ctx_special_attr | |
| ctx_start_symbol | |
| ctx_digit | |
| ctx_symbol | |
Definition at line 1867 of file pugixml.cpp.
| enum indent_flags_t |
| Enumerator | |
|---|---|
| indent_newline | |
| indent_indent | |
Definition at line 4224 of file pugixml.cpp.
| enum lexeme_t |
Definition at line 8909 of file pugixml.cpp.
| enum nodeset_eval_t |
| Enumerator | |
|---|---|
| nodeset_eval_all | |
| nodeset_eval_any | |
| nodeset_eval_first | |
Definition at line 9366 of file pugixml.cpp.
| enum nodetest_t |
| Enumerator | |
|---|---|
| nodetest_none | |
| nodetest_name | |
| nodetest_type_node | |
| nodetest_type_comment | |
| nodetest_type_pi | |
| nodetest_type_text | |
| nodetest_pi | |
| nodetest_all | |
| nodetest_all_in_namespace | |
Definition at line 9345 of file pugixml.cpp.
| enum predicate_t |
| Enumerator | |
|---|---|
| predicate_default | |
| predicate_posinv | |
| predicate_constant | |
| predicate_constant_one | |
Definition at line 9358 of file pugixml.cpp.
|
inline |
Definition at line 1179 of file pugixml.cpp.
References allocate_attribute(), and xml_allocator::allocate_object().
Referenced by allocate_attribute(), and append_new_attribute().
|
inline |
Definition at line 1188 of file pugixml.cpp.
References allocate_node(), and xml_allocator::allocate_object().
Referenced by allocate_node(), and append_new_node().
| PUGI__FN bool allow_insert_attribute | ( | xml_node_type | parent | ) |
Definition at line 4345 of file pugixml.cpp.
References allow_insert_attribute(), and PUGI__FN.
Referenced by allow_insert_attribute().
| PUGI__FN bool allow_insert_child | ( | xml_node_type | parent, |
| xml_node_type | child ) |
Definition at line 4350 of file pugixml.cpp.
References allow_insert_child(), and PUGI__FN.
Referenced by allow_insert_child(), and allow_move().
| PUGI__FN bool allow_move | ( | xml_node | parent, |
| xml_node | child ) |
Definition at line 4359 of file pugixml.cpp.
References allow_insert_child(), allow_move(), and PUGI__FN.
Referenced by allow_move().
|
inline |
Definition at line 1329 of file pugixml.cpp.
References append_attribute().
Referenced by append_attribute(), and append_new_attribute().
| PUGI__FN_NO_INLINE xml_attribute_struct * append_new_attribute | ( | xml_node_struct * | node, |
| xml_allocator & | alloc ) |
Definition at line 1416 of file pugixml.cpp.
References allocate_attribute(), append_attribute(), append_new_attribute(), PUGI__FN_NO_INLINE, and xml_allocator::reserve().
Referenced by append_new_attribute(), node_copy_contents(), and xml_parser::parse_tree().
| PUGI__FN_NO_INLINE xml_node_struct * append_new_node | ( | xml_node_struct * | node, |
| xml_allocator & | alloc, | ||
| xml_node_type | type = node_element ) |
Definition at line 1404 of file pugixml.cpp.
References allocate_node(), append_new_node(), append_node(), PUGI__FN_NO_INLINE, and xml_allocator::reserve().
Referenced by append_new_node(), and node_copy_tree().
|
inline |
Definition at line 1237 of file pugixml.cpp.
References append_node().
Referenced by append_new_node(), and append_node().
| PUGI__FN size_t as_utf8_begin | ( | const wchar_t * | str, |
| size_t | length ) |
Definition at line 2286 of file pugixml.cpp.
References as_utf8_begin(), wchar_decoder::process(), and PUGI__FN.
Referenced by as_utf8_begin(), as_utf8_impl(), and convert_path_heap().
| PUGI__FN void as_utf8_end | ( | char * | buffer, |
| size_t | size, | ||
| const wchar_t * | str, | ||
| size_t | length ) |
Definition at line 2292 of file pugixml.cpp.
References as_utf8_end(), wchar_decoder::process(), and PUGI__FN.
Referenced by as_utf8_end(), as_utf8_impl(), and convert_path_heap().
| PUGI__FN std::string as_utf8_impl | ( | const wchar_t * | str, |
| size_t | length ) |
Definition at line 2304 of file pugixml.cpp.
References as_utf8_begin(), as_utf8_end(), as_utf8_impl(), and PUGI__FN.
Referenced by as_utf8_impl().
| PUGI__FN std::basic_string< wchar_t > as_wide_impl | ( | const char * | str, |
| size_t | size ) |
Definition at line 2319 of file pugixml.cpp.
References as_wide_impl(), utf8_decoder::process(), and PUGI__FN.
Referenced by as_wide_impl().
| PUGI__FN bool check_string_to_number_format | ( | const char_t * | string | ) |
Definition at line 8255 of file pugixml.cpp.
References check_string_to_number_format(), ct_space, ctx_digit, PUGI__FN, PUGI__IS_CHARTYPE, and PUGI__IS_CHARTYPEX.
Referenced by check_string_to_number_format(), and convert_string_to_number().
| PUGI__FN void close_file | ( | FILE * | file | ) |
Definition at line 4811 of file pugixml.cpp.
References close_file(), and PUGI__FN.
Referenced by close_file().
| PUGI__FN bool convert_buffer | ( | char_t *& | out_buffer, |
| size_t & | out_length, | ||
| xml_encoding | encoding, | ||
| const void * | contents, | ||
| size_t | size, | ||
| bool | is_mutable ) |
Definition at line 2251 of file pugixml.cpp.
References convert_buffer(), convert_buffer_generic(), convert_buffer_latin1(), get_mutable_buffer(), is_little_endian(), and PUGI__FN.
Referenced by convert_buffer().
| PUGI__FN bool convert_buffer_generic | ( | char_t *& | out_buffer, |
| size_t & | out_length, | ||
| const void * | contents, | ||
| size_t | size, | ||
| D | ) |
Definition at line 2180 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, convert_buffer_generic(), and PUGI__FN.
Referenced by convert_buffer(), and convert_buffer_generic().
| PUGI__FN bool convert_buffer_latin1 | ( | char_t *& | out_buffer, |
| size_t & | out_length, | ||
| const void * | contents, | ||
| size_t | size, | ||
| bool | is_mutable ) |
Definition at line 2214 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, convert_buffer_latin1(), get_latin1_7bit_prefix_length(), get_mutable_buffer(), latin1_decoder::process(), and PUGI__FN.
Referenced by convert_buffer(), and convert_buffer_latin1().
| PUGI__FN size_t convert_buffer_output | ( | char_t * | , |
| uint8_t * | r_u8, | ||
| uint16_t * | r_u16, | ||
| uint32_t * | r_u32, | ||
| const char_t * | data, | ||
| size_t | length, | ||
| xml_encoding | encoding ) |
Definition at line 3674 of file pugixml.cpp.
References convert_buffer_output(), convert_buffer_output_generic(), is_little_endian(), and PUGI__FN.
Referenced by convert_buffer_output(), and xml_buffered_writer::flush().
| PUGI__FN size_t convert_buffer_output_generic | ( | typename T::value_type | dest, |
| const char_t * | data, | ||
| size_t | length, | ||
| D | , | ||
| T | ) |
Definition at line 3587 of file pugixml.cpp.
References convert_buffer_output_generic(), PUGI__FN, and PUGI__STATIC_ASSERT.
Referenced by convert_buffer_output(), convert_buffer_output_generic(), and convert_buffer_output_generic().
| PUGI__FN size_t convert_buffer_output_generic | ( | typename T::value_type | dest, |
| const char_t * | data, | ||
| size_t | length, | ||
| D | , | ||
| T | , | ||
| bool | opt_swap ) |
Definition at line 3596 of file pugixml.cpp.
References convert_buffer_output_generic(), endian_swap(), PUGI__FN, and PUGI__STATIC_ASSERT.
| PUGI__FN bool convert_number_to_boolean | ( | double | value | ) |
Definition at line 8131 of file pugixml.cpp.
References convert_number_to_boolean(), is_nan(), and PUGI__FN.
Referenced by convert_number_to_boolean(), and xpath_ast_node::eval_boolean().
| PUGI__FN void convert_number_to_mantissa_exponent | ( | double | value, |
| char(&) | buffer[32], | ||
| char ** | out_mantissa, | ||
| int * | out_exponent ) |
Definition at line 8159 of file pugixml.cpp.
References convert_number_to_mantissa_exponent(), PUGI__FN, PUGI__SNPRINTF, and truncate_zeros().
Referenced by convert_number_to_mantissa_exponent(), and convert_number_to_string().
| PUGI__FN xpath_string convert_number_to_string | ( | double | value, |
| xpath_allocator * | alloc ) |
Definition at line 8188 of file pugixml.cpp.
References xpath_allocator::allocate(), convert_number_to_mantissa_exponent(), convert_number_to_string(), convert_number_to_string_special(), xpath_string::from_const(), xpath_string::from_heap_preallocated(), PUGI__FN, and xpath_string::xpath_string().
Referenced by convert_number_to_string(), and xpath_ast_node::eval_string().
| PUGI__FN const char_t * convert_number_to_string_special | ( | double | value | ) |
Definition at line 8099 of file pugixml.cpp.
References convert_number_to_string_special(), PUGI__FN, and PUGIXML_TEXT.
Referenced by convert_number_to_string(), and convert_number_to_string_special().
| PUGI__FN char * convert_path_heap | ( | const wchar_t * | str | ) |
Definition at line 4972 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, as_utf8_begin(), as_utf8_end(), convert_path_heap(), PUGI__FN, and strlength_wide().
Referenced by convert_path_heap(), and open_file_wide().
| PUGI__FN double convert_string_to_number | ( | const char_t * | string | ) |
Definition at line 8285 of file pugixml.cpp.
References check_string_to_number_format(), convert_string_to_number(), gen_nan(), and PUGI__FN.
Referenced by xpath_ast_node::compare_eq(), xpath_ast_node::compare_rel(), convert_string_to_number(), convert_string_to_number_scratch(), and xpath_ast_node::eval_number().
| PUGI__FN bool convert_string_to_number_scratch | ( | char_t(&) | buffer[32], |
| const char_t * | begin, | ||
| const char_t * | end, | ||
| double * | out_result ) |
Definition at line 8298 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, convert_string_to_number(), convert_string_to_number_scratch(), xml_memory_management_function_storage< int >::deallocate, and PUGI__FN.
Referenced by convert_string_to_number_scratch(), and xpath_parser::parse_primary_expression().
| PUGI__FN bool copy_xpath_variable | ( | xpath_variable * | lhs, |
| const xpath_variable * | rhs ) |
Definition at line 8665 of file pugixml.cpp.
References copy_xpath_variable(), and PUGI__FN.
Referenced by copy_xpath_variable().
| PUGI__NS_BEGIN PUGI__FN void * default_allocate | ( | size_t | size | ) |
Definition at line 190 of file pugixml.cpp.
References default_allocate(), and PUGI__FN.
Referenced by default_allocate().
| PUGI__FN void default_deallocate | ( | void * | ptr | ) |
Definition at line 195 of file pugixml.cpp.
References default_deallocate(), and PUGI__FN.
Referenced by default_deallocate().
| PUGI__FN void delete_xpath_variable | ( | T * | var | ) |
Definition at line 8634 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::deallocate, delete_xpath_variable(), and PUGI__FN.
Referenced by delete_xpath_variable(), and delete_xpath_variable().
| PUGI__FN void delete_xpath_variable | ( | xpath_value_type | type, |
| xpath_variable * | var ) |
Definition at line 8640 of file pugixml.cpp.
References delete_xpath_variable(), and PUGI__FN.
|
inline |
Definition at line 1197 of file pugixml.cpp.
References xml_allocator::deallocate_memory(), xml_allocator::deallocate_string(), destroy_attribute(), and PUGI__GETPAGE.
Referenced by destroy_attribute(), and destroy_node().
|
inline |
Definition at line 1208 of file pugixml.cpp.
References xml_allocator::deallocate_memory(), xml_allocator::deallocate_string(), destroy_attribute(), destroy_node(), and PUGI__GETPAGE.
Referenced by destroy_node().
| PUGI__FN const void * document_buffer_order | ( | const xpath_node & | xnode | ) |
Definition at line 7977 of file pugixml.cpp.
References document_buffer_order(), get_document(), PUGI__FN, and xml_memory_page_contents_shared_mask.
Referenced by document_buffer_order(), and document_order_comparator::operator()().
|
inline |
Definition at line 1444 of file pugixml.cpp.
References endian_swap().
Referenced by convert_buffer_output_generic(), endian_swap(), endian_swap(), utf16_decoder< opt_false >::process(), and utf32_decoder< opt_false >::process().
|
inline |
Definition at line 1449 of file pugixml.cpp.
References endian_swap().
| PUGI__FN impl::xpath_ast_node * evaluate_node_set_prepare | ( | xpath_query_impl * | impl | ) |
Definition at line 11914 of file pugixml.cpp.
References evaluate_node_set_prepare(), PUGI__FN, xpath_ast_node::rettype(), and xpath_query_impl::root.
Referenced by evaluate_node_set_prepare().
| PUGI__FN const char_t * find_char | ( | const char_t * | s, |
| char_t | c ) |
Definition at line 7824 of file pugixml.cpp.
References find_char(), and PUGI__FN.
Referenced by find_char(), local_name(), namespace_uri_predicate::namespace_uri_predicate(), and translate().
| PUGI__FN const char_t * find_substring | ( | const char_t * | s, |
| const char_t * | p ) |
Definition at line 7833 of file pugixml.cpp.
References find_substring(), and PUGI__FN.
Referenced by xpath_ast_node::eval_boolean(), xpath_ast_node::eval_string(), and find_substring().
| PUGI__FN double gen_nan | ( | ) |
Definition at line 8071 of file pugixml.cpp.
References gen_nan(), PUGI__FN, and PUGI__STATIC_ASSERT.
Referenced by convert_string_to_number(), and gen_nan().
|
inline |
Definition at line 1162 of file pugixml.cpp.
References get_allocator(), and PUGI__GETPAGE.
Referenced by get_allocator(), node_copy_attribute(), node_copy_contents(), and node_copy_tree().
| PUGI__FN xml_encoding get_buffer_encoding | ( | xml_encoding | encoding, |
| const void * | contents, | ||
| size_t | size ) |
Definition at line 2026 of file pugixml.cpp.
References get_buffer_encoding(), get_wchar_encoding(), guess_buffer_encoding(), is_little_endian(), and PUGI__FN.
Referenced by get_buffer_encoding(), load_file_impl(), and load_stream_impl().
|
inline |
Definition at line 1169 of file pugixml.cpp.
References get_document(), and PUGI__GETPAGE.
Referenced by document_buffer_order(), and get_document().
| PUGI__FN xml_parse_status get_file_size | ( | FILE * | file, |
| size_t & | out_result ) |
Definition at line 4718 of file pugixml.cpp.
References get_file_size(), and PUGI__FN.
Referenced by get_file_size(), and load_file_impl().
| PUGI__FN size_t get_latin1_7bit_prefix_length | ( | const uint8_t * | data, |
| size_t | size ) |
Definition at line 2205 of file pugixml.cpp.
References get_latin1_7bit_prefix_length(), and PUGI__FN.
Referenced by convert_buffer_latin1(), and get_latin1_7bit_prefix_length().
| PUGI__FN bool get_mutable_buffer | ( | char_t *& | out_buffer, |
| size_t & | out_length, | ||
| const void * | contents, | ||
| size_t | size, | ||
| bool | is_mutable ) |
Definition at line 2046 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, get_mutable_buffer(), and PUGI__FN.
Referenced by convert_buffer(), convert_buffer_latin1(), and get_mutable_buffer().
| PUGI__FN strconv_attribute_t get_strconv_attribute | ( | unsigned int | optmask | ) |
Definition at line 2883 of file pugixml.cpp.
References get_strconv_attribute(), strconv_attribute_impl< opt_escape >::parse_eol(), strconv_attribute_impl< opt_escape >::parse_simple(), strconv_attribute_impl< opt_escape >::parse_wconv(), strconv_attribute_impl< opt_escape >::parse_wnorm(), PUGI__FN, and PUGI__STATIC_ASSERT.
Referenced by get_strconv_attribute(), and xml_parser::parse_tree().
| PUGI__FN strconv_pcdata_t get_strconv_pcdata | ( | unsigned int | optmask | ) |
Definition at line 2714 of file pugixml.cpp.
References get_strconv_pcdata(), strconv_pcdata_impl< opt_trim, opt_eol, opt_escape >::parse(), PUGI__FN, and PUGI__STATIC_ASSERT.
Referenced by get_strconv_pcdata(), and xml_parser::parse_tree().
| PUGI__FN size_t get_valid_length | ( | const char_t * | data, |
| size_t | length ) |
Definition at line 3658 of file pugixml.cpp.
References get_valid_length(), and PUGI__FN.
Referenced by get_valid_length(), xml_buffered_writer::write_direct(), and xml_buffered_writer::write_string().
| PUGI__FN bool get_value_bool | ( | const char_t * | value | ) |
Definition at line 4593 of file pugixml.cpp.
References get_value_bool(), and PUGI__FN.
Referenced by get_value_bool().
| PUGI__FN double get_value_double | ( | const char_t * | value | ) |
Definition at line 4575 of file pugixml.cpp.
References get_value_double(), and PUGI__FN.
Referenced by get_value_double().
| PUGI__FN float get_value_float | ( | const char_t * | value | ) |
Definition at line 4584 of file pugixml.cpp.
References get_value_float(), and PUGI__FN.
Referenced by get_value_float().
| PUGI__FN int get_value_int | ( | const char_t * | value | ) |
Definition at line 4565 of file pugixml.cpp.
References get_value_int(), PUGI__FN, and string_to_integer().
Referenced by get_value_int().
| PUGI__FN unsigned int get_value_uint | ( | const char_t * | value | ) |
Definition at line 4570 of file pugixml.cpp.
References get_value_uint(), PUGI__FN, and string_to_integer().
Referenced by get_value_uint().
| PUGI__FN bool get_variable_scratch | ( | char_t(&) | buffer[32], |
| xpath_variable_set * | set, | ||
| const char_t * | begin, | ||
| const char_t * | end, | ||
| xpath_variable ** | out_result ) |
Definition at line 8687 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, xml_memory_management_function_storage< int >::deallocate, get_variable_scratch(), and PUGI__FN.
Referenced by get_variable_scratch(), and xpath_parser::parse_primary_expression().
| PUGI__FN xml_encoding get_wchar_encoding | ( | ) |
Definition at line 1914 of file pugixml.cpp.
References get_wchar_encoding(), is_little_endian(), PUGI__FN, and PUGI__STATIC_ASSERT.
Referenced by get_buffer_encoding(), get_wchar_encoding(), get_write_encoding(), get_write_native_encoding(), and zero_terminate_buffer().
| PUGI__FN xml_encoding get_write_encoding | ( | xml_encoding | encoding | ) |
Definition at line 3569 of file pugixml.cpp.
References get_wchar_encoding(), get_write_encoding(), is_little_endian(), and PUGI__FN.
Referenced by get_write_encoding(), and xml_buffered_writer::xml_buffered_writer().
| PUGI__FN xml_encoding get_write_native_encoding | ( | ) |
Definition at line 3560 of file pugixml.cpp.
References get_wchar_encoding(), get_write_native_encoding(), and PUGI__FN.
Referenced by xml_buffered_writer::flush(), get_write_native_encoding(), and xml_buffered_writer::write_direct().
| PUGI__FN xml_encoding guess_buffer_encoding | ( | const uint8_t * | data, |
| size_t | size ) |
Definition at line 1978 of file pugixml.cpp.
References guess_buffer_encoding(), parse_declaration_encoding(), and PUGI__FN.
Referenced by get_buffer_encoding(), and guess_buffer_encoding().
| PUGI__FN bool has_declaration | ( | xml_node_struct * | node | ) |
Definition at line 4323 of file pugixml.cpp.
References has_declaration(), PUGI__FN, and PUGI__NODETYPE.
Referenced by has_declaration().
| PUGI__FN PUGI__UNSIGNED_OVERFLOW unsigned int hash_string | ( | const char_t * | str | ) |
Definition at line 8578 of file pugixml.cpp.
References hash_string(), PUGI__FN, and PUGI__UNSIGNED_OVERFLOW.
Referenced by hash_string().
|
inline |
Definition at line 1364 of file pugixml.cpp.
References insert_attribute_after().
Referenced by insert_attribute_after().
|
inline |
Definition at line 1376 of file pugixml.cpp.
References insert_attribute_before().
Referenced by insert_attribute_before().
|
inline |
Definition at line 1276 of file pugixml.cpp.
References insert_node_after().
Referenced by insert_node_after().
|
inline |
Definition at line 1293 of file pugixml.cpp.
References insert_node_before().
Referenced by insert_node_before().
| void insertion_sort | ( | T * | begin, |
| T * | end, | ||
| const Pred & | pred ) |
Definition at line 7386 of file pugixml.cpp.
References insertion_sort().
Referenced by insertion_sort(), and sort().
| PUGI__FN PUGI__UNSIGNED_OVERFLOW char_t * integer_to_string | ( | char_t * | begin, |
| char_t * | end, | ||
| U | value, | ||
| bool | negative ) |
Definition at line 4614 of file pugixml.cpp.
References integer_to_string(), PUGI__FN, and PUGI__UNSIGNED_OVERFLOW.
Referenced by integer_to_string(), and set_value_integer().
| PUGI__FN bool is_attribute_of | ( | xml_attribute_struct * | attr, |
| xml_node_struct * | node ) |
Definition at line 4336 of file pugixml.cpp.
References is_attribute_of(), and PUGI__FN.
Referenced by is_attribute_of().
| PUGI__FN bool is_little_endian | ( | ) |
Definition at line 1907 of file pugixml.cpp.
References is_little_endian(), and PUGI__FN.
Referenced by convert_buffer(), convert_buffer_output(), get_buffer_encoding(), get_wchar_encoding(), get_write_encoding(), and is_little_endian().
| PUGI__FN bool is_nan | ( | double | value | ) |
Definition at line 8086 of file pugixml.cpp.
References is_nan(), and PUGI__FN.
Referenced by convert_number_to_boolean(), xpath_ast_node::eval_string(), and is_nan().
|
inline |
Definition at line 4475 of file pugixml.cpp.
References is_text_node(), and PUGI__NODETYPE.
Referenced by is_text_node().
|
inline |
Definition at line 8526 of file pugixml.cpp.
References is_xpath_attribute(), PUGIXML_TEXT, and starts_with().
Referenced by xpath_ast_node::eval_boolean(), is_xpath_attribute(), and xpath_ast_node::step_push().
| PUGI__FN xml_parse_result load_buffer_impl | ( | xml_document_struct * | doc, |
| xml_node_struct * | root, | ||
| void * | contents, | ||
| size_t | size, | ||
| unsigned int | options, | ||
| xml_encoding | encoding, | ||
| bool | is_mutable, | ||
| bool | own, | ||
| char_t ** | out_buffer ) |
Definition at line 4685 of file pugixml.cpp.
References xml_document_struct::buffer, load_buffer_impl(), make_parse_result(), and PUGI__FN.
Referenced by load_buffer_impl(), load_file_impl(), and load_stream_impl().
| PUGI__FN xml_parse_result load_file_impl | ( | xml_document_struct * | doc, |
| FILE * | file, | ||
| unsigned int | options, | ||
| xml_encoding | encoding, | ||
| char_t ** | out_buffer ) |
Definition at line 4782 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, xml_memory_management_function_storage< int >::deallocate, get_buffer_encoding(), get_file_size(), load_buffer_impl(), load_file_impl(), make_parse_result(), PUGI__FN, and zero_terminate_buffer().
Referenced by load_file_impl().
| PUGI__FN xml_parse_status load_stream_data_noseek | ( | std::basic_istream< T > & | stream, |
| void ** | out_buffer, | ||
| size_t * | out_size ) |
Definition at line 4850 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, xml_stream_chunk< T >::create(), auto_deleter< T >::data, xml_stream_chunk< T >::data, xml_stream_chunk< T >::destroy(), load_stream_data_noseek(), xml_stream_chunk< T >::next, PUGI__FN, and xml_stream_chunk< T >::size.
Referenced by load_stream_data_noseek(), and load_stream_impl().
| PUGI__FN xml_parse_status load_stream_data_seek | ( | std::basic_istream< T > & | stream, |
| void ** | out_buffer, | ||
| size_t * | out_size ) |
Definition at line 4904 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, auto_deleter< T >::data, xml_memory_management_function_storage< int >::deallocate, load_stream_data_seek(), PUGI__FN, and auto_deleter< T >::release().
Referenced by load_stream_data_seek(), and load_stream_impl().
| PUGI__FN xml_parse_result load_stream_impl | ( | xml_document_struct * | doc, |
| std::basic_istream< T > & | stream, | ||
| unsigned int | options, | ||
| xml_encoding | encoding, | ||
| char_t ** | out_buffer ) |
Definition at line 4940 of file pugixml.cpp.
References get_buffer_encoding(), load_buffer_impl(), load_stream_data_noseek(), load_stream_data_seek(), load_stream_impl(), make_parse_result(), PUGI__FN, and zero_terminate_buffer().
Referenced by load_stream_impl().
| PUGI__FN const char_t * local_name | ( | const xpath_node & | node | ) |
Definition at line 8339 of file pugixml.cpp.
References find_char(), local_name(), PUGI__FN, and qualified_name().
Referenced by xpath_ast_node::eval_string(), and local_name().
|
inline |
Definition at line 2909 of file pugixml.cpp.
References make_parse_result().
Referenced by load_buffer_impl(), load_file_impl(), load_stream_impl(), make_parse_result(), and xml_parser::parse().
| I median3 | ( | I | first, |
| I | middle, | ||
| I | last, | ||
| const Pred & | pred ) |
| I min_element | ( | I | begin, |
| I | end, | ||
| const Pred & | pred ) |
Definition at line 7347 of file pugixml.cpp.
References min_element().
Referenced by min_element(), and xpath_first().
| PUGI__FN const char_t * namespace_uri | ( | const xpath_node & | node | ) |
Definition at line 8409 of file pugixml.cpp.
References namespace_uri(), and PUGI__FN.
| PUGI__FN const char_t * namespace_uri | ( | xml_attribute | attr, |
| xml_node | parent ) |
Definition at line 8388 of file pugixml.cpp.
References namespace_uri(), namespace_uri_predicate::prefix, PUGI__FN, and PUGIXML_TEXT.
| PUGI__FN const char_t * namespace_uri | ( | xml_node | node | ) |
Definition at line 8370 of file pugixml.cpp.
References namespace_uri(), PUGI__FN, and PUGIXML_TEXT.
Referenced by xpath_ast_node::eval_string(), namespace_uri(), namespace_uri(), and namespace_uri().
| PUGI__FN T * new_xpath_variable | ( | const char_t * | name | ) |
Definition at line 8597 of file pugixml.cpp.
References xml_memory_management_function_storage< int >::allocate, new_xpath_variable(), PUGI__FN, and strlength().
Referenced by new_xpath_variable(), and new_xpath_variable().
| PUGI__FN xpath_variable * new_xpath_variable | ( | xpath_value_type | type, |
| const char_t * | name ) |
Definition at line 8613 of file pugixml.cpp.
References new_xpath_variable(), and PUGI__FN.
| PUGI__FN void node_copy_attribute | ( | xml_attribute_struct * | da, |
| xml_attribute_struct * | sa ) |
Definition at line 4466 of file pugixml.cpp.
References get_allocator(), node_copy_attribute(), node_copy_string(), PUGI__FN, xml_memory_page_name_allocated_mask, and xml_memory_page_value_allocated_mask.
Referenced by node_copy_attribute().
| PUGI__FN void node_copy_contents | ( | xml_node_struct * | dn, |
| xml_node_struct * | sn, | ||
| xml_allocator * | shared_alloc ) |
Definition at line 4403 of file pugixml.cpp.
References append_new_attribute(), get_allocator(), node_copy_contents(), node_copy_string(), PUGI__FN, sn, xml_memory_page_name_allocated_mask, and xml_memory_page_value_allocated_mask.
Referenced by node_copy_contents(), and node_copy_tree().
| PUGI__FN void node_copy_string | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| char_t * | source, | ||
| Header & | source_header, | ||
| xml_allocator * | alloc ) |
Definition at line 4384 of file pugixml.cpp.
References node_copy_string(), PUGI__FN, strcpy_insitu(), strlength(), and xml_memory_page_contents_shared_mask.
Referenced by node_copy_attribute(), node_copy_contents(), and node_copy_string().
| PUGI__FN void node_copy_tree | ( | xml_node_struct * | dn, |
| xml_node_struct * | sn ) |
Definition at line 4420 of file pugixml.cpp.
References append_new_node(), get_allocator(), node_copy_contents(), node_copy_tree(), PUGI__FN, PUGI__NODETYPE, and sn.
Referenced by node_copy_tree().
| PUGI__FN bool node_is_ancestor | ( | xml_node_struct * | parent, |
| xml_node_struct * | node ) |
Definition at line 7970 of file pugixml.cpp.
References node_is_ancestor(), and PUGI__FN.
Referenced by node_is_ancestor(), and xpath_ast_node::step_fill().
| PUGI__FN bool node_is_before | ( | xml_node_struct * | ln, |
| xml_node_struct * | rn ) |
Definition at line 7927 of file pugixml.cpp.
References node_is_before(), node_is_before_sibling(), and PUGI__FN.
Referenced by node_is_before(), and document_order_comparator::operator()().
| PUGI__FN bool node_is_before_sibling | ( | xml_node_struct * | ln, |
| xml_node_struct * | rn ) |
Definition at line 7903 of file pugixml.cpp.
References node_is_before_sibling(), and PUGI__FN.
Referenced by node_is_before(), and node_is_before_sibling().
| PUGI__FN void node_output | ( | xml_buffered_writer & | writer, |
| xml_node_struct * | root, | ||
| const char_t * | indent, | ||
| unsigned int | flags, | ||
| unsigned int | depth ) |
Definition at line 4230 of file pugixml.cpp.
References indent_indent, indent_newline, node_output(), node_output_end(), node_output_simple(), node_output_start(), PUGI__FN, PUGI__NODETYPE, strlength(), and text_output_indent().
Referenced by node_output().
| PUGI__FN void node_output_attributes | ( | xml_buffered_writer & | writer, |
| xml_node_struct * | node, | ||
| const char_t * | indent, | ||
| size_t | indent_length, | ||
| unsigned int | flags, | ||
| unsigned int | depth ) |
Definition at line 4069 of file pugixml.cpp.
References ctx_special_attr, node_output_attributes(), PUGI__FN, PUGIXML_TEXT, text_output(), and text_output_indent().
Referenced by node_output_attributes(), node_output_simple(), and node_output_start().
| PUGI__FN void node_output_comment | ( | xml_buffered_writer & | writer, |
| const char_t * | s ) |
Definition at line 4023 of file pugixml.cpp.
References node_output_comment(), and PUGI__FN.
Referenced by node_output_comment(), and node_output_simple().
| PUGI__FN void node_output_end | ( | xml_buffered_writer & | writer, |
| xml_node_struct * | node ) |
Definition at line 4158 of file pugixml.cpp.
References node_output_end(), PUGI__FN, and PUGIXML_TEXT.
Referenced by node_output(), and node_output_end().
| PUGI__FN void node_output_pi_value | ( | xml_buffered_writer & | writer, |
| const char_t * | s ) |
Definition at line 4048 of file pugixml.cpp.
References node_output_pi_value(), and PUGI__FN.
Referenced by node_output_pi_value(), and node_output_simple().
| PUGI__FN void node_output_simple | ( | xml_buffered_writer & | writer, |
| xml_node_struct * | node, | ||
| unsigned int | flags ) |
Definition at line 4168 of file pugixml.cpp.
References ctx_special_pcdata, node_output_attributes(), node_output_comment(), node_output_pi_value(), node_output_simple(), PUGI__FN, PUGI__NODETYPE, PUGIXML_TEXT, text_output(), and text_output_cdata().
Referenced by node_output(), and node_output_simple().
| PUGI__FN bool node_output_start | ( | xml_buffered_writer & | writer, |
| xml_node_struct * | node, | ||
| const char_t * | indent, | ||
| size_t | indent_length, | ||
| unsigned int | flags, | ||
| unsigned int | depth ) |
Definition at line 4096 of file pugixml.cpp.
References ctx_special_pcdata, node_output_attributes(), node_output_start(), PUGI__FN, PUGIXML_TEXT, and text_output().
Referenced by node_output(), and node_output_start().
| PUGI__FN char_t * normalize_space | ( | char_t * | buffer | ) |
Definition at line 8414 of file pugixml.cpp.
References ct_space, normalize_space(), PUGI__FN, and PUGI__IS_CHARTYPE.
Referenced by xpath_ast_node::eval_string(), and normalize_space().
| PUGI__FN FILE * open_file_wide | ( | const wchar_t * | path, |
| const wchar_t * | mode ) |
Definition at line 4993 of file pugixml.cpp.
References convert_path_heap(), xml_memory_management_function_storage< int >::deallocate, open_file_wide(), and PUGI__FN.
Referenced by open_file_wide().
| PUGI__FN bool parse_declaration_encoding | ( | const uint8_t * | data, |
| size_t | size, | ||
| const uint8_t *& | out_encoding, | ||
| size_t & | out_length ) |
Definition at line 1924 of file pugixml.cpp.
References ct_space, ct_symbol, parse_declaration_encoding(), PUGI__FN, PUGI__IS_CHARTYPE, PUGI__SCANCHAR, and PUGI__SCANCHARTYPE.
Referenced by guess_buffer_encoding(), and parse_declaration_encoding().
| void partition3 | ( | T * | begin, |
| T * | end, | ||
| T | pivot, | ||
| const Pred & | pred, | ||
| T ** | out_eqbeg, | ||
| T ** | out_eqend ) |
Definition at line 7417 of file pugixml.cpp.
References partition3(), and swap().
Referenced by partition3(), and sort().
|
inline |
Definition at line 1348 of file pugixml.cpp.
References prepend_attribute().
Referenced by prepend_attribute().
|
inline |
Definition at line 1258 of file pugixml.cpp.
References prepend_node().
Referenced by prepend_node().
| PUGI__FN const char_t * qualified_name | ( | const xpath_node & | node | ) |
Definition at line 8334 of file pugixml.cpp.
References PUGI__FN, and qualified_name().
Referenced by xpath_ast_node::eval_string(), local_name(), and qualified_name().
|
inline |
Definition at line 1388 of file pugixml.cpp.
References remove_attribute().
Referenced by remove_attribute().
|
inline |
| void reverse | ( | I | begin, |
| I | end ) |
Definition at line 7358 of file pugixml.cpp.
References reverse(), and swap().
Referenced by reverse(), pugi::xpath_node_set::sort(), and xpath_sort().
| PUGI__FN double round_nearest | ( | double | value | ) |
Definition at line 8322 of file pugixml.cpp.
References PUGI__FN, and round_nearest().
Referenced by xpath_ast_node::eval_string(), and round_nearest().
| PUGI__FN double round_nearest_nzero | ( | double | value | ) |
Definition at line 8327 of file pugixml.cpp.
References PUGI__FN, and round_nearest_nzero().
Referenced by xpath_ast_node::eval_number(), and round_nearest_nzero().
| PUGI__FN bool save_file_impl | ( | const xml_document & | doc, |
| FILE * | file, | ||
| const char_t * | indent, | ||
| unsigned int | flags, | ||
| xml_encoding | encoding ) |
Definition at line 5013 of file pugixml.cpp.
References PUGI__FN, and save_file_impl().
Referenced by save_file_impl().
| PUGI__FN bool set_value_ascii | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| char * | buf ) |
Definition at line 4636 of file pugixml.cpp.
References PUGI__FN, set_value_ascii(), and strcpy_insitu().
Referenced by set_value_ascii(), set_value_convert(), and set_value_convert().
| PUGI__FN bool set_value_bool | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| bool | value ) |
Definition at line 4680 of file pugixml.cpp.
References PUGI__FN, PUGIXML_TEXT, set_value_bool(), and strcpy_insitu().
Referenced by set_value_bool().
| PUGI__FN bool set_value_convert | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| double | value ) |
Definition at line 4671 of file pugixml.cpp.
References PUGI__FN, PUGI__SNPRINTF, set_value_ascii(), and set_value_convert().
| PUGI__FN bool set_value_convert | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| float | value ) |
Definition at line 4662 of file pugixml.cpp.
References PUGI__FN, PUGI__SNPRINTF, set_value_ascii(), and set_value_convert().
Referenced by set_value_convert(), and set_value_convert().
| PUGI__FN bool set_value_integer | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| U | value, | ||
| bool | negative ) |
Definition at line 4652 of file pugixml.cpp.
References integer_to_string(), PUGI__FN, set_value_integer(), and strcpy_insitu().
Referenced by set_value_integer().
| void sort | ( | I | begin, |
| I | end, | ||
| const Pred & | pred ) |
Definition at line 7444 of file pugixml.cpp.
References insertion_sort(), median3(), partition3(), and sort().
Referenced by xpath_node_set_raw::remove_duplicates(), sort(), and xpath_sort().
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN bool starts_with | ( | const char_t * | string, |
| const char_t * | pattern ) |
Definition at line 7813 of file pugixml.cpp.
References PUGI__FN, and starts_with().
Referenced by xpath_ast_node::eval_boolean(), is_xpath_attribute(), namespace_uri_predicate::operator()(), starts_with(), xpath_ast_node::step_push(), and xpath_ast_node::step_push().
| PUGI__FN char_t * strconv_cdata | ( | char_t * | s, |
| char_t | endch ) |
Definition at line 2633 of file pugixml.cpp.
References ct_parse_cdata, gap::flush(), PUGI__ENDSWITH, PUGI__FN, PUGI__IS_CHARTYPE, PUGI__SCANWHILE_UNROLL, gap::push(), and strconv_cdata().
Referenced by xml_parser::parse_exclamation(), and strconv_cdata().
| PUGI__FN char_t * strconv_comment | ( | char_t * | s, |
| char_t | endch ) |
Definition at line 2605 of file pugixml.cpp.
References ct_parse_comment, gap::flush(), PUGI__ENDSWITH, PUGI__FN, PUGI__IS_CHARTYPE, PUGI__SCANWHILE_UNROLL, gap::push(), and strconv_comment().
Referenced by xml_parser::parse_exclamation(), and strconv_comment().
Definition at line 2452 of file pugixml.cpp.
References utf8_writer::any(), PUGI__FN, gap::push(), and strconv_escape().
Referenced by strconv_pcdata_impl< opt_trim, opt_eol, opt_escape >::parse(), strconv_attribute_impl< opt_escape >::parse_eol(), strconv_attribute_impl< opt_escape >::parse_simple(), strconv_attribute_impl< opt_escape >::parse_wconv(), strconv_attribute_impl< opt_escape >::parse_wnorm(), and strconv_escape().
| PUGI__FN bool strcpy_insitu | ( | String & | dest, |
| Header & | header, | ||
| uintptr_t | header_mask, | ||
| const char_t * | source, | ||
| size_t | source_length ) |
Definition at line 2362 of file pugixml.cpp.
References xml_allocator::allocate_string(), xml_allocator::deallocate_string(), PUGI__FN, PUGI__GETPAGE_IMPL, xml_allocator::reserve(), strcpy_insitu(), and strcpy_insitu_allow().
Referenced by node_copy_string(), set_value_ascii(), set_value_bool(), set_value_integer(), and strcpy_insitu().
|
inline |
Definition at line 2345 of file pugixml.cpp.
References strcpy_insitu_allow(), strlength(), and xml_memory_page_contents_shared_mask.
Referenced by strcpy_insitu(), and strcpy_insitu_allow().
| PUGI__FN bool strequal | ( | const char_t * | src, |
| const char_t * | dst ) |
Definition at line 230 of file pugixml.cpp.
References PUGI__FN, and strequal().
Referenced by xpath_ast_node::eval_boolean(), xpath_string::operator!=(), xpath_string::operator==(), xpath_ast_node::step_push(), xpath_ast_node::step_push(), and strequal().
| PUGI__FN bool strequalrange | ( | const char_t * | lhs, |
| const char_t * | rhs, | ||
| size_t | count ) |
Definition at line 242 of file pugixml.cpp.
References PUGI__FN, and strequalrange().
Referenced by namespace_uri_predicate::operator()(), xpath_lexer_string::operator==(), and strequalrange().
| PUGI__FN PUGI__UNSIGNED_OVERFLOW U string_to_integer | ( | const char_t * | value, |
| U | minv, | ||
| U | maxv ) |
Definition at line 4483 of file pugixml.cpp.
References ct_space, PUGI__FN, PUGI__IS_CHARTYPE, PUGI__STATIC_ASSERT, PUGI__UNSIGNED_OVERFLOW, and string_to_integer().
Referenced by get_value_int(), get_value_uint(), and string_to_integer().
| PUGI__FN xpath_string string_value | ( | const xpath_node & | na, |
| xpath_allocator * | alloc ) |
Definition at line 7849 of file pugixml.cpp.
References xpath_string::append(), xpath_string::from_const(), PUGI__FN, string_value(), and xpath_string::xpath_string().
Referenced by xpath_ast_node::compare_eq(), xpath_ast_node::compare_rel(), xpath_ast_node::eval_number(), xpath_ast_node::eval_string(), and string_value().
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN size_t strlength | ( | const char_t * | s | ) |
Definition at line 218 of file pugixml.cpp.
References PUGI__FN, and strlength().
Referenced by xpath_string::data(), xpath_string::length(), new_xpath_variable(), node_copy_string(), node_output(), strcpy_insitu_allow(), strlength(), and xml_buffered_writer::write_string().
| PUGI__FN size_t strlength_wide | ( | const wchar_t * | s | ) |
Definition at line 252 of file pugixml.cpp.
References PUGI__FN, and strlength_wide().
Referenced by convert_path_heap(), and strlength_wide().
| void swap | ( | T & | lhs, |
| T & | rhs ) |
Definition at line 7340 of file pugixml.cpp.
References swap().
Referenced by xpath_ast_node::compare_eq(), median3(), partition3(), reverse(), and swap().
| PUGI__FN void text_output | ( | xml_buffered_writer & | writer, |
| const char_t * | s, | ||
| chartypex_t | type, | ||
| unsigned int | flags ) |
Definition at line 3953 of file pugixml.cpp.
References PUGI__FN, text_output(), and text_output_escaped().
Referenced by node_output_attributes(), node_output_simple(), node_output_start(), and text_output().
| PUGI__FN void text_output_cdata | ( | xml_buffered_writer & | writer, |
| const char_t * | s ) |
Definition at line 3961 of file pugixml.cpp.
References PUGI__FN, and text_output_cdata().
Referenced by node_output_simple(), and text_output_cdata().
| PUGI__FN void text_output_escaped | ( | xml_buffered_writer & | writer, |
| const char_t * | s, | ||
| chartypex_t | type ) |
Definition at line 3912 of file pugixml.cpp.
References PUGI__FN, PUGI__IS_CHARTYPEX, PUGI__SCANWHILE_UNROLL, and text_output_escaped().
Referenced by text_output(), and text_output_escaped().
| PUGI__FN void text_output_indent | ( | xml_buffered_writer & | writer, |
| const char_t * | indent, | ||
| size_t | indent_length, | ||
| unsigned int | depth ) |
Definition at line 3983 of file pugixml.cpp.
References PUGI__FN, and text_output_indent().
Referenced by node_output(), node_output_attributes(), and text_output_indent().
| PUGI__FN char_t tolower_ascii | ( | char_t | ch | ) |
Definition at line 7844 of file pugixml.cpp.
References PUGI__FN, and tolower_ascii().
Referenced by xpath_ast_node::eval_boolean(), and tolower_ascii().
| PUGI__FN char_t * translate | ( | char_t * | buffer, |
| const char_t * | from, | ||
| const char_t * | to, | ||
| size_t | to_length ) |
Definition at line 8442 of file pugixml.cpp.
References find_char(), PUGI__DMC_VOLATILE, PUGI__FN, and translate().
Referenced by xpath_ast_node::eval_string(), and translate().
| PUGI__FN char_t * translate_table | ( | char_t * | buffer, |
| const unsigned char * | table ) |
Definition at line 8496 of file pugixml.cpp.
References PUGI__FN, and translate_table().
Referenced by xpath_ast_node::eval_string(), and translate_table().
| PUGI__FN unsigned char * translate_table_generate | ( | xpath_allocator * | alloc, |
| const char_t * | from, | ||
| const char_t * | to ) |
Definition at line 8464 of file pugixml.cpp.
References xpath_allocator::allocate(), PUGI__FN, and translate_table_generate().
Referenced by xpath_ast_node::optimize_self(), and translate_table_generate().
| PUGI__FN void truncate_zeros | ( | char * | begin, |
| char * | end ) |
Definition at line 8136 of file pugixml.cpp.
References PUGI__FN, and truncate_zeros().
Referenced by convert_number_to_mantissa_exponent(), and truncate_zeros().
| I unique | ( | I | begin, |
| I | end ) |
Definition at line 7363 of file pugixml.cpp.
References unique().
Referenced by xpath_node_set_raw::remove_duplicates(), and unique().
| PUGI__FN xpath_node xpath_first | ( | const xpath_node * | begin, |
| const xpath_node * | end, | ||
| xpath_node_set::type_t | type ) |
Definition at line 8753 of file pugixml.cpp.
References min_element(), PUGI__FN, and xpath_first().
Referenced by xpath_node_set_raw::first(), and xpath_first().
| PUGI__NS_END PUGI__NS_BEGIN PUGI__FN xpath_node_set::type_t xpath_get_order | ( | const xpath_node * | begin, |
| const xpath_node * | end ) |
Definition at line 8714 of file pugixml.cpp.
References PUGI__FN, and xpath_get_order().
Referenced by xpath_get_order(), and xpath_sort().
| PUGI__FN xpath_node_set::type_t xpath_sort | ( | xpath_node * | begin, |
| xpath_node * | end, | ||
| xpath_node_set::type_t | type, | ||
| bool | rev ) |
Definition at line 8730 of file pugixml.cpp.
References PUGI__FN, reverse(), sort(), xpath_get_order(), and xpath_sort().
Referenced by xpath_node_set_raw::sort_do(), and xpath_sort().
| PUGI__FN size_t zero_terminate_buffer | ( | void * | buffer, |
| size_t | size, | ||
| xml_encoding | encoding ) |
Definition at line 4758 of file pugixml.cpp.
References get_wchar_encoding(), PUGI__FN, and zero_terminate_buffer().
Referenced by load_file_impl(), load_stream_impl(), and zero_terminate_buffer().
| const axis_t axis_to_type< N >::axis = N |
Definition at line 9378 of file pugixml.cpp.
Referenced by xpath_parser::alloc_node(), xpath_parser::parse_step(), carla::multigpu::ActorAppearances::Read(), carla::multigpu::MirroredVehicleParts::Read(), carla::multigpu::SensorStates::Read(), xpath_ast_node::step_do(), xpath_ast_node::step_fill(), xpath_ast_node::step_fill(), xpath_ast_node::step_fill(), TEST(), carla::multigpu::ActorAppearances::Write(), carla::multigpu::MirroredVehicleParts::Write(), carla::multigpu::SensorStates::Write(), and xpath_ast_node::xpath_ast_node().
|
static |
Definition at line 1846 of file pugixml.cpp.
|
static |
Definition at line 1876 of file pugixml.cpp.
|
static |
Definition at line 8576 of file pugixml.cpp.
|
static |
Definition at line 437 of file pugixml.cpp.
Referenced by xml_allocator::allocate_string(), and xml_allocator::deallocate_string().
| allocation_function xml_memory_management_function_storage< T >::allocate = default_allocate |
Definition at line 209 of file pugixml.cpp.
Referenced by pugi::set_memory_management_functions().
| deallocation_function xml_memory_management_function_storage< T >::deallocate = default_deallocate |
Definition at line 210 of file pugixml.cpp.
Referenced by pugi::set_memory_management_functions().
|
static |
Definition at line 441 of file pugixml.cpp.
Referenced by document_buffer_order(), node_copy_string(), and strcpy_insitu_allow().
|
static |
Definition at line 442 of file pugixml.cpp.
Referenced by node_copy_attribute(), and node_copy_contents().
|
static |
Definition at line 447 of file pugixml.cpp.
|
static |
Definition at line 500 of file pugixml.cpp.
Referenced by xml_allocator::allocate_memory(), xml_allocator::allocate_memory_oob(), and xml_allocator::allocate_string().
|
static |
Definition at line 444 of file pugixml.cpp.
|
static |
Definition at line 443 of file pugixml.cpp.
Referenced by node_copy_attribute(), and node_copy_contents().
|
static |
Definition at line 448 of file pugixml.cpp.
|
static |
Definition at line 7485 of file pugixml.cpp.
Referenced by xpath_allocator::allocate(), and xpath_allocator::reallocate().
|
static |
Definition at line 7477 of file pugixml.cpp.