/external/chromium_org/third_party/WebKit/Source/platform/network/ |
D | HTTPParsersTest.cpp | 18 size_t parseHTTPHeader(const char* data, String& failureReason, AtomicString& nameStr, AtomicString… in parseHTTPHeader() argument 20 return blink::parseHTTPHeader(data, strlen(data), failureReason, nameStr, valueStr); in parseHTTPHeader() 109 String failureReason; in TEST() local 111 EXPECT_EQ(12u, parseHTTPHeader("foo: bar\r\notherdata", failureReason, name, value)); in TEST() 112 EXPECT_TRUE(failureReason.isEmpty()); in TEST() 119 String failureReason; in TEST() local 121 EXPECT_EQ(0u, parseHTTPHeader(": bar\r\notherdata", failureReason, name, value)); in TEST() 122 EXPECT_EQ("Header name is missing", failureReason); in TEST() 127 String failureReason; in TEST() local 129 EXPECT_EQ(7u, parseHTTPHeader("foo: \r\notherdata", failureReason, name, value)); in TEST() [all …]
|
D | HTTPRequest.cpp | 33 …st> HTTPRequest::parseHTTPRequestFromBuffer(const char* data, size_t length, String& failureReason) in parseHTTPRequestFromBuffer() argument 36 failureReason = "No data to parse."; in parseHTTPRequestFromBuffer() 48 size_t requestLineLength = request->parseRequestLine(pos, remainingLength, failureReason); in parseHTTPRequestFromBuffer() 55 size_t headersLength = request->parseHeaders(pos, remainingLength, failureReason); in parseHTTPRequestFromBuffer() 70 size_t HTTPRequest::parseRequestLine(const char* data, size_t length, String& failureReason) in parseRequestLine() argument 73 …size_t result = parseHTTPRequestLine(data, length, failureReason, m_requestMethod, url, m_httpVers… in parseRequestLine() 78 size_t HTTPRequest::parseHeaders(const char* data, size_t length, String& failureReason) in parseHeaders() argument 85 size_t consumedLength = parseHTTPHeader(p, end - p, failureReason, name, value); in parseHeaders()
|
D | HTTPParsers.cpp | 355 ReflectedXSSDisposition parseXSSProtectionHeader(const String& header, String& failureReason, unsig… in parseXSSProtectionHeader() argument 375 failureReason = failureReasonInvalidToggle; in parseXSSProtectionHeader() 389 failureReason = failureReasonInvalidSeparator; in parseXSSProtectionHeader() 400 failureReason = failureReasonDuplicateMode; in parseXSSProtectionHeader() 406 failureReason = failureReasonInvalidEquals; in parseXSSProtectionHeader() 411 failureReason = failureReasonInvalidMode; in parseXSSProtectionHeader() 418 failureReason = failureReasonDuplicateReport; in parseXSSProtectionHeader() 424 failureReason = failureReasonInvalidEquals; in parseXSSProtectionHeader() 430 failureReason = failureReasonInvalidReport; in parseXSSProtectionHeader() 437 failureReason = failureReasonInvalidDirective; in parseXSSProtectionHeader() [all …]
|
D | HTTPRequest.h | 49 …tr<HTTPRequest> parseHTTPRequestFromBuffer(const char* data, size_t length, String& failureReason); 69 size_t parseRequestLine(const char* data, size_t length, String& failureReason); 70 size_t parseHeaders(const char* data, size_t length, String& failureReason);
|
D | HTTPParsers.h | 96 …XSSDisposition parseXSSProtectionHeader(const String& header, String& failureReason, unsigned& fai… 108 PLATFORM_EXPORT size_t parseHTTPRequestLine(const char* data, size_t length, String& failureReason,… 109 PLATFORM_EXPORT size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, Atom…
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
D | WebSocketDeflateFramer.h | 55 String failureReason() const { return m_failureReason; } in failureReason() function 57 void fail(const String& failureReason); 78 String failureReason() const { return m_failureReason; } in failureReason() function 80 void fail(const String& failureReason);
|
D | WebSocketDeflateFramer.cpp | 52 virtual String failureReason() OVERRIDE { return m_failureReason; } in failureReason() function in blink::FINAL 128 void DeflateResultHolder::fail(const String& failureReason) in fail() argument 131 m_failureReason = failureReason; in fail() 146 void InflateResultHolder::fail(const String& failureReason) in fail() argument 149 m_failureReason = failureReason; in fail()
|
D | WebSocketExtensionDispatcher.cpp | 127 fail("Error in " + extensionToken + ": " + processor->failureReason()); in processHeaderValue() 147 String WebSocketExtensionDispatcher::failureReason() const in failureReason() function in blink::WebSocketExtensionDispatcher
|
D | WebSocketExtensionProcessor.h | 56 virtual String failureReason() { return "Extension " + m_extensionToken + " failed"; } in failureReason() function
|
D | WebSocketPerMessageDeflate.h | 78 String failureReason() { return m_failureReason; } in failureReason() function
|
D | WebSocketExtensionDispatcher.h | 53 String failureReason() const;
|
D | WebSocketHandshake.h | 87 String failureReason() const;
|
D | MainThreadWebSocketChannel.cpp | 477 failAsError(m_handshake->failureReason()); in processOneItemFromBuffer() 546 failAsError(inflateResult->failureReason()); in processFrame() 550 failAsError(m_perMessageDeflate.failureReason()); in processFrame() 838 failAsError(deflateResult->failureReason()); in sendFrame() 843 failAsError(m_perMessageDeflate.failureReason()); in sendFrame()
|
D | WebSocketHandshake.cpp | 329 String WebSocketHandshake::failureReason() const in failureReason() function in blink::WebSocketHandshake 472 … m_failureReason = formatHandshakeFailureReason(m_extensionDispatcher.failureReason()); in readHTTPHeaders()
|
D | WebSocketPerMessageDeflate.cpp | 56 virtual String failureReason() OVERRIDE { return m_failureReason; } in failureReason() function in blink::FINAL
|