Home
last modified time | relevance | path

Searched refs:rule (Results 1 – 25 of 28) sorted by relevance

12

/php-src/ext/dom/lexbor/lexbor/css/syntax/
H A Dparser.c152 return rule->phase(parser, token, rule); in lxb_css_syntax_parser_token()
259 return rule; in lxb_css_syntax_parser_list_rules_push()
304 return rule; in lxb_css_syntax_parser_at_rule_push()
345 return rule; in lxb_css_syntax_parser_qualified_push()
713 rule->state = rule->cbx.list_rules->next; in lxb_css_syntax_parser_list_rules_back()
731 if (rule->block_end == token->type && rule->deep == 0) { in lxb_css_syntax_parser_at_rule()
984 rule->state = rule->cbx.cb->failed; in lxb_css_syntax_parser_declarations()
1007 rule->state = rule->cbx.cb->failed; in lxb_css_syntax_parser_declarations()
1337 rule->state = rule->cbx.cb->state; in lxb_css_syntax_parser_declarations_next()
1742 rule->phase = rule->back; in lxb_css_syntax_parser_start_block()
[all …]
H A Dparser.h95 lxb_css_syntax_rule_t *rule);
100 lxb_css_syntax_rule_t *rule);
H A Dsyntax.c32 lxb_css_syntax_rule_t *rule; in lxb_css_syntax_parse_list_rules() local
43 rule = lxb_css_syntax_parser_list_rules_push(parser, NULL, NULL, cb, in lxb_css_syntax_parse_list_rules()
46 if (rule == NULL) { in lxb_css_syntax_parse_list_rules()
H A Danb.c54 lxb_css_syntax_rule_t *rule; in lxb_css_syntax_anb_parse() local
69 rule = lxb_css_syntax_parser_pipe_push(parser, NULL, in lxb_css_syntax_anb_parse()
72 if (rule == NULL) { in lxb_css_syntax_anb_parse()
H A Dsyntax.h22 lxb_css_syntax_rule_t *rule);
/php-src/ext/dom/lexbor/lexbor/css/
H A Drule.h20 #define lxb_css_rule(rule) ((lxb_css_rule_t *) (rule)) argument
21 #define lxb_css_rule_list(rule) ((lxb_css_rule_list_t *) (rule)) argument
22 #define lxb_css_rule_at(rule) ((lxb_css_rule_at_t *) (rule)) argument
23 #define lxb_css_rule_style(rule) ((lxb_css_rule_style_t *) (rule)) argument
24 #define lxb_css_rule_bad_style(rule) ((lxb_css_rule_bad_style_t *) (rule)) argument
26 #define lxb_css_rule_declaration(rule) ((lxb_css_rule_declaration_t *) (rule)) argument
57 lxb_css_rule_t rule; member
64 lxb_css_rule_t rule; member
92 lxb_css_rule_t rule; member
101 lxb_css_rule_t rule; member
[all …]
H A Dparser.c288 lxb_css_syntax_rule_t *rule = parser->rules; in lxb_css_parser_failed() local
290 rule->state = rule->cbx.cb->failed; in lxb_css_parser_failed()
291 rule->failed = true; in lxb_css_parser_failed()
/php-src/ext/intl/tests/
H A Drbbiter_getRuleStatus_basic.phpt28 "rule status: {$rbbi->getRuleStatus()}\n";
34 rule status: 0
36 rule status: 1
38 rule status: 42
40 rule status: 0
42 rule status: 42
/php-src/ext/dom/lexbor/lexbor/html/interfaces/
H A Ddocument.c448 lxb_css_rule_t *rule; in lxb_html_document_stylesheet_apply() local
451 rule = sst->root; in lxb_html_document_stylesheet_apply()
458 rule = list->first; in lxb_html_document_stylesheet_apply()
460 while (rule != NULL) { in lxb_html_document_stylesheet_apply()
475 rule = rule->next; in lxb_html_document_stylesheet_apply()
498 lxb_css_rule_t *rule; in lxb_html_document_stylesheet_remove() local
502 rule = sst->root; in lxb_html_document_stylesheet_remove()
509 rule = list->first; in lxb_html_document_stylesheet_remove()
526 rule = rule->next; in lxb_html_document_stylesheet_remove()
547 lxb_css_rule_t *rule; in lxb_html_document_element_styles_attach() local
[all …]
H A Delement.c384 lxb_css_rule_t *rule; in lxb_html_element_style_list_append() local
387 rule = list->first; in lxb_html_element_style_list_append()
389 while (rule != NULL) { in lxb_html_element_style_list_append()
390 if (rule->type != LXB_CSS_RULE_DECLARATION) { in lxb_html_element_style_list_append()
394 declr = lxb_css_rule_declaration(rule); in lxb_html_element_style_list_append()
403 rule = rule->next; in lxb_html_element_style_list_append()
535 if (((lxb_css_rule_declaration_t *) weak->value)->rule.parent in lxb_html_element_style_remove_by_list()
555 if (((lxb_css_rule_declaration_t *) style->entry.value)->rule.parent in lxb_html_element_style_remove_by_list()
/php-src/ext/dom/lexbor/patches/
H A D0006-Patch-out-unused-CSS-style-code.patch7 source/lexbor/css/rule.h | 2 ++
14 diff --git a/source/lexbor/css/rule.h b/source/lexbor/css/rule.h
16 --- a/source/lexbor/css/rule.h
17 +++ b/source/lexbor/css/rule.h
18 @@ -339,6 +339,7 @@ lxb_css_rule_ref_dec(lxb_css_rule_t *rule)
20 lxb_css_rule_ref_dec_destroy(lxb_css_rule_t *rule)
23 if (rule->ref_count > 0) {
24 rule->ref_count--;
26 @@ -346,6 +347,7 @@ lxb_css_rule_ref_dec_destroy(lxb_css_rule_t *rule)
27 if (rule->ref_count == 0) {
[all …]
/php-src/Zend/tests/traits/
H A Dbug60165d.phpt21 Fatal error: A precedence rule was defined for A::bar but this method does not exist in %s on line …
/php-src/ext/opcache/jit/ir/
H A Dgen_ir_fold_hash.c249 uint32_t rule[MAX_RULES]; in main() local
280 rule[rules] = line; in main()
296 printf("\tIR_RULE_%d,\n", rule[i]); in main()
H A Dir_save.c301 uint32_t rule = ctx->rules[i]; in ir_save() local
302 uint32_t id = rule & IR_RULE_MASK; in ir_save()
314 if (rule & IR_FUSED) { in ir_save()
317 if (rule & IR_SKIPPED) { in ir_save()
320 if (rule & IR_SIMPLE) { in ir_save()
H A Dir_x86.dasc1581 if (!rule) {
1584 if (rule >= IR_LEA_OB && rule <= IR_LEA_SI_B) {
1986 if (!rule) {
2028 if (!rule) {
2065 if (!rule) {
2339 if (rule) {
2340 return rule;
2387 if (!rule) {
10198 rule += n;
10319 uint32_t *rule;
[all …]
H A Dir_dump.c674 uint32_t rule = ctx->rules[i]; in ir_dump_codegen() local
675 uint32_t id = rule & IR_RULE_MASK; in ir_dump_codegen()
683 if (rule & IR_FUSED) { in ir_dump_codegen()
686 if (rule & IR_SKIPPED) { in ir_dump_codegen()
689 if (rule & IR_SIMPLE) { in ir_dump_codegen()
H A Dir_emit.c1019 uint32_t rule = ctx->rules[ref]; in ir_match() local
1021 if (!rule) { in ir_match()
1022 ctx->rules[ref] = rule = ir_match_insn(ctx, ref); in ir_match()
1024 ir_match_insn2(ctx, ref, rule); in ir_match()
H A Dir_aarch64.dasc339 uint32_t rule = ir_rule(ctx, ref);
346 switch (rule & IR_RULE_MASK) {
416 if (rule == IR_SHIFT_CONST
421 } else if (rule == IR_SHIFT
5559 uint32_t *rule, insn_flags;
5596 && *rule != IR_GUARD_CMP_INT
5597 && *rule != IR_GUARD_CMP_FP) {
5725 rule += n;
5845 uint32_t *rule;
5937 rule = ctx->rules + i;
[all …]
H A Dir_ra.c1985 uint32_t *rule = ctx->rules + 1; in ir_coalesce() local
1988 for (i = 1; i < ctx->insns_count; rule++, i++) { in ir_coalesce()
1989 if ((*rule) & (IR_MAY_SWAP|IR_MAY_REUSE)) { in ir_coalesce()
1992 if ((*rule) & IR_MAY_SWAP) { in ir_coalesce()
2002 IR_ASSERT((*rule) & IR_MAY_REUSE); in ir_coalesce()
/php-src/ext/dom/lexbor/lexbor/css/selectors/
H A Dpseudo_state.c221 lxb_css_syntax_rule_t *rule; in lxb_css_selectors_state_pseudo_of_begin() local
271 rule = lxb_css_syntax_parser_components_push(parser, token, in lxb_css_selectors_state_pseudo_of_begin()
275 if (rule == NULL) { in lxb_css_selectors_state_pseudo_of_begin()
H A Dselectors.c202 lxb_css_syntax_rule_t *rule; in lxb_css_selectors_parse_process() local
206 rule = lxb_css_syntax_parser_components_push(parser, NULL, NULL, in lxb_css_selectors_parse_process()
209 if (rule == NULL) { in lxb_css_selectors_parse_process()
H A Dstate.c1514 lxb_css_syntax_rule_t *rule; in lxb_css_selectors_state_pseudo_class_function() local
1560 rule = lxb_css_syntax_parser_function_push(parser, token, success, in lxb_css_selectors_state_pseudo_class_function()
1562 if (rule == NULL) { in lxb_css_selectors_state_pseudo_class_function()
1643 lxb_css_syntax_rule_t *rule; in lxb_css_selectors_state_pseudo_element_function() local
1666 rule = lxb_css_syntax_parser_function_push(parser, token, success, in lxb_css_selectors_state_pseudo_element_function()
1668 if (rule == NULL) { in lxb_css_selectors_state_pseudo_element_function()
/php-src/Zend/
H A Dzend_vm_gen.php2288 foreach ($a as $rule) {
2289 $n = strpos($rule, "=");
2291 $id = trim(substr($rule, 0, $n));
2292 $val = trim(substr($rule, $n+1));
2302 switch ($rule) {
2327 $used_extra_spec[$rule] = 1;
/php-src/docs/
H A Drelease-process.md969 There is no rule for how long the call for volunteers must remain open. We
/php-src/build/
H A Dphp.m4283 dnl Create a rule for the object/source combo.

Completed in 116 milliseconds

12