Home
last modified time | relevance | path

Searched refs:__old (Results 1 – 25 of 55) sorted by relevance

123

/openbsd/gnu/lib/libstdc++/libstdc++/config/locale/gnu/
H A Dmessages_members.cc47 __c_locale __old = __uselocale(_M_c_locale_messages); in do_get() local
49 __uselocale(__old); in do_get()
52 char* __old = strdup(setlocale(LC_ALL, NULL)); in do_get()
55 setlocale(LC_ALL, __old); in do_get()
56 free(__old); in do_get()
67 __c_locale __old = __uselocale(_M_c_locale_messages); in do_get() local
69 __uselocale(__old); in do_get()
72 char* __old = strdup(setlocale(LC_ALL, NULL)); in do_get()
75 setlocale(LC_ALL, __old); in do_get()
76 free(__old); in do_get()
H A Dmonetary_members.cc409 __uselocale(__old); in _M_initialize_moneypunct()
411 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
412 free(__old); in _M_initialize_moneypunct()
427 __uselocale(__old); in _M_initialize_moneypunct()
429 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
430 free(__old); in _M_initialize_moneypunct()
526 __uselocale(__old); in _M_initialize_moneypunct()
529 free(__old); in _M_initialize_moneypunct()
544 __uselocale(__old); in _M_initialize_moneypunct()
546 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
[all …]
H A Dc_locale.h71 __c_locale __old = __gnu_cxx::__uselocale(__cloc);
75 char* __old = setlocale(LC_ALL, NULL);
76 char* __sav = static_cast<char*>(malloc(strlen(__old) + 1));
78 strcpy(__sav, __old);
96 __gnu_cxx::__uselocale(__old);
H A Dctype_members.cc193 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_widen() local
197 __uselocale(__old); in do_widen()
207 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_widen() local
213 __uselocale(__old); in do_widen()
223 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_narrow() local
227 __uselocale(__old); in do_narrow()
238 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_narrow() local
258 __uselocale(__old); in do_narrow()
H A Dcodecvt_members.cc53 __c_locale __old = __uselocale(_S_c_locale); in do_out() local
57 __uselocale(__old); in do_out()
88 __c_locale __old = __uselocale(_S_c_locale); in do_in() local
92 __uselocale(__old); in do_in()
/openbsd/gnu/gcc/libstdc++-v3/config/locale/gnu/
H A Dmessages_members.cc47 __c_locale __old = __uselocale(_M_c_locale_messages); in _GLIBCXX_BEGIN_NAMESPACE() local
49 __uselocale(__old); in _GLIBCXX_BEGIN_NAMESPACE()
52 char* __old = strdup(setlocale(LC_ALL, NULL)); in _GLIBCXX_BEGIN_NAMESPACE()
55 setlocale(LC_ALL, __old); in _GLIBCXX_BEGIN_NAMESPACE()
56 free(__old); in _GLIBCXX_BEGIN_NAMESPACE()
67 __c_locale __old = __uselocale(_M_c_locale_messages); in do_get() local
69 __uselocale(__old); in do_get()
72 char* __old = strdup(setlocale(LC_ALL, NULL)); in do_get()
75 setlocale(LC_ALL, __old); in do_get()
76 free(__old); in do_get()
H A Dcodecvt_members.cc54 __c_locale __old = __uselocale(_M_c_locale_codecvt); in _GLIBCXX_BEGIN_NAMESPACE() local
112 __uselocale(__old); in _GLIBCXX_BEGIN_NAMESPACE()
129 __c_locale __old = __uselocale(_M_c_locale_codecvt); in do_in() local
194 __uselocale(__old); in do_in()
208 __c_locale __old = __uselocale(_M_c_locale_codecvt); in do_encoding() local
213 __uselocale(__old); in do_encoding()
223 __c_locale __old = __uselocale(_M_c_locale_codecvt); in do_max_length() local
228 __uselocale(__old); in do_max_length()
242 __c_locale __old = __uselocale(_M_c_locale_codecvt); in do_length() local
300 __uselocale(__old); in do_length()
H A Dc_locale.h82 __c_locale __old = __gnu_cxx::__uselocale(__cloc); in __convert_from_v() local
84 char* __old = std::setlocale(LC_ALL, NULL); in __convert_from_v()
85 size_t __sz = std::strlen(__old) + 1; in __convert_from_v()
87 std::memcpy(__sav, __old, __sz); in __convert_from_v()
103 __gnu_cxx::__uselocale(__old); in __convert_from_v()
H A Dmonetary_members.cc458 __uselocale(__old); in _M_initialize_moneypunct()
460 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
461 free(__old); in _M_initialize_moneypunct()
479 __uselocale(__old); in _M_initialize_moneypunct()
481 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
482 free(__old); in _M_initialize_moneypunct()
601 __uselocale(__old); in _M_initialize_moneypunct()
604 free(__old); in _M_initialize_moneypunct()
621 __uselocale(__old); in _M_initialize_moneypunct()
623 setlocale(LC_ALL, __old); in _M_initialize_moneypunct()
[all …]
H A Dctype_members.cc226 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_narrow() local
230 __uselocale(__old); in do_narrow()
241 __c_locale __old = __uselocale(_M_c_locale_ctype); in do_narrow() local
265 __uselocale(__old); in do_narrow()
274 __c_locale __old = __uselocale(_M_c_locale_ctype); in _M_initialize_ctype() local
299 __uselocale(__old); in _M_initialize_ctype()
/openbsd/gnu/gcc/libstdc++-v3/config/os/tpf/
H A Dctype_noninline.h45 char* __old = strdup(setlocale(LC_CTYPE, NULL)); in classic_table() local
48 setlocale(LC_CTYPE, __old); in classic_table()
49 free(__old); in classic_table()
57 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
62 setlocale(LC_CTYPE, __old); in ctype()
63 free(__old); in ctype()
70 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
75 setlocale(LC_CTYPE, __old); in ctype()
76 free(__old); in ctype()
/openbsd/gnu/gcc/libstdc++-v3/config/locale/generic/
H A Dc_locale.cc56 char* __old = strdup(setlocale(LC_ALL, NULL)); in _GLIBCXX_BEGIN_NAMESPACE() local
82 setlocale(LC_ALL, __old); in _GLIBCXX_BEGIN_NAMESPACE()
83 free(__old); in _GLIBCXX_BEGIN_NAMESPACE()
93 char* __old = strdup(setlocale(LC_ALL, NULL)); in __convert_to_v() local
101 setlocale(LC_ALL, __old); in __convert_to_v()
102 free(__old); in __convert_to_v()
112 char* __old = strdup(setlocale(LC_ALL, NULL)); in __convert_to_v() local
129 setlocale(LC_ALL, __old); in __convert_to_v()
130 free(__old); in __convert_to_v()
H A Dc_locale.h67 char* __old = std::setlocale(LC_NUMERIC, NULL); in __convert_from_v() local
69 if (std::strcmp(__old, "C")) in __convert_from_v()
71 size_t __sz = std::strlen(__old) + 1; in __convert_from_v()
73 std::memcpy(__sav, __old, __sz); in __convert_from_v()
H A Dtime_members.cc47 char* __old = strdup(setlocale(LC_ALL, NULL)); in _GLIBCXX_BEGIN_NAMESPACE() local
50 setlocale(LC_ALL, __old); in _GLIBCXX_BEGIN_NAMESPACE()
51 free(__old); in _GLIBCXX_BEGIN_NAMESPACE()
129 char* __old = strdup(setlocale(LC_ALL, NULL)); in _M_put() local
132 setlocale(LC_ALL, __old); in _M_put()
133 free(__old); in _M_put()
/openbsd/gnu/lib/libstdc++/libstdc++/config/os/gnu-linux/
H A Dctype_noninline.h49 char* __old = strdup(setlocale(LC_CTYPE, NULL)); in classic_table() local
56 setlocale(LC_CTYPE, __old); in classic_table()
57 free(__old); in classic_table()
77 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
88 setlocale(LC_CTYPE, __old); in ctype()
89 free(__old); in ctype()
107 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
118 setlocale(LC_CTYPE, __old); in ctype()
119 free(__old); in ctype()
/openbsd/gnu/gcc/libstdc++-v3/config/os/gnu-linux/
H A Dctype_noninline.h51 char* __old = strdup(setlocale(LC_CTYPE, NULL)); in classic_table() local
58 setlocale(LC_CTYPE, __old); in classic_table()
59 free(__old); in classic_table()
83 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
94 setlocale(LC_CTYPE, __old); in ctype()
95 free(__old); in ctype()
118 char* __old=strdup(setlocale(LC_CTYPE, NULL)); in ctype() local
129 setlocale(LC_CTYPE, __old); in ctype()
130 free(__old); in ctype()
/openbsd/gnu/lib/libstdc++/libstdc++/config/locale/generic/
H A Dc_locale.cc123 char* __old = strdup(setlocale(LC_ALL, NULL)); in __convert_to_v() local
150 setlocale(LC_ALL, __old); in __convert_to_v()
151 free(__old); in __convert_to_v()
163 char* __old = strdup(setlocale(LC_ALL, NULL)); in __convert_to_v() local
172 setlocale(LC_ALL, __old); in __convert_to_v()
173 free(__old); in __convert_to_v()
185 char* __old = strdup(setlocale(LC_ALL, NULL)); in __convert_to_v() local
209 setlocale(LC_ALL, __old); in __convert_to_v()
210 free(__old); in __convert_to_v()
H A Dtime_members.cc47 char* __old = strdup(setlocale(LC_ALL, NULL)); in _M_put() local
50 setlocale(LC_ALL, __old); in _M_put()
51 free(__old); in _M_put()
123 char* __old = strdup(setlocale(LC_ALL, NULL)); in _M_put() local
128 setlocale(LC_ALL, __old); in _M_put()
129 free(__old); in _M_put()
H A Dc_locale.h62 char* __old = std::setlocale(LC_NUMERIC, NULL);
63 size_t __len = std::strlen(__old) + 1;
65 strlcpy(__sav, __old, __len);
/openbsd/gnu/llvm/libcxx/include/
H A Dsemaphore104 auto __old = __a_.load(memory_order_relaxed);
105 …return (__old != 0) && __a_.compare_exchange_strong(__old, __old - 1, memory_order_acquire, memory…
121 auto __old = __a_.load(memory_order_acquire);
123 if (__old == 0)
125 … if (__a_.compare_exchange_strong(__old, __old - 1, memory_order_acquire, memory_order_relaxed))
/openbsd/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dios_base.h484 fmtflags __old = _M_flags; in flags() local
486 return __old; in flags()
500 fmtflags __old = _M_flags; in setf() local
502 return __old; in setf()
517 fmtflags __old = _M_flags; in setf() local
520 return __old; in setf()
552 streamsize __old = _M_precision; in precision() local
554 return __old; in precision()
574 streamsize __old = _M_width; in width() local
576 return __old; in width()
H A Dbasic_ios.h296 basic_ostream<_CharT, _Traits>* __old = _M_tie; in tie() local
298 return __old; in tie()
364 char_type __old = this->fill(); in fill() local
366 return __old; in fill()
/openbsd/gnu/gcc/libstdc++-v3/src/
H A Ddebug.cc116 _Safe_iterator_base* __old = __iter; in _M_detach_all() local
118 __old->_M_detach_single(); in _M_detach_all()
123 _Safe_iterator_base* __old = __iter2; in _M_detach_all() local
125 __old->_M_detach_single(); in _M_detach_all()
136 _Safe_iterator_base* __old = __iter; in _M_detach_singular() local
138 if (__old->_M_singular()) in _M_detach_singular()
139 __old->_M_detach_single(); in _M_detach_singular()
144 _Safe_iterator_base* __old = __iter2; in _M_detach_singular() local
146 if (__old->_M_singular()) in _M_detach_singular()
147 __old->_M_detach_single(); in _M_detach_singular()
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dios_base.h560 fmtflags __old = _M_flags; in flags() local
562 return __old; in flags()
576 fmtflags __old = _M_flags; in setf() local
578 return __old; in setf()
593 fmtflags __old = _M_flags; in setf() local
596 return __old; in setf()
628 streamsize __old = _M_precision; in precision() local
630 return __old; in precision()
650 streamsize __old = _M_width; in width() local
652 return __old; in width()
H A Dbasic_ios.h295 basic_ostream<_CharT, _Traits>* __old = _M_tie; in _GLIBCXX_BEGIN_NAMESPACE() local
297 return __old; in _GLIBCXX_BEGIN_NAMESPACE()
378 char_type __old = this->fill(); in _GLIBCXX_BEGIN_NAMESPACE() local
380 return __old; in _GLIBCXX_BEGIN_NAMESPACE()

123