Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h112 virtual void handleUnmatchedUnlock(StringRef Kind, Name LockName, in handleUnmatchedUnlock() argument
126 virtual void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
137 virtual void handleDoubleLock(StringRef Kind, Name LockName, in handleDoubleLock() argument
154 virtual void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
167 virtual void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
191 ProtectedOperationKind POK, Name LockName,
202 virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
210 virtual void handleNegativeNotHeld(const NamedDecl *D, Name LockName, in handleNegativeNotHeld() argument
221 Name LockName, SourceLocation Loc) {} in handleFunExcludesLock() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1866 << Kind << LockName); in handleUnmatchedUnlock()
1871 void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
1879 << Kind << LockName << Received << Expected); in handleIncorrectUnlockKind()
1894 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
1922 void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
1927 << Kind << LockName); in handleExclusiveAndShared()
1929 << Kind << LockName); in handleExclusiveAndShared()
1947 ProtectedOperationKind POK, Name LockName, in handleMutexNotHeld() argument
2011 void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
2015 << Kind << LockName << Neg); in handleNegativeNotHeld()
[all …]
/freebsd-13.1/contrib/sendmail/mail.local/
H A Dmail.local.c1489 char LockName[MAXPATHLEN]; variable
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); in unlockmbox()