Home
last modified time | relevance | path

Searched refs:wp (Results 1 – 25 of 45) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/localization/locale.stdcvt/
H A Dcodecvt_utf16_in.pass.cpp43 assert(wp == &w+1); in main()
51 assert(wp == &w+1); in main()
59 assert(wp == &w+1); in main()
68 assert(wp == &w+1); in main()
82 assert(wp == &w); in main()
90 assert(wp == &w); in main()
98 assert(wp == &w+1); in main()
107 assert(wp == &w+1); in main()
199 assert(wp == &w); in main()
207 assert(wp == &w); in main()
[all …]
H A Dcodecvt_utf8_in.pass.cpp43 assert(wp == &w+1); in main()
52 assert(wp == &w+1); in main()
60 assert(wp == &w+1); in main()
68 assert(wp == &w+1); in main()
82 assert(wp == &w); in main()
91 assert(wp == &w); in main()
99 assert(wp == &w+1); in main()
107 assert(wp == &w+1); in main()
202 assert(wp == &w); in main()
211 assert(wp == &w); in main()
[all …]
H A Dcodecvt_utf8_utf16_in.pass.cpp49 CharT* wp = nullptr; in test() local
54 assert(wp == w); in test()
62 assert(wp == w); in test()
69 assert(wp == w + 1); in test()
76 assert(wp == w + 1); in test()
86 CharT* wp = nullptr; in test() local
91 assert(wp == w + 2); in test()
101 assert(wp == w + 1); in test()
109 assert(wp == w + 1); in test()
173 assert(wp == w); in test()
[all …]
H A Dcodecvt_utf8_utf16_out.pass.cpp54 assert(wp == w + 2); in test()
64 assert(wp == w + 1); in test()
73 assert(wp == w + 1); in test()
81 assert(wp == w + 1); in test()
95 assert(wp == w); in test()
101 assert(wp == w); in test()
107 assert(wp == w + 1); in test()
115 assert(wp == w + 1); in test()
129 assert(wp == w + 2); in test()
227 assert(wp == w); in test()
[all …]
H A Dcodecvt_utf16_out.pass.cpp59 assert(wp == &w + 1); in test()
69 assert(wp == &w + 1); in test()
79 assert(wp == &w + 1); in test()
89 assert(wp == &w + 1); in test()
106 assert(wp == &w); in test()
116 assert(wp == &w); in test()
126 assert(wp == &w + 1); in test()
136 assert(wp == &w + 1); in test()
153 assert(wp == &w + 1); in test()
256 assert(wp == &w); in test()
[all …]
H A Dcodecvt_utf8_out.pass.cpp56 assert(wp == &w + 1); in test()
66 assert(wp == &w + 1); in test()
76 assert(wp == &w + 1); in test()
93 assert(wp == &w); in test()
103 assert(wp == &w + 1); in test()
113 assert(wp == &w + 1); in test()
130 assert(wp == &w + 1); in test()
143 assert(wp == &w + 1); in test()
156 assert(wp == &w + 1); in test()
227 assert(wp == &w); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dexpired.pass.cpp34 std::weak_ptr<A> wp; in main() local
35 assert(wp.use_count() == 0); in main()
36 assert(wp.expired() == (wp.use_count() == 0)); in main()
40 std::weak_ptr<A> wp(sp0); in main() local
41 assert(wp.use_count() == 1); in main()
42 assert(wp.expired() == (wp.use_count() == 0)); in main()
44 assert(wp.use_count() == 0); in main()
45 assert(wp.expired() == (wp.use_count() == 0)); in main()
H A Dlock.pass.cpp34 std::weak_ptr<A> wp; in main() local
35 std::shared_ptr<A> sp = wp.lock(); in main()
42 std::weak_ptr<A> wp(sp0); in main() local
43 std::shared_ptr<A> sp = wp.lock(); in main()
51 std::weak_ptr<A> wp(sp0); in main() local
53 std::shared_ptr<A> sp = wp.lock(); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Dweak_ptr.pass.cpp47 std::weak_ptr<A> wp; in main() local
50 std::shared_ptr<A> sp(wp); in main()
61 std::weak_ptr<A> wp(sp0); in main() local
62 std::shared_ptr<A> sp(wp); in main()
70 std::weak_ptr<A const> wp(sp0); in main() local
71 std::shared_ptr<A const> sp(wp); in main()
80 std::weak_ptr<A> wp(sp0); in main() local
84 std::shared_ptr<A> sp(wp); in main()
97 std::weak_ptr<A[]> wp(sp0); in main() local
98 std::shared_ptr<const A[]> sp(wp); in main()
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/watchpoint_disable/
H A DTestWatchpointDisable.py48 wp = self.target.FindWatchpointByID(1)
49 self.assertTrue(wp.IsValid(), "Didn't make a valid watchpoint.")
50 … self.assertNotEqual(wp.GetWatchAddress(), lldb.LLDB_INVALID_ADDRESS, "Watch address is invalid")
52 wp.SetEnabled(False)
53 self.assertTrue(not wp.IsEnabled(), "The watchpoint thinks it is still enabled")
62 wp.SetEnabled(True)
63 self.assertTrue(wp.IsEnabled(), "The watchpoint thinks it is still disabled.")
/llvm-project-15.0.7/llvm/test/Transforms/LoopStrengthReduce/
H A Dphi_node_update_multiple_preds.ll13 %wp.2.4 = getelementptr i8, i8* null, i64 %gep.upgrd.1 ; <i8*> [#uses=1]
16 %wp.2.4.rec = bitcast i32 %indvar37 to i32 ; <i32> [#uses=1]
17 %inc.1.rec = add i32 %wp.2.4.rec, 1 ; <i32> [#uses=1]
25 …%wp.2.7 = phi i8* [ null, %entry ], [ null, %entry ], [ %wp.2.4, %shortcirc_next ], [ %inc.1, %no_…
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.cpp854 if (wp->IsEnabled()) { in EnableWatchpoint()
855 wp->SetEnabled(true, notify); in EnableWatchpoint()
870 info.address = wp->GetLoadAddress(); in EnableWatchpoint()
871 info.size = wp->GetByteSize(); in EnableWatchpoint()
872 info.read = wp->WatchpointRead(); in EnableWatchpoint()
873 info.write = wp->WatchpointWrite(); in EnableWatchpoint()
897 m_watchpoints[wp->GetID()] = info; in EnableWatchpoint()
900 wp->SetEnabled(true, notify); in EnableWatchpoint()
908 if (!wp->IsEnabled()) { in DisableWatchpoint()
909 wp->SetEnabled(false, notify); in DisableWatchpoint()
[all …]
H A DNativeThreadWindows.cpp169 auto wp = m_watchpoint_index_map.find(addr); in RemoveWatchpoint() local
170 if (wp == m_watchpoint_index_map.end()) in RemoveWatchpoint()
172 uint32_t wp_index = wp->second; in RemoveWatchpoint()
173 m_watchpoint_index_map.erase(wp); in RemoveWatchpoint()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectWatchpointCommand.cpp399 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute() local
401 if (wp == nullptr) in DoExecute()
404 WatchpointOptions *wp_options = wp->GetOptions(); in DoExecute()
506 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute() local
507 if (wp) in DoExecute()
508 wp->ClearCallback(); in DoExecute()
574 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute() local
576 if (wp) { in DoExecute()
577 const WatchpointOptions *wp_options = wp->GetOptions(); in DoExecute()
H A DCommandObjectWatchpoint.cpp32 static void AddWatchpointDescription(Stream *s, Watchpoint *wp, in AddWatchpointDescription() argument
35 wp->GetDescription(s, level); in AddWatchpointDescription()
240 Watchpoint *wp = watchpoints.GetByIndex(i).get(); in DoExecute() local
256 if (wp) in DoExecute()
952 Watchpoint *wp = in DoExecute() local
955 if (wp) { in DoExecute()
956 wp->SetWatchSpec(command.GetArgumentAtIndex(0)); in DoExecute()
957 wp->SetWatchVariable(true); in DoExecute()
962 wp->SetDeclInfo(std::string(ss.GetString())); in DoExecute()
1120 Watchpoint *wp = in DoExecute() local
[all …]
/llvm-project-15.0.7/lldb/test/API/functionalities/gdb_remote_client/
H A DTestNoWatchpointSupportInfo.py61 wp = target.WatchAddress(0x100, 8, False, True, err)
62 if self.TraceOn() and (err.Fail() or wp.IsValid == False):
66 self.assertTrue(wp.IsValid())
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp546 uint32_t MachThread::EnableHardwareWatchpoint(const DNBBreakpoint *wp, in EnableHardwareWatchpoint() argument
548 if (wp != NULL && wp->IsWatchpoint()) in EnableHardwareWatchpoint()
550 wp->Address(), wp->ByteSize(), wp->WatchpointRead(), in EnableHardwareWatchpoint()
551 wp->WatchpointWrite(), also_set_on_task); in EnableHardwareWatchpoint()
570 bool MachThread::DisableHardwareWatchpoint(const DNBBreakpoint *wp, in DisableHardwareWatchpoint() argument
572 if (wp != NULL && wp->IsHardware()) in DisableHardwareWatchpoint()
573 return m_arch_up->DisableHardwareWatchpoint(wp->GetHardwareIndex(), in DisableHardwareWatchpoint()
H A DMachThreadList.h69 uint32_t EnableHardwareWatchpoint(const DNBBreakpoint *wp) const;
70 bool DisableHardwareWatchpoint(const DNBBreakpoint *wp) const;
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DNativeThreadLinux.cpp169 auto wp = m_watchpoint_index_map.find(addr); in RemoveWatchpoint() local
170 if (wp == m_watchpoint_index_map.end()) in RemoveWatchpoint()
172 uint32_t wp_index = wp->second; in RemoveWatchpoint()
173 m_watchpoint_index_map.erase(wp); in RemoveWatchpoint()
227 const auto &wp = pair.second; in Resume() local
228 SetWatchpoint(wp.m_addr, wp.m_size, wp.m_watch_flags, wp.m_hardware); in Resume()
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.general/
H A Dtuple.smartptr.pass.cpp24 std::tuple<std::weak_ptr <char>> wp; in main() local
29 std::tuple<std::weak_ptr <char[]>> wp; in main() local
/llvm-project-15.0.7/lldb/source/API/
H A DSBReproducer.cpp148 auto &wp = g->GetOrCreate<repro::WorkingDirectoryProvider>(); in SetWorkingDirectory() local
149 wp.SetDirectory(path); in SetWorkingDirectory()
151 fp.RecordInterestingDirectory(wp.GetDirectory()); in SetWorkingDirectory()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeThreadFreeBSD.cpp269 auto wp = m_watchpoint_index_map.find(addr); in RemoveWatchpoint() local
270 if (wp == m_watchpoint_index_map.end()) in RemoveWatchpoint()
272 uint32_t wp_index = wp->second; in RemoveWatchpoint()
273 m_watchpoint_index_map.erase(wp); in RemoveWatchpoint()
/llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/
H A DNativeThreadNetBSD.cpp281 auto wp = m_watchpoint_index_map.find(addr); in RemoveWatchpoint() local
282 if (wp == m_watchpoint_index_map.end()) in RemoveWatchpoint()
284 uint32_t wp_index = wp->second; in RemoveWatchpoint()
285 m_watchpoint_index_map.erase(wp); in RemoveWatchpoint()
/llvm-project-15.0.7/lldb/test/API/python_api/default-constructor/
H A Dsb_target.py64 for wp in obj.watchpoint_iter():
65 s = str(wp)
/llvm-project-15.0.7/lldb/test/API/commands/watchpoints/watchpoint_commands/command/
H A Dwatchpoint_command.py6 def watchpoint_command(frame, wp, dict): argument

12