Home
last modified time | relevance | path

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

/src/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
/src/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()
/src/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1880 void handleUnmatchedUnlock(StringRef Kind, Name LockName, SourceLocation Loc, in handleUnmatchedUnlock() argument
1885 << Kind << LockName); in handleUnmatchedUnlock()
1890 void handleIncorrectUnlockKind(StringRef Kind, Name LockName, in handleIncorrectUnlockKind() argument
1898 << Kind << LockName << Received << Expected); in handleIncorrectUnlockKind()
1903 void handleDoubleLock(StringRef Kind, Name LockName, SourceLocation LocLocked, in handleDoubleLock() argument
1908 << Kind << LockName); in handleDoubleLock()
1913 void handleMutexHeldEndOfScope(StringRef Kind, Name LockName, in handleMutexHeldEndOfScope() argument
1936 << LockName); in handleMutexHeldEndOfScope()
1941 void handleExclusiveAndShared(StringRef Kind, Name LockName, in handleExclusiveAndShared() argument
1946 << Kind << LockName); in handleExclusiveAndShared()
[all …]