Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dquarantine.h74 void enqueue(Callback Cb, void *Ptr, uptr Size) { in enqueue() argument
195 C->enqueue(Cb, Ptr, Size); in put()
197 drain(C, Cb); in put()
200 void NOINLINE drain(CacheT *C, Callback Cb) { in drain() argument
206 recycle(atomic_load_relaxed(&MinSize), Cb); in drain()
209 void NOINLINE drainAndRecycle(CacheT *C, Callback Cb) { in drainAndRecycle() argument
215 recycle(0, Cb); in drainAndRecycle()
245 void NOINLINE recycle(uptr MinSize, Callback Cb) { in recycle() argument
273 doRecycle(&Tmp, Cb); in recycle()
276 void NOINLINE doRecycle(CacheT *C, Callback Cb) { in doRecycle() argument
[all …]
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h260 const NoteTag *getNoteTag(NoteTag::Callback &&Cb, bool IsPrunable = false) {
261 return Eng.getDataTags().make<NoteTag>(std::move(Cb), IsPrunable);
272 *getNoteTag(std::function<std::string(PathSensitiveBugReport &)> &&Cb,
275 [Cb](BugReporterContext &,
276 PathSensitiveBugReport &BR) { return Cb(BR); },
287 const NoteTag *getNoteTag(std::function<std::string()> &&Cb,
289 return getNoteTag([Cb](BugReporterContext &,
290 PathSensitiveBugReport &) { return Cb(); },
315 std::function<void(PathSensitiveBugReport &BR, llvm::raw_ostream &OS)> &&Cb,
318 [Cb](PathSensitiveBugReport &BR) -> std::string {
[all …]
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dquarantine_test.cpp29 static QuarantineCallback Cb; variable
33 Cb.deallocate(Batch); in deallocateCache()
84 Cache.enqueue(Cb, FakePtr, BlockSize); in TEST()
104 From.enqueue(Cb, FakePtr, BlockSize); in TEST()
107 Cache.enqueue(Cb, FakePtr, BlockSize); in TEST()
134 From.enqueue(Cb, FakePtr, BlockSize); in TEST()
135 Cache.enqueue(Cb, FakePtr, BlockSize); in TEST()
165 From.enqueue(Cb, FakePtr, BlockSize); in TEST()
207 Quarantine.put(&Cache, Cb, FakePtr, LargeBlockSize); in TEST()
214 Quarantine.drainAndRecycle(&Cache, Cb); in TEST()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Derr_typecheck_assign_const_filecheck.cpp45 const B Cb; member
69 Ca.Cb.Cc.Cd.Ce.Snum = 5; in test1()
83 a.Cb.c.d.e.num = 5; in test2()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DPettisAndHansen.cpp32 ClusterArc(Cluster *Ca, Cluster *Cb, double W = 0) in ClusterArc() argument
33 : C1(std::min(Ca, Cb)), C2(std::max(Ca, Cb)), Weight(W) {} in ClusterArc()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h771 const Callback Cb; variable
774 NoteTag(Callback &&Cb, bool IsPrunable) in NoteTag() argument
775 : DataTag(&Kind), Cb(std::move(Cb)), IsPrunable(IsPrunable) {} in NoteTag()
784 std::string Msg = Cb(BRC, R); in generateMessage()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp358 CallBack Cb(Ctx); in checkEndFunction() local
360 Cb); in checkEndFunction()
362 if (Cb.V.empty()) in checkEndFunction()
378 for (const auto &P : Cb.V) { in checkEndFunction()
/llvm-project-15.0.7/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp123 void GuardedPoolAllocator::iterate(void *Base, size_t Size, iterate_callback Cb, in iterate() argument
130 Cb(Meta.Addr, Meta.RequestedSize, Arg); in iterate()
H A Dguarded_pool_allocator.h68 void iterate(void *Base, size_t Size, iterate_callback Cb, void *Arg);
/llvm-project-15.0.7/clang/lib/Basic/
H A DModule.cpp635 VisibleCallback Vis, ConflictCallback Cb) { in setVisible() argument
672 Cb(Path, C.Other, C.Message); in setVisible()
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp89 template <typename C> hsa_status_t iterate_agents(C Cb) { in iterate_agents() argument
94 return hsa_iterate_agents(L, static_cast<void *>(&Cb)); in iterate_agents()
98 hsa_status_t amd_agent_iterate_memory_pools(hsa_agent_t Agent, C Cb) { in amd_agent_iterate_memory_pools() argument
104 return hsa_amd_agent_iterate_memory_pools(Agent, L, static_cast<void *>(&Cb)); in amd_agent_iterate_memory_pools()
1741 void *ModuleBytes, size_t ModuleSize, int DeviceId, C Cb, in moduleRegisterFromMemoryToPlace() argument
1749 DeviceInfo().HSAAgents[DeviceId], L, static_cast<void *>(&Cb), in moduleRegisterFromMemoryToPlace()
/llvm-project-15.0.7/clang/lib/Lex/
H A DModuleMap.cpp1150 for (const auto &Cb : Callbacks) in setUmbrellaHeader() local
1151 Cb->moduleMapAddUmbrellaHeader(&SourceMgr.getFileManager(), UmbrellaHeader); in setUmbrellaHeader()
1259 for (const auto &Cb : Callbacks) in addHeader() local
1260 Cb->moduleMapAddHeader(Header.Entry->getName()); in addHeader()
3060 for (const auto &Cb : Callbacks) in parseModuleMapFile() local
3061 Cb->moduleMapFileRead(Start, *File, IsSystem); in parseModuleMapFile()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DModule.h784 ConflictCallback Cb = [](ArrayRef<Module *>, Module *,