php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
attr.c File Reference

Go to the source code of this file.

Functions

LXB_API lxb_dom_attr_data_tlxb_dom_attr_local_name_append (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
LXB_API lxb_dom_attr_data_tlxb_dom_attr_qualified_name_append (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
const lxb_ns_data_tlxb_ns_append (lexbor_hash_t *hash, const lxb_char_t *link, size_t length)
 
lxb_dom_attr_tlxb_dom_attr_interface_create (lxb_dom_document_t *document)
 
lxb_dom_attr_tlxb_dom_attr_interface_clone (lxb_dom_document_t *document, const lxb_dom_attr_t *attr)
 
lxb_dom_attr_tlxb_dom_attr_interface_destroy (lxb_dom_attr_t *attr)
 
lxb_status_t lxb_dom_attr_set_name (lxb_dom_attr_t *attr, const lxb_char_t *name, size_t length, bool to_lowercase)
 
lxb_status_t lxb_dom_attr_set_name_ns (lxb_dom_attr_t *attr, const lxb_char_t *link, size_t link_length, const lxb_char_t *name, size_t name_length, bool to_lowercase)
 
lxb_status_t lxb_dom_attr_set_value (lxb_dom_attr_t *attr, const lxb_char_t *value, size_t value_len)
 
lxb_status_t lxb_dom_attr_set_value_wo_copy (lxb_dom_attr_t *attr, lxb_char_t *value, size_t value_len)
 
lxb_status_t lxb_dom_attr_set_existing_value (lxb_dom_attr_t *attr, const lxb_char_t *value, size_t value_len)
 
lxb_status_t lxb_dom_attr_clone_name_value (lxb_dom_attr_t *attr_from, lxb_dom_attr_t *attr_to)
 
bool lxb_dom_attr_compare (lxb_dom_attr_t *first, lxb_dom_attr_t *second)
 
void lxb_dom_attr_remove (lxb_dom_attr_t *attr)
 
const lxb_dom_attr_data_tlxb_dom_attr_data_undef (void)
 
const lxb_dom_attr_data_tlxb_dom_attr_data_by_id (lexbor_hash_t *hash, lxb_dom_attr_id_t attr_id)
 
const lxb_dom_attr_data_tlxb_dom_attr_data_by_local_name (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
const lxb_dom_attr_data_tlxb_dom_attr_data_by_qualified_name (lexbor_hash_t *hash, const lxb_char_t *name, size_t length)
 
const lxb_char_tlxb_dom_attr_qualified_name (lxb_dom_attr_t *attr, size_t *len)
 
const lxb_char_tlxb_dom_attr_local_name_noi (lxb_dom_attr_t *attr, size_t *len)
 
const lxb_char_tlxb_dom_attr_value_noi (lxb_dom_attr_t *attr, size_t *len)
 

Function Documentation

◆ lxb_dom_attr_clone_name_value()

lxb_status_t lxb_dom_attr_clone_name_value ( lxb_dom_attr_t * attr_from,
lxb_dom_attr_t * attr_to )

Definition at line 285 of file attr.c.

◆ lxb_dom_attr_compare()

bool lxb_dom_attr_compare ( lxb_dom_attr_t * first,
lxb_dom_attr_t * second )

Definition at line 295 of file attr.c.

◆ lxb_dom_attr_data_by_id()

const lxb_dom_attr_data_t * lxb_dom_attr_data_by_id ( lexbor_hash_t * hash,
lxb_dom_attr_id_t attr_id )

Definition at line 411 of file attr.c.

◆ lxb_dom_attr_data_by_local_name()

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 )

Definition at line 425 of file attr.c.

◆ lxb_dom_attr_data_by_qualified_name()

const lxb_dom_attr_data_t * lxb_dom_attr_data_by_qualified_name ( lexbor_hash_t * hash,
const lxb_char_t * name,
size_t length )

Definition at line 444 of file attr.c.

◆ lxb_dom_attr_data_undef()

const lxb_dom_attr_data_t * lxb_dom_attr_data_undef ( void )

Definition at line 405 of file attr.c.

◆ lxb_dom_attr_interface_clone()

lxb_dom_attr_t * lxb_dom_attr_interface_clone ( lxb_dom_document_t * document,
const lxb_dom_attr_t * attr )

Definition at line 44 of file attr.c.

◆ lxb_dom_attr_interface_create()

lxb_dom_attr_t * lxb_dom_attr_interface_create ( lxb_dom_document_t * document)

Definition at line 26 of file attr.c.

◆ lxb_dom_attr_interface_destroy()

lxb_dom_attr_t * lxb_dom_attr_interface_destroy ( lxb_dom_attr_t * attr)

Definition at line 109 of file attr.c.

◆ lxb_dom_attr_local_name_append()

lxb_dom_attr_data_t * lxb_dom_attr_local_name_append ( lexbor_hash_t * hash,
const lxb_char_t * name,
size_t length )

Definition at line 358 of file attr.c.

◆ lxb_dom_attr_local_name_noi()

const lxb_char_t * lxb_dom_attr_local_name_noi ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 487 of file attr.c.

◆ lxb_dom_attr_qualified_name()

const lxb_char_t * lxb_dom_attr_qualified_name ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 463 of file attr.c.

◆ lxb_dom_attr_qualified_name_append()

lxb_dom_attr_data_t * lxb_dom_attr_qualified_name_append ( lexbor_hash_t * hash,
const lxb_char_t * name,
size_t length )

Definition at line 385 of file attr.c.

◆ lxb_dom_attr_remove()

void lxb_dom_attr_remove ( lxb_dom_attr_t * attr)

Definition at line 322 of file attr.c.

◆ lxb_dom_attr_set_existing_value()

lxb_status_t lxb_dom_attr_set_existing_value ( lxb_dom_attr_t * attr,
const lxb_char_t * value,
size_t value_len )

Definition at line 278 of file attr.c.

◆ lxb_dom_attr_set_name()

lxb_status_t lxb_dom_attr_set_name ( lxb_dom_attr_t * attr,
const lxb_char_t * name,
size_t length,
bool to_lowercase )

Definition at line 130 of file attr.c.

◆ lxb_dom_attr_set_name_ns()

lxb_status_t lxb_dom_attr_set_name_ns ( lxb_dom_attr_t * attr,
const lxb_char_t * link,
size_t link_length,
const lxb_char_t * name,
size_t name_length,
bool to_lowercase )

Definition at line 156 of file attr.c.

◆ lxb_dom_attr_set_value()

lxb_status_t lxb_dom_attr_set_value ( lxb_dom_attr_t * attr,
const lxb_char_t * value,
size_t value_len )

Definition at line 210 of file attr.c.

◆ lxb_dom_attr_set_value_wo_copy()

lxb_status_t lxb_dom_attr_set_value_wo_copy ( lxb_dom_attr_t * attr,
lxb_char_t * value,
size_t value_len )

Definition at line 259 of file attr.c.

◆ lxb_dom_attr_value_noi()

const lxb_char_t * lxb_dom_attr_value_noi ( lxb_dom_attr_t * attr,
size_t * len )

Definition at line 493 of file attr.c.

◆ lxb_ns_append()

const lxb_ns_data_t * lxb_ns_append ( lexbor_hash_t * hash,
const lxb_char_t * link,
size_t length )

Definition at line 17 of file ns.c.