proxygen
|
#include "proxygen/external/http_parser/http_parser.h"
#include <assert.h>
#include <stddef.h>
#include <limits.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | nullptr NULL |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | SET_ERRNO(e) |
#define | RETURN(r) |
#define | _CALLBACK_NOTIFY(FOR, ER) |
#define | CALLBACK_NOTIFY(FOR) _CALLBACK_NOTIFY(FOR, p - data + 1) |
#define | CALLBACK_NOTIFY_NOADVANCE(FOR) _CALLBACK_NOTIFY(FOR, p - data) |
#define | _CALLBACK_DATA(FOR, LEN, ER) |
#define | CALLBACK_DATA(FOR) _CALLBACK_DATA(FOR, p - FOR##_mark, p - data + 1) |
#define | CALLBACK_DATA_NOADVANCE(FOR) _CALLBACK_DATA(FOR, p - FOR##_mark, p - data) |
#define | CALLBACK_SPACE(FOR) |
#define | MARK(FOR) |
#define | CONTENT_LENGTH "content-length" |
#define | TRANSFER_ENCODING "transfer-encoding" |
#define | UPGRADE "upgrade" |
#define | CHUNKED "chunked" |
#define | SPACE " " |
#define | T(v) v |
#define | PARSING_HEADER(state) (state <= s_headers_done) |
#define | CR '\r' |
#define | LF '\n' |
#define | QT '"' |
#define | BS '\\' |
#define | LOWER(c) (unsigned char)(c | 0x20) |
#define | TOKEN(c) (tokens[(unsigned char)c]) |
#define | IS_ALPHA(c) (LOWER(c) >= 'a' && LOWER(c) <= 'z') |
#define | IS_NUM(c) ((c) >= '0' && (c) <= '9') |
#define | IS_ALPHANUM(c) (IS_ALPHA(c) || IS_NUM(c)) |
#define | IS_HEX(c) (IS_NUM(c) || (LOWER(c) >= 'a' && LOWER(c) <= 'f')) |
#define | IS_MARK(c) |
#define | IS_USERINFO_CHAR(c) |
#define | IS_URL_CHAR(c) (normal_url_char[(unsigned char) (c)] || ((c) & 0x80)) |
#define | IS_HOST_CHAR(c) (IS_ALPHANUM(c) || (c) == '.' || (c) == '-' || (c) == '_') |
#define | IS_HEADER_CHAR(ch) (ch == CR || ch == LF || ch == 9 || ((unsigned char)ch > 31 && ch != 127)) |
#define | start_state (parser->type == HTTP_REQUEST ? s_pre_start_req : s_pre_start_res) |
#define | STRICT_CHECK(cond) |
#define | NEW_MESSAGE() start_state |
#define | HTTP_STRERROR_GEN(n, s) { "HPE_" #n, s }, |
#define | MOVE_THE_HEAD |
#define | MOVE_FAST |
Functions | |
static enum state | parse_url_char (enum state s, const char ch) |
size_t | http_parser_execute (http_parser *parser, const http_parser_settings *settings, const char *data, size_t len) |
const char * | http_method_str (enum http_method m) |
void | http_parser_init (http_parser *parser, enum http_parser_type t) |
const char * | http_errno_name (enum http_errno err) |
const char * | http_errno_description (enum http_errno err) |
static enum http_host_state | http_parse_host_char (enum http_host_state s, const char ch) |
static int | http_parse_host (const char *buf, struct http_parser_url *u, int found_at) |
int | http_parser_parse_url (const char *buf, size_t buflen, int is_connect, struct http_parser_url *u) |
void | http_parser_pause (http_parser *parser, int paused) |
Variables | |
static const char * | method_strings [] |
static const char | tokens [256] |
static const int8_t | unhex [256] |
static const uint8_t | normal_url_char [256] |
struct { | |
const char * name | |
const char * description | |
} | http_strerror_tab [] |
#define _CALLBACK_DATA | ( | FOR, | |
LEN, | |||
ER | |||
) |
Definition at line 92 of file http_parser.c.
Referenced by http_parser_execute().
#define _CALLBACK_NOTIFY | ( | FOR, | |
ER | |||
) |
Definition at line 70 of file http_parser.c.
#define BS '\\' |
Definition at line 398 of file http_parser.c.
Referenced by http_parser_execute().
#define CALLBACK_DATA | ( | FOR | ) | _CALLBACK_DATA(FOR, p - FOR##_mark, p - data + 1) |
Definition at line 111 of file http_parser.c.
Referenced by http_parser_execute().
#define CALLBACK_DATA_NOADVANCE | ( | FOR | ) | _CALLBACK_DATA(FOR, p - FOR##_mark, p - data) |
Definition at line 115 of file http_parser.c.
Referenced by http_parser_execute().
#define CALLBACK_NOTIFY | ( | FOR | ) | _CALLBACK_NOTIFY(FOR, p - data + 1) |
Definition at line 86 of file http_parser.c.
Referenced by http_parser_execute().
#define CALLBACK_NOTIFY_NOADVANCE | ( | FOR | ) | _CALLBACK_NOTIFY(FOR, p - data) |
Definition at line 89 of file http_parser.c.
Referenced by http_parser_execute().
#define CALLBACK_SPACE | ( | FOR | ) |
Definition at line 119 of file http_parser.c.
Referenced by http_parser_execute().
#define CHUNKED "chunked" |
Definition at line 145 of file http_parser.c.
Referenced by http_parser_execute().
#define CONTENT_LENGTH "content-length" |
Definition at line 142 of file http_parser.c.
Referenced by http_parser_execute().
#define CR '\r' |
Definition at line 395 of file http_parser.c.
Referenced by http_parser_execute(), and TEST().
Definition at line 435 of file http_parser.c.
Definition at line 401 of file http_parser.c.
Referenced by http_parser_execute(), and parse_url_char().
Definition at line 403 of file http_parser.c.
Referenced by http_parser_execute().
#define IS_HEADER_CHAR | ( | ch | ) | (ch == CR || ch == LF || ch == 9 || ((unsigned char)ch > 31 && ch != 127)) |
Verify that a char is a valid visible (printable) US-ASCII character or x80-FF
Definition at line 426 of file http_parser.c.
Referenced by http_parser_execute().
Definition at line 404 of file http_parser.c.
Referenced by http_parse_host_char(), and http_parser_execute().
Definition at line 418 of file http_parser.c.
Referenced by http_parse_host_char(), and http_parser_execute().
#define IS_MARK | ( | c | ) |
Definition at line 402 of file http_parser.c.
Referenced by http_parse_host_char(), and http_parser_execute().
#define IS_URL_CHAR | ( | c | ) | (normal_url_char[(unsigned char) (c)] || ((c) & 0x80)) |
Definition at line 416 of file http_parser.c.
Referenced by http_parser_execute(), and parse_url_char().
#define IS_USERINFO_CHAR | ( | c | ) |
Definition at line 408 of file http_parser.c.
Referenced by http_parse_host_char(), and parse_url_char().
#define LF '\n' |
Definition at line 396 of file http_parser.c.
Referenced by http_parser_execute().
Definition at line 399 of file http_parser.c.
Referenced by http_parser_execute().
#define MARK | ( | FOR | ) |
Definition at line 134 of file http_parser.c.
Referenced by http_parser_execute().
Definition at line 46 of file http_parser.c.
Referenced by http_parser_execute().
#define MOVE_FAST |
Referenced by http_parser_execute().
#define MOVE_THE_HEAD |
Referenced by http_parser_execute().
#define NEW_MESSAGE | ( | ) | start_state |
Definition at line 432 of file http_parser.c.
Referenced by http_parser_execute().
#define nullptr NULL |
Definition at line 41 of file http_parser.c.
#define PARSING_HEADER | ( | state | ) | (state <= s_headers_done) |
Definition at line 357 of file http_parser.c.
Referenced by http_parser_execute().
#define QT '"' |
Definition at line 397 of file http_parser.c.
Referenced by http_parser_execute().
#define RETURN | ( | r | ) |
Definition at line 63 of file http_parser.c.
Referenced by http_parser_execute().
#define SET_ERRNO | ( | e | ) |
Definition at line 57 of file http_parser.c.
Referenced by http_parser_execute(), and http_parser_pause().
#define SPACE " " |
Definition at line 146 of file http_parser.c.
#define start_state (parser->type == HTTP_REQUEST ? s_pre_start_req : s_pre_start_res) |
Definition at line 429 of file http_parser.c.
#define STRICT_CHECK | ( | cond | ) |
Definition at line 431 of file http_parser.c.
Referenced by http_parser_execute().
Definition at line 233 of file http_parser.c.
Referenced by testing::gmock_generated_actions_test::ACTION_TEMPLATE(), LoggingAlloc< T >::allocate(), MmapAllocator< T >::allocate(), folly::IndexedMemPool< T, NumLocalLists_, LocalListLimit_, Atom, Traits >::allocElem(), as_mutable(), testing::internal::AssertHelper::AssertHelperData::AssertHelperData(), bench(), benchmarkGet(), benchmarkSet(), proxygen::RequestHandlerChain::build(), testing::SafeMatcherCastImpl< T >::Cast(), testing::internal::CheckedDowncastToActualType(), checkSingleLocation(), std::tr1::gtest_internal::Get< 9 >::ConstField(), MmapAllocator< T >::construct(), testing::internal::linked_ptr< const testing::MatcherInterface< const internal::string & > >::copy(), std::tr1::tuple< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9 >::CopyFrom(), LoggingAlloc< T >::deallocate(), MmapAllocator< T >::deallocate(), testing::MatcherDescriberInterface::DescribeNegationTo(), testing::DoDefault(), doWork(), proxygen::durationInitialized(), testing::ElementsAreArray(), std::tr1::gtest_internal::SameSizeTuplePrefixComparator< k, k >::Eq(), ExpensiveCopy::ExpensiveCopy(), fizz::RandomNumGenerator< T, typename >::generateRandom(), testing::internal::BuiltInDefaultValueGetter< T, kDefaultConstructible >::Get(), testing::internal::BuiltInDefaultValueGetter< T, false >::Get(), testing::DefaultValue< void >::Get(), std::tr1::get(), counted_ptr_internals< Atom >::get_shared_ptr(), counted_ptr_internals< Atom >::get_shared_ptr_from_counted_base(), fizz::detail::Sizer< U >::getSize(), proxygen::TraceEvent::getTraceFieldDataAs(), testing::internal::GetTypeName(), proxygen::TraceEvent::Iterator::getValueAs(), testing::GTEST_CONCAT_TOKEN_(), folly::IndexedMemPoolTraits< T, EagerRecycleWhenTrivial, EagerRecycleWhenNotTrivial >::initialize(), List< T, Atom >::List(), make_counted(), std::tr1::make_tuple(), makeCOObserver(), makeMOObserver(), testing::internal::BothOfMatcherImpl< T >::MatchAndExplain(), testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplain(), testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplain(), testing::internal::BoundSecondMatcher< Tuple2Matcher, Second >::Impl< T >::MatchAndExplain(), testing::Matcher< const FirstType & >::Matcher(), testing::Message::Message(), testing::gmock_generated_function_mockers_test::MockStack< T >::MockStack(), folly::detail::moveObjectsRight(), folly::detail::IntegralSizePolicy< SizeType, true >::moveToUninitialized(), testing::gtest_printers_test::Foo::MyVirtualMethod(), testing::internal::NoDefaultContructor::NoDefaultContructor(), wangle::Observable< T >::observeOn(), folly::IndexedMemPoolTraits< T, EagerRecycleWhenTrivial, EagerRecycleWhenNotTrivial >::onAllocate(), PrettyType< T >::operator()(), folly::hasher< folly::Range< T * >, std::enable_if_t< std::is_integral< T >::value, void > >::operator()(), testing::gmock_matchers_test::ConstPropagatingPtr< T >::operator*(), testing::internal2::operator<<(), testing::Message::operator<<(), counted_ptr< T, Atom >::operator==(), folly::gen::detail::operator|(), testing::internal::ReferenceOrValueWrapper< T >::Peek(), testing::internal::DoBothAction< Action1, Action2 >::Impl< F >::Perform(), folly::fbstring_detail::podFill(), folly::detail::pointerFlagClear(), folly::detail::pointerFlagSet(), testing::internal::UniversalPrinter< T >::Print(), testing::internal::PrintTo(), testing::internal::FunctionMockerBase< R(A1, A2)>::PrintTriedExpectationsLocked(), testing::internal2::TypeWithoutFormatter< T, kConvertibleToInteger >::PrintValue(), testing::DefaultValue< T >::FixedValueProducer::Produce(), SyncVec< T >::push_back(), folly::Range< unsigned char * >::Range(), proxygen::HTTPHeaders::rawExists(), proxygen::TraceEvent::readMeta(), fizz::detail::ReadVector< N, T >::readVector(), fizz::detail::ReadVector< bits24, T >::readVector(), testing::internal::scoped_ptr< const ::std::string >::release(), counted_ptr_internals< Atom >::release_shared(), testing::internal::scoped_ptr< const ::std::string >::reset(), folly::resizeWithoutInitialization(), testing::ReturnNew(), runBench(), runElementTypeTest(), runSingleInsert(), testing::internal::ThreadLocal< testing::TestPartResultReporterInterface * >::set(), testing::SetArgPointee(), CommonTest< T >::SetUpTestCase(), swmr_test(), CommonTest< T >::TearDown(), testing::gmock_generated_actions_test::TenArgConstructorClass::TenArgConstructorClass(), testing::gmock_generated_function_mockers_test::TEST(), TEST(), testing::internal::TEST(), test_I_containerTypedefs3(), testing::TestPartNonfatallyFailed(), testRandom(), testSimple(), proxygen::timePointInitialized(), TYPED_TEST(), testing::internal::UniversalPrint(), testing::UnorderedElementsAreArray(), UnprintableTemplateInGlobal< T >::UnprintableTemplateInGlobal(), validData(), foo::PrintableViaPrintToTemplate< T >::value(), foo::StreamableTemplateInFoo< T >::value(), fizz::detail::writeBits24(), wangle::BroadcastHandler< std::string, std::string >::~BroadcastHandler(), testing::gmock_generated_function_mockers_test::StackInterface< T >::~StackInterface(), proxygen::StackTracePrinterWithException< T >::~StackTracePrinterWithException(), wangle::Subscriber< std::string, std::string >::~Subscriber(), and testing::DefaultValue< T >::ValueProducer::~ValueProducer().
Definition at line 400 of file http_parser.c.
Referenced by http_parser_execute().
#define TRANSFER_ENCODING "transfer-encoding" |
Definition at line 143 of file http_parser.c.
Referenced by http_parser_execute().
#define UPGRADE "upgrade" |
Definition at line 144 of file http_parser.c.
Referenced by http_parser_execute(), FakeAllPowerfulAssertingMutex::lock_upgrade(), folly::FakeAllPowerfulAssertingMutexInternal::lock_upgrade(), FakeAllPowerfulAssertingMutex::try_lock_upgrade_for(), folly::FakeAllPowerfulAssertingMutexInternal::try_lock_upgrade_for(), FakeAllPowerfulAssertingMutex::try_unlock_upgrade_and_lock_for(), folly::FakeAllPowerfulAssertingMutexInternal::try_unlock_upgrade_and_lock_for(), FakeAllPowerfulAssertingMutex::unlock_and_lock_upgrade(), folly::FakeAllPowerfulAssertingMutexInternal::unlock_and_lock_upgrade(), FakeAllPowerfulAssertingMutex::unlock_upgrade(), folly::FakeAllPowerfulAssertingMutexInternal::unlock_upgrade(), FakeAllPowerfulAssertingMutex::unlock_upgrade_and_lock(), folly::FakeAllPowerfulAssertingMutexInternal::unlock_upgrade_and_lock(), FakeAllPowerfulAssertingMutex::unlock_upgrade_and_lock_shared(), and folly::FakeAllPowerfulAssertingMutexInternal::unlock_upgrade_and_lock_shared().
enum header_states |
Definition at line 360 of file http_parser.c.
enum http_host_state |
Definition at line 379 of file http_parser.c.
enum state |
Definition at line 272 of file http_parser.c.
const char* http_errno_description | ( | enum http_errno | err | ) |
Definition at line 2186 of file http_parser.c.
Referenced by proxygen::HTTP1xCodec::onParserError(), and print_error().
const char* http_errno_name | ( | enum http_errno | err | ) |
Definition at line 2180 of file http_parser.c.
Referenced by test_simple().
const char* http_method_str | ( | enum http_method | m | ) |
Definition at line 2159 of file http_parser.c.
Referenced by proxygen::HTTP1xCodec::onHeadersComplete().
|
static |
Definition at line 2258 of file http_parser.c.
References http_parser_url::field_data, http_parser_url::field_set, http_parse_host_char(), http_parser_url::len, http_parser_url::off, s, s_http_host, s_http_host_dead, s_http_host_port, s_http_host_port_start, s_http_host_start, s_http_host_v6, s_http_host_v6_start, s_http_userinfo, s_http_userinfo_start, UF_HOST, UF_PORT, and UF_USERINFO.
Referenced by http_parser_parse_url().
|
static |
Definition at line 2193 of file http_parser.c.
References IS_HEX, IS_HOST_CHAR, IS_NUM, IS_USERINFO_CHAR, s_http_host, s_http_host_dead, s_http_host_port, s_http_host_port_start, s_http_host_start, s_http_host_v6, s_http_host_v6_end, s_http_host_v6_start, s_http_userinfo, and s_http_userinfo_start.
Referenced by http_parse_host().
size_t http_parser_execute | ( | http_parser * | parser, |
const http_parser_settings * | settings, | ||
const char * | data, | ||
size_t | len | ||
) |
Definition at line 602 of file http_parser.c.
Referenced by proxygen::HTTP1xCodec::onIngress(), proxygen::HTTP1xCodec::onIngressEOF(), parse(), parse_count_body(), parse_pause(), test_header_overflow_error(), and test_no_overflow_long_body().
void http_parser_init | ( | http_parser * | parser, |
enum http_parser_type | t | ||
) |
Definition at line 2166 of file http_parser.c.
Referenced by proxygen::HTTP1xCodec::HTTP1xCodec(), parser_init(), test_header_overflow_error(), and test_no_overflow_long_body().
int http_parser_parse_url | ( | const char * | buf, |
size_t | buflen, | ||
int | is_connect, | ||
struct http_parser_url * | u | ||
) |
Definition at line 2332 of file http_parser.c.
Referenced by proxygen::ParseURL::parse(), and test_parse_url().
void http_parser_pause | ( | http_parser * | parser, |
int | paused | ||
) |
Definition at line 2431 of file http_parser.c.
Referenced by pause_body_cb(), pause_chunk_complete_cb(), pause_chunk_header_cb(), pause_header_field_cb(), pause_header_value_cb(), pause_headers_complete_cb(), pause_message_begin_cb(), pause_message_complete_cb(), pause_request_url_cb(), pause_response_reason_cb(), proxygen::HTTP1xCodec::setParserPaused(), and test_message_pause().
Definition at line 455 of file http_parser.c.
References IS_ALPHA, IS_URL_CHAR, IS_USERINFO_CHAR, s, s_dead, s_req_fragment, s_req_fragment_start, s_req_path, s_req_query_string, s_req_query_string_start, s_req_schema, s_req_schema_slash, s_req_schema_slash_slash, s_req_server, s_req_server_start, s_req_server_with_at, and s_req_spaces_before_url.
Referenced by http_parser_parse_url().
const char* description |
Definition at line 438 of file http_parser.c.
Referenced by testing::Test::HasSameFixtureClass(), and testing::TestPartNonfatallyFailed().
struct { ... } http_strerror_tab[] |
Referenced by http_errno_description(), and http_errno_name().
|
static |
Definition at line 149 of file http_parser.c.
const char* name |
Definition at line 437 of file http_parser.c.
Referenced by proxygen::CodecUtil::appendHeaders(), bench(), folly::netops::bind(), folly::portability::ssl::BIO_meth_new(), folly::bser::bserEncodeArray(), checkLocation(), checkSingleLocation(), testing::TestInfo::ClearTestResult(), folly::io::Codec::Codec(), testing::internal::CodeLocation::CodeLocation(), folly::netops::connect(), folly::AsyncSocket::connect(), folly::futures::detail::coreDetachPromiseMaybeWithResult(), folly::LoggerDB::createCategoryLocked(), fizz::test::createCert(), proxygen::compress::QMINScheme::decode(), folly::bser::decodeTemplate(), folly::demangle(), proxygen::ServiceWorker::drainServiceAcceptor(), proxygen::compress::QMINScheme::encode(), proxygen::HTTP2Codec::encodeHeaders(), proxygen::SPDYCodec::encodeHeaders(), testing::internal::XmlUnitTestResultPrinter::EscapeXmlText(), folly::fibers::FiberManager::FiberManager(), folly::NestedCommandLineApp::findCommand(), testing::internal::UnitTestHelper::FindTestCase(), folly::LoggerDB::getCategory(), folly::LoggerDB::getConfigImpl(), testing::internal::posix::GetEnv(), folly::EventBase::getExecutionObserver(), testing::internal::EventRecordingListener::GetFullMethodName(), folly::getGlobalBenchmarkBaselineIndex(), folly::LogName::getParent(), folly::netops::getpeername(), folly::netops::getsockname(), testing::internal::UnitTestHelper::GetSortedTests(), folly::AsyncSSLSocket::getSSLClientCiphers(), wangle::SSLUtil::getSubjectAltName(), testing::internal::GetTypeName(), proxygen::HTTPMessage::getUpgradeProtocol(), folly::NestedCommandLineApp::globalOptions(), proxygen::HeaderDecodeInfo::init(), wangle::SSLContextManager::insert(), testing::internal::FilePath::IsAbsolutePath(), testing::internal::IsPathSeparator(), folly::LogCategory::LogCategory(), proxygen::HasHTTPHeaderMatcherImpl::MatchAndExplain(), message_for_terminate_with(), testing::internal::UntypedFunctionMockerBase::Name(), wangle::SSLSessionCallbacks::newSessionCallback(), folly::NamedThreadFactory::newThread(), proxygen::RFC1867Codec::onHeadersComplete(), folly::symbolizer::ElfFile::openAndFollow(), folly::symbolizer::ElfFile::openNoThrow(), testing::internal::TestPropertyKeyIs::operator()(), PrettyType< T >::operator()(), folly::operator-=(), folly::operator<<(), testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute(), proxygen::SPDYCodec::parseHeaders(), testing::internal::PortableLocaltime(), producer_consumer_test(), proxygen::HTTPHeaders::rawGet(), proxygen::HTTPHeaders::rawRemove(), proxygen::HTTPHeaders::rawSet(), folly::CacheLocality::readFromSysfs(), proxygen::HeaderTable::removeLast(), folly::NestedCommandLineApp::resolveAlias(), testing::TestInfo::result(), runBench(), runSimultaneousAccessMapTest(), runSingleInserts(), folly::ThreadPoolExecutor::runTask(), proxygen::HTTPHeaders::set(), folly::EventBase::setName(), testing::internal::UntypedFunctionMockerBase::SetOwnerAndName(), proxygen::HTTPMessage::setQueryParam(), testing::internal::ShouldRunTestCase(), proxygen::HTTPMessage::splitNameValue(), proxygen::HTTPMessage::splitNameValuePieces(), folly::io::StreamCodec::StreamCodec(), testing::internal::FinalSuccessChecker::TearDown(), testing::internal::TEST(), TEST(), test(), proxygen::TEST_F(), testing::TestPartNonfatallyFailed(), throughtput_test(), folly::TimeoutManager::CobTimeouts::CobTimeout::timeoutExpired(), folly::io::Codec::type(), type_pretty_name(), folly::ssl::OpenSSLUtils::validatePeerCertNames(), proxygen::RFC1867Codec::Callback::~Callback(), folly::StandardLogHandlerFactory::OptionProcessor::~OptionProcessor(), and proxygen::HPACK::StreamingCallback::~StreamingCallback().
|
static |
Definition at line 236 of file http_parser.c.
|
static |
Definition at line 184 of file http_parser.c.
Referenced by ConcurrentFlowSingleSender::cancellation_test(), folly::BasicDynamicTokenBucket< Clock >::consume(), folly::BasicDynamicTokenBucket< Clock >::consumeImpl(), folly::BasicDynamicTokenBucket< Clock >::consumeOrDrain(), folly::dynamic::get_ptr(), folly::getGFlags(), ImmediateFlowSingleSender::make_producer(), proxygen::RFC2616::parseQvalues(), runManyReadLocksTestWithTokens(), folly::BasicTokenBucket< Clock >::setCapacity(), inline_executor_flow_single< CancellationFactory >::submit(), and TEST_F().
|
static |
Definition at line 219 of file http_parser.c.