Lines Matching refs:state
198 #define PARSING_HEADER(state) (state <= s_headers_almost_done && 0 == (parser->flags & F_TRAILING)) argument
266 enum state state = (enum state) parser->state; in php_http_parser_execute() local
282 if (state == s_body_identity_eof) { in php_http_parser_execute()
288 if (state == s_header_field) in php_http_parser_execute()
290 if (state == s_header_value) in php_http_parser_execute()
292 if (state == s_req_fragment) in php_http_parser_execute()
294 if (state == s_req_query_string) in php_http_parser_execute()
296 if (state == s_req_path) in php_http_parser_execute()
298 if (state == s_req_path || state == s_req_schema || state == s_req_schema_slash in php_http_parser_execute()
299 || state == s_req_schema_slash_slash || state == s_req_port in php_http_parser_execute()
300 || state == s_req_query_string_start || state == s_req_query_string in php_http_parser_execute()
301 || state == s_req_host in php_http_parser_execute()
302 || state == s_req_fragment_start || state == s_req_fragment) in php_http_parser_execute()
308 if (PARSING_HEADER(state)) { in php_http_parser_execute()
314 switch (state) { in php_http_parser_execute()
332 state = s_res_or_resp_H; in php_http_parser_execute()
343 state = s_res_HT; in php_http_parser_execute()
349 state = s_req_method; in php_http_parser_execute()
362 state = s_res_H; in php_http_parser_execute()
377 state = s_res_HT; in php_http_parser_execute()
382 state = s_res_HTT; in php_http_parser_execute()
387 state = s_res_HTTP; in php_http_parser_execute()
392 state = s_res_first_http_major; in php_http_parser_execute()
398 state = s_res_http_major; in php_http_parser_execute()
405 state = s_res_first_http_minor; in php_http_parser_execute()
422 state = s_res_http_minor; in php_http_parser_execute()
429 state = s_res_first_status_code; in php_http_parser_execute()
451 state = s_res_status_code; in php_http_parser_execute()
460 state = s_res_status; in php_http_parser_execute()
463 state = s_res_line_almost_done; in php_http_parser_execute()
466 state = s_header_field_start; in php_http_parser_execute()
485 state = s_res_line_almost_done; in php_http_parser_execute()
490 state = s_header_field_start; in php_http_parser_execute()
497 state = s_header_field_start; in php_http_parser_execute()
530 state = s_req_method; in php_http_parser_execute()
544 state = s_req_spaces_before_url; in php_http_parser_execute()
595 state = s_req_path; in php_http_parser_execute()
603 state = s_req_schema; in php_http_parser_execute()
617 state = s_req_schema_slash; in php_http_parser_execute()
620 state = s_req_host; in php_http_parser_execute()
623 state = s_req_host; in php_http_parser_execute()
632 state = s_req_schema_slash_slash; in php_http_parser_execute()
637 state = s_req_host; in php_http_parser_execute()
647 state = s_req_port; in php_http_parser_execute()
651 state = s_req_path; in php_http_parser_execute()
659 state = s_req_http_start; in php_http_parser_execute()
673 state = s_req_path; in php_http_parser_execute()
681 state = s_req_http_start; in php_http_parser_execute()
697 state = s_req_http_start; in php_http_parser_execute()
704 state = s_req_line_almost_done; in php_http_parser_execute()
711 state = s_header_field_start; in php_http_parser_execute()
715 state = s_req_query_string_start; in php_http_parser_execute()
719 state = s_req_fragment_start; in php_http_parser_execute()
731 state = s_req_query_string; in php_http_parser_execute()
740 state = s_req_http_start; in php_http_parser_execute()
746 state = s_req_line_almost_done; in php_http_parser_execute()
752 state = s_header_field_start; in php_http_parser_execute()
755 state = s_req_fragment_start; in php_http_parser_execute()
774 state = s_req_http_start; in php_http_parser_execute()
781 state = s_req_line_almost_done; in php_http_parser_execute()
788 state = s_header_field_start; in php_http_parser_execute()
792 state = s_req_fragment_start; in php_http_parser_execute()
804 state = s_req_fragment; in php_http_parser_execute()
811 state = s_req_http_start; in php_http_parser_execute()
817 state = s_req_line_almost_done; in php_http_parser_execute()
823 state = s_header_field_start; in php_http_parser_execute()
827 state = s_req_fragment; in php_http_parser_execute()
845 state = s_req_http_start; in php_http_parser_execute()
852 state = s_req_line_almost_done; in php_http_parser_execute()
859 state = s_header_field_start; in php_http_parser_execute()
873 state = s_req_http_H; in php_http_parser_execute()
884 state = s_req_http_HT; in php_http_parser_execute()
889 state = s_req_http_HTT; in php_http_parser_execute()
894 state = s_req_http_HTTP; in php_http_parser_execute()
899 state = s_req_first_http_major; in php_http_parser_execute()
906 state = s_req_http_major; in php_http_parser_execute()
913 state = s_req_first_http_minor; in php_http_parser_execute()
930 state = s_req_http_minor; in php_http_parser_execute()
937 state = s_req_line_almost_done; in php_http_parser_execute()
942 state = s_header_field_start; in php_http_parser_execute()
961 state = s_header_field_start; in php_http_parser_execute()
968 state = s_headers_almost_done; in php_http_parser_execute()
975 state = s_headers_almost_done; in php_http_parser_execute()
986 state = s_header_field; in php_http_parser_execute()
1122 state = s_header_value_start; in php_http_parser_execute()
1127 state = s_header_almost_done; in php_http_parser_execute()
1134 state = s_header_field_start; in php_http_parser_execute()
1147 state = s_header_value; in php_http_parser_execute()
1155 state = s_header_almost_done; in php_http_parser_execute()
1161 state = s_header_field_start; in php_http_parser_execute()
1210 state = s_header_almost_done; in php_http_parser_execute()
1274 state = s_header_value; in php_http_parser_execute()
1286 state = s_header_field_start; in php_http_parser_execute()
1312 state = NEW_MESSAGE(); in php_http_parser_execute()
1355 state = NEW_MESSAGE(); in php_http_parser_execute()
1358 state = s_chunk_size_start; in php_http_parser_execute()
1363 state = NEW_MESSAGE(); in php_http_parser_execute()
1366 state = s_body_identity; in php_http_parser_execute()
1371 state = NEW_MESSAGE(); in php_http_parser_execute()
1374 state = s_body_identity_eof; in php_http_parser_execute()
1392 state = NEW_MESSAGE(); in php_http_parser_execute()
1413 state = s_chunk_size; in php_http_parser_execute()
1422 state = s_chunk_size_almost_done; in php_http_parser_execute()
1430 state = s_chunk_parameters; in php_http_parser_execute()
1446 state = s_chunk_size_almost_done; in php_http_parser_execute()
1459 state = s_header_field_start; in php_http_parser_execute()
1461 state = s_chunk_data; in php_http_parser_execute()
1479 state = s_chunk_data_almost_done; in php_http_parser_execute()
1489 state = s_chunk_data_done; in php_http_parser_execute()
1495 state = s_chunk_size_start; in php_http_parser_execute()
1511 parser->state = state; in php_http_parser_execute()
1519 parser->state = s_dead; in php_http_parser_execute()
1555 …parser->state = (t == PHP_HTTP_REQUEST ? s_start_req : (t == PHP_HTTP_RESPONSE ? s_start_res : s_s… in php_http_parser_init()