Searched refs:LockName (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h87 /// \param LockName -- A StringRef name for the lock expression, to be printed
90 virtual void handleUnmatchedUnlock(StringRef Kind, Name LockName, argument
96 /// \param LockName -- A StringRef name for the lock expression, to be printed
102 virtual void handleIncorrectUnlockKind(StringRef Kind, Name LockName, argument
108 /// \param LockName -- A StringRef name for the lock expression, to be printed
111 virtual void handleDoubleLock(StringRef Kind, Name LockName, argument
120 /// \param LockName -- A StringRef name for the lock expression, to be printed
127 virtual void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, argument
136 /// \param LockName -- A StringRef name for the lock expression, to be printed
140 virtual void handleExclusiveAndShared(StringRef Kind, Name LockName, argument
163 handleMutexNotHeld(StringRef Kind, const NamedDecl *D, ProtectedOperationKind POK, Name LockName, LockKind LK, SourceLocation Loc, Name *PossibleMatch = nullptr) argument
175 handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, SourceLocation Loc) argument
185 handleFunExcludesLock(StringRef Kind, Name FunName, Name LockName, SourceLocation Loc) argument
[all...]
/freebsd-11.0-release/contrib/sendmail/mail.local/
H A Dmail.local.c1489 char LockName[MAXPATHLEN]; local
1500 if (strlen(path) + 6 > sizeof LockName)
1502 (void) sm_snprintf(LockName, sizeof LockName, "%s.lock", path);
1517 fd = open(LockName, O_WRONLY|O_EXCL|O_CREAT, LOCKFILE_PMODE);
1526 if (stat(LockName, &st) < 0)
1541 if (unlink(LockName) < 0)
1551 (void) unlink(LockName);
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1490 void warnLockMismatch(unsigned DiagID, StringRef Kind, Name LockName,
1496 PartialDiagnosticAt Warning(Loc, S.PDiag(DiagID) << Kind << LockName);
1526 void handleUnmatchedUnlock(StringRef Kind, Name LockName,
1528 warnLockMismatch(diag::warn_unlock_but_no_lock, Kind, LockName, Loc);
1531 void handleIncorrectUnlockKind(StringRef Kind, Name LockName,
1537 << Kind << LockName << Received
1542 void handleDoubleLock(StringRef Kind, Name LockName, SourceLocation Loc) override {
1543 warnLockMismatch(diag::warn_double_lock, Kind, LockName, Loc);
1546 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName,
1569 << LockName);
[all...]

Completed in 81 milliseconds