Home
last modified time | relevance | path

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

/external/curl/tests/libtest/
Dlib586.c133 CURLSHcode scode = CURLSHE_OK; in test() local
159 if(CURLSHE_OK == scode) { in test()
161 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
163 if(CURLSHE_OK == scode) { in test()
165 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
167 if(CURLSHE_OK == scode) { in test()
169 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
171 if(CURLSHE_OK == scode) { in test()
173 scode = curl_share_setopt(share, CURLSHOPT_SHARE, in test()
177 if(CURLSHE_OK != scode) { in test()
[all …]
Dlib506.c176 CURLSHcode scode = CURLSHE_OK; in test() local
206 if(CURLSHE_OK == scode) { in test()
208 scode = curl_share_setopt(share, CURLSHOPT_LOCKFUNC, my_lock); in test()
210 if(CURLSHE_OK == scode) { in test()
212 scode = curl_share_setopt(share, CURLSHOPT_UNLOCKFUNC, my_unlock); in test()
214 if(CURLSHE_OK == scode) { in test()
216 scode = curl_share_setopt(share, CURLSHOPT_USERDATA, &user); in test()
218 if(CURLSHE_OK == scode) { in test()
220 scode = curl_share_setopt(share, CURLSHOPT_SHARE, CURL_LOCK_DATA_COOKIE); in test()
222 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.c8145 PCRE2_SPTR scode = first_significant_code( in is_anchored() local
8147 int op = *scode; in is_anchored()
8154 if (!is_anchored(scode, bracket_map, cb, atomcount, inassert)) in is_anchored()
8163 int n = GET2(scode, 1+LINK_SIZE); in is_anchored()
8165 if (!is_anchored(scode, new_map, cb, atomcount, inassert)) return FALSE; in is_anchored()
8172 if (!is_anchored(scode, bracket_map, cb, atomcount, TRUE)) return FALSE; in is_anchored()
8179 if (scode[GET(scode,1)] != OP_ALT) return FALSE; in is_anchored()
8180 if (!is_anchored(scode, bracket_map, cb, atomcount, inassert)) in is_anchored()
8188 if (!is_anchored(scode, bracket_map, cb, atomcount + 1, inassert)) in is_anchored()
8202 if (scode[1] != OP_ALLANY || (bracket_map & cb->backref_map) != 0 || in is_anchored()
[all …]
/external/lzma/CPP/Common/
DMyWindows.h189 SCODE scode; member