Home
last modified time | relevance | path

Searched refs:trg (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.c1175 if (trg.str.length == 0) { in lxb_selectors_match()
1176 dom_lxb_str_wrapper_release(&trg); in lxb_selectors_match()
1182 dom_lxb_str_wrapper_release(&trg); in lxb_selectors_match()
1226 if (trg.str.length == src->length) { in lxb_selectors_match_id()
1233 dom_lxb_str_wrapper_release(&trg); in lxb_selectors_match_id()
1300 if (trg->length == src->length) { in lxb_selectors_match_attribute_value()
1316 if (trg->length == src->length) { in lxb_selectors_match_attribute_value()
1326 if (trg->length > src->length) { in lxb_selectors_match_attribute_value()
1377 return lexbor_str_data_ncasecmp_contain(trg->data, trg->length, in lxb_selectors_match_attribute_value()
1381 return lexbor_str_data_ncmp_contain(trg->data, trg->length, in lxb_selectors_match_attribute_value()
[all …]
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c1173 const lexbor_str_t *trg, *src; in lxb_selectors_match_id() local
1182 trg = element->attr_id->value; in lxb_selectors_match_id()
1185 return trg->length == src->length in lxb_selectors_match_id()
1250 const lexbor_str_t *trg, *src; in lxb_selectors_match_attribute() local
1277 trg = dom_attr->value; in lxb_selectors_match_attribute()
1284 if (trg == NULL) { in lxb_selectors_match_attribute()
1285 trg = &lxb_blank_str; in lxb_selectors_match_attribute()
1292 if (trg->length == src->length) { in lxb_selectors_match_attribute()
1318 if (trg->length > src->length) { in lxb_selectors_match_attribute()
1369 return lexbor_str_data_ncasecmp_contain(trg->data, trg->length, in lxb_selectors_match_attribute()
[all …]

Completed in 13 milliseconds