Home
last modified time | relevance | path

Searched refs:dtls (Results 1 – 14 of 14) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_deadlock_detector_test.cc38 dtls.clear(); in ScopedDD()
42 DeadlockDetectorTLS<BV> dtls; member
50 DeadlockDetectorTLS<BV> &dtls = sdd.dtls; in RunBasicTest() local
76 dtls.clear(); in RunBasicTest()
79 EXPECT_FALSE(d.onLock(&dtls, n1)); in RunBasicTest()
80 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest()
81 d.onUnlock(&dtls, n2); in RunBasicTest()
82 d.onUnlock(&dtls, n1); in RunBasicTest()
84 EXPECT_FALSE(d.onLock(&dtls, n2)); in RunBasicTest()
85 EXPECT_EQ(0U, d.findPathToLock(&dtls, n1, path, 1)); in RunBasicTest()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_tls_get_addr.cc38 static __thread DTLS dtls; variable
54 if (dtls.dtv_size >= new_size) return; in DTLS_Resize()
61 VPrintf(2, "__tls_get_addr: DTLS_Resize %p %zd\n", &dtls, num_live_dtls); in DTLS_Resize()
63 uptr old_dtv_size = dtls.dtv_size; in DTLS_Resize()
64 DTLS::DTV *old_dtv = dtls.dtv; in DTLS_Resize()
66 internal_memcpy(new_dtv, dtls.dtv, dtls.dtv_size * sizeof(DTLS::DTV)); in DTLS_Resize()
67 dtls.dtv = new_dtv; in DTLS_Resize()
68 dtls.dtv_size = new_size; in DTLS_Resize()
75 VPrintf(2, "__tls_get_addr: DTLS_Destroy %p %zd\n", &dtls, dtls.dtv_size); in DTLS_Destroy()
76 uptr s = dtls.dtv_size; in DTLS_Destroy()
[all …]
Dsanitizer_deadlock_detector.h195 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { in ensureCurrentEpoch() argument
196 dtls->ensureCurrentEpoch(current_epoch_); in ensureCurrentEpoch()
202 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { in onLockBefore() argument
203 ensureCurrentEpoch(dtls); in onLockBefore()
205 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); in onLockBefore()
208 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { in findLockContext() argument
209 return dtls->findLockContext(nodeToIndex(node)); in findLockContext()
213 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) {
214 ensureCurrentEpoch(dtls);
216 dtls->addLock(cur_idx, current_epoch_, stk);
[all …]
/external/compiler-rt/lib/msan/
Dmsan_thread.cc38 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() local
39 for (uptr i = 0; i < dtls->dtv_size; ++i) in ClearShadowForThreadStackAndTLS()
40 __msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size); in ClearShadowForThreadStackAndTLS()
/external/compiler-rt/test/asan/TestCases/Linux/
Dstress_dtls.c64 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() local
65 fprintf(stderr, " dtls[%03d]: %lx\n", i, dtls); in PrintStuff()
66 *(long*)dtls = 42; // check that this is writable. in PrintStuff()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dtransportdescriptionfactory_unittest.cc76 void TestIceRestart(bool dtls) { in TestIceRestart() argument
77 if (dtls) { in TestIceRestart()
100 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get()); in TestIceRestart()
108 VerifyUfragAndPasswordChanged(dtls, answer.get(), restart_answer.get()); in TestIceRestart()
111 void VerifyUfragAndPasswordChanged(bool dtls, in VerifyUfragAndPasswordChanged() argument
121 if (dtls) { in VerifyUfragAndPasswordChanged()
Ddtlstransportchannel.cc529 void DtlsTransportChannelWrapper::OnDtlsEvent(rtc::StreamInterface* dtls, in OnDtlsEvent() argument
532 ASSERT(dtls == dtls_.get()); in OnDtlsEvent()
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Drunner.go97 dtls const
490 if test.protocol == dtls {
502 if test.protocol == dtls {
509 if test.protocol == dtls {
567 if test.protocol == dtls {
585 if test.protocol == dtls {
675 if test.protocol == dtls {
885 protocol: dtls,
897 protocol: dtls,
1076 if protocol == dtls {
[all …]
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
Dcall_main.cc235 DEFINE_string(dtls, "disable", in main()
279 std::string dtls = FLAG_dtls; in main() local
426 if (!GetSecurePolicy(dtls, &dtls_policy)) { in main()
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dchannel.cc875 bool* dtls, in CheckSrtpConfig() argument
877 *dtls = transport_channel_->IsDtlsActive(); in CheckSrtpConfig()
878 if (*dtls && !cryptos.empty()) { in CheckSrtpConfig()
931 bool dtls = false; in SetSrtp_w() local
932 ret = CheckSrtpConfig(cryptos, &dtls, error_desc); in SetSrtp_w()
940 if (!dtls) { in SetSrtp_w()
947 if (!dtls) { in SetSrtp_w()
954 if (!dtls) { in SetSrtp_w()
Dchannel.h334 bool* dtls,
/external/chromium_org/third_party/webrtc/base/
Dsslstreamadapter_unittest.cc161 bool dtls) : in SSLStreamAdapterTestBase() argument
171 damage_(false), dtls_(dtls), in SSLStreamAdapterTestBase()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc266 bool dtls; in CreatePeerConnection() local
269 &dtls, in CreatePeerConnection()
270 NULL) && dtls) { in CreatePeerConnection()
Dwebrtcsession_unittest.cc464 void VerifyNoCryptoParams(const cricket::SessionDescription* sdp, bool dtls) { in VerifyNoCryptoParams() argument
481 if (dtls) { in VerifyNoCryptoParams()