Home
last modified time | relevance | path

Searched refs:failureReason (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/network/
DHTTPRequest.cpp33 …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()
71 size_t HTTPRequest::parseRequestLine(const char* data, size_t length, String& failureReason) in parseRequestLine() argument
74 …size_t result = parseHTTPRequestLine(data, length, failureReason, m_requestMethod, url, m_httpVers… in parseRequestLine()
79 size_t HTTPRequest::parseHeaders(const char* data, size_t length, String& failureReason) in parseHeaders() argument
86 size_t consumedLength = parseHTTPHeader(p, end - p, failureReason, name, value); in parseHeaders()
DHTTPParsers.cpp355 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 …]
DHTTPRequest.h49 …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);
DHTTPParsers.h82 …XSSDisposition parseXSSProtectionHeader(const String& header, String& failureReason, unsigned& fai…
93 PLATFORM_EXPORT size_t parseHTTPRequestLine(const char* data, size_t length, String& failureReason,…
94 PLATFORM_EXPORT size_t parseHTTPHeader(const char* data, size_t length, String& failureReason, Atom…
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketDeflateFramer.h55 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);
DWebSocketDeflateFramer.cpp52 virtual String failureReason() OVERRIDE { return m_failureReason; } in failureReason() function in WebCore::WebSocketExtensionDeflateFrame
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()
DWebSocketExtensionDispatcher.cpp127 fail("Error in " + extensionToken + ": " + processor->failureReason()); in processHeaderValue()
147 String WebSocketExtensionDispatcher::failureReason() const in failureReason() function in WebCore::WebSocketExtensionDispatcher
DWebSocketExtensionProcessor.h56 virtual String failureReason() { return "Extension " + m_extensionToken + " failed"; } in failureReason() function
DWebSocketPerMessageDeflate.h78 String failureReason() { return m_failureReason; } in failureReason() function
DWebSocketExtensionDispatcher.h53 String failureReason() const;
DWebSocketHandshake.h81 String failureReason() const;
DMainThreadWebSocketChannel.cpp460 failAsError(m_handshake->failureReason()); in processOneItemFromBuffer()
530 failAsError(inflateResult->failureReason()); in processFrame()
534 failAsError(m_perMessageDeflate.failureReason()); in processFrame()
807 failAsError(deflateResult->failureReason()); in sendFrame()
812 failAsError(m_perMessageDeflate.failureReason()); in sendFrame()
DWebSocketHandshake.cpp346 String WebSocketHandshake::failureReason() const in failureReason() function in WebCore::WebSocketHandshake
499 … m_failureReason = formatHandshakeFailureReason(m_extensionDispatcher.failureReason()); in readHTTPHeaders()
DWebSocketPerMessageDeflate.cpp56 virtual String failureReason() OVERRIDE { return m_failureReason; } in failureReason() function in WebCore::CompressionMessageExtensionProcessor