Home
last modified time | relevance | path

Searched refs:dtls (Results 1 – 21 of 21) 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.h199 void ensureCurrentEpoch(DeadlockDetectorTLS<BV> *dtls) { in ensureCurrentEpoch() argument
200 dtls->ensureCurrentEpoch(current_epoch_); in ensureCurrentEpoch()
206 bool onLockBefore(DeadlockDetectorTLS<BV> *dtls, uptr cur_node) { in onLockBefore() argument
207 ensureCurrentEpoch(dtls); in onLockBefore()
209 return g_.isReachable(cur_idx, dtls->getLocks(current_epoch_)); in onLockBefore()
212 u32 findLockContext(DeadlockDetectorTLS<BV> *dtls, uptr node) { in findLockContext() argument
213 return dtls->findLockContext(nodeToIndex(node)); in findLockContext()
217 void onLockAfter(DeadlockDetectorTLS<BV> *dtls, uptr cur_node, u32 stk = 0) {
218 ensureCurrentEpoch(dtls);
220 dtls->addLock(cur_idx, current_epoch_, stk);
[all …]
/external/compiler-rt/lib/msan/
Dmsan_thread.cc38 DTLS *dtls = DTLS_Get(); in ClearShadowForThreadStackAndTLS() local
39 CHECK_NE(dtls, 0); in ClearShadowForThreadStackAndTLS()
40 for (uptr i = 0; i < dtls->dtv_size; ++i) in ClearShadowForThreadStackAndTLS()
41 __msan_unpoison((void *)(dtls->dtv[i].beg), dtls->dtv[i].size); in ClearShadowForThreadStackAndTLS()
/external/compiler-rt/lib/lsan/
Dlsan_thread.cc66 DTLS *dtls; member
77 dtls_ = args->dtls; in OnStarted()
99 args.dtls = DTLS_Get(); in ThreadStart()
141 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument
151 *dtls = context->dtls(); in GetThreadRangesLocked()
Dlsan_common.cc197 DTLS *dtls; in ProcessThreads() local
200 &cache_begin, &cache_end, &dtls); in ProcessThreads()
260 if (dtls) { in ProcessThreads()
261 for (uptr j = 0; j < dtls->dtv_size; ++j) { in ProcessThreads()
262 uptr dtls_beg = dtls->dtv[j].beg; in ProcessThreads()
263 uptr dtls_end = dtls_beg + dtls->dtv[j].size; in ProcessThreads()
Dlsan_thread.h37 DTLS *dtls() { return dtls_; } in dtls() function
Dlsan_common.h156 uptr *cache_end, DTLS **dtls);
/external/compiler-rt/test/asan/TestCases/Linux/
Dstress_dtls.c65 uintptr_t dtls = (uintptr_t)Functions[i](); in PrintStuff() local
66 fprintf(stderr, " dtls[%03d]: %lx\n", i, dtls); in PrintStuff()
67 *(long*)dtls = 42; // check that this is writable. in PrintStuff()
/external/webrtc/webrtc/p2p/base/
Dtransportdescriptionfactory_unittest.cc61 void TestIceRestart(bool dtls) { in TestIceRestart() argument
62 if (dtls) { in TestIceRestart()
85 VerifyUfragAndPasswordChanged(dtls, offer.get(), restart_offer.get()); in TestIceRestart()
93 VerifyUfragAndPasswordChanged(dtls, answer.get(), restart_answer.get()); in TestIceRestart()
96 void VerifyUfragAndPasswordChanged(bool dtls, in VerifyUfragAndPasswordChanged() argument
106 if (dtls) { in VerifyUfragAndPasswordChanged()
Ddtlstransportchannel.cc528 void DtlsTransportChannelWrapper::OnDtlsEvent(rtc::StreamInterface* dtls, in OnDtlsEvent() argument
531 ASSERT(dtls == dtls_.get()); in OnDtlsEvent()
/external/boringssl/src/ssl/test/runner/
Drunner.go418 if protocol == dtls {
467 dtls const
713 if test.protocol == dtls {
725 isDatagram: test.protocol == dtls,
766 if test.protocol == dtls {
773 if test.protocol == dtls {
995 if test.protocol == dtls {
1062 if test.protocol == dtls {
1241 if test.protocol == dtls {
1301 if test.protocol == dtls {
[all …]
/external/compiler-rt/lib/asan/
Dasan_thread.cc400 uptr *cache_end, DTLS **dtls) { in GetThreadRangesLocked() argument
410 *dtls = t->dtls(); in GetThreadRangesLocked()
Dasan_thread.h74 DTLS *dtls() { return dtls_; } in dtls() function
/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.h58 bool CreatePeerConnection(bool dtls);
Dconductor.cc112 bool Conductor::CreatePeerConnection(bool dtls) { in CreatePeerConnection() argument
122 if (dtls) { in CreatePeerConnection()
/external/webrtc/talk/session/media/
Dchannel.cc1019 bool* dtls, in CheckSrtpConfig() argument
1021 *dtls = transport_channel_->IsDtlsActive(); in CheckSrtpConfig()
1022 if (*dtls && !cryptos.empty()) { in CheckSrtpConfig()
1039 bool dtls = false; in SetSrtp_w() local
1040 ret = CheckSrtpConfig(cryptos, &dtls, error_desc); in SetSrtp_w()
1048 if (!dtls) { in SetSrtp_w()
1055 if (!dtls) { in SetSrtp_w()
1062 if (!dtls) { in SetSrtp_w()
Dchannel.h280 bool* dtls,
/external/webrtc/webrtc/base/
Dsslstreamadapter_unittest.cc227 bool dtls, in SSLStreamAdapterTestBase() argument
243 dtls_(dtls), in SSLStreamAdapterTestBase()
/external/webrtc/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc568 bool dtls; in CreatePeerConnection() local
571 &dtls, in CreatePeerConnection()
572 nullptr) && dtls) { in CreatePeerConnection()
Dwebrtcsession_unittest.cc682 void VerifyNoCryptoParams(const cricket::SessionDescription* sdp, bool dtls) { in VerifyNoCryptoParams() argument
699 if (dtls) { in VerifyNoCryptoParams()