Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dhttpclient.cc48 bool is_range_response = t.response.hasHeader(HH_CONTENT_RANGE, NULL); in HttpShouldCache()
49 bool has_expires = t.response.hasHeader(HH_EXPIRES, NULL); in HttpShouldCache()
61 if (t.response.hasHeader(HH_CACHE_CONTROL, &value)) { in HttpShouldCache()
97 if (t.response.hasHeader(HH_CACHE_CONTROL, &s_temp)) { in HttpGetCacheState()
103 if (!t.response.hasHeader(HH_DATE, &s_temp) in HttpGetCacheState()
118 if (t.response.hasHeader(HH_AGE, &s_temp) in HttpGetCacheState()
133 } else if (t.response.hasHeader(HH_EXPIRES, &s_temp) in HttpGetCacheState()
136 } else if (t.response.hasHeader(HH_LAST_MODIFIED, &s_temp) in HttpGetCacheState()
157 return request.hasHeader(HH_RANGE, NULL) ? HVS_STRONG : HVS_WEAK; in HttpRequestValidatorLevel()
163 if (response.hasHeader(HH_ETAG, &value)) { in HttpResponseValidatorLevel()
[all …]
Dhttpbase_unittest.cc149 EXPECT_TRUE(data.hasHeader(HH_PROXY_AUTHORIZATION, &header)); in VerifyHeaderComplete()
151 EXPECT_TRUE(data.hasHeader(HH_CONNECTION, &header)); in VerifyHeaderComplete()
158 EXPECT_TRUE(data.hasHeader(HH_CONTENT_LENGTH, &header)); in VerifyHeaderComplete()
164 EXPECT_TRUE(data.hasHeader(HH_CONTENT_TYPE, &header)); in VerifyHeaderComplete()
166 EXPECT_TRUE(data.hasHeader(HH_TRANSFER_ENCODING, &header)); in VerifyHeaderComplete()
Dhttpcommon.cc202 if ((data.hasHeader(HH_PROXY_CONNECTION, &connection) in HttpShouldKeepAlive()
203 || data.hasHeader(HH_CONNECTION, &connection))) { in HttpShouldKeepAlive()
466 HttpData::hasHeader(const std::string& name, std::string* value) const { in hasHeader() function in rtc::HttpData
484 ASSERT(!hasHeader(HH_CONTENT_LENGTH, NULL)); in setDocumentAndLength()
485 ASSERT(!hasHeader(HH_TRANSFER_ENCODING, NULL)); in setDocumentAndLength()
560 if (!hasHeader(HH_HOST, &host)) in getAbsoluteUri()
579 if (!hasHeader(HH_HOST, host)) in getRelativeUri()
Dhttpcommon.h316 bool hasHeader(const std::string& name, std::string* value) const;
359 inline bool hasHeader(HttpHeader header, std::string* value) const { in hasHeader() function
360 return hasHeader(ToString(header), value); in hasHeader()
Dhttprequest.cc111 if (client_.response().hasHeader(HH_LOCATION, &value)) { in Send()
Dhttpbase.cc422 if (data_->hasHeader(HH_TRANSFER_ENCODING, &encoding) in send()
/external/python/cpython3/Lib/
Dcsv.py434 hasHeader = 0
438 hasHeader += 1
440 hasHeader -= 1
445 hasHeader += 1
447 hasHeader -= 1
449 return hasHeader > 0
/external/python/cpython2/Lib/
Dcsv.py441 hasHeader = 0
445 hasHeader += 1
447 hasHeader -= 1
452 hasHeader += 1
454 hasHeader -= 1
456 return hasHeader > 0
/external/deqp/executor/
DxeTcpIpLink.cpp292 bool hasHeader = m_curMsgPos >= xs::MESSAGE_HEADER_SIZE; in run() local
297 if (hasHeader) in run()
312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; in run()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java57 if (!HeaderAndBody.parseFrom(secmsg.getHeaderAndBody()).hasHeader()) { in getUnverifiedHeader()
248 if (!result.hasHeader() || !result.hasBody()) { in verifyHeaderAndBody()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java368 boolean hasHeader = line.startsWith(HEADER_PREFIX); in processFile()
369 if (hasHeader && !force) { in processFile()
430 if (hasHeader) { in processFile()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java1448 public boolean hasHeader(String headerName) { in hasHeader() method in SIPMessage