Home
last modified time | relevance | path

Searched refs:ev (Results 1 – 25 of 43) sorted by relevance

12

/llvm-project-15.0.7/libcxx/src/
H A Dsystem_error.cpp67 string do_strerror_r(int ev);
70 string do_strerror_r(int ev) { in do_strerror_r() argument
114 string do_strerror_r(int ev) { in do_strerror_r() argument
137 return string(::strerror(ev)); in message()
139 return do_strerror_r(ev); in message()
161 if (ev > _LIBCPP_ELAST) in message()
193 if (ev > _LIBCPP_ELAST) in message()
203 if (ev > _LIBCPP_ELAST) in default_error_condition()
266 __ec_(error_code(ev, ecat)) in system_error()
272 __ec_(error_code(ev, ecat)) in system_error()
[all …]
H A Dios.cpp31 virtual string message(int ev) const;
41 __iostream_category::message(int ev) const in message()
43 if (ev != static_cast<int>(io_errc::stream) in message()
45 && ev <= _LIBCPP_ELAST in message()
48 return __do_message::message(ev); in message()
109 ios_base::__call_callbacks(event ev) in __call_callbacks() argument
114 __fn_[i](ev, *this, __index_[i]); in __call_callbacks()
H A Dfuture.cpp23 virtual string message(int ev) const;
37 __future_error_category::message(int ev) const in message()
39 switch (static_cast<future_errc>(ev)) in message()
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_test_util_posix.cpp238 void send(Event *ev);
247 switch (ev->type) { in HandleEvent()
295 tsan_mop(ev->ptr, (void *)ev->arg2); in HandleEvent()
300 __tsan_vptr_update((void**)ev->ptr, (void*)ev->arg); in HandleEvent()
318 ev->res = static_cast<UserMutex *>(ev->ptr)->TryLock(); in HandleEvent()
327 ev->res = static_cast<UserMutex *>(ev->ptr)->TryReadLock(); in HandleEvent()
333 __interceptor_memcpy(ev->ptr, (void*)ev->arg, ev->arg2); in HandleEvent()
336 __interceptor_memset(ev->ptr, ev->arg, ev->arg2); in HandleEvent()
351 Event *ev = in ScopedThreadCallback() local
353 if (ev == 0) { in ScopedThreadCallback()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl_access.cpp26 EventAccess *ev; in TryTraceMemoryAccess() local
66 ev->is_func = 0; in TryTraceMemoryAccessRange()
100 EventLock ev; in TraceMutexLock() local
102 ev.is_func = 0; in TraceMutexLock()
103 ev.type = type; in TraceMutexLock()
107 ev._ = 0; in TraceMutexLock()
115 EventUnlock ev; in TraceMutexUnlock() local
117 ev.is_func = 0; in TraceMutexUnlock()
119 ev._ = 0; in TraceMutexUnlock()
127 EventTime ev; in TraceTime() local
[all …]
H A Dtsan_rtl_report.cpp418 Event ev = events[i]; in RestoreStack() local
585 ev_addr, ev_size, ev->is_read, ev->is_atomic); in RestoreStack()
588 is_read == ev->is_read && is_atomic == ev->is_atomic && !is_free) in RestoreStack()
594 if (ev->pc) { in RestoreStack()
609 prev_pc = ev->pc; in RestoreStack()
611 ev->pc, ev_addr, ev_size, ev->is_read, ev->is_atomic); in RestoreStack()
614 is_read == ev->is_read && is_atomic == ev->is_atomic && in RestoreStack()
623 (ev->size_hi << EventAccessRange::kSizeLoBits) + ev->size_lo; in RestoreStack()
627 ev_addr, ev_size, ev->is_read, ev->is_free); in RestoreStack()
630 is_read == ev->is_read && !is_atomic && is_free == ev->is_free) in RestoreStack()
[all …]
H A Dtsan_rtl.h631 Event ev = (u64)addr | ((u64)typ << kEventPCBits); in TraceAddEvent() local
632 *evp = ev; in TraceAddEvent()
699 *ev = reinterpret_cast<EventT *>(pos); in TraceAcquire()
710 void TraceEvent(ThreadState *thr, EventT ev) { in TraceEvent() argument
717 *evp = ev; in TraceEvent()
725 EventFunc *ev; variable
726 if (UNLIKELY(!TraceAcquire(thr, &ev)))
728 ev->is_access = 0;
729 ev->is_func = 1;
730 ev->pc = pc;
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp24 EventAccess* ev; in TryTraceMemoryAccess() local
66 ev->is_func = 0; in TryTraceMemoryAccessRange()
110 EventLock ev; in TraceMutexLock() local
112 ev.is_func = 0; in TraceMutexLock()
113 ev.type = type; in TraceMutexLock()
117 ev._ = 0; in TraceMutexLock()
125 EventUnlock ev; in TraceMutexUnlock() local
127 ev.is_func = 0; in TraceMutexUnlock()
129 ev._ = 0; in TraceMutexUnlock()
138 EventTime ev; in TraceTime() local
[all …]
H A Dtsan_rtl_report.cpp509 ev_addr, ev_size, ev->is_read, ev->is_atomic); in RestoreStack()
512 is_read == ev->is_read && is_atomic == ev->is_atomic && !is_free) in RestoreStack()
518 if (ev->pc) { in RestoreStack()
520 stack.PushBack(ev->pc); in RestoreStack()
536 prev_pc = ev->pc; in RestoreStack()
538 ev->pc, ev_addr, ev_size, ev->is_read, ev->is_atomic); in RestoreStack()
541 is_read == ev->is_read && is_atomic == ev->is_atomic && in RestoreStack()
550 (ev->size_hi << EventAccessRange::kSizeLoBits) + ev->size_lo; in RestoreStack()
554 ev_addr, ev_size, ev->is_read, ev->is_free); in RestoreStack()
557 is_read == ev->is_read && !is_atomic && is_free == ev->is_free) in RestoreStack()
[all …]
H A Dtsan_rtl.h689 EventT **ev) { in TraceAcquire() argument
713 *ev = reinterpret_cast<EventT *>(pos); in TraceAcquire()
724 void TraceEvent(ThreadState *thr, EventT ev) { in TraceEvent() argument
731 *evp = ev; in TraceEvent()
739 EventFunc *ev; variable
740 if (UNLIKELY(!TraceAcquire(thr, &ev)))
742 ev->is_access = 0;
743 ev->is_func = 1;
744 ev->pc = pc;
745 TraceRelease(thr, ev);
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios.base/ios.base.cons/
H A Ddtor.pass.cpp36 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
38 if (ev == std::ios_base::erase_event) in f1()
49 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
51 if (ev == std::ios_base::erase_event) in f2()
62 void f3(std::ios_base::event ev, std::ios_base& stream, int index) in f3() argument
64 if (ev == std::ios_base::erase_event) in f3()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios.base/ios.base.locales/
H A Dimbue.pass.cpp39 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
41 if (ev == std::ios_base::imbue_event) in f1()
52 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
54 if (ev == std::ios_base::imbue_event) in f2()
65 void f3(std::ios_base::event ev, std::ios_base& stream, int index) in f3() argument
67 if (ev == std::ios_base::imbue_event) in f3()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
H A Dcopyfmt.pass.cpp38 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
40 if (ev == std::ios_base::erase_event) in f1()
53 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
55 if (ev == std::ios_base::erase_event) in f2()
68 void g1(std::ios_base::event ev, std::ios_base& stream, int index) in g1() argument
70 if (ev == std::ios_base::copyfmt_event) in g1()
83 void g2(std::ios_base::event ev, std::ios_base& stream, int index) in g2() argument
85 if (ev == std::ios_base::copyfmt_event) in g2()
98 void g3(std::ios_base::event ev, std::ios_base& stream, int index) in g3() argument
100 if (ev == std::ios_base::copyfmt_event) in g3()
H A Dimbue.pass.cpp33 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
35 if (ev == std::ios_base::imbue_event) in f1()
46 void f2(std::ios_base::event ev, std::ios_base& stream, int index) in f2() argument
48 if (ev == std::ios_base::imbue_event) in f2()
59 void f3(std::ios_base::event ev, std::ios_base& stream, int index) in f3() argument
61 if (ev == std::ios_base::imbue_event) in f3()
H A Dmove.pass.cpp54 void g1(std::ios_base::event ev, std::ios_base&, int index) in g1() argument
56 if (ev == std::ios_base::imbue_event) in g1()
63 void g2(std::ios_base::event ev, std::ios_base&, int index) in g2() argument
65 if (ev == std::ios_base::imbue_event) in g2()
72 void g3(std::ios_base::event ev, std::ios_base&, int index) in g3() argument
74 if (ev == std::ios_base::imbue_event) in g3()
/llvm-project-15.0.7/llvm/tools/llvm-cxxdump/
H A DError.cpp26 std::string message(int ev) const override { in message()
27 switch (static_cast<cxxdump_error>(ev)) { in message()
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtailcall-extract.ll44 %ev = extractvalue { i8*, i64 } %call1.i.sink, 0
45 %result = bitcast i8* %ev to i64*
90 %ev = extractvalue { i8*, i64 } %call1.i.sink, 1
91 ret i64 %ev
135 %ev = extractvalue { {i8*, i64}, i64 } %call1.i.sink, 0, 0
136 %result = bitcast i8* %ev to i64*
182 %ev = extractvalue { {i8*, i64}, i64 } %call1.i.sink, 0, 1
183 ret i64 %ev
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios.base/ios.base.callback/
H A Dregister_callback.pass.cpp37 void f1(std::ios_base::event ev, std::ios_base& stream, int index) in f1() argument
39 if (ev == std::ios_base::imbue_event) in f1()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dreferences.cpp152 ext_vec4 ev; in test10() local
153 int &c = ev.x; // expected-error{{non-const reference cannot bind to vector element}} in test10()
154 const int &d = ev.x; in test10()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DMainLoop.cpp330 struct kevent ev;
331 EV_SET(&ev, signo, EVFILT_SIGNAL, EV_ADD, 0, 0, 0);
332 ret = kevent(m_kqueue, &ev, 1, nullptr, 0, nullptr);
384 struct kevent ev;
385 EV_SET(&ev, signo, EVFILT_SIGNAL, EV_DELETE, 0, 0, 0);
386 ret = kevent(m_kqueue, &ev, 1, nullptr, 0, nullptr);
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dla-03.ll5 @ev = external global i32
24 ; CHECK: lgrl %r2, ev@GOT
26 ret i32 *@ev
H A Dla-02.ll7 @ev = external global i32
27 ; CHECK: lgrl %r2, ev@GOT
29 ret i32 *@ev
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A D2010-05-30-memcpy-Struct.ll12 define void @CopyEventArg(%union.anon* %ev, i8* %src) nounwind {
20 …c, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), %union.anon* %ev) nounwind
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dstruct-arg-resolve-undefs.ll24 %ev = extractvalue %struct.S %s.coerce, 0
25 %call = call i8 @lsh(i8 1, i32 %ev)
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionVariable.h201 static bool classof(const ExpressionVariable *ev) { in classof() argument
202 return ev->getKind() == ExpressionVariable::eKindClang; in classof()

12