OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:failureReason
(Results
1 - 16
of
16
) 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 blink::parseHTTPHeader(data, strlen(data),
failureReason
, nameStr, valueStr);
109
String
failureReason
;
111
EXPECT_EQ(12u, parseHTTPHeader("foo: bar\r\notherdata",
failureReason
, name, value));
112
EXPECT_TRUE(
failureReason
.isEmpty());
119
String
failureReason
;
121
EXPECT_EQ(0u, parseHTTPHeader(": bar\r\notherdata",
failureReason
, name, value));
122
EXPECT_EQ("Header name is missing",
failureReason
);
127
String
failureReason
;
129
EXPECT_EQ(7u, parseHTTPHeader("foo: \r\notherdata",
failureReason
, name, value))
[
all
...]
HTTPRequest.cpp
33
PassRefPtr<HTTPRequest> HTTPRequest::parseHTTPRequestFromBuffer(const char* data, size_t length, String&
failureReason
)
36
failureReason
= "No data to parse.";
48
size_t requestLineLength = request->parseRequestLine(pos, remainingLength,
failureReason
);
55
size_t headersLength = request->parseHeaders(pos, remainingLength,
failureReason
);
70
size_t HTTPRequest::parseRequestLine(const char* data, size_t length, String&
failureReason
)
73
size_t result = parseHTTPRequestLine(data, length,
failureReason
, m_requestMethod, url, m_httpVersion);
78
size_t HTTPRequest::parseHeaders(const char* data, size_t length, String&
failureReason
)
85
size_t consumedLength = parseHTTPHeader(p, end - p,
failureReason
, name, value);
HTTPRequest.h
49
static PassRefPtr<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
);
HTTPParsers.h
96
PLATFORM_EXPORT ReflectedXSSDisposition parseXSSProtectionHeader(const String& header, String&
failureReason
, unsigned& failurePosition, String& reportURL);
108
PLATFORM_EXPORT size_t parseHTTPRequestLine(const char* data, size_t length, String&
failureReason
, String& method, String& url, HTTPVersion&);
109
PLATFORM_EXPORT size_t parseHTTPHeader(const char* data, size_t length, String&
failureReason
, AtomicString& nameStr, AtomicString& valueStr);
HTTPParsers.cpp
355
ReflectedXSSDisposition parseXSSProtectionHeader(const String& header, String&
failureReason
, unsigned& failurePosition, String& reportURL)
375
failureReason
= failureReasonInvalidToggle;
389
failureReason
= failureReasonInvalidSeparator;
400
failureReason
= failureReasonDuplicateMode;
406
failureReason
= failureReasonInvalidEquals;
411
failureReason
= failureReasonInvalidMode;
418
failureReason
= failureReasonDuplicateReport;
424
failureReason
= failureReasonInvalidEquals;
430
failureReason
= failureReasonInvalidReport;
437
failureReason
= failureReasonInvalidDirective
[
all
...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketDeflateFramer.h
55
String
failureReason
() const { return m_failureReason; }
57
void fail(const String&
failureReason
);
78
String
failureReason
() const { return m_failureReason; }
80
void fail(const String&
failureReason
);
WebSocketExtensionProcessor.h
56
virtual String
failureReason
() { return "Extension " + m_extensionToken + " failed"; }
WebSocketExtensionDispatcher.h
53
String
failureReason
() const;
WebSocketPerMessageDeflate.h
78
String
failureReason
() { return m_failureReason; }
WebSocketDeflateFramer.cpp
52
virtual String
failureReason
() OVERRIDE { return m_failureReason; }
128
void DeflateResultHolder::fail(const String&
failureReason
)
131
m_failureReason =
failureReason
;
146
void InflateResultHolder::fail(const String&
failureReason
)
149
m_failureReason =
failureReason
;
WebSocketExtensionDispatcher.cpp
127
fail("Error in " + extensionToken + ": " + processor->
failureReason
());
147
String WebSocketExtensionDispatcher::
failureReason
() const
WebSocketHandshake.h
87
String
failureReason
() const;
WebSocketPerMessageDeflate.cpp
56
virtual String
failureReason
() OVERRIDE { return m_failureReason; }
MainThreadWebSocketChannel.cpp
477
failAsError(m_handshake->
failureReason
());
546
failAsError(inflateResult->
failureReason
());
550
failAsError(m_perMessageDeflate.
failureReason
());
[
all
...]
WebSocketHandshake.cpp
329
String WebSocketHandshake::
failureReason
() const
472
m_failureReason = formatHandshakeFailureReason(m_extensionDispatcher.
failureReason
());
/libcore/luni/src/main/java/libcore/net/url/
FtpURLConnection.java
187
String
failureReason
= "";
194
failureReason
= ioe.getLocalizedMessage();
203
throw new IOException("Unable to connect to server: " +
failureReason
);
Completed in 980 milliseconds