Home
last modified time | relevance | path

Searched refs:streamoff (Results 1 – 25 of 32) sorted by relevance

12

/ndk/sources/cxx-stl/stlport/stlport/stl/
Dchar_traits.h58 typedef long streamoff; typedef
63 typedef _STLP_LONG_LONG streamoff; typedef
65 typedef ptrdiff_t streamoff; typedef
69 typedef off_t streamoff; typedef
72 typedef off64_t streamoff; typedef
74 typedef off_t streamoff; typedef
79 typedef streamoff streamsize;
89 fpos(streamoff __pos) : _M_pos(__pos), _M_st(_STLP_NULL_CHAR_INIT(_StateT)) {} in fpos()
92 operator streamoff() const { return _M_pos; } in streamoff() function
99 fpos& operator+=(streamoff __off) {
[all …]
D_fstream.c35 # define __BF_off_type__ streamoff
139 streamoff __pos = _M_base._M_seek(0, ios_base::cur); in showmanyc()
140 streamoff __size = _M_base._M_file_size(); in showmanyc()
317 streamoff __adjust = _M_mmap_len - (this->gptr() - (_CharT*) _M_mmap_base); in seekoff()
325 streamoff __iadj = _M_width * (this->gptr() - this->eback()); in seekoff()
333streamoff __eadj = _M_base._M_get_offset(_M_ext_buf + __STATIC_CAST(ptrdiff_t, __iadj), _M_ext_bu… in seekoff()
370 streamoff __cur = _M_base._M_seek(0, ios_base::cur); in seekoff()
371 streamoff __adj = _M_base._M_get_offset(_M_ext_buf, _M_ext_buf + __epos) - in seekoff()
390 streamoff __off = off_type(__pos); in seekpos()
D_fstream.h69 streamoff _M_seek(streamoff __offset, ios_base::seekdir __dir);
70 streamoff _M_file_size();
74 void* _M_mmap(streamoff __offset, streamoff __len);
75 void _M_unmap(void* __mmap_base, streamoff __len);
85 streamoff _M_get_offset(char* __first, char* __last) { in _M_get_offset()
303 streamoff _M_mmap_len;
D_istreambuf_iterator.h136 inline streamoff* _STLP_CALL
137 distance_type(const istreambuf_iterator<_CharT, _Traits>&) { return (streamoff*)0; } in distance_type()
D_ios_base.h259 typedef _STLP_STD::streamoff streamoff; typedef
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_stdio.cpp134 static streamoff __file_size(_STLP_fd fd) { in __file_size()
135 streamoff ret = 0; in __file_size()
167 streamoff _Filebuf_base::_M_file_size() in _M_file_size()
342 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) in _M_seek()
349 return streamoff(-1); in _M_seek()
357 return streamoff(-1); in _M_seek()
361 return streamoff(-1); in _M_seek()
368 return streamoff(-1); in _M_seek()
377 void *_Filebuf_base::_M_mmap(streamoff, streamoff ) in _M_mmap() argument
382 void _Filebuf_base::_M_unmap(void*, streamoff) in _M_unmap() argument
Dfstream_unistd.cpp110 static streamoff __file_size(_STLP_fd fd) { in __file_size()
111 streamoff ret = 0; in __file_size()
150 streamoff _Filebuf_base::_M_file_size() in _M_file_size()
286 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) in _M_seek()
293 return streamoff(-1); in _M_seek()
301 return streamoff(-1); in _M_seek()
305 return streamoff(-1); in _M_seek()
316 void* _Filebuf_base::_M_mmap(streamoff offset, streamoff len) in _M_mmap()
336 void _Filebuf_base::_M_unmap(void* base, streamoff len) in _M_unmap()
Dfstream_win32io.cpp81 static streamoff __file_size(_STLP_fd fd) { in __file_size()
82 streamoff ret = 0; in __file_size()
214 streamoff _Filebuf_base::_M_file_size() { in _M_file_size()
547 streamoff _Filebuf_base::_M_seek(streamoff offset, ios_base::seekdir dir) { in _M_seek()
548 streamoff result = -1; in _M_seek()
554 return streamoff(-1); in _M_seek()
562 return streamoff(-1); in _M_seek()
566 return streamoff(-1); in _M_seek()
584 void* _Filebuf_base::_M_mmap(streamoff offset, streamoff len) { in _M_mmap()
618 void _Filebuf_base::_M_unmap(void* base, streamoff len) { in _M_unmap()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/stream.types/
Dstreamoff.pass.cpp19 static_assert(std::is_integral<std::streamoff>::value, ""); in main()
20 static_assert(std::is_signed<std::streamoff>::value, ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.ios.members/
Dstreamoff.pass.cpp23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); in main()
24 static_assert((std::is_signed<std::ios_base::streamoff>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/fpos/fpos.operations/
Doffset.pass.cpp22 P p(std::streamoff(7)); in main()
23 std::streamoff offset(p); in main()
Dstreamsize.pass.cpp19 std::streamoff o(5); in main()
22 std::streamoff o2(sz); in main()
Ddifference.pass.cpp24 std::streamoff o = p - q; in main()
Daddition.pass.cpp23 std::streamoff o(6); in main()
Dsubtraction.pass.cpp23 std::streamoff o(6); in main()
/ndk/sources/cxx-stl/stlport/src/
Dfstream.cpp66 streamoff __cur = __this->_M_base._M_seek(0, ios_base::cur); in _M_doit()
67 streamoff __size = __this->_M_base._M_file_size(); in _M_doit()
69 streamoff __offset = (__cur / __this->_M_base.__page_size()) * __this->_M_base.__page_size(); in _M_doit()
70 streamoff __remainder = __cur - __offset; in _M_doit()
Dstdio_streambuf.cpp99 return pos_type((streamoff)pos.__pos); in seekoff()
103 return pos_type((streamoff)pos._pos); in seekoff()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char/
Dtypes.pass.cpp27 static_assert((std::is_same<std::char_traits<char>::off_type, std::streamoff>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.wchar.t/
Dtypes.pass.cpp27 static_assert((std::is_same<std::char_traits<wchar_t>::off_type, std::streamoff>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char16_t/
Dtypes.pass.cpp29 static_assert((std::is_same<std::char_traits<char16_t>::off_type, std::streamoff>::value), ""); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/char.traits/char.traits.specializations/char.traits.specializations.char32_t/
Dtypes.pass.cpp29 static_assert((std::is_same<std::char_traits<char32_t>::off_type, std::streamoff>::value), ""); in main()
/ndk/sources/cxx-stl/stlport/stlport/using/
Dios6 using _STLP_NEW_IO_NAMESPACE::streamoff;
Diosfwd37 using _STLP_NEW_IO_NAMESPACE::streamoff;
/ndk/tests/device/test-stlport/unit/
Dfstream_test.cpp437 streamoff offset = pos; in seek()
490 streamoff off = pos; in seek()
743 vector<pair<streamsize, streamoff> > file_pos; in big_file()
758 streamoff nb = 1; in big_file()
770 for (streamoff index = 0; index < nb; ++index) { in big_file()
926 CPPUNIT_CHECK( sizeof(streamoff) == 8 ); in offset()
928 CPPUNIT_CHECK( sizeof(streamoff) == sizeof(off_t) ); in offset()
/ndk/tests/device/test-gnustl-full/unit/
Dfstream_test.cpp437 streamoff offset = pos; in seek()
490 streamoff off = pos; in seek()
743 vector<pair<streamsize, streamoff> > file_pos; in big_file()
758 streamoff nb = 1; in big_file()
770 for (streamoff index = 0; index < nb; ++index) { in big_file()
926 CPPUNIT_CHECK( sizeof(streamoff) == 8 ); in offset()
928 CPPUNIT_CHECK( sizeof(streamoff) == sizeof(off_t) ); in offset()

12