Home
last modified time | relevance | path

Searched refs:Notification (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A DThreading.cpp30 class Notification { class
58 Notification ThreadStarted, ThreadAdvanced, ThreadFinished; in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTUSchedulerTests.cpp224 Notification Ready; in TEST_F()
264 Notification N; in TEST_F()
374 Notification Start; in TEST_F()
438 Notification Start; in TEST_F()
725 Notification TaskRun; in TEST_F()
959 Notification TaskRun; in TEST_F()
1054 Notification Ready; in TEST_F()
1078 Notification Ready; in TEST_F()
1135 Notification &N; in TEST_F()
1140 Notification Ready; in TEST_F()
[all …]
H A DLSPClient.cpp205 for (const auto &Notification : llvm::reverse(Notifications)) { in diagnostics() local
206 if (const auto *PubDiagsParams = Notification.getAsObject()) { in diagnostics()
H A DClangdTests.cpp149 Notification Done; in dumpAST()
1111 DelayedCompilationDatabase(Notification &CanReturnCommand) in TEST()
1129 Notification &CanReturnCommand; in TEST()
1132 Notification CanReturnCommand; in TEST()
1305 Notification N; in TEST()
H A DSyncAPI.cpp163 Notification Done; in runCustomAction()
H A DFileIndexTests.cpp553 Notification Go; in TEST()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-port.h1176 class Notification {
1178 Notification() : notified_(false) {
1181 ~Notification() {
1210 GTEST_DISALLOW_COPY_AND_ASSIGN_(Notification);
1252 class GTEST_API_ Notification {
1254 Notification();
1261 GTEST_DISALLOW_COPY_AND_ASSIGN_(Notification);
1309 ThreadWithParam(UserThreadFunc* func, T param, Notification* thread_can_start)
1339 Notification* const thread_can_start_;
1487 ThreadWithParamBase(Runnable *runnable, Notification* thread_can_start);
[all …]
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest-port.cc323 Notification::Notification() in Notification() function in testing::internal::Notification
331 void Notification::Notify() { in Notify()
335 void Notification::WaitForNotification() { in WaitForNotification()
468 Notification* thread_can_start) { in CreateThread()
488 ThreadMainParam(Runnable* runnable, Notification* thread_can_start) in ThreadMainParam()
494 Notification* thread_can_start_;
515 Notification* thread_can_start) in ThreadWithParamBase()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreading.cpp27 void Notification::notify() { in notify()
37 bool Notification::wait(Deadline D) const { in wait()
H A DThreading.h90 class Notification {
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DCancellationTests.cpp73 Notification Cancelled; in TEST()
H A DThreadingTests.cpp104 Notification ReleaseA, ReleaseB; in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DClangdLSPServer.cpp860 PublishDiagnosticsParams Notification; in onDocumentDidClose() local
861 Notification.uri = URIForFile::canonicalize(File, /*TUPath=*/File); in onDocumentDidClose()
862 PublishDiagnostics(Notification); in onDocumentDidClose()
1701 PublishDiagnosticsParams Notification; in onDiagnosticsReady() local
1702 Notification.version = decodeVersion(Version); in onDiagnosticsReady()
1703 Notification.uri = URIForFile::canonicalize(File, /*TUPath=*/File); in onDiagnosticsReady()
1706 toLSPDiags(Diag, Notification.uri, DiagOpts, in onDiagnosticsReady()
1710 Notification.diagnostics.push_back(std::move(Diag)); in onDiagnosticsReady()
1721 PublishDiagnostics(Notification); in onDiagnosticsReady()