Home
last modified time | relevance | path

Searched refs:ErrorCode (Results 1 – 25 of 58) sorted by relevance

123

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DErrorCode.java19 public enum ErrorCode { enum
65 private ErrorCode(int httpCode, int spdyRstCode, int spdyGoAwayCode) { in ErrorCode() method in ErrorCode
71 public static ErrorCode fromSpdy3Rst(int code) { in fromSpdy3Rst()
72 for (ErrorCode errorCode : ErrorCode.values()) { in fromSpdy3Rst()
78 public static ErrorCode fromHttp2(int code) { in fromHttp2()
79 for (ErrorCode errorCode : ErrorCode.values()) { in fromHttp2()
85 public static ErrorCode fromSpdyGoAway(int code) { in fromSpdyGoAway()
86 for (ErrorCode errorCode : ErrorCode.values()) { in fromSpdyGoAway()
DSpdyConnection.java342 void writeSynResetLater(final int streamId, final ErrorCode errorCode) { in writeSynResetLater()
353 void writeSynReset(int streamId, ErrorCode statusCode) throws IOException { in writeSynReset()
423 public void shutdown(ErrorCode statusCode) throws IOException { in shutdown()
444 close(ErrorCode.NO_ERROR, ErrorCode.CANCEL); in close()
447 private void close(ErrorCode connectionCode, ErrorCode streamCode) throws IOException { in close()
570 ErrorCode connectionErrorCode = ErrorCode.INTERNAL_ERROR; in execute()
571 ErrorCode streamErrorCode = ErrorCode.INTERNAL_ERROR; in execute()
579 connectionErrorCode = ErrorCode.NO_ERROR; in execute()
580 streamErrorCode = ErrorCode.CANCEL; in execute()
582 connectionErrorCode = ErrorCode.PROTOCOL_ERROR; in execute()
[all …]
DSpdyStream.java74 private ErrorCode errorCode = null;
153 public synchronized ErrorCode getErrorCode() { in getErrorCode()
218 public void close(ErrorCode rstStatusCode) throws IOException { in close()
229 public void closeLater(ErrorCode errorCode) { in closeLater()
237 private boolean closeInternal(ErrorCode errorCode) { in closeInternal()
255 ErrorCode errorCode = null; in receiveHeaders()
260 errorCode = ErrorCode.PROTOCOL_ERROR; in receiveHeaders()
268 errorCode = ErrorCode.STREAM_IN_USE; in receiveHeaders()
302 synchronized void receiveRstStream(ErrorCode errorCode) { in receiveRstStream()
398 closeLater(ErrorCode.FLOW_CONTROL_ERROR); in receive()
[all …]
DPushObserver.java74 void onReset(int streamId, ErrorCode errorCode); in onReset()
92 @Override public void onReset(int streamId, ErrorCode errorCode) {
DFrameWriter.java56 void rstStream(int streamId, ErrorCode errorCode) throws IOException; in rstStream()
96 void goAway(int lastGoodStreamId, ErrorCode errorCode, byte[] debugData) throws IOException; in goAway()
DFrameReader.java47 void rstStream(int streamId, ErrorCode errorCode); in rstStream()
78 void goAway(int lastGoodStreamId, ErrorCode errorCode, ByteString debugData); in goAway()
DSpdy3.java218 ErrorCode errorCode = ErrorCode.fromSpdy3Rst(errorCodeInt); in readRstStream()
253 ErrorCode errorCode = ErrorCode.fromSpdyGoAway(errorCodeInt); in readGoAway()
371 @Override public synchronized void rstStream(int streamId, ErrorCode errorCode) in rstStream()
454 @Override public synchronized void goAway(int lastGoodStreamId, ErrorCode errorCode, in goAway()
/external/icu/icu4c/source/common/
Derrorcode.cpp22 ErrorCode::~ErrorCode() {} in ~ErrorCode()
24 UErrorCode ErrorCode::reset() { in reset()
30 void ErrorCode::assertSuccess() const { in assertSuccess()
36 const char* ErrorCode::errorName() const { in errorName()
/external/lzma/CPP/7zip/Common/
DOutBuffer.cpp41 ErrorCode = S_OK; in Init()
60 result = ErrorCode; in FlushPart()
70 && (ErrorCode == S_OK) in FlushPart()
94 if (ErrorCode != S_OK) in Flush()
95 return ErrorCode; in Flush()
111 ErrorCode = result; in FlushWithCheck()
DInBuffer.cpp48 ErrorCode = S_OK; in Init()
55 if (ErrorCode != S_OK) in ReadBlock()
64 ErrorCode = result; in ReadBlock()
/external/icu/icu4c/source/common/unicode/
Derrorcode.h79 class U_COMMON_API ErrorCode: public UMemory {
85 ErrorCode() : errorCode(U_ZERO_ERROR) {} in ErrorCode() function
87 virtual ~ErrorCode();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DSpdy3Test.java58 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayRoundTrip()
78 int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { in goAwayRoundTrip()
95 private Buffer sendGoAway(int lastGoodStreamId, ErrorCode errorCode, byte[] debugData) in sendGoAway()
DBaseTestHandler.java37 @Override public void rstStream(int streamId, ErrorCode errorCode) { in rstStream()
53 @Override public void goAway(int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { in goAway()
DHttp2Test.java224 frame.writeInt(ErrorCode.COMPRESSION_ERROR.httpCode); in readRstStreamFrame()
227 @Override public void rstStream(int streamId, ErrorCode errorCode) { in readRstStreamFrame()
229 assertEquals(ErrorCode.COMPRESSION_ERROR, errorCode); in readRstStreamFrame()
565 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayWithoutDebugDataRoundTrip()
579 int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { in goAwayWithoutDebugDataRoundTrip()
588 final ErrorCode expectedError = ErrorCode.PROTOCOL_ERROR; in goAwayWithDebugDataRoundTrip()
605 int lastGoodStreamId, ErrorCode errorCode, ByteString debugData) { in goAwayWithDebugDataRoundTrip()
673 private Buffer sendGoAway(int lastGoodStreamId, ErrorCode errorCode, byte[] debugData) in sendGoAway()
/external/skia/include/xml/
DSkXMLParser.h22 enum ErrorCode { enum
34 ErrorCode getErrorCode() const { return fCode; } in getErrorCode()
41 void setCode(ErrorCode code) { fCode = code; } in setCode()
46 ErrorCode fCode;
/external/lzma/CPP/7zip/UI/Console/
DMainAr.cpp72 if (systemError.ErrorCode == E_OUTOFMEMORY) in main()
77 if (systemError.ErrorCode == E_ABORT) in main()
83 NError::MyFormatMessage(systemError.ErrorCode, message); in main()
/external/clang/include/clang/Serialization/
DGlobalModuleIndex.h128 enum ErrorCode { enum
147 static std::pair<GlobalModuleIndex *, ErrorCode>
198 static ErrorCode writeIndex(FileManager &FileMgr, StringRef Path);
/external/skia/src/animator/
DSkDisplayXMLParser.h23 enum ErrorCode { enum
55 void setCode(ErrorCode code) { INHERITED::setCode((INHERITED::ErrorCode) code); } in setCode()
DSkAnimateMaker.h77 SkXMLParserError::ErrorCode getErrorCode() const { return fError.getErrorCode(); } in getErrorCode()
93 …void setErrorCode(SkXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError.INHERI… in setErrorCode()
94 …void setErrorCode(SkDisplayXMLParserError::ErrorCode err) { if (fError.hasError() == false) fError… in setErrorCode()
/external/lzma/CPP/Common/
DMyException.h10 HRESULT ErrorCode; member
11 CSystemException(HRESULT errorCode): ErrorCode(errorCode) {} in CSystemException()
/external/llvm/unittests/Support/
DConvertUTFTest.cpp84 ConversionResult ErrorCode; member
87 ConvertUTFResultContainer(ConversionResult ErrorCode) in ConvertUTFResultContainer()
88 : ErrorCode(ErrorCode) {} in ConvertUTFResultContainer()
124 auto ErrorCode = in ConvertUTF8ToUnicodeScalarsLenient() local
130 return std::make_pair(ErrorCode, Decoded); in ConvertUTF8ToUnicodeScalarsLenient()
141 auto ErrorCode = ConvertUTF8toUTF32Partial( in ConvertUTF8ToUnicodeScalarsPartialLenient() local
147 return std::make_pair(ErrorCode, Decoded); in ConvertUTF8ToUnicodeScalarsPartialLenient()
153 ConversionResult ErrorCode; in CheckConvertUTF8ToUnicodeScalars() local
156 std::tie(ErrorCode, Decoded) = ConvertUTF8ToUnicodeScalarsLenient(S); in CheckConvertUTF8ToUnicodeScalars()
158 std::tie(ErrorCode, Decoded) = ConvertUTF8ToUnicodeScalarsPartialLenient(S); in CheckConvertUTF8ToUnicodeScalars()
[all …]
/external/giflib/
Dgif_err.c16 GifErrorString(int ErrorCode) in GifErrorString() argument
20 switch (ErrorCode) { in GifErrorString()
/external/clang/tools/libclang/
DCXCompilationDatabase.cpp14 CXCompilationDatabase_Error *ErrorCode) in clang_CompilationDatabase_fromDirectory() argument
27 if (ErrorCode) in clang_CompilationDatabase_fromDirectory()
28 *ErrorCode = Err; in clang_CompilationDatabase_fromDirectory()
/external/regex-re2/re2/
Dfiltered_re2.cc24 RE2::ErrorCode FilteredRE2::Add(const StringPiece& pattern, in Add()
27 RE2::ErrorCode code = re->error_code(); in Add()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmserr.c496 static void DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const c…
521 void DefaultLogErrorHandlerFunction(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Te… in DefaultLogErrorHandlerFunction() argument
527 cmsUNUSED_PARAMETER(ErrorCode); in DefaultLogErrorHandlerFunction()
553 void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode, const char *ErrorTex… in cmsSignalError() argument
567 lhg ->LogErrorHandler(ContextID, ErrorCode, Buffer); in cmsSignalError()

123