Lines Matching refs:suppression_ctx
46 static SuppressionContext *suppression_ctx = nullptr; variable
53 CHECK_EQ(nullptr, suppression_ctx); in InitializeSuppressions()
54 suppression_ctx = new (suppression_placeholder) // NOLINT in InitializeSuppressions()
56 suppression_ctx->ParseFromFile(flags()->suppressions); in InitializeSuppressions()
58 suppression_ctx->Parse(__tsan_default_suppressions()); in InitializeSuppressions()
59 suppression_ctx->Parse(std_suppressions); in InitializeSuppressions()
64 CHECK(suppression_ctx); in Suppressions()
65 return suppression_ctx; in Suppressions()
103 if (suppression_ctx->Match(info.function, stype, sp) || in IsSuppressed()
104 suppression_ctx->Match(info.file, stype, sp) || in IsSuppressed()
105 suppression_ctx->Match(info.module, stype, sp)) { in IsSuppressed()
114 CHECK(suppression_ctx); in IsSuppressed()
115 if (!suppression_ctx->SuppressionCount() || stack == 0 || in IsSuppressed()
133 CHECK(suppression_ctx); in IsSuppressed()
134 if (!suppression_ctx->SuppressionCount() || loc == 0 || in IsSuppressed()
142 if (suppression_ctx->Match(global.name, stype, &s) || in IsSuppressed()
143 suppression_ctx->Match(global.module, stype, &s)) { in IsSuppressed()
154 CHECK(suppression_ctx); in PrintMatchedSuppressions()
155 suppression_ctx->GetMatched(&matched); in PrintMatchedSuppressions()