10#define LEXBOR_STR_RES_MAP_LOWERCASE
11#define LEXBOR_STR_RES_ANSI_REPLACEMENT_CHARACTER
12#define LEXBOR_STR_RES_MAP_HEX
13#define LEXBOR_STR_RES_MAP_NUM
148 static const unsigned rep_len =
sizeof(lexbor_str_res_ansi_replacement_character) - 1;
163 memcpy(
p, lexbor_str_res_ansi_replacement_character, rep_len);
267 goto set_name_pub_sys_empty;
273 doc_type->
name =
attr->name->attr_id;
278 goto set_pub_sys_empty;
310 goto set_pub_sys_empty;
329set_name_pub_sys_empty:
363 if (
attr->name->attr_id ==
data->attr_id) {
@ LXB_STATUS_ERROR_MEMORY_ALLOCATION
void * lexbor_dobject_calloc(lexbor_dobject_t *dobject)
void * lexbor_dobject_free(lexbor_dobject_t *dobject, void *data)
struct lxb_dom_document_type lxb_dom_document_type_t
memset(ptr, 0, type->size)
struct lexbor_hash lexbor_hash_t
hash(string $algo, string $data, bool $binary=false, array $options=[])
struct lxb_html_tokenizer lxb_html_tokenizer_t
void lxb_html_token_attr_remove(lxb_html_token_t *token, lxb_html_token_attr_t *attr)
lxb_html_token_attr_t * lxb_html_token_find_attr(lxb_html_tokenizer_t *tkz, lxb_html_token_t *token, const lxb_char_t *name, size_t name_len)
lxb_status_t lxb_html_token_data_skip_ws_begin(lxb_html_token_t *token)
lxb_status_t lxb_html_token_make_text_drop_null(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
lxb_html_token_t * lxb_html_token_destroy(lxb_html_token_t *token, lexbor_dobject_t *dobj)
void lxb_html_token_attr_delete(lxb_html_token_t *token, lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj)
lxb_status_t lxb_html_token_data_split_ws_begin(lxb_html_token_t *token, lxb_html_token_t *ws_token)
lxb_html_token_t * lxb_html_token_create_eof_noi(lexbor_dobject_t *dobj)
lxb_html_token_t * lxb_html_token_create(lexbor_dobject_t *dobj)
lxb_status_t lxb_html_token_make_text(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
lxb_html_token_attr_t * lxb_html_token_attr_append(lxb_html_token_t *token, lexbor_dobject_t *dobj)
lxb_status_t lxb_html_token_doctype_parse(lxb_html_token_t *token, lxb_dom_document_type_t *doc_type)
void lxb_html_token_clean_noi(lxb_html_token_t *token)
lxb_status_t lxb_html_token_make_text_replace_null(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
const lxb_tag_data_t * lxb_tag_append_lower(lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
lxb_status_t lxb_html_token_data_skip_one_newline_begin(lxb_html_token_t *token)
lxb_inline lxb_html_token_t * lxb_html_token_create_eof(lexbor_dobject_t *dobj)
lxb_inline void lxb_html_token_clean(lxb_html_token_t *token)
const lxb_dom_attr_data_t * lxb_dom_attr_data_by_local_name(lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
unsigned const char * end
lxb_char_t * lexbor_str_append(lexbor_str_t *str, lexbor_mraw_t *mraw, const lxb_char_t *buff, size_t length)
lxb_char_t * lexbor_str_init(lexbor_str_t *str, lexbor_mraw_t *mraw, size_t size)
lxb_dom_document_t * owner_document
lxb_html_token_attr_t * next
const lxb_char_t * text_end
const lxb_char_t * text_start
lxb_html_token_attr_t * attr_first
lxb_html_token_attr_t * attr_last
lxb_html_token_attr_t * lxb_html_token_attr_destroy(lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj)
lxb_html_token_attr_t * lxb_html_token_attr_create(lexbor_dobject_t *dobj)
struct lxb_html_token_attr lxb_html_token_attr_t
unsigned int lxb_status_t
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)