Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h127 virtual void handleUnmatchedUnlock(StringRef Kind, Name LockName, in handleUnmatchedUnlock() argument
141 virtual void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
152 virtual void handleDoubleLock(StringRef Kind, Name LockName, in handleDoubleLock() argument
170 virtual void handleMutexHeldEndOfScope(StringRef Kind, Name LockName,
184 virtual void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
206 ProtectedOperationKind POK, Name LockName,
217 virtual void handleNegativeNotHeld(StringRef Kind, Name LockName, Name Neg, in handleNegativeNotHeld() argument
225 virtual void handleNegativeNotHeld(const NamedDecl *D, Name LockName, in handleNegativeNotHeld() argument
236 Name LockName, SourceLocation Loc) {} in handleFunExcludesLock() argument
/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp2043 void handleUnmatchedUnlock(StringRef Kind, Name LockName, SourceLocation Loc, in handleUnmatchedUnlock() argument
2048 << Kind << LockName); in handleUnmatchedUnlock()
2053 void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
2061 << Kind << LockName << Received << Expected); in handleIncorrectUnlockKind()
2066 void handleDoubleLock(StringRef Kind, Name LockName, SourceLocation LocLocked, in handleDoubleLock() argument
2071 << Kind << LockName); in handleDoubleLock()
2076 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
2100 << Kind << LockName in handleMutexHeldEndOfScope()
2106 void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
2111 << Kind << LockName); in handleExclusiveAndShared()
[all …]