Home
last modified time | relevance | path

Searched refs:__pos (Results 1 – 17 of 17) sorted by relevance

/haiku/headers/cpp/
H A Dstl_slist.h62 inline void __slist_splice_after(_Slist_node_base* __pos, in __slist_splice_after() argument
66 if (__pos != __before_first && __pos != __before_last) { in __slist_splice_after()
68 _Slist_node_base* __after = __pos->_M_next; in __slist_splice_after()
70 __pos->_M_next = __first; in __slist_splice_after()
240 _Slist_node_base* _M_erase_after(_Slist_node_base* __pos) in _M_erase_after()
242 _Slist_node<_Tp>* __next = (_Slist_node<_Tp>*) (__pos->_M_next); in _M_erase_after()
244 __pos->_M_next = __next_next; in _M_erase_after()
267 _Slist_node_base* _M_erase_after(_Slist_node_base* __pos) in _M_erase_after()
269 _Slist_node<_Tp>* __next = (_Slist_node<_Tp>*) (__pos->_M_next); in _M_erase_after()
271 __pos->_M_next = __next_next; in _M_erase_after()
[all …]
H A Dstl_deque.h770 void insert(iterator __pos, size_type __n, const value_type& __x);
776 void insert(iterator __pos, _InputIterator __first, _InputIterator __last) { in insert() argument
778 _M_insert_dispatch(__pos, __first, __last, _Integral()); in insert()
782 void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x, in _M_insert_dispatch() argument
784 insert(__pos, (size_type) __n, (value_type) __x); in _M_insert_dispatch()
788 void _M_insert_dispatch(iterator __pos, in _M_insert_dispatch() argument
791 insert(__pos, __first, __last, __ITERATOR_CATEGORY(__first)); in _M_insert_dispatch()
796 void insert(iterator __pos,
798 void insert(iterator __pos,
814 iterator erase(iterator __pos) { in erase() argument
[all …]
H A Dbitset79 static size_t _S_whichword( size_t __pos ) {
80 return __pos / __BITS_PER_WORDT(_WordT);
82 static size_t _S_whichbyte( size_t __pos ) {
83 return (__pos % __BITS_PER_WORDT(_WordT)) / CHAR_BIT;
85 static size_t _S_whichbit( size_t __pos ) {
86 return __pos % __BITS_PER_WORDT(_WordT);
88 static _WordT _S_maskbit( size_t __pos ) {
89 return (static_cast<_WordT>(1)) << _S_whichbit(__pos);
92 _WordT& _M_getword(size_t __pos) { return _M_w[_S_whichword(__pos)]; }
93 _WordT _M_getword(size_t __pos) const { return _M_w[_S_whichword(__pos)]; }
[all …]
H A Dstl_rope.h910 _Rope_iterator_base(_RopeRep* __root, size_t __pos) in _Rope_iterator_base() argument
911 : _M_root(__root), _M_current_pos(__pos), _M_buf_ptr(0) {} in _Rope_iterator_base()
933 _Rope_const_iterator(const _RopeRep* __root, size_t __pos): in _Rope_const_iterator() argument
935 const_cast<_RopeRep*>(__root), __pos) in _Rope_const_iterator()
949 _Rope_const_iterator(const rope<_CharT,_Alloc>& __r, size_t __pos) : in _Rope_const_iterator() argument
950 _Rope_iterator_base<_CharT,_Alloc>(__r._M_tree_ptr, __pos) {} in _Rope_const_iterator()
1043 _Rope_iterator(rope<_CharT,_Alloc>* __r, size_t __pos) in _Rope_iterator() argument
1044 : _Rope_iterator_base<_CharT,_Alloc>(__r->_M_tree_ptr, __pos), in _Rope_iterator()
1063 _Rope_iterator(rope<_CharT,_Alloc>& __r, size_t __pos);
1339 static _CharT _S_fetch(_RopeRep* __r, size_type __pos);
[all …]
H A Dstl_vector.h378 void insert(iterator __pos, _InputIterator __first, _InputIterator __last) { in insert() argument
380 _M_insert_dispatch(__pos, __first, __last, _Integral()); in insert()
384 void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __val, in _M_insert_dispatch() argument
386 insert(__pos, (size_type) __n, (_Tp) __val); in _M_insert_dispatch()
390 void _M_insert_dispatch(iterator __pos, in _M_insert_dispatch() argument
393 _M_range_insert(__pos, __first, __last, __ITERATOR_CATEGORY(__first)); in _M_insert_dispatch()
400 void insert (iterator __pos, size_type __n, const _Tp& __x);
479 void _M_range_insert(iterator __pos,
484 void _M_range_insert(iterator __pos,
712 vector<_Tp, _Alloc>::_M_range_insert(iterator __pos, in _M_range_insert() argument
[all …]
H A Dstl_bvector.h459 void _M_insert_range(iterator __pos, in _M_insert_range() argument
463 __pos = insert(__pos, *__first); in _M_insert_range()
464 ++__pos; in _M_insert_range()
707 void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x, in _M_insert_dispatch() argument
709 insert(__pos, (size_type) __n, (bool) __x); in _M_insert_dispatch()
713 void _M_insert_dispatch(iterator __pos, in _M_insert_dispatch() argument
716 _M_insert_range(__pos, __first, __last, __ITERATOR_CATEGORY(__first)); in _M_insert_dispatch()
H A Dropeimpl.h37 size_t __pos = __x._M_current_pos; in _S_setbuf() local
43 __x._M_buf_ptr = __x._M_buf_start + (__pos - __leaf_pos); in _S_setbuf()
55 if (__buf_start_pos + __len <= __pos) { in _S_setbuf()
56 __buf_start_pos = __pos - __len/4; in _S_setbuf()
65 __x._M_buf_ptr = __x._M_tmp_buf + (__pos - __buf_start_pos); in _S_setbuf()
85 size_t __pos = __x._M_current_pos; in _S_setcache() local
88 __stl_assert(__pos <= __x._M_root->_M_size); in _S_setcache()
89 if (__pos >= __x._M_root->_M_size) { in _S_setcache()
98 __x._M_buf_ptr = __curr_rope->_M_c_string + __pos; in _S_setcache()
122 if (__pos >= __curr_start_pos + __left_len) { in _S_setcache()
[all …]
H A Dstl_list.h356 void _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x, in _M_insert_dispatch() argument
358 insert(__pos, (size_type) __n, (_Tp) __x); in _M_insert_dispatch()
362 void _M_insert_dispatch(iterator __pos,
367 void insert(iterator __pos, _InputIterator __first, _InputIterator __last) { in insert() argument
369 _M_insert_dispatch(__pos, __first, __last, _Integral()); in insert()
377 void insert(iterator __pos, size_type __n, const _Tp& __x);
/haiku/src/system/libroot/posix/glibc/libio/
H A Diofgetpos.c59 else if ((_IO_off64_t) (__typeof (posp->__pos)) pos != pos)
68 posp->__pos = pos;
H A D_G_config.h64 off_t __pos; member
70 off_t __pos; member
H A Dstdio.h559 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos)
562 extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __THROW;
566 fpos_t *__restrict __pos) __THROW, fgetpos64);
568 (FILE *__stream, __const fpos_t *__pos) __THROW,
580 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos)
582 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos) __THROW;
H A Diofsetpos.c41 if (_IO_seekpos_unlocked (fp, posp->__pos, _IOS_INPUT|_IOS_OUTPUT)
H A Diofsetpos64.c42 if (_IO_seekpos_unlocked (fp, posp->__pos, _IOS_INPUT|_IOS_OUTPUT)
H A Diofgetpos64.c61 posp->__pos = pos;
H A Dlibio.h374 typedef int __io_seek_fn (void *__cookie, _IO_off64_t *__pos, int __w);
/haiku/headers/glibc/
H A D_G_config.h59 off_t __pos; member
65 off_t __pos; member
/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DNoWindows.h59 #define _FPOSOFF(fp) ((long)(fp).__pos)