/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | StatusLine.java | 57 protected int statusCode; field in StatusLine 78 if (sl.statusCode != 0) { in match() 80 int hiscode = sl.statusCode; in match() 81 String codeString = Integer.toString(sl.statusCode); in match() 82 String mycode = Integer.toString(statusCode); in match() 86 if (statusCode != sl.statusCode) in match() 116 String encoding = SIPConstants.SIP_VERSION_STRING + SP + statusCode; in encode() 134 return statusCode; in getStatusCode() 154 public void setStatusCode(int statusCode) { in setStatusCode() argument 155 this.statusCode = statusCode; in setStatusCode()
|
/external/deqp/scripts/log/ |
D | log_parser.py | 57 def __init__ (self, name, statusCode, statusDetails, log): argument 59 self.statusCode = statusCode 64 return "%s: %s (%s)" % (self.name, self.statusCode, self.statusDetails) 143 statusCode = ' '.join(args[1:]) 144 statusDetails = statusCode 146 if not StatusCode.isValid(statusCode): 148 if statusCode == "Watchdog timeout occurred.": 149 statusCode = StatusCode.TIMEOUT 151 statusCode = StatusCode.CRASH 154 …self.testCaseResults.append(TestCaseResult(self.curCaseName, statusCode, statusDetails, self.curRe… [all …]
|
/external/deqp/executor/tools/ |
D | xeExtractValues.cpp | 45 : statusCode(false) in CommandLine() 51 bool statusCode; member 60 xe::TestStatusCode statusCode; member 156 tagResult.statusCode = caseData->getStatusCode(); in testCaseResultComplete() 168 …if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTST… in testCaseResultComplete() 169 …(tagResult.statusCode == xe::TESTSTATUSCODE_LAST && fullResult.statusCode != xe::TESTSTATUSCODE_LA… in testCaseResultComplete() 171 tagResult.statusCode = fullResult.statusCode; in testCaseResultComplete() 174 else if (tagResult.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete() 177 tagResult.statusCode = xe::TESTSTATUSCODE_INTERNAL_ERROR; in testCaseResultComplete() 230 if (cmdLine.statusCode) in printTaggedValues() [all …]
|
D | xeTestLogCompare.cpp | 155 header.statusCode = caseData->getStatusCode(); in testCaseResultComplete() 158 if (header.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete() 251 headers[ndx].statusCode = xe::TESTSTATUSCODE_LAST; in getTestResultHeaders() 321 if (iter->statusCode != headers[0].statusCode) in runCompare() 337 …dst << " " << batchNames[ndx] << ": " << getStatusCodeName(headers[ndx].statusCode) << " (" << he… in runCompare() 344 …(cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) : iter->statusD… in runCompare()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicStatusLine.java | 66 private final int statusCode; field in BasicStatusLine 80 public BasicStatusLine(final ProtocolVersion version, int statusCode, in BasicStatusLine() argument 87 if (statusCode < 0) { in BasicStatusLine() 92 this.statusCode = statusCode; in BasicStatusLine() 102 return this.statusCode; in getStatusCode()
|
/external/apache-http/src/org/apache/http/client/ |
D | HttpResponseException.java | 45 private final int statusCode; field in HttpResponseException 47 public HttpResponseException(int statusCode, final String s) { in HttpResponseException() argument 49 this.statusCode = statusCode; in HttpResponseException() 53 return this.statusCode; in getStatusCode()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
D | TestHttpResponse.java | 24 private int statusCode; field in TestHttpResponse 33 this.statusCode = 200; in TestHttpResponse() 37 public TestHttpResponse(int statusCode, String responseBody) { in TestHttpResponse() argument 38 this.statusCode = statusCode; in TestHttpResponse() 42 public TestHttpResponse(int statusCode, String responseBody, Header... headers) { in TestHttpResponse() argument 43 this(statusCode, responseBody.getBytes(), headers); in TestHttpResponse() 46 public TestHttpResponse(int statusCode, byte[] responseBody, Header... headers) { in TestHttpResponse() argument 47 this.statusCode = statusCode; in TestHttpResponse() 238 return statusCode; 242 return "HTTP status " + statusCode;
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | MessageFactoryImpl.java | 286 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 297 statusLine.setStatusCode(statusCode); in createResponse() 298 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); in createResponse() 343 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 353 sipResponse.setStatusCode(statusCode); in createResponse() 390 public Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 400 sipResponse.setStatusCode(statusCode); in createResponse() 433 public Response createResponse(int statusCode, Request request, in createResponse() argument 440 SIPResponse sipResponse = sipRequest.createResponse(statusCode); in createResponse() 466 public Response createResponse(int statusCode, Request request, in createResponse() argument [all …]
|
D | SIPRequest.java | 660 public SIPResponse createResponse(int statusCode) { in createResponse() argument 662 String reasonPhrase = SIPResponse.getReasonPhrase(statusCode); in createResponse() 663 return this.createResponse(statusCode, reasonPhrase); in createResponse() 684 public SIPResponse createResponse(int statusCode, String reasonPhrase) { in createResponse() argument 691 newResponse.setStatusCode(statusCode); in createResponse() 693 throw new IllegalArgumentException("Bad code " + statusCode); in createResponse() 698 newResponse.setReasonPhrase(SIPResponse.getReasonPhrase(statusCode)); in createResponse() 706 || (nextHeader instanceof RecordRouteList && mustCopyRR(statusCode)) in createResponse()
|
/external/nist-sip/java/javax/sip/message/ |
D | MessageFactory.java | 32 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 37 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 42 Response createResponse(int statusCode, CallIdHeader callId, in createResponse() argument 46 Response createResponse(int statusCode, Request request, in createResponse() argument 50 Response createResponse(int statusCode, Request request, in createResponse() argument 54 Response createResponse(int statusCode, Request request) in createResponse() argument
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | HttpUrlFetcher.java | 68 final int statusCode = urlConnection.getResponseCode(); in loadDataWithRedirects() local 69 if (statusCode / 100 == 2) { in loadDataWithRedirects() 72 } else if (statusCode / 100 == 3) { in loadDataWithRedirects() 80 if (statusCode == -1) { in loadDataWithRedirects() 83 … throw new IOException("Request failed " + statusCode + ": " + urlConnection.getResponseMessage()); in loadDataWithRedirects()
|
/external/deqp/framework/platform/android/ |
D | tcuTestLogParserJNI.cpp | 57 void testCaseResult (const char* statusCode, const char* details); 149 void TestLogListener::testCaseResult (const char* statusCode, const char* details) in testCaseResult() argument 151 jstring jStatusCode = m_env->NewStringUTF(statusCode); in testCaseResult() 234 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse() 236 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse() 272 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse() 274 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse() 293 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse() 295 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPClientTransaction.java | 608 int statusCode = transactionResponse.getStatusCode(); in nonInviteClientTransaction() local 610 if (statusCode / 100 == 1) { in nonInviteClientTransaction() 621 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction() 636 if (statusCode / 100 == 1) { in nonInviteClientTransaction() 642 } else if (200 <= statusCode && statusCode <= 699) { in nonInviteClientTransaction() 725 int statusCode = transactionResponse.getStatusCode(); in inviteClientTransaction() local 756 if (statusCode / 100 == 2) { in inviteClientTransaction() 772 } else if (statusCode / 100 == 1) { in inviteClientTransaction() 783 } else if (300 <= statusCode && statusCode <= 699) { in inviteClientTransaction() 821 if (statusCode / 100 == 1) { in inviteClientTransaction() [all …]
|
D | SIPServerTransaction.java | 880 int statusCode; in sendMessage() local 884 statusCode = transactionResponse.getStatusCode(); in sendMessage() 915 if (statusCode / 100 == 1) { in sendMessage() 917 } else if (200 <= statusCode && statusCode <= 699) { in sendMessage() 956 if (statusCode / 100 == 2) { in sendMessage() 1011 if (statusCode / 100 == 2) { in sendMessage() 1023 } else if (300 <= statusCode && statusCode <= 699) { in sendMessage() 1046 } else if (200 <= statusCode && statusCode <= 699) { in sendMessage()
|
/external/deqp/scripts/ |
D | run_nightly.py | 105 def __init__ (self, name, statusCode): argument 107 self.statusCode = statusCode 185 statusCode = result.statusCode if result != None else 'Missing' 186 statusCodes.append(statusCode) 225 for statusCode in result.statusCodes: 226 col += '<td class="%s">%s</td>\n' % (statusCode, statusCode)
|
/external/apache-http/android/src/android/net/http/ |
D | Request.java | 245 int statusCode = 0; in readResponse() local 250 statusCode = statusLine.getStatusCode(); in readResponse() 251 } while (statusCode < HttpStatus.SC_OK); in readResponse() 258 statusCode, statusLine.getReasonPhrase()); in readResponse() local 261 hasBody = canResponseHaveBody(mHttpRequest, statusCode); in readResponse() 332 if (statusCode == HttpStatus.SC_OK in readResponse() 333 || statusCode == HttpStatus.SC_PARTIAL_CONTENT) { in readResponse()
|
D | HttpsConnection.java | 198 int statusCode = 0; in openConnection() local 224 statusCode = statusLine.getStatusCode(); in openConnection() 225 } while (statusCode < HttpStatus.SC_OK); in openConnection() 252 if (statusCode == HttpStatus.SC_OK) { in openConnection() 274 statusCode, in openConnection() local
|
D | RequestHandle.java | 144 public boolean setupRedirect(String redirectTo, int statusCode, in setupRedirect() argument 190 if ((statusCode == 302 || statusCode == 303) && mMethod.equals("POST")) { in setupRedirect() 198 if (statusCode == 307) { in setupRedirect()
|
/external/deqp/executor/ |
D | xeTestResultParser.cpp | 217 TestStatusCode getTestStatusCode (const char* statusCode) in getTestStatusCode() argument 219 …Code)getEnumValue("status code", s_statusCodeMap, DE_LENGTH_OF_ARRAY(s_statusCodeMap), statusCode); in getTestStatusCode() 369 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse() 377 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse() 483 result->statusCode = getTestStatusCode(getAttribute("StatusCode")); in handleElementStart() 749 m_result->statusCode = result->statusCode; in handleElementEnd() 878 result->statusCode = data.getStatusCode(); in parseTestCaseResultFromData() 887 if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData() 889 result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parseTestCaseResultFromData() 899 else if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData() [all …]
|
D | xeTestLogParser.cpp | 140 TestStatusCode statusCode = TESTSTATUSCODE_CRASH; in parse() local 144 statusCode = getTestStatusCode(reason); in parse() 150 m_currentCaseData->setTestResult(statusCode, reason); in parse()
|
D | xeTestCaseResult.hpp | 56 const char* getTestStatusCodeName (TestStatusCode statusCode); 116 TestCaseResultHeader (void) : caseType(TESTCASETYPE_LAST), statusCode(TESTSTATUSCODE_LAST) {} in TestCaseResultHeader() 120 TestStatusCode statusCode; //!< Test status code. member in xe::TestCaseResultHeader 213 Result (void) : Item(TYPE_RESULT), statusCode(TESTSTATUSCODE_LAST) {} in Result() 216 TestStatusCode statusCode; member in xe::ri::Result
|
D | xeBatchResult.cpp | 60 void TestCaseResultData::setTestResult (TestStatusCode statusCode, const char* statusDetails) in setTestResult() argument 62 m_statusCode = statusCode; in setTestResult()
|
/external/autotest/frontend/client/src/autotest/common/ |
D | XhrJsonRpcProxy.java | 58 int statusCode = response.getStatusCode(); in onResponseReceived() local 59 if (statusCode != 200) { in onResponseReceived() 60 notify.showError("Received error " + Integer.toString(statusCode) + " " + in onResponseReceived()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | StatusLineParser.java | 50 protected int statusCode() throws ParseException { in statusCode() method in StatusLineParser 80 int scode = statusCode(); in parse()
|
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/samples/echo/ |
D | SimpleEchoSocket.java | 78 public void onClose(int statusCode, String reason) { in onClose() argument 79 System.out.printf("Connection closed: %d - %s%n", statusCode, reason); in onClose()
|