Home
last modified time | relevance | path

Searched refs:__glibcxx_assert (Results 1 – 25 of 227) sorted by relevance

12345678910

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/
H A Dfloating_to_chars.cc533 __glibcxx_assert(fd.exponent/64 < (int)std::size(pow10_adjustment_tab)); in is_rounded_up_pow10_p()
569 __glibcxx_assert(x == 0); in to_chars()
586 __glibcxx_assert(precision >= 0); in __handle_special_value()
624 __glibcxx_assert(value == 0); in __handle_special_value()
675 __glibcxx_assert(first - orig_first == expected_output_length); in __handle_special_value()
726 __glibcxx_assert(effective_mantissa & (mantissa_t{1} << (mantissa_bits in __floating_to_chars_hex()
740 __glibcxx_assert(shortest_full_precision >= 0); in __floating_to_chars_hex()
802 __glibcxx_assert(nibble <= 2); in __floating_to_chars_hex()
809 __glibcxx_assert(nibble < 16); in __floating_to_chars_hex()
854 __glibcxx_assert(nibble < 16); in __floating_to_chars_hex()
[all …]
H A Dmemory_resource.cc201 __glibcxx_assert(size() == sz); // sz must be a multiple of N in aligned_size()
329 __glibcxx_assert( empty() ); in bitset()
330 __glibcxx_assert( free() == num_blocks ); in bitset()
386 __glibcxx_assert( n < _M_size ); in operator []()
411 __glibcxx_assert( n < _M_size ); in set()
421 __glibcxx_assert( n < _M_size ); in clear()
492 { __glibcxx_assert(bytes <= chunk::max_bytes_per_chunk()); } in chunk()
544 __glibcxx_assert( owns(vp, block_size) ); in release()
547 __glibcxx_assert( (offset % block_size) == 0 ); in release()
549 __glibcxx_assert( (*this)[offset / block_size] == true ); in release()
[all …]
H A Dfloating_from_chars.cc78 # define FASTFLOAT_DEBUG_ASSERT __glibcxx_assert
107 __glibcxx_assert(m_ptr == nullptr); in do_allocate()
182 __glibcxx_assert(valid_fmt(fmt)); in pattern()
642 __glibcxx_assert(mantissa_idx == -1); in __floating_from_chars_hex()
648 __glibcxx_assert(mantissa_idx == -4); in __floating_from_chars_hex()
659 __glibcxx_assert(__bit_width(mantissa) >= mantissa_bits + 1 in __floating_from_chars_hex()
662 __glibcxx_assert(!midpoint_bit && !nonzero_tail); in __floating_from_chars_hex()
707 __glibcxx_assert(amount >= 0); in __floating_from_chars_hex()
733 __glibcxx_assert(leading_hexit_width >= 1 && leading_hexit_width <= 4); in __floating_from_chars_hex()
736 __glibcxx_assert((mantissa >> mantissa_bits) == 0x1); in __floating_from_chars_hex()
[all …]
H A Duint128_t.h76 __glibcxx_assert(y < 128);
95 __glibcxx_assert(y < 128);
166 __glibcxx_assert(y == 5 || y == 10);
193 __glibcxx_assert(y == 5 || y == 10);
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Datomic_base.h215 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
216 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
217 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
226 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
227 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
228 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
400 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
401 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
402 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
412 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
[all …]
H A Dnode_handle.h59 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
91 __glibcxx_assert(this->_M_alloc == __nh._M_alloc); in _GLIBCXX_VISIBILITY()
96 __glibcxx_assert(_M_alloc); in _GLIBCXX_VISIBILITY()
117 __glibcxx_assert(_M_alloc == __nh._M_alloc); in _GLIBCXX_VISIBILITY()
162 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
169 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
252 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
H A Dstl_iterator.h1756 __glibcxx_assert(__x._M_has_value());
1860 __glibcxx_assert(__x._M_has_value());
1876 __glibcxx_assert(_M_index == 0);
1883 __glibcxx_assert(_M_index == 0);
1890 __glibcxx_assert(_M_index == 0);
1905 __glibcxx_assert(_M_index == 0);
1913 __glibcxx_assert(_M_index == 0);
1946 __glibcxx_assert(__x._M_has_value());
1947 __glibcxx_assert(__y._M_has_value());
1969 __glibcxx_assert(__x._M_has_value());
[all …]
H A Dfs_path.h906 __glibcxx_assert(__first._M_path != nullptr); in _GLIBCXX_VISIBILITY()
907 __glibcxx_assert(__first._M_path == __last._M_path); in _GLIBCXX_VISIBILITY()
925 __glibcxx_assert(__i._M_path != nullptr); in _GLIBCXX_VISIBILITY()
926 __glibcxx_assert(__i._M_is_multi()); in _GLIBCXX_VISIBILITY()
1282 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1285 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.end()); in _GLIBCXX_VISIBILITY()
1290 __glibcxx_assert(!_M_at_end); in _GLIBCXX_VISIBILITY()
1299 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1302 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.begin()); in _GLIBCXX_VISIBILITY()
1307 __glibcxx_assert(_M_at_end); in _GLIBCXX_VISIBILITY()
[all …]
H A Dregex_executor.tcc395 __glibcxx_assert(__dfs_mode); in _M_handle_backref()
430 __glibcxx_assert(!_M_has_sol); in _M_handle_accept()
444 __glibcxx_assert(_M_states._M_get_sol_pos()); in _M_handle_accept()
537 __glibcxx_assert(false); in _M_dfs()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/
H A Dmemory_resource.cc225 __glibcxx_assert(__ch->_M_canary != 0); in release()
226 __glibcxx_assert(__ch->_M_canary == (__ch->_M_size|__ch->_M_align)); in release()
294 __glibcxx_assert( empty() ); in bitset()
295 __glibcxx_assert( free() == num_blocks ); in bitset()
351 __glibcxx_assert( n < _M_size ); in operator []()
376 __glibcxx_assert( n < _M_size ); in set()
386 __glibcxx_assert( n < _M_size ); in clear()
457 { __glibcxx_assert(bytes <= chunk::max_bytes_per_chunk()); } in chunk()
509 __glibcxx_assert( owns(vp, block_size) ); in release()
512 __glibcxx_assert( (offset % block_size) == 0 ); in release()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dspan161 __glibcxx_assert(__count == _Extent);
177 __glibcxx_assert((__last - __first) == _Extent);
218 __glibcxx_assert(ranges::size(__range) == extent);
236 __glibcxx_assert(__s.size() == extent);
264 __glibcxx_assert(!empty());
271 __glibcxx_assert(!empty());
278 __glibcxx_assert(__idx < size());
311 __glibcxx_assert(_Count <= size());
321 __glibcxx_assert(__count <= size());
330 __glibcxx_assert(_Count <= size());
[all …]
H A Dshared_mutex176 __glibcxx_assert(__ret == 0);
183 __glibcxx_assert(__ret == 0);
197 __glibcxx_assert(__ret == 0);
206 __glibcxx_assert(__ret == 0);
215 __glibcxx_assert(__ret == 0);
234 __glibcxx_assert(__ret == 0);
246 __glibcxx_assert(__ret == 0);
315 __glibcxx_assert( _M_state == 0 );
350 __glibcxx_assert( _M_write_entered() );
385 __glibcxx_assert( _M_readers() > 0 );
[all …]
H A Dexpected653 __glibcxx_assert(_M_has_value);
661 __glibcxx_assert(_M_has_value);
669 __glibcxx_assert(_M_has_value);
677 __glibcxx_assert(_M_has_value);
685 __glibcxx_assert(_M_has_value);
693 __glibcxx_assert(_M_has_value);
742 __glibcxx_assert(!_M_has_value);
749 __glibcxx_assert(!_M_has_value);
756 __glibcxx_assert(!_M_has_value);
763 __glibcxx_assert(!_M_has_value);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dspan166 __glibcxx_assert(__count == _Extent);
182 __glibcxx_assert((__last - __first) == _Extent);
223 __glibcxx_assert(ranges::size(__range) == extent);
241 __glibcxx_assert(__s.size() == extent);
269 __glibcxx_assert(!empty());
276 __glibcxx_assert(!empty());
283 __glibcxx_assert(__idx < size());
316 __glibcxx_assert(_Count <= size());
326 __glibcxx_assert(__count <= size());
335 __glibcxx_assert(_Count <= size());
[all …]
H A Dshared_mutex171 __glibcxx_assert(__ret == 0);
178 __glibcxx_assert(__ret == 0);
192 __glibcxx_assert(__ret == 0);
201 __glibcxx_assert(__ret == 0);
210 __glibcxx_assert(__ret == 0);
229 __glibcxx_assert(__ret == 0);
241 __glibcxx_assert(__ret == 0);
310 __glibcxx_assert( _M_state == 0 );
345 __glibcxx_assert( _M_write_entered() );
380 __glibcxx_assert( _M_readers() > 0 );
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/debug/
H A Dassertions.h50 __glibcxx_assert(_First != _Last)
52 __glibcxx_assert(_N < this->size())
55 __glibcxx_assert(!this->empty())
59 # define _GLIBCXX_DEBUG_ASSERT(_Condition) __glibcxx_assert(_Condition)
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/debug/
H A Dassertions.h48 __glibcxx_assert(__builtin_expect(_First != _Last, true))
50 __glibcxx_assert(__builtin_expect(_N < this->size(), true))
53 __glibcxx_assert(__builtin_expect(!this->empty(), true))
57 # define _GLIBCXX_DEBUG_ASSERT(_Condition) __glibcxx_assert(_Condition)
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Datomic_base.h288 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
289 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
290 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
300 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
301 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
302 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
476 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
477 __glibcxx_assert(__b != memory_order_acq_rel); in _GLIBCXX_VISIBILITY()
478 __glibcxx_assert(__b != memory_order_consume); in _GLIBCXX_VISIBILITY()
489 __glibcxx_assert(__b != memory_order_acquire); in _GLIBCXX_VISIBILITY()
[all …]
H A Dnode_handle.h74 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
126 __glibcxx_assert(__ptr != nullptr); in _GLIBCXX_VISIBILITY()
207 __glibcxx_assert(_M_alloc == __alloc); in _GLIBCXX_VISIBILITY()
218 __glibcxx_assert(_M_alloc == __other._M_alloc); in _GLIBCXX_VISIBILITY()
268 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
275 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
358 __glibcxx_assert(!this->empty()); in _GLIBCXX_VISIBILITY()
H A Dstd_mutex.h157 __glibcxx_assert(__e != EBUSY); // threads are still blocked in _GLIBCXX_VISIBILITY()
171 __glibcxx_assert(__e == 0); in _GLIBCXX_VISIBILITY()
193 __glibcxx_assert(__e == 0); in _GLIBCXX_VISIBILITY()
200 __glibcxx_assert(__e == 0); in _GLIBCXX_VISIBILITY()
H A Dstl_iterator.h1929 __glibcxx_assert(__x._M_has_value());
2033 __glibcxx_assert(__x._M_has_value());
2051 __glibcxx_assert(_M_index == 0);
2059 __glibcxx_assert(_M_index == 0);
2067 __glibcxx_assert(_M_index == 0);
2082 __glibcxx_assert(_M_index == 0);
2090 __glibcxx_assert(_M_index == 0);
2123 __glibcxx_assert(__x._M_has_value());
2124 __glibcxx_assert(__y._M_has_value());
2146 __glibcxx_assert(__x._M_has_value());
[all …]
H A Dfs_path.h993 __glibcxx_assert(__first._M_path != nullptr); in _GLIBCXX_VISIBILITY()
994 __glibcxx_assert(__first._M_path == __last._M_path); in _GLIBCXX_VISIBILITY()
1012 __glibcxx_assert(__i._M_path != nullptr); in _GLIBCXX_VISIBILITY()
1013 __glibcxx_assert(__i._M_is_multi()); in _GLIBCXX_VISIBILITY()
1366 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1369 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.end()); in _GLIBCXX_VISIBILITY()
1374 __glibcxx_assert(!_M_at_end); in _GLIBCXX_VISIBILITY()
1383 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1386 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.begin()); in _GLIBCXX_VISIBILITY()
1391 __glibcxx_assert(_M_at_end); in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dfutex.cc123 __glibcxx_assert(ret == 0 || errno == EINTR || errno == EAGAIN); in _M_futex_wait_until()
145 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until()
177 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until()
199 __glibcxx_assert(ret == 0 || errno == EINTR || errno == EAGAIN); in _M_futex_wait_until_steady()
221 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until_steady()
255 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until_steady()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dfutex.cc99 __glibcxx_assert(ret == 0 || errno == EINTR || errno == EAGAIN); in _M_futex_wait_until()
116 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/bits/
H A Dfs_path.h448 __glibcxx_assert(!empty()); in _GLIBCXX_VISIBILITY()
449 __glibcxx_assert(_M_type != _Type::_Multi); in _GLIBCXX_VISIBILITY()
1216 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1219 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.end()); in _GLIBCXX_VISIBILITY()
1224 __glibcxx_assert(!_M_at_end); in _GLIBCXX_VISIBILITY()
1233 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1236 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.begin()); in _GLIBCXX_VISIBILITY()
1241 __glibcxx_assert(_M_at_end); in _GLIBCXX_VISIBILITY()
1250 __glibcxx_assert(_M_path != nullptr); in _GLIBCXX_VISIBILITY()
1253 __glibcxx_assert(_M_cur != _M_path->_M_cmpts.end()); in _GLIBCXX_VISIBILITY()

12345678910