Home
last modified time | relevance | path

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

12

/llvm-project/libcxx/test/std/localization/locale.stdcvt/
H A Dcodecvt_utf16_in.pass.cpp38 char32_t* wp = nullptr; in main() local
41 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
43 assert(wp == &w+1); in main()
49 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
51 assert(wp == &w+1); in main()
57 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
59 assert(wp == &w+1); in main()
66 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
68 assert(wp == &w+1); in main()
77 char32_t* wp = nullptr; in main() local
[all …]
H A Dcodecvt_utf8_in.pass.cpp38 char32_t* wp = nullptr; in main() local
41 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
43 assert(wp == &w+1); in main()
50 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
52 assert(wp == &w+1); in main()
58 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
60 assert(wp == &w+1); in main()
66 r = c.in(m, n, n+1, np, &w, &w+1, wp); in main()
68 assert(wp == &w+1); in main()
77 char32_t* wp = nullptr; in main() local
[all …]
H A Dcodecvt_utf8_utf16_in.pass.cpp49 CharT* wp = nullptr; in test() local
52 std::codecvt_base::result r = c.in(m, n, n + 4, np, w, w + 2, wp); in test()
54 assert(wp == w); in test()
60 r = c.in(m, n, n + 3, np, w, w + 2, wp); in test()
62 assert(wp == w); in test()
67 r = c.in(m, n, n + 2, np, w, w + 2, wp); in test()
69 assert(wp == w + 1); in test()
74 r = c.in(m, n, n + 1, np, w, w + 2, wp); in test()
76 assert(wp == w + 1); in test()
86 CharT* wp = nullptr; in test() local
[all …]
H A Dcodecvt_utf8_utf16_out.pass.cpp49 const CharT* wp = nullptr; in test() local
52 std::codecvt_base::result r = c.out(m, w, w + 2, wp, n, n + 4, np); in test()
54 assert(wp == w + 2); in test()
62 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
64 assert(wp == w + 1); in test()
71 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
73 assert(wp == w + 1); in test()
79 r = c.out(m, w, w + 1, wp, n, n + 4, np); in test()
81 assert(wp == w + 1); in test()
90 const CharT* wp = nullptr; in test() local
[all …]
H A Dcodecvt_utf16_out.pass.cpp54 const CharT* wp = nullptr; in test() local
57 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
59 assert(wp == &w + 1); in test()
67 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
69 assert(wp == &w + 1); in test()
77 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
79 assert(wp == &w + 1); in test()
87 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
89 assert(wp == &w + 1); in test()
101 const CharT* wp = nullptr; in test() local
[all …]
H A Dcodecvt_utf8_out.pass.cpp51 const CharT* wp = nullptr; in test() local
54 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
56 assert(wp == &w + 1); in test()
64 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
66 assert(wp == &w + 1); in test()
74 r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
76 assert(wp == &w + 1); in test()
88 const CharT* wp = nullptr; in test() local
91 std::codecvt_base::result r = c.out(m, &w, &w + 1, wp, n, n + 4, np); in test()
93 assert(wp == &w); in test()
[all …]
/llvm-project/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/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Dweak_ptr.pass.cpp65 std::weak_ptr<A> wp; in main() local
68 std::shared_ptr<A> sp(wp); in main()
79 std::weak_ptr<A> wp(sp0); in main() local
80 std::shared_ptr<A> sp(wp); in main()
88 std::weak_ptr<A const> wp(sp0); in main() local
89 std::shared_ptr<A const> sp(wp); in main()
98 std::weak_ptr<A> wp(sp0); in main() local
102 std::shared_ptr<A> sp(wp); in main()
115 std::weak_ptr<A[]> wp(sp0); in main() local
116 std::shared_ptr<const A[]> sp(wp); in main()
/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/
H A DTestWatchpointDisable.py61 wp = self.target.FindWatchpointByID(1)
62 self.assertTrue(wp.IsValid(), "Didn't make a valid watchpoint.")
64 wp.GetWatchAddress(), lldb.LLDB_INVALID_ADDRESS, "Watch address is invalid"
67 wp.SetEnabled(False)
68 self.assertTrue(not wp.IsEnabled(), "The watchpoint thinks it is still enabled")
79 wp.SetEnabled(True)
81 wp.IsEnabled(), "The watchpoint thinks it is still disabled."
/llvm-project/lldb/test/API/functionalities/watchpoint/unaligned-large-watchpoint/
H A DTestUnalignedLargeWatchpoint.py59 wp = target.WatchpointCreateByAddress(wa_addr, 22, wp_opts, err)
60 self.assertTrue(wp.IsValid())
76 self.assertEqual(wp.GetHitCount(), 22)
78 target.DeleteWatchpoint(wp.GetID())
84 wp = frame.locals["variable"][0].Watch(True, False, True, err)
104 self.assertEqual(wp.GetHitCount(), 4)
/llvm-project/lldb/tools/lldb-dap/
H A DWatchpoint.h27 lldb::SBWatchpoint wp;
31 Watchpoint(DAP &d, lldb::SBWatchpoint wp) : BreakpointBase(d), wp(wp) {}
24 lldb::SBWatchpoint wp; global() member
H A DWatchpoint.cpp33 void Watchpoint::SetCondition() { wp.SetCondition(condition.c_str()); }
38 wp.SetIgnoreCount(hitCount - 1); in CreateJsonObject()
52 wp = dap.target.WatchpointCreateByAddress(addr, size, options, error);
/llvm-project/llvm/test/Transforms/LoopStrengthReduce/
H A Dphi_node_update_multiple_preds.ll13 %wp.2.4 = getelementptr i8, ptr null, i64 %gep.upgrd.1 ; <ptr> [#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 ptr [ null, %entry ], [ null, %entry ], [ %wp.2.4, %shortcirc_next ], [ %inc.1, %no_…
/llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Dpr40459.pass.cpp49 std::weak_ptr<B> wp = sp; in main() local
51 assert(wp.expired()); in main()
56 std::weak_ptr<A> wq = wp; in main()
58 std::weak_ptr<A> wr = std::move(wp); in main()
/llvm-project/lldb/test/API/functionalities/watchpoint/unaligned-spanning-two-dwords/
H A DTestUnalignedSpanningDwords.py53 wp = target.WatchpointCreateByAddress(a_bytebuf_6_addr, 4, wp_opts, err)
55 self.assertTrue(wp.IsEnabled())
56 self.assertEqual(wp.GetWatchSize(), 4)
58 wp.GetWatchAddress() % 8, 4, "watched region spans two doublewords"
/llvm-project/lldb/source/Commands/
H A DCommandObjectWatchpointCommand.cpp79 wp: the watchpoint that was hit. in CommandObjectWatchpointCommandAdd()
90 def watchpoint_callback(frame, wp): in CommandObjectWatchpointCommandAdd()
386 Watchpoint *wp = target.GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute()
387 // Sanity check wp first. in DoExecute() local
388 if (wp == nullptr) in DoExecute()
391 WatchpointOptions *wp_options = wp->GetOptions(); in DoExecute()
414 function_signature += "(frame, wp, internal_dict)"; in DoExecute()
480 Watchpoint *wp = target.GetWatchpointList().FindByID(cur_wp_id).get(); in DoExecute()
481 if (wp) in DoExecute() local
482 wp in DoExecute()
536 Watchpoint *wp = target->GetWatchpointList().FindByID(cur_wp_id).get(); DoExecute() local
[all...]
/llvm-project/lldb/tools/debugserver/source/MacOSX/
H A DMachThread.cpp567 uint32_t MachThread::EnableHardwareWatchpoint(const DNBBreakpoint *wp, in DisableHardwareBreakpoint()
569 if (wp != NULL && wp->IsWatchpoint())
571 wp->Address(), wp->ByteSize(), wp->WatchpointRead(), in DisableHardwareWatchpoint()
572 wp->WatchpointWrite(), also_set_on_task); in DisableHardwareWatchpoint()
591 bool MachThread::DisableHardwareWatchpoint(const DNBBreakpoint *wp, in GetIdentifierInfo()
593 if (wp != NULL && wp in GetIdentifierInfo()
546 EnableHardwareWatchpoint(const DNBBreakpoint * wp,bool also_set_on_task) EnableHardwareWatchpoint() argument
570 DisableHardwareWatchpoint(const DNBBreakpoint * wp,bool also_set_on_task) DisableHardwareWatchpoint() argument
[all...]
/llvm-project/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/lldb/test/API/functionalities/gdb_remote_client/
H A DTestNoWatchpointSupportInfo.py63 wp = target.WatchpointCreateByAddress(0x100, 8, wp_opts, err)
64 if self.TraceOn() and (err.Fail() or not wp.IsValid):
68 self.assertTrue(wp.IsValid())
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
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/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/lldb/source/Breakpoint/
H A DWatchpointResource.cpp74 bool WatchpointResource::ConstituentsContains(const Watchpoint *wp) { in ConstituentsContains() argument
78 [&wp](const WatchpointSP &x) { return x.get() == wp; }); in ConstituentsContains()
/llvm-project/lldb/test/API/functionalities/watchpoint/large-watchpoint/
H A DTestLargeWatchpoint.py50 wp = target.WatchpointCreateByAddress(wa_256_addr, 1024, wp_opts, err)
51 self.assertTrue(wp.IsValid())
/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeThreadFreeBSD.cpp268 auto wp = m_watchpoint_index_map.find(addr); in RemoveWatchpoint() local
269 if (wp == m_watchpoint_index_map.end()) in RemoveWatchpoint()
271 uint32_t wp_index = wp->second; in RemoveWatchpoint()
272 m_watchpoint_index_map.erase(wp); in RemoveWatchpoint()

12