Searched refs:sentry (Results 1 - 25 of 29) sorted by relevance

12

/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
H A Distream_sentry.cc30 // 27.6.1.1.2 class basic_istream::sentry
48 std::istream::sentry sentry01(istr01);
51 std::istream::sentry sentry02(istr01, true);
55 std::istream::sentry sentry03(istr02);
58 std::istream::sentry sentry04(istr02, true);
H A Dostream_sentry.cc30 // 27.6.2.3 class basic_ostream::sentry
61 std::ostream::sentry s(strm);
/openbsd-current/gnu/gcc/libstdc++-v3/config/cpu/generic/atomicity_mutex/
H A Datomicity.h49 __gnu_cxx::__scoped_lock sentry(atomic_mutex);
/openbsd-current/gnu/gcc/libstdc++-v3/libsupc++/
H A Deh_alloc.cc108 __gnu_cxx::__scoped_lock sentry(emergency_mutex);
153 __gnu_cxx::__scoped_lock sentry(emergency_mutex);
/openbsd-current/gnu/gcc/libstdc++-v3/config/cpu/sh/
H A Datomicity.h91 __gnu_cxx::__scoped_lock sentry(atomic_mutex);
/openbsd-current/gnu/gcc/libstdc++-v3/include/std/
H A Dstd_ostream.h98 class sentry;
99 friend class sentry;
147 * constructing a temporary object of type std::basic_ostream::sentry.
149 * status flag; see the sentry documentation for more.
151 * If the sentry status is good, the function tries to generate
237 * in that it also constructs a sentry object and has the same error
263 * std::basic_ostream::sentry. This has several effects, concluding
264 * with the setting of a status flag; see the sentry documentation
267 * If the sentry status is good, the function tries to generate
289 // Core write functionality, without sentry
384 class basic_ostream<_CharT, _Traits>::sentry class in class:basic_ostream
[all...]
H A Dstd_istream.h117 class sentry;
118 friend class sentry;
155 * constructing a temporary object of type std::basic_istream::sentry
158 * sentry documentation for more.
160 * If the sentry status is good, the function tries to extract
234 * in that it also constructs a sentry object and has the same error
268 * std::basic_istream::sentry with the second argument (noskipws)
270 * setting of a status flag; see the sentry documentation for more.
272 * If the sentry status is good, the function tries to extract
453 * If, after constructing the sentry objec
646 class basic_istream<_CharT, _Traits>::sentry class in class:basic_istream
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/std/
H A Dstd_ostream.h117 class sentry;
118 friend class sentry;
146 * constructing a temporary object of type std::basic_ostream::sentry.
148 * status flag; see the sentry documentation for more.
150 * If the sentry status is good, the function tries to generate
232 * in that it also constructs a sentry onject and has the same error
258 * std::basic_ostream::sentry. This has several effects, concluding
259 * with the setting of a status flag; see the sentry documentation
262 * If the sentry status is good, the function tries to generate
362 class basic_ostream<_CharT, _Traits>::sentry class in class:std::basic_ostream
[all...]
H A Dstd_istream.h120 class sentry;
121 friend class sentry;
149 * constructing a temporary object of type std::basic_istream::sentry
152 * sentry documentation for more.
154 * If the sentry status is good, the function tries to extract
217 * in that it also constructs a sentry onject and has the same error
251 * std::basic_istream::sentry with the second argument (noskipws)
253 * setting of a status flag; see the sentry documentation for more.
255 * If the sentry status is good, the function tries to extract
425 * If, after constructing the sentry objec
577 class basic_istream<_CharT, _Traits>::sentry class in class:std::basic_istream
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/src/
H A Ddebug.cc113 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
133 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
155 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
169 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
193 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
230 __gnu_cxx::__scoped_lock sentry(safe_base_mutex);
H A Distream.cc45 sentry __cerb(*this, true);
98 // 243. get and getline when sentry reports failure.
117 sentry __cerb(*this, true);
199 __istream_type::sentry __cerb(__in, false);
277 __istream_type::sentry __cerb(__in, false);
354 __istream_type::sentry __cerb(__in, true);
425 sentry __cerb(*this, true);
478 // 243. get and getline when sentry reports failure.
497 sentry __cerb(*this, true);
583 __istream_type::sentry __cer
[all...]
H A Dmt_allocator.cc68 __gnu_cxx::__scoped_lock sentry(freelist_mutex);
500 __gnu_cxx::__scoped_lock sentry(freelist_mutex);
621 __gnu_cxx::__scoped_lock sentry(freelist_mutex);
693 __gnu_cxx::__scoped_lock sentry(freelist_mutex);
H A Dcompatibility.cc67 sentry __cerb(*this, true);
133 sentry __cerb(*this, true);
H A Dlocale_init.cc215 __gnu_cxx::__scoped_lock sentry(get_locale_mutex());
226 __gnu_cxx::__scoped_lock sentry(get_locale_mutex());
H A Dlocale.cc392 __gnu_cxx::__scoped_lock sentry(locale_cache_mutex);
/openbsd-current/gnu/gcc/libstdc++-v3/include/debug/
H A Dsafe_sequence.h131 __gnu_cxx::__scoped_lock sentry(this->_M_get_mutex());
168 __gnu_cxx::__scoped_lock sentry(this->_M_get_mutex());
/openbsd-current/gnu/gcc/libstdc++-v3/include/ext/
H A Dpool_allocator.h221 __scoped_lock sentry(_M_get_mutex());
251 __scoped_lock sentry(_M_get_mutex());
/openbsd-current/gnu/gcc/libstdc++-v3/include/bits/
H A Dostream_insert.h84 typename __ostream_type::sentry __cerb(__out);
/openbsd-current/gnu/llvm/lldb/examples/lookup/
H A Dmain.cpp86 // Use a sentry object to properly initialize/terminate LLDB.
87 LLDBSentry sentry; local
/openbsd-current/usr.bin/tmux/
H A Dsession.c688 TAILQ_FOREACH(wl, &old_lastw, sentry) {
691 TAILQ_INSERT_TAIL(&s->lastw, wl2, sentry);
741 TAILQ_FOREACH(wl, &old_lastw, sentry) {
745 TAILQ_INSERT_TAIL(&s->lastw, wl_new, sentry);
H A Dwindow.c250 TAILQ_INSERT_HEAD(stack, wl, sentry);
258 TAILQ_REMOVE(stack, wl, sentry);
1503 TAILQ_INSERT_HEAD(stack, wp, sentry);
1512 TAILQ_REMOVE(stack, wp, sentry);
/openbsd-current/gnu/llvm/lldb/examples/functions/
H A Dmain.cpp90 // Use a sentry object to properly initialize/terminate LLDB.
91 LLDBSentry sentry; local
/openbsd-current/gnu/llvm/lldb/source/Target/
H A DStopInfo.cpp658 WatchpointSentry *sentry = (WatchpointSentry *) sentry_void; local
659 sentry->DoReenable();
890 // This sentry object makes sure the current watchpoint is disabled
896 WatchpointSentry sentry(process_sp, wp_sp);
/openbsd-current/gnu/gcc/gcc/cp/
H A Dinit.c1984 /* Ack! First we allocate the memory. Then we set our sentry
1986 memory if sentry is true. Then we run the constructor, and
1987 finally clear the sentry.
1995 tree end, sentry, begin;
2000 sentry = TARGET_EXPR_SLOT (begin);
2003 = build3 (COND_EXPR, void_type_node, sentry,
2006 end = build2 (MODIFY_EXPR, TREE_TYPE (sentry),
2007 sentry, boolean_false_node);
1993 tree end, sentry, begin; local
/openbsd-current/gnu/usr.bin/gcc/gcc/cp/
H A Dinit.c2453 /* Ack! First we allocate the memory. Then we set our sentry
2455 if sentry is true. Then we run the constructor, and finally
2456 clear the sentry.
2458 It would be nice to be able to handle this without the sentry
2476 tree end, sentry, begin;
2481 sentry = TARGET_EXPR_SLOT (begin);
2484 = build (COND_EXPR, void_type_node, sentry,
2487 end = build (MODIFY_EXPR, TREE_TYPE (sentry),
2488 sentry, boolean_false_node);
2473 tree end, sentry, begin; local

Completed in 365 milliseconds

12