• Home
  • Raw
  • Download

Lines Matching refs:parser_

333       if (parser_.type == HTTP_REQUEST)  in on_headers_complete()
341 if (parser_.type == HTTP_REQUEST) { in on_headers_complete()
343 Uint32::NewFromUnsigned(env()->isolate(), parser_.method); in on_headers_complete()
347 if (parser_.type == HTTP_RESPONSE) { in on_headers_complete()
349 Integer::New(env()->isolate(), parser_.status_code); in on_headers_complete()
354 argv[A_VERSION_MAJOR] = Integer::New(env()->isolate(), parser_.http_major); in on_headers_complete()
355 argv[A_VERSION_MINOR] = Integer::New(env()->isolate(), parser_.http_minor); in on_headers_complete()
358 should_keep_alive = llhttp_should_keep_alive(&parser_); in on_headers_complete()
363 argv[A_UPGRADE] = Boolean::New(env()->isolate(), parser_.upgrade); in on_headers_complete()
417 llhttp_set_error_reason(&parser_, "HPE_JS_EXCEPTION:JS Exception"); in on_body()
596 llhttp_pause(&parser->parser_); in Pause()
598 llhttp_resume(&parser->parser_); in Pause()
732 err = llhttp_finish(&parser_); in Execute()
734 err = llhttp_execute(&parser_, data, len); in Execute()
742 nread = llhttp_get_error_pos(&parser_) - data; in Execute()
747 llhttp_resume_after_upgrade(&parser_); in Execute()
754 llhttp_pause(&parser_); in Execute()
770 if (!parser_.upgrade && err != HPE_OK) { in Execute()
777 const char* errno_reason = llhttp_get_error_reason(&parser_); in Execute()
846 llhttp_init(&parser_, type, &settings); in Init()
847 llhttp_set_lenient(&parser_, lenient); in Init()
864 llhttp_set_error_reason(&parser_, "HPE_HEADER_OVERFLOW:Header overflow"); in TrackHeader()
879 llhttp_set_error_reason(&parser_, "Paused in callback"); in MaybePause()
892 llhttp_t parser_; member in node::__anon113d0eb30111::Parser
919 Parser* parser = ContainerOf(&Parser::parser_, p); in Raw()