Home
last modified time | relevance | path

Searched refs:scode (Results 1 – 12 of 12) sorted by relevance

/external/curl/tests/libtest/
Dlib586.c132 CURLSHcode scode = CURLSHE_OK; in test() local
157 if(CURLSHE_OK == scode) { in test()
159 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
161 if(CURLSHE_OK == scode) { in test()
163 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
165 if(CURLSHE_OK == scode) { in test()
167 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
169 if(CURLSHE_OK == scode) { in test()
171 scode = curl_share_setopt(share, CURLSHOPT_SHARE, in test()
175 if(CURLSHE_OK != scode) { in test()
[all …]
Dlib506.c175 CURLSHcode scode = CURLSHE_OK; in test() local
204 if(CURLSHE_OK == scode) { in test()
206 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
208 if(CURLSHE_OK == scode) { in test()
210 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
212 if(CURLSHE_OK == scode) { in test()
214 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
216 if(CURLSHE_OK == scode) { in test()
218 scode = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
220 if(CURLSHE_OK == scode) { in test()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStatusLineParser.java51 String scode = this.lexer.number(); in statusCode() local
55 int retval = Integer.parseInt(scode); in statusCode()
80 int scode = statusCode(); in parse() local
81 retval.setStatusCode(scode); in parse()
/external/webrtc/webrtc/base/
Dhttpcommon.cc591 scode = HC_INTERNAL_SERVER_ERROR; in clear()
598 scode = src.scode; in copy()
603 void HttpResponseData::set_success(uint32_t scode) { in set_success() argument
604 this->scode = scode; in set_success()
611 uint32_t scode) { in set_success() argument
612 this->scode = scode; in set_success()
618 uint32_t scode) { in set_redirect() argument
619 this->scode = scode; in set_redirect()
625 void HttpResponseData::set_error(uint32_t scode) { in set_error() argument
626 this->scode = scode; in set_error()
[all …]
Dhttpclient.cc53 has_expires || HttpCodeIsCacheable(t.response.scode); in HttpShouldCache()
444 || !HttpCodeIsRedirection(response().scode) in ShouldRedirect()
449 || (HC_SEE_OTHER == response().scode) in ShouldRedirect()
579 response().scode = HC_OK; in ReadCacheHeaders()
676 if (HC_NOT_MODIFIED == response().scode) { in onHttpHeaderComplete()
686 if ((request().verb == HV_HEAD) || !HttpCodeHasBody(response().scode)) { in onHttpHeaderComplete()
691 || ((HC_PROXY_AUTHENTICATION_REQUIRED == response().scode) in onHttpHeaderComplete()
715 && (HC_INTERNAL_SERVER_ERROR == response().scode) in onHttpComplete()
734 } else if ((mode == HM_SEND) || HttpCodeIsInformational(response().scode)) { in onHttpComplete()
749 if (response().scode == HC_SEE_OTHER) { in onHttpComplete()
[all …]
Dhttpcommon_unittest.cc128 EXPECT_EQ(200U, response.scode); in TEST()
137 EXPECT_EQ(200U, response.scode); in TEST()
146 EXPECT_EQ(200U, response.scode); in TEST()
155 EXPECT_EQ(503U, response.scode); in TEST()
Dhttpcommon.h407 uint32_t scode; member
410 HttpResponseData() : scode(HC_INTERNAL_SERVER_ERROR) { } in HttpResponseData()
415 void set_success(uint32_t scode = HC_OK);
418 uint32_t scode = HC_OK);
420 uint32_t scode = HC_MOVED_TEMPORARILY);
421 void set_error(uint32_t scode);
Dhttpbase_unittest.cc148 EXPECT_EQ(static_cast<uint32_t>(HC_OK), data.scode); in VerifyHeaderComplete()
218 EXPECT_EQ(static_cast<uint32_t>(HC_INTERNAL_SERVER_ERROR), data.scode); in VerifyDocumentStreamOpenEvent()
276 data.scode = HC_OK; in SetupDocument()
/external/lzma/CPP/Windows/
DPropVariant.cpp32 p->scode = E_OUTOFMEMORY; in PropVarEm_Alloc_Bstr()
48 p->scode = E_OUTOFMEMORY; in PropVarEm_Set_Str()
307 scode = hr; in InternalClear()
320 scode = hr; in InternalCopy()
/external/pcre/dist2/src/
Dpcre2_compile.c1431 PCRE2_SPTR scode, endgroup; in could_be_empty_branch() local
1435 scode = cb->start_code + GET(code, 1); in could_be_empty_branch()
1436 endgroup = scode; in could_be_empty_branch()
1444 if (code >= scode && code <= endgroup) continue; /* Simple recursion */ in could_be_empty_branch()
1449 if (r->group == scode) break; in could_be_empty_branch()
1458 this_recurse.group = scode; in could_be_empty_branch()
1462 int rc = could_be_empty_branch(scode, endcode, utf, cb, atend, in could_be_empty_branch()
1470 scode += GET(scode, 1); in could_be_empty_branch()
1472 while (*scode == OP_ALT); in could_be_empty_branch()
5676 PCRE2_UCHAR *scode = bracode; in compile_branch() local
[all …]
Dpcre2_match.c1128 PCRE2_SPTR scode = ecode; in match() local
1129 if (*scode != OP_ONCE) /* If not at start, find it */ in match()
1131 while (*scode == OP_ALT) scode += GET(scode, 1); in match()
1132 scode -= GET(scode, 1); in match()
1134 if (mb->once_target == scode) rrc = MATCH_NOMATCH; in match()
/external/lzma/CPP/Common/
DMyWindows.h174 SCODE scode; member