Home
last modified time | relevance | path

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

12

/external/astl/include/
Dios_pos_types.h37 typedef long long streamoff; typedef
51 fpos(streamoff offs) : mOffs(offs) { } in fpos()
54 operator streamoff() const { return mOffs; } in streamoff() function
60 fpos& operator+=(streamoff offs);
61 fpos& operator-=(streamoff offs) {
65 fpos operator+(streamoff offs) const;
66 fpos operator-(streamoff offs) const;
69 streamoff mOffs;
74 { return streamoff(lhs) == streamoff(rhs); }
78 { return streamoff(lhs) != streamoff(rhs); }
Dbasic_ios.h52 typedef std::streamoff streamoff; typedef
Dios_base.h90 typedef std::streamoff streamoff; typedef
Dchar_traits.h56 typedef streamoff off_type;
Dstreambuf55 typedef streamoff off_type;
/external/astl/tests/
Dtest_ios_pos_types.cpp40 using std::streamoff;
46 EXPECT_TRUE(streamoff(p) == 0); in testConstructor()
51 EXPECT_TRUE(streamoff(p) == 1000); in testConstructor()
78 EXPECT_TRUE(streamoff(p) == 100); in testIncrDecr()
81 EXPECT_TRUE(streamoff(p) == 100); in testIncrDecr()
84 EXPECT_TRUE(streamoff(p) == 200); in testIncrDecr()
88 EXPECT_TRUE(streamoff(p) == 200); in testIncrDecr()
91 EXPECT_TRUE(streamoff(p) == -800); in testIncrDecr()
95 EXPECT_TRUE(streamoff(p) == -800); in testIncrDecr()
/external/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.h257 typedef _STLP_STD::streamoff streamoff; typedef
/external/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()
/external/astl/src/
Dios_pos_types.cpp34 fpos& fpos::operator+=(streamoff offs) { in operator +=()
35 const streamoff new_offs = mOffs + offs; in operator +=()
48 fpos fpos::operator+(streamoff offs) const { in operator +()
54 fpos fpos::operator-(streamoff offs) const { in operator -()
/external/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()
/external/stlport/test/unit/
Dfstream_test.cpp419 streamoff offset = pos; in seek()
472 streamoff off = pos; in seek()
725 vector<pair<streamsize, streamoff> > file_pos; in big_file()
740 streamoff nb = 1; in big_file()
752 for (streamoff index = 0; index < nb; ++index) { in big_file()
908 CPPUNIT_CHECK( sizeof(streamoff) == 8 ); in offset()
910 CPPUNIT_CHECK( sizeof(streamoff) == sizeof(off_t) ); in offset()
/external/oprofile/include/
Dsstream43 typedef streamoff off_type;
235 typedef streamoff off_type;
272 typedef streamoff off_type;
309 typedef streamoff off_type;
/external/stlport/stlport/using/
Dios6 using _STLP_NEW_IO_NAMESPACE::streamoff;
Diosfwd37 using _STLP_NEW_IO_NAMESPACE::streamoff;
/external/chromium/googleurl/base/
Dstring16.h82 typedef std::streamoff off_type;
/external/zlib/contrib/iostream/
Dzfstream.h24 virtual streampos seekoff( streamoff, ios::seek_dir, int );
Dzfstream.cpp129 streampos gzfilebuf::seekoff( streamoff off, ios::seek_dir dir, int which ) { in seekoff()
/external/chromium/base/
Dstring16.h64 typedef std::streamoff off_type;

12