/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | parser.c | 32 lxb_html_parser_init(lxb_html_parser_t *parser) in lxb_html_parser_init() 66 lxb_html_parser_clean(lxb_html_parser_t *parser) in lxb_html_parser_clean() 79 lxb_html_parser_destroy(lxb_html_parser_t *parser) in lxb_html_parser_destroy() 92 lxb_html_parser_ref(lxb_html_parser_t *parser) in lxb_html_parser_ref() 104 lxb_html_parser_unref(lxb_html_parser_t *parser) in lxb_html_parser_unref() 355 lxb_html_parse_chunk_prepare(lxb_html_parser_t *parser, in lxb_html_parse_chunk_prepare() 376 lxb_html_parse_chunk_begin(lxb_html_parser_t *parser) in lxb_html_parse_chunk_begin() 419 lxb_html_parse_chunk_end(lxb_html_parser_t *parser) in lxb_html_parse_chunk_end() 444 lxb_html_parser_tree_noi(lxb_html_parser_t *parser) in lxb_html_parser_tree_noi() 450 lxb_html_parser_status_noi(lxb_html_parser_t *parser) in lxb_html_parser_status_noi() [all …]
|
H A D | parser.h | 108 lxb_html_parser_tokenizer(lxb_html_parser_t *parser) in lxb_html_parser_tokenizer() 114 lxb_html_parser_tree(lxb_html_parser_t *parser) in lxb_html_parser_tree() 120 lxb_html_parser_status(lxb_html_parser_t *parser) in lxb_html_parser_status() 126 lxb_html_parser_state(lxb_html_parser_t *parser) in lxb_html_parser_state() 132 lxb_html_parser_scripting(lxb_html_parser_t *parser) in lxb_html_parser_scripting() 138 lxb_html_parser_scripting_set(lxb_html_parser_t *parser, bool scripting) in lxb_html_parser_scripting_set()
|
/php-src/ext/dom/lexbor/lexbor/css/ |
H A D | parser.h | 256 lxb_css_parser_status(lxb_css_parser_t *parser) in lxb_css_parser_status() 262 lxb_css_parser_memory(lxb_css_parser_t *parser) in lxb_css_parser_memory() 274 lxb_css_parser_selectors(lxb_css_parser_t *parser) in lxb_css_parser_selectors() 287 lxb_css_parser_is_running(lxb_css_parser_t *parser) in lxb_css_parser_is_running() 315 lxb_css_parser_is_failed(lxb_css_parser_t *parser) in lxb_css_parser_is_failed() 321 lxb_css_parser_set_ok(lxb_css_parser_t *parser) in lxb_css_parser_set_ok() 345 lxb_css_parser_state(lxb_css_parser_t *parser) in lxb_css_parser_state() 371 lxb_css_parser_context(lxb_css_parser_t *parser) in lxb_css_parser_context() 389 lxb_css_parser_rule_deep(lxb_css_parser_t *parser) in lxb_css_parser_rule_deep() 454 lxb_css_parser_states_up(lxb_css_parser_t *parser) in lxb_css_parser_states_up() [all …]
|
H A D | parser.c | 104 lxb_css_parser_clean(lxb_css_parser_t *parser) in lxb_css_parser_clean() 120 lxb_css_parser_erase(lxb_css_parser_t *parser) in lxb_css_parser_erase() 166 lxb_css_parser_states_push(lxb_css_parser_t *parser, in lxb_css_parser_states_push() 208 lxb_css_parser_states_next(lxb_css_parser_t *parser, in lxb_css_parser_states_next() 225 lxb_css_parser_types_push(lxb_css_parser_t *parser, in lxb_css_parser_types_push() 257 lxb_css_parser_stop(lxb_css_parser_t *parser) in lxb_css_parser_stop() 272 lxb_css_parser_unexpected(lxb_css_parser_t *parser) in lxb_css_parser_unexpected() 279 lxb_css_parser_success(lxb_css_parser_t *parser) in lxb_css_parser_success() 286 lxb_css_parser_failed(lxb_css_parser_t *parser) in lxb_css_parser_failed() 307 lxb_css_parser_unexpected_data(lxb_css_parser_t *parser, in lxb_css_parser_unexpected_data() [all …]
|
H A D | state.c | 13 lxb_css_state_success(lxb_css_parser_t *parser, in lxb_css_state_success() 32 lxb_css_state_failed(lxb_css_parser_t *parser, in lxb_css_state_failed() 47 lxb_css_state_stop(lxb_css_parser_t *parser, in lxb_css_state_stop()
|
H A D | css.c | 157 lxb_css_make_data(lxb_css_parser_t *parser, lexbor_str_t *str, in lxb_css_make_data()
|
/php-src/ext/dom/lexbor/lexbor/css/selectors/ |
H A D | pseudo_state.c | 38 lxb_css_selectors_state_pseudo_anb_begin(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_anb_begin() 56 lxb_css_selectors_state_pseudo_class_function__undef(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function__undef() 75 lxb_css_selectors_state_pseudo_class_function_dir(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function_dir() 82 lxb_css_selectors_state_pseudo_class_function_has(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function_has() 94 lxb_css_selectors_state_pseudo_class_function_is(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function_is() 106 lxb_css_selectors_state_pseudo_class_function_lang(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function_lang() 113 lxb_css_selectors_state_pseudo_class_function_not(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_class_function_not() 186 lxb_css_selectors_state_pseudo_anb(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_anb() 217 lxb_css_selectors_state_pseudo_of_begin(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_of_begin() 291 lxb_css_selectors_state_pseudo_of_end(lxb_css_parser_t *parser, in lxb_css_selectors_state_pseudo_of_end() [all …]
|
H A D | state.c | 211 lxb_css_selectors_done(lxb_css_parser_t *parser) in lxb_css_selectors_done() 343 lxb_css_selectors_state_relative(lxb_css_parser_t *parser, in lxb_css_selectors_state_relative() 453 lxb_css_selectors_state_complex(lxb_css_parser_t *parser, in lxb_css_selectors_state_complex() 616 lxb_css_selectors_state_compound(lxb_css_parser_t *parser, in lxb_css_selectors_state_compound() 927 lxb_css_selectors_state_simple(lxb_css_parser_t *parser, in lxb_css_selectors_state_simple() 1052 lxb_css_selectors_state_hash(lxb_css_parser_t *parser, in lxb_css_selectors_state_hash() 1087 lxb_css_selectors_state_class(lxb_css_parser_t *parser, in lxb_css_selectors_state_class() 1147 lxb_css_selectors_state_element(lxb_css_parser_t *parser, in lxb_css_selectors_state_element() 1373 lxb_css_selectors_state_ns(lxb_css_parser_t *parser, in lxb_css_selectors_state_ns() 1391 lxb_css_selectors_state_ns_ident(lxb_css_parser_t *parser, in lxb_css_selectors_state_ns_ident() [all …]
|
H A D | selectors.c | 134 lxb_css_selectors_parse(lxb_css_parser_t *parser, in lxb_css_selectors_parse() 157 lxb_css_selectors_parse_simple_list(lxb_css_parser_t *parser, in lxb_css_selectors_parse_simple_list() 173 lxb_css_selectors_parse_prepare(lxb_css_parser_t *parser, in lxb_css_selectors_parse_prepare() 198 lxb_css_selectors_parse_process(lxb_css_parser_t *parser, in lxb_css_selectors_parse_process() 222 lxb_css_selectors_parse_finish(lxb_css_parser_t *parser) in lxb_css_selectors_parse_finish() 231 lxb_css_selectors_parse_list(lxb_css_parser_t *parser, in lxb_css_selectors_parse_list() 293 lxb_css_selectors_components_end(lxb_css_parser_t *parser, in lxb_css_selectors_components_end() 313 lxb_css_selectors_parse_complex(lxb_css_parser_t *parser, in lxb_css_selectors_parse_complex() 321 lxb_css_selectors_parse_compound(lxb_css_parser_t *parser, in lxb_css_selectors_parse_compound() 329 lxb_css_selectors_parse_simple(lxb_css_parser_t *parser, in lxb_css_selectors_parse_simple() [all …]
|
H A D | state.h | 72 lxb_css_selectors_state_fail(lxb_css_parser_t *parser) in lxb_css_selectors_state_fail()
|
/php-src/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | parser.c | 116 lxb_css_syntax_parser_run(lxb_css_parser_t *parser) in lxb_css_syntax_parser_run() 142 lxb_css_syntax_parser_token(lxb_css_parser_t *parser) in lxb_css_syntax_parser_token() 156 lxb_css_syntax_parser_token_wo_ws(lxb_css_parser_t *parser) in lxb_css_syntax_parser_token_wo_ws() 171 lxb_css_syntax_parser_consume(lxb_css_parser_t *parser) in lxb_css_syntax_parser_consume() 186 lxb_css_parser_t *parser = ctx; in lxb_css_syntax_parser_tkz_cb() local 550 lxb_css_syntax_parser_pipe_push(lxb_css_parser_t *parser, in lxb_css_syntax_parser_pipe_push() 584 lxb_css_syntax_parser_stack_pop(lxb_css_parser_t *parser) in lxb_css_syntax_parser_stack_pop() 719 lxb_css_syntax_parser_at_rule(lxb_css_parser_t *parser, in lxb_css_syntax_parser_at_rule() 1644 lxb_css_syntax_parser_block(lxb_css_parser_t *parser, in lxb_css_syntax_parser_block() 1711 lxb_css_syntax_parser_pipe(lxb_css_parser_t *parser, in lxb_css_syntax_parser_pipe() [all …]
|
H A D | anb.c | 49 lxb_css_syntax_anb_parse(lxb_css_parser_t *parser, in lxb_css_syntax_anb_parse() 90 lxb_css_syntax_anb_state(lxb_css_parser_t *parser, in lxb_css_syntax_anb_state() 110 lxb_css_syntax_anb_end(lxb_css_parser_t *parser, in lxb_css_syntax_anb_end() 118 lxb_css_syntax_anb_fail(lxb_css_parser_t *parser, in lxb_css_syntax_anb_fail() 129 lxb_css_syntax_anb_handler(lxb_css_parser_t *parser, in lxb_css_syntax_anb_handler() 208 lxb_css_syntax_anb_state_ident(lxb_css_parser_t *parser, in lxb_css_syntax_anb_state_ident() 272 lxb_css_syntax_anb_state_ident_data(lxb_css_parser_t *parser, in lxb_css_syntax_anb_state_ident_data()
|
H A D | syntax.c | 26 lxb_css_syntax_parse_list_rules(lxb_css_parser_t *parser, in lxb_css_syntax_parse_list_rules() 67 lxb_css_syntax_stack_expand(lxb_css_parser_t *parser, size_t count) in lxb_css_syntax_stack_expand()
|
/php-src/ext/xml/ |
H A D | xml.stub.php | 153 function xml_set_object(XMLParser $parser, object $object): true {} 161 function xml_set_default_handler(XMLParser $parser, callable|string|null $handler): true {} 165 function xml_set_notation_decl_handler(XMLParser $parser, callable|string|null $handler): true {} 173 function xml_parse(XMLParser $parser, string $data, bool $is_final = false): int {} 181 function xml_get_error_code(XMLParser $parser): int {} 186 function xml_get_current_line_number(XMLParser $parser): int {} 188 function xml_get_current_column_number(XMLParser $parser): int {} 190 function xml_get_current_byte_index(XMLParser $parser): int {} 192 function xml_parser_free(XMLParser $parser): bool {} 195 function xml_parser_set_option(XMLParser $parser, int $option, $value): bool {} [all …]
|
H A D | compat.c | 40 XML_Parser parser = (XML_Parser) user; in start_element_handler() local 76 XML_Parser parser = (XML_Parser) user; in start_element_handler_ns() local 235 XML_Parser parser = (XML_Parser) user; in cdata_handler() local 250 XML_Parser parser = (XML_Parser) user; in pi_handler() local 272 XML_Parser parser = (XML_Parser) user; in unparsed_entity_decl_handler() local 284 XML_Parser parser = (XML_Parser) user; in notation_decl_handler() local 309 XML_Parser parser = (XML_Parser) user; in comment_handler() local 440 XML_Parser parser; in XML_ParserCreate_MM() local 477 XML_GetUserData(XML_Parser parser) in XML_GetUserData() 557 XML_GetErrorCode(XML_Parser parser) in XML_GetErrorCode() [all …]
|
H A D | xml.c | 64 XML_Parser parser; local 1006 xml_parser *parser; in php_xml_parser_create_impl() local 1133 xml_parser *parser; in PHP_FUNCTION() local 1169 xml_parser *parser; in PHP_FUNCTION() local 1329 xml_parser *parser; in PHP_FUNCTION() local 1352 xml_parser *parser; in PHP_FUNCTION() local 1401 xml_parser *parser; in PHP_FUNCTION() local 1433 xml_parser *parser; in PHP_FUNCTION() local 1448 xml_parser *parser; in PHP_FUNCTION() local 1463 xml_parser *parser; in PHP_FUNCTION() local [all …]
|
/php-src/ext/json/ |
H A D | json_parser.y | 221 static int php_json_parser_array_append(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append() 227 static int php_json_parser_object_create(php_json_parser *parser, zval *object) in php_json_parser_object_create() 258 static int php_json_parser_array_create_validate(php_json_parser *parser, zval *array) in php_json_parser_array_create_validate() 264 static int php_json_parser_array_append_validate(php_json_parser *parser, zval *array, zval *zvalue) in php_json_parser_array_append_validate() 269 static int php_json_parser_object_create_validate(php_json_parser *parser, zval *object) in php_json_parser_object_create_validate() 280 static int php_json_yylex(union YYSTYPE *value, php_json_parser *parser) in php_json_yylex() 299 static void php_json_yyerror(php_json_parser *parser, char const *msg) in php_json_yyerror() 306 PHP_JSON_API php_json_error_code php_json_parser_error_code(const php_json_parser *parser) in php_json_parser_error_code() 335 PHP_JSON_API void php_json_parser_init_ex(php_json_parser *parser, in php_json_parser_init_ex() 351 PHP_JSON_API void php_json_parser_init(php_json_parser *parser, in php_json_parser_init() [all …]
|
H A D | json.c | 182 php_json_parser parser; in php_json_decode_ex() local 204 php_json_parser parser; in php_json_validate_ex() local
|
/php-src/ext/dom/parentnode/ |
H A D | css_selectors.c | 75 lxb_css_parser_t *parser, in dom_parse_selector() 119 static void dom_selector_cleanup(lxb_css_parser_t *parser, lxb_selectors_t *selectors, lxb_css_sele… in dom_selector_cleanup() 137 lxb_css_parser_t parser; in dom_query_selector_common() local 162 lxb_css_parser_t parser; in dom_query_matches() local 186 lxb_css_parser_t parser; in dom_query_closest() local
|
/php-src/sapi/cli/ |
H A D | php_http_parser.c | 256 size_t php_http_parser_execute (php_http_parser *parser, in php_http_parser_execute() 1525 php_http_should_keep_alive (php_http_parser *parser) in php_http_should_keep_alive() 1552 php_http_parser_init (php_http_parser *parser, enum php_http_parser_type t) in php_http_parser_init()
|
H A D | php_cli_server.c | 178 php_http_parser parser; member 1621 static int php_cli_server_client_read_request_on_message_begin(php_http_parser *parser) in php_cli_server_client_read_request_on_message_begin() 1626 static int php_cli_server_client_read_request_on_path(php_http_parser *parser, const char *at, size… in php_cli_server_client_read_request_on_path() 1642 static int php_cli_server_client_read_request_on_query_string(php_http_parser *parser, const char *… in php_cli_server_client_read_request_on_query_string() 1658 static int php_cli_server_client_read_request_on_url(php_http_parser *parser, const char *at, size_… in php_cli_server_client_read_request_on_url() 1674 static int php_cli_server_client_read_request_on_fragment(php_http_parser *parser, const char *at, … in php_cli_server_client_read_request_on_fragment() 1732 static int php_cli_server_client_read_request_on_header_field(php_http_parser *parser, const char *… in php_cli_server_client_read_request_on_header_field() 1756 static int php_cli_server_client_read_request_on_header_value(php_http_parser *parser, const char *… in php_cli_server_client_read_request_on_header_value() 1779 static int php_cli_server_client_read_request_on_headers_complete(php_http_parser *parser) in php_cli_server_client_read_request_on_headers_complete() 1798 static int php_cli_server_client_read_request_on_body(php_http_parser *parser, const char *at, size… in php_cli_server_client_read_request_on_body() [all …]
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-json.c | 44 php_json_parser parser; in LLVMFuzzerTestOneInput() local
|
/php-src/ext/dom/ |
H A D | inner_outer_html_mixin.c | 230 static void dom_xml_parser_tag_name(const xmlNode *context_node, xmlParserCtxtPtr parser) in dom_xml_parser_tag_name() 240 …_mapper *ns_mapper, const xmlNode *context_node, const zend_string *input, xmlParserCtxtPtr parser) in dom_xml_fragment_parsing_algorithm_parse() 279 xmlParserCtxtPtr parser = xmlCreatePushParserCtxt(NULL, NULL, NULL, 0, NULL); in dom_xml_fragment_parsing_algorithm() local
|
H A D | html_document.c | 498 lxb_html_parser_t *parser, in dom_process_parse_chunk() 548 lxb_html_parser_t *parser, in dom_decode_encode_fast_path() 635 lxb_html_parser_t *parser, in dom_decode_encode_slow_path() 680 lxb_html_parser_t *parser, in dom_parse_decode_encode_step() 716 lxb_html_parser_t *parser, in dom_parse_decode_encode_finish() 883 lxb_html_parser_t *parser = document->dom_document.parser; in PHP_METHOD() local 1074 lxb_html_parser_t *parser = document->dom_document.parser; in PHP_METHOD() local
|
/php-src/ext/dom/lexbor/lexbor/html/interfaces/ |
H A D | document.c | 346 lxb_css_parser_t *parser) in lxb_html_document_css_parser_attach() 807 lxb_html_parser_t *parser; in lxb_html_document_parse_fragment() local 845 lxb_html_parser_t *parser; in lxb_html_document_parse_fragment_chunk_begin() local
|