/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/debug/ |
H A D | formatter.h | 267 _Parameter(_Safe_iterator<_Iterator, _Sequence, _Category> const& __it, in _Parameter() 272 _M_variant._M_iterator._M_address = std::__addressof(__it); in _Parameter() 275 __it._S_constant() ? __const_iterator : __mutable_iterator; in _Parameter() 276 _M_variant._M_iterator._M_sequence = __it._M_get_sequence(); in _Parameter() 279 if (__it._M_singular()) in _Parameter() 283 if (__it._M_is_before_begin()) in _Parameter() 285 else if (__it._M_is_end()) in _Parameter() 287 else if (__it._M_is_begin()) in _Parameter() 295 _Parameter(_Safe_local_iterator<_Iterator, _Sequence> const& __it, in _Parameter() 300 _M_variant._M_iterator._M_address = std::__addressof(__it); in _Parameter() [all …]
|
H A D | stl_iterator.h | 52 __can_advance(const std::reverse_iterator<_Iterator>& __it, _Size __n) in __can_advance() argument 53 { return __can_advance(__it.base(), -__n); } in __can_advance() 57 __can_advance(const std::reverse_iterator<_Iterator>& __it, in __can_advance() argument 60 { return __can_advance(__it.base(), __dist, -__way); } in __can_advance() 65 _Iterator, _Sequence, std::random_access_iterator_tag> >& __it) in __base() 66 { return std::reverse_iterator<_Iterator>(__it.base().base()); } in __base() 78 __unsafe(const std::reverse_iterator<_Iterator>& __it) 81 return std::reverse_iterator<_UnsafeType>(__unsafe(__it.base())); 86 __unsafe(const std::reverse_iterator<_Iterator>& __it) 87 -> decltype(std::__make_reverse_iterator(__unsafe(__it.base()))) [all …]
|
H A D | functions.h | 72 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux4() argument 82 const _Sequence* __seq = __it._M_get_sequence(); in __foreign_iterator_aux4() 102 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux3() argument 108 if (__it._M_get_sequence()->empty()) in __foreign_iterator_aux3() 110 return __foreign_iterator_aux4(__it, std::__addressof(*__other)); in __foreign_iterator_aux3() 128 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux2() argument 131 { return __it._M_get_sequence() != __other._M_get_sequence(); } in __foreign_iterator_aux2() 151 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux2() argument 164 return __foreign_iterator_aux3(__it, __other, __other_end, __tag()); in __foreign_iterator_aux2() 181 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux() argument [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/debug/ |
H A D | formatter.h | 270 _Parameter(_Safe_iterator<_Iterator, _Sequence, _Category> const& __it, in _Parameter() 275 _M_variant._M_iterator._M_address = std::__addressof(__it); in _Parameter() 278 __it._S_constant() ? __const_iterator : __mutable_iterator; in _Parameter() 279 _M_variant._M_iterator._M_sequence = __it._M_get_sequence(); in _Parameter() 282 if (__it._M_singular()) in _Parameter() 286 if (__it._M_is_before_begin()) in _Parameter() 288 else if (__it._M_is_end()) in _Parameter() 290 else if (__it._M_is_begin()) in _Parameter() 298 _Parameter(_Safe_local_iterator<_Iterator, _Sequence> const& __it, in _Parameter() 303 _M_variant._M_iterator._M_address = std::__addressof(__it); in _Parameter() [all …]
|
H A D | stl_iterator.h | 57 __can_advance(const std::reverse_iterator<_Iterator>& __it, _Size __n) in __can_advance() argument 58 { return __gnu_debug::__can_advance(__it.base(), -__n); } in __can_advance() 63 __can_advance(const std::reverse_iterator<_Iterator>& __it, in __can_advance() argument 66 { return __gnu_debug::__can_advance(__it.base(), __dist, -__way); } in __can_advance() 72 _Iterator, _Sequence, std::random_access_iterator_tag> >& __it) in __base() 73 { return std::reverse_iterator<_Iterator>(__it.base().base()); } in __base() 85 __unsafe(const std::reverse_iterator<_Iterator>& __it) 88 return std::reverse_iterator<_UnsafeType>(__unsafe(__it.base())); 94 __unsafe(const std::reverse_iterator<_Iterator>& __it) 95 -> decltype(std::__make_reverse_iterator(__unsafe(__it.base()))) [all …]
|
H A D | functions.h | 72 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux4() argument 82 const _Sequence* __seq = __it._M_get_sequence(); in __foreign_iterator_aux4() 102 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux3() argument 108 if (__it._M_get_sequence()->empty()) in __foreign_iterator_aux3() 110 return __foreign_iterator_aux4(__it, std::__addressof(*__other)); in __foreign_iterator_aux3() 128 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux2() argument 131 { return __it._M_get_sequence() != __other._M_get_sequence(); } in __foreign_iterator_aux2() 151 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux2() argument 164 return __foreign_iterator_aux3(__it, __other, __other_end, __tag()); in __foreign_iterator_aux2() 181 const _Safe_iterator<_Iterator, _Sequence, _Category>& __it, in __foreign_iterator_aux() argument [all …]
|
H A D | safe_unordered_container.h | 71 [__local_end](__decltype(__local_end) __it) in _M_invalidate_locals() 72 { return __it != __local_end; }); in _M_invalidate_locals() 81 operator()(_Iterator __it) const in operator() 82 { return _M_source.count(_ExtractKey{}(*__it)) == 0; } in operator() 92 operator()(_Iterator __it) const in operator() 95 _M_source._M_base().equal_range(_ExtractKey{}(*__it)); in operator() 99 if (__it == __rit) in operator() 169 this->_M_invalidate_if([__end](__decltype(__end) __it) in _M_invalidate_all() 170 { return __it != __end; }); in _M_invalidate_all()
|
H A D | forward_list | 76 this->_M_invalidate_if([this](_Base_const_iterator __it) 78 return __it != _M_this()._M_base().cbefore_begin() 79 && __it != _M_this()._M_base().cend(); }); 405 this->_M_invalidate_if([this](_Base_const_iterator __it) 406 { return __it == this->_M_base().cbegin(); }); 475 this->_M_invalidate_if([__next](_Base_const_iterator __it) 476 { return __it == __next; }); 492 this->_M_invalidate_if([__victim](_Base_const_iterator __it) 493 { return __it == __victim; }); 520 this->_M_invalidate_if([__victim](_Base_const_iterator __it) [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/filesystem/ |
H A D | path.cc | 165 auto __it = _M_cmpts.begin(); in root_directory() local 166 if (__it->_M_type == _Type::_Root_name) in root_directory() 167 ++__it; in root_directory() 168 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_directory() 169 __ret = *__it; in root_directory() 183 auto __it = _M_cmpts.begin(); in root_path() local 184 if (__it->_M_type == _Type::_Root_name) in root_path() 186 __ret = *__it++; in root_path() 187 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_path() 193 else if (__it->_M_type == _Type::_Root_dir) in root_path() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/filesystem/ |
H A D | path.cc | 165 auto __it = _M_cmpts.begin(); in root_directory() local 166 if (__it->_M_type == _Type::_Root_name) in root_directory() 167 ++__it; in root_directory() 168 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_directory() 169 __ret = *__it; in root_directory() 183 auto __it = _M_cmpts.begin(); in root_path() local 184 if (__it->_M_type == _Type::_Root_name) in root_path() 186 __ret = *__it++; in root_path() 187 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_path() 193 else if (__it->_M_type == _Type::_Root_dir) in root_path() [all …]
|
H A D | std-path.cc | 180 auto __it = _M_cmpts.begin(); in root_directory() local 181 if (__it->_M_type == _Type::_Root_name) in root_directory() 182 ++__it; in root_directory() 183 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_directory() 184 __ret = *__it; in root_directory() 202 auto __it = _M_cmpts.begin(); in root_path() local 203 if (__it->_M_type == _Type::_Root_name) in root_path() 205 __ret = *__it++; in root_path() 206 if (__it != _M_cmpts.end() && __it->_M_type == _Type::_Root_dir) in root_path() 207 __ret /= *__it; in root_path() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | predefined_ops.h | 68 operator()(_Iterator __it, _Value& __val) const in operator() 69 { return *__it < __val; } in operator() 97 operator()(_Value& __val, _Iterator __it) const in operator() 98 { return __val < *__it; } in operator() 130 operator()(_Iterator __it, _Value& __val) const in operator() 131 { return *__it == __val; } in operator() 195 operator()(_Iterator __it, _Value& __val) in operator() 196 { return bool(_M_comp(*__it, __val)); } in operator() 239 operator()(_Value& __val, _Iterator __it) in operator() 240 { return bool(_M_comp(__val, *__it)); } in operator() [all …]
|
H A D | regex_automaton.tcc | 165 for (auto __it : this->_M_paren_stack) in _M_insert_backref() 166 if (__index == __it) in _M_insert_backref() 180 for (auto& __it : *this) in _M_eliminate_dummy() 182 while (__it._M_next >= 0 && (*this)[__it._M_next]._M_opcode() in _M_eliminate_dummy() 184 __it._M_next = (*this)[__it._M_next]._M_next; in _M_eliminate_dummy() 185 if (__it._M_has_alt()) in _M_eliminate_dummy() 186 while (__it._M_alt >= 0 && (*this)[__it._M_alt]._M_opcode() in _M_eliminate_dummy() 188 __it._M_alt = (*this)[__it._M_alt]._M_next; in _M_eliminate_dummy() 218 for (auto __it : __m) in _M_clone() local 220 auto __v = __it.second; in _M_clone()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | predefined_ops.h | 66 operator()(_Iterator __it, _Value& __val) const in operator() 67 { return *__it < __val; } in operator() 95 operator()(_Value& __val, _Iterator __it) const in operator() 96 { return __val < *__it; } in operator() 128 operator()(_Iterator __it, _Value& __val) const in operator() 129 { return *__it == __val; } in operator() 193 operator()(_Iterator __it, _Value& __val) in operator() 194 { return bool(_M_comp(*__it, __val)); } in operator() 237 operator()(_Value& __val, _Iterator __it) in operator() 238 { return bool(_M_comp(__val, *__it)); } in operator() [all …]
|
H A D | regex_automaton.tcc | 165 for (auto __it : this->_M_paren_stack) in _M_insert_backref() 166 if (__index == __it) in _M_insert_backref() 180 for (auto& __it : *this) in _M_eliminate_dummy() 182 while (__it._M_next >= 0 && (*this)[__it._M_next]._M_opcode() in _M_eliminate_dummy() 184 __it._M_next = (*this)[__it._M_next]._M_next; in _M_eliminate_dummy() 185 if (__it._M_has_alt()) in _M_eliminate_dummy() 186 while (__it._M_alt >= 0 && (*this)[__it._M_alt]._M_opcode() in _M_eliminate_dummy() 188 __it._M_alt = (*this)[__it._M_alt]._M_next; in _M_eliminate_dummy() 218 for (auto __it : __m) in _M_clone() local 220 auto __v = __it.second; in _M_clone()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/profile/impl/ |
H A D | profiler_algos.h | 45 typename _Container::iterator __it = __output.begin(); in __insert_top_n() local 56 if (__it == __output.end()) in __insert_top_n() 59 if (*__it < __value) in __insert_top_n() 62 ++__it; in __insert_top_n() 66 __output.insert(__it, __value); in __insert_top_n() 76 typename _Container::const_iterator __it; in __top_n() local 77 for (__it = __input.begin(); __it != __input.end(); ++__it) in __top_n() 78 __insert_top_n(__output, *__it, __n); in __top_n()
|
H A D | profiler_node.h | 87 __stack_npt::const_iterator __it; in __write() local 88 for (__it = __stack->begin(); __it != __stack->end(); ++__it) in __write() 89 std::fprintf(__f, "%p ", *__it); in __write() 103 __stack_npt::const_iterator __it; in operator() local 104 for (__it = __s->begin(); __it != __s->end(); ++__it) in operator() 105 __index += reinterpret_cast<std::size_t>(*__it); in operator()
|
H A D | profiler_trace.h | 201 for (typename __stack_table_t::iterator __it in ~__trace_base() local 202 = __stack_table.begin(); __it != __stack_table.end(); ++__it) in ~__trace_base() 203 delete __it->first; in ~__trace_base() 298 for (typename __stack_table_t::iterator __it in __write() local 299 = __stack_table.begin(); __it != __stack_table.end(); ++__it) in __write() 300 if (__it->second.__is_valid()) in __write() 304 __gnu_profile::__write(__f, __it->first); in __write() 306 __it->second.__write(__f); in __write() 315 for (typename __stack_table_t::iterator __it in __collect_warnings() local 316 = __stack_table.begin(); __it != __stack_table.end(); ++__it) in __collect_warnings() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/ |
H A D | debug.cc | 311 _M_attach(_Safe_iterator_base* __it, bool __constant) in _M_attach() argument 314 _M_attach_single(__it, __constant); in _M_attach() 319 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () in _M_attach_single() argument 323 __it->_M_next = __its; in _M_attach_single() 324 if (__it->_M_next) in _M_attach_single() 325 __it->_M_next->_M_prior = __it; in _M_attach_single() 326 __its = __it; in _M_attach_single() 331 _M_detach(_Safe_iterator_base* __it) in _M_detach() argument 335 _M_detach_single(__it); in _M_detach() 340 _M_detach_single(_Safe_iterator_base* __it) throw () in _M_detach_single() argument [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ |
H A D | debug.cc | 334 _M_attach(_Safe_iterator_base* __it, bool __constant) in _M_attach() argument 337 _M_attach_single(__it, __constant); in _M_attach() 342 _M_attach_single(_Safe_iterator_base* __it, bool __constant) throw () in _M_attach_single() argument 346 __it->_M_next = __its; in _M_attach_single() 347 if (__it->_M_next) in _M_attach_single() 348 __it->_M_next->_M_prior = __it; in _M_attach_single() 349 __its = __it; in _M_attach_single() 354 _M_detach(_Safe_iterator_base* __it) in _M_detach() argument 358 _M_detach_single(__it); in _M_detach() 363 _M_detach_single(_Safe_iterator_base* __it) throw () in _M_detach_single() argument [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/parallel/ |
H A D | list_partition.h | 117 _IIter __prev = __begin, __it = __begin; variable 122 while (__it != __end) 125 for (; __cur < __os_starts.size() and __it != __end; ++__cur) 128 __dist < __dist_limit and __it != __end; ++__dist) 130 __f(__it); 131 ++__it; 133 __os_starts[__cur] = __it; 138 if (__it == __end)
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/parallel/ |
H A D | list_partition.h | 117 _IIter __prev = __begin, __it = __begin; variable 122 while (__it != __end) 125 for (; __cur < __os_starts.size() and __it != __end; ++__cur) 128 __dist < __dist_limit and __it != __end; ++__dist) 130 __f(__it); 131 ++__it; 133 __os_starts[__cur] = __it; 138 if (__it == __end)
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/profile/ |
H A D | unordered_base.h | 245 auto __it = __uc.begin(); in _GLIBCXX_VISIBILITY() 246 while (__it != __uc.end()) in _GLIBCXX_VISIBILITY() 248 auto __bkt = __get_bucket_index(__uc, __it._M_cur); in _GLIBCXX_VISIBILITY() 251 for (++__it, ++__lit; __lit != __lend; ++__it, ++__lit) in _GLIBCXX_VISIBILITY() 274 auto __it = __uc.begin(); in _GLIBCXX_VISIBILITY() 275 while (__it != __uc.end()) in _GLIBCXX_VISIBILITY() 277 auto __bkt = __get_bucket_index(__uc, __it._M_cur); in _GLIBCXX_VISIBILITY() 280 auto __pit = __it; in _GLIBCXX_VISIBILITY() 282 for (++__it, ++__lit; __lit != __lend; ++__it, ++__lit) in _GLIBCXX_VISIBILITY() 284 if (!__are_equal(__uc, __pit._M_cur, __it._M_cur)) in _GLIBCXX_VISIBILITY() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/ |
H A D | io_context | 311 for (auto __it = _M_queue.begin(), __end = __last; __it != __end; 312 ++__it) 314 if (__it->_M_key == __t._M_key.get()) 316 __it->cancel(); 317 __last = __it; 333 for (auto __it = _M_queue.begin(); __it != __end; ++__it) 334 if (__it->_M_key == __t._M_key.get()) 335 if (__oldest == __end || __it->_M_id < __oldest->_M_id) 336 __oldest = __it; 423 iterator erase(iterator __it) { return this->c.erase(__it); } [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/ |
H A D | io_context | 316 for (auto __it = _M_queue.begin(), __end = __last; __it != __end; 317 ++__it) 319 if (__it->_M_key == __t._M_key.get()) 321 __it->cancel(); 322 __last = __it; 338 for (auto __it = _M_queue.begin(); __it != __end; ++__it) 339 if (__it->_M_key == __t._M_key.get()) 340 if (__oldest == __end || __it->_M_id < __oldest->_M_id) 341 __oldest = __it; 428 iterator erase(iterator __it) { return this->c.erase(__it); } [all …]
|