Home
last modified time | relevance | path

Searched refs:anb (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Danb.c61 return anb; in lxb_css_syntax_anb_parse()
73 return anb; in lxb_css_syntax_anb_parse()
86 return anb; in lxb_css_syntax_anb_parse()
231 anb->a = 1; in lxb_css_syntax_anb_state_ident()
244 anb->a = -1; in lxb_css_syntax_anb_state_ident()
249 anb->a = 2; in lxb_css_syntax_anb_state_ident()
250 anb->b = 1; in lxb_css_syntax_anb_state_ident()
258 anb->a = 2; in lxb_css_syntax_anb_state_ident()
259 anb->b = 0; in lxb_css_syntax_anb_state_ident()
368 anb->b = -anb->b; in lxb_css_syntax_anb_state_ident_data()
[all …]
H A Danb.h31 lxb_css_syntax_anb_t *anb);
34 lxb_css_syntax_anb_serialize(lxb_css_syntax_anb_t *anb,
38 lxb_css_syntax_anb_serialize_char(lxb_css_syntax_anb_t *anb,
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.c102 lxb_selectors_anb_calc(lxb_css_selector_anb_of_t *anb, size_t index);
431 const lxb_css_selector_anb_of_t *anb; in lxb_selectors_state_find() local
444 anb = pseudo->data; in lxb_selectors_state_find()
446 if (anb->of != NULL) { in lxb_selectors_state_find()
674 lxb_css_selector_anb_of_t *anb; in lxb_selectors_state_pseudo_class_function() local
742 anb = pseudo->data; in lxb_selectors_state_pseudo_class_function()
744 current->entry->selector = anb->of->last; in lxb_selectors_state_pseudo_class_function()
1879 lxb_selectors_anb_calc(lxb_css_selector_anb_of_t *anb, size_t index) in lxb_selectors_anb_calc() argument
1883 if (anb->anb.a == 0) { in lxb_selectors_anb_calc()
1884 if (anb->anb.b >= 0 && (size_t) anb->anb.b == index) { in lxb_selectors_anb_calc()
[all …]
/php-src/ext/dom/lexbor/lexbor/selectors-adapted/
H A Dselectors.c200 lxb_selectors_anb_calc(const lxb_css_selector_anb_of_t *anb, size_t index);
499 const lxb_css_selector_anb_of_t *anb; in lxb_selectors_state_find() local
512 anb = pseudo->data; in lxb_selectors_state_find()
514 if (anb->of != NULL) { in lxb_selectors_state_find()
726 lxb_css_selector_anb_of_t *anb; in lxb_selectors_state_pseudo_class_function() local
794 anb = pseudo->data; in lxb_selectors_state_pseudo_class_function()
796 current->entry->selector = anb->of->last; in lxb_selectors_state_pseudo_class_function()
1900 lxb_selectors_anb_calc(const lxb_css_selector_anb_of_t *anb, size_t index) in lxb_selectors_anb_calc() argument
1904 if (anb->anb.a == 0) { in lxb_selectors_anb_calc()
1905 if (anb->anb.b >= 0 && (size_t) anb->anb.b == index) { in lxb_selectors_anb_calc()
[all …]
/php-src/ext/dom/lexbor/lexbor/css/selectors/
H A Dselector.h78 lxb_css_syntax_anb_t anb; member
H A Dpseudo_state.c202 parser->status = lxb_css_syntax_anb_handler(parser, token, &anbof->anb); in lxb_css_selectors_state_pseudo_anb()
H A Dselector.c853 status = lxb_css_syntax_anb_serialize(&anbof->anb, cb, ctx); in lxb_css_selector_serialize_anb_of()
/php-src/ext/dom/
H A Dconfig.w3235 …ADD_SOURCES("ext/dom/lexbor/lexbor/css/syntax", "state.c parser.c syntax.c anb.c tokenizer.c token…
H A Dconfig.m439 $LEXBOR_DIR/css/syntax/anb.c

Completed in 40 milliseconds