OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:parseHTTPHeader
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/third_party/WebKit/Source/platform/network/
HTTPParsersTest.cpp
18
size_t
parseHTTPHeader
(const char* data, String& failureReason, AtomicString& nameStr, AtomicString& valueStr)
20
return WebCore::
parseHTTPHeader
(data, strlen(data), failureReason, nameStr, valueStr);
111
EXPECT_EQ(12u,
parseHTTPHeader
("foo: bar\r\notherdata", failureReason, name, value));
121
EXPECT_EQ(0u,
parseHTTPHeader
(": bar\r\notherdata", failureReason, name, value));
129
EXPECT_EQ(7u,
parseHTTPHeader
("foo: \r\notherdata", failureReason, name, value));
139
EXPECT_EQ(0u,
parseHTTPHeader
("\xfa: \r\notherdata", failureReason, name, value));
147
EXPECT_EQ(0u,
parseHTTPHeader
("foo: \xfa\r\notherdata", failureReason, name, value));
155
EXPECT_EQ(0u,
parseHTTPHeader
("", failureReason, name, value));
163
EXPECT_EQ(2u,
parseHTTPHeader
("\r\notherdata", failureReason, name, value));
173
EXPECT_EQ(0u,
parseHTTPHeader
("foo\rotherdata\n", failureReason, name, value))
[
all
...]
HTTPParsers.h
112
PLATFORM_EXPORT size_t
parseHTTPHeader
(const char* data, size_t length, String& failureReason, AtomicString& nameStr, AtomicString& valueStr);
HTTPRequest.cpp
85
size_t consumedLength =
parseHTTPHeader
(p, end - p, failureReason, name, value);
HTTPParsers.cpp
678
size_t
parseHTTPHeader
(const char* s, size_t size, String& failureReason, AtomicString& name, AtomicString& value)
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketHandshake.cpp
456
size_t consumedLength =
parseHTTPHeader
(p, end - p, m_failureReason, name, value);
Completed in 58 milliseconds