Home
last modified time | relevance | path

Searched refs:__off (Results 1 – 24 of 24) sorted by relevance

/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
Dpostypes.h103 fpos(streamoff __off) in _GLIBCXX_VISIBILITY()
104 : _M_off(__off), _M_state() { } in _GLIBCXX_VISIBILITY()
130 operator+=(streamoff __off) in _GLIBCXX_VISIBILITY()
132 _M_off += __off; in _GLIBCXX_VISIBILITY()
141 operator-=(streamoff __off) in _GLIBCXX_VISIBILITY()
143 _M_off -= __off; in _GLIBCXX_VISIBILITY()
154 operator+(streamoff __off) const in _GLIBCXX_VISIBILITY()
157 __pos += __off; in _GLIBCXX_VISIBILITY()
168 operator-(streamoff __off) const in _GLIBCXX_VISIBILITY()
171 __pos -= __off; in _GLIBCXX_VISIBILITY()
Dsstream.tcc168 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode __mode) in seekoff() argument
180 if ((__beg || !__off) && (__testin || __testout || __testboth)) in seekoff()
184 off_type __newoffi = __off; in seekoff()
277 _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off) in _M_pbump() argument
280 while (__off > __gnu_cxx::__numeric_traits<int>::__max) in _M_pbump()
283 __off -= __gnu_cxx::__numeric_traits<int>::__max; in _M_pbump()
285 this->pbump(__off); in _M_pbump()
Dfstream.tcc833 seekoff(off_type __off, ios_base::seekdir __way, ios_base::openmode) in seekoff() argument
842 const bool __testfail = __off != 0 && __width <= 0; in seekoff()
849 bool __no_movement = __way == ios_base::cur && __off == 0 in seekoff()
862 off_type __computed_off = __off * __width; in seekoff()
908 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state) in _M_seek() argument
913 off_type __file_off = _M_file.seekoff(__off, __way); in _M_seek()
Dcow_string.h384 _M_limit(size_type __pos, size_type __off) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
386 const bool __testoff = __off < this->size() - __pos; in _GLIBCXX_VISIBILITY()
387 return __testoff ? __off : this->size() - __pos; in _GLIBCXX_VISIBILITY()
3230 const size_type __off = __s - _M_data(); in _GLIBCXX_VISIBILITY() local
3232 __s = _M_data() + __off; in _GLIBCXX_VISIBILITY()
3289 const size_type __off = __s - _M_data(); in _GLIBCXX_VISIBILITY() local
3291 __s = _M_data() + __off; in _GLIBCXX_VISIBILITY()
3347 size_type __off = __s - _M_data(); in _GLIBCXX_VISIBILITY() local
3348 __left ? __off : (__off += __n2 - __n1); in _GLIBCXX_VISIBILITY()
3350 _M_copy(_M_data() + __pos, _M_data() + __off, __n2); in _GLIBCXX_VISIBILITY()
Dostream.tcc288 seekp(off_type __off, ios_base::seekdir __dir) in seekp() argument
295 const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, in seekp()
Dlocale_facets.tcc1089 streamsize __off = 0; in _M_insert_float() local
1092 __off = 1; in _M_insert_float()
1098 __lc->_M_thousands_sep, __wp, __ws2 + __off, in _M_insert_float()
1099 __ws + __off, __len); in _M_insert_float()
1100 __len += __off; in _M_insert_float()
Distream.tcc936 seekg(off_type __off, ios_base::seekdir __dir) in seekg() argument
951 const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir, in seekg()
Dbasic_string.h410 _M_limit(size_type __pos, size_type __off) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
412 const bool __testoff = __off < this->size() - __pos; in _GLIBCXX_VISIBILITY()
413 return __testoff ? __off : this->size() - __pos; in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/config/io/
Dbasic_file_stdio.cc178 const std::streamsize __off = __ret - __n1_left; in xwritev() local
179 if (__off >= 0) in xwritev()
181 __nleft -= xwrite(__fd, __s2 + __off, __n2 - __off); in xwritev()
379 __basic_file<char>::seekoff(streamoff __off, ios_base::seekdir __way) throw () in seekoff() argument
382 return lseek64(this->fd(), __off, __way); in seekoff()
384 if (__off > numeric_limits<off_t>::max() in seekoff()
385 || __off < numeric_limits<off_t>::min()) in seekoff()
388 return fseek(this->file(), __off, __way); in seekoff()
390 return lseek(this->fd(), __off, __way); in seekoff()
428 const streamoff __off = __buffer.st_size - lseek64(this->fd(), 0, in showmanyc() local
[all …]
Dbasic_file_stdio.h123 seekoff(streamoff __off, ios_base::seekdir __way) throw (); in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/parallel/
Dsearch.h52 _DifferenceTp* __off) in __calc_borders() argument
56 __off[0] = -1; in __calc_borders()
58 __off[1] = 0; in __calc_borders()
63 __k = __off[__k]; in __calc_borders()
64 __off[__j] = ++__k; in __calc_borders()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
Dspanstream143 seekoff(off_type __off, ios_base::seekdir __way,
150 if (0 <= __off && __off <= _M_buf.size())
153 this->setg(this->eback(), this->eback() + __off, this->egptr());
158 this->pbump(__off);
161 __ret = pos_type(__off);
181 if (__builtin_add_overflow(__base, __off, &__off))
184 if (__off < 0 || __off > _M_buf.size())
188 this->setg(this->eback(), this->eback() + __off, this->egptr());
193 this->pbump(__off);
196 __ret = pos_type(__off);
Dfstream421 seekoff(off_type __off, ios_base::seekdir __way,
430 _M_seek(off_type __off, ios_base::seekdir __way, __state_type __state);
455 * __off == egptr() - eback() upon underflow/uflow (@b read mode);
456 * __off == 0 upon overflow (@b write mode);
457 * __off == -1 upon open, setbuf, seekoff/pos (@b uncommitted mode).
464 _M_set_buffer(streamsize __off)
470 if (__testin && __off > 0)
471 this->setg(_M_buf, _M_buf, _M_buf + __off);
475 if (__testout && __off == 0 && _M_buf_size > 1 )
Dstring_view75 __sv_limit(size_t __size, size_t __pos, size_t __off) noexcept
77 const bool __testoff = __off < __size - __pos;
78 return __testoff ? __off : __size - __pos;
Dstreambuf249 * @param __off Offset.
256 pubseekoff(off_type __off, ios_base::seekdir __way,
258 { return this->seekoff(__off, __way, __mode); }
Distream590 * @param __off A file offset object.
594 * If @c fail() is not true, calls @c rdbuf()->pubseekoff(__off,__dir).
Dsstream395 seekoff(off_type __off, ios_base::seekdir __way,
429 _M_pbump(char_type* __pbeg, char_type* __pend, off_type __off);
Dostream373 * @param __off A file offset object.
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
Dstdio_sync_filebuf.h193 seekoff(std::streamoff __off, std::ios_base::seekdir __dir, in _GLIBCXX_VISIBILITY()
205 if (!fseeko64(_M_file, __off, __whence)) in _GLIBCXX_VISIBILITY()
208 if (!fseek(_M_file, __off, __whence)) in _GLIBCXX_VISIBILITY()
Dvstring.h105 _M_limit(size_type __pos, size_type __off) const _GLIBCXX_NOEXCEPT in _GLIBCXX_VISIBILITY()
107 const bool __testoff = __off < this->size() - __pos; in _GLIBCXX_VISIBILITY()
108 return __testoff ? __off : this->size() - __pos; in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/backward/
Dstrstream126 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir,
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/
DChangeLog-20031765 available, otherwise lseek, checking the __off parameter.
4160 with three different cases: __off > 0 (upon underflow),
4161 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
DChangeLog-20041747 and __off == 0.
2325 * include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
6220 corresponding to the __off limited to the actual length.
DChangeLog-1999564 * bits/basic_file.h: Type of __off parm should be __c_streampos, to