Lines Matching defs:typ
95 SuppressionType conv(ReportType typ) {
96 if (typ == ReportTypeRace)
98 else if (typ == ReportTypeVptrRace)
100 else if (typ == ReportTypeUseAfterFree)
102 else if (typ == ReportTypeThreadLeak)
104 else if (typ == ReportTypeMutexDestroyLocked)
106 else if (typ == ReportTypeMutexDoubleLock)
108 else if (typ == ReportTypeMutexBadUnlock)
110 else if (typ == ReportTypeMutexBadReadLock)
112 else if (typ == ReportTypeMutexBadReadUnlock)
114 else if (typ == ReportTypeSignalUnsafe)
116 else if (typ == ReportTypeErrnoInSignal)
118 else if (typ == ReportTypeDeadlock)
120 Printf("ThreadSanitizer: unknown report type %d\n", typ),
124 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) {
128 SuppressionType stype = conv(typ);
145 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) {
150 SuppressionType stype = conv(typ);