Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h117 virtual void handleUnmatchedUnlock(StringRef Kind, Name LockName, in handleUnmatchedUnlock() argument
131 virtual void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
142 virtual void handleDoubleLock(StringRef Kind, Name LockName, in handleDoubleLock() argument
159 virtual void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
172 virtual void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
194 ProtectedOperationKind POK, Name LockName,
205 virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
213 virtual void handleNegativeNotHeld(const NamedDecl *D, Name LockName, in handleNegativeNotHeld() argument
224 Name LockName, SourceLocation Loc) {} in handleFunExcludesLock() argument
/freebsd-14.2/contrib/sendmail/mail.local/
H A Dmail.local.c1524 char LockName[MAXPATHLEN]; variable
1535 if (strlen(path) + 6 > sizeof LockName)
1537 (void) sm_snprintf(LockName, sizeof LockName, "%s.lock", path);
1552 fd = open(LockName, O_WRONLY|O_EXCL|O_CREAT, LOCKFILE_PMODE);
1561 if (stat(LockName, &st) < 0)
1576 if (unlink(LockName) < 0)
1586 (void) unlink(LockName); in unlockmbox()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1885 << Kind << LockName); in handleUnmatchedUnlock()
1890 void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
1898 << Kind << LockName << Received << Expected); in handleIncorrectUnlockKind()
1913 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
1941 void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
1946 << Kind << LockName); in handleExclusiveAndShared()
1948 << Kind << LockName); in handleExclusiveAndShared()
1965 ProtectedOperationKind POK, Name LockName, in handleMutexNotHeld() argument
2041 void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
2045 << Kind << LockName << Neg); in handleNegativeNotHeld()
[all …]