Searched refs:pos_type (Results 1 - 24 of 24) sorted by relevance

/external/stlport/src/
H A Dstdio_streambuf.cpp75 stdio_streambuf_base::pos_type
90 return pos_type(-1);
99 return pos_type((streamoff)pos.__pos);
101 return pos_type(pos.__fpos_elem[ 0 ]);
103 return pos_type((streamoff)pos._pos);
105 return pos_type(pos);
109 return pos_type(-1);
113 stdio_streambuf_base::pos_type
114 stdio_streambuf_base::seekpos(pos_type pos, ios_base::openmode /* mode */) {
141 return FSETPOS(_M_file, &p) == 0 ? pos : pos_type(
[all...]
H A Dstdio_streambuf.h61 pos_type seekoff(off_type, ios_base::seekdir,
64 pos_type seekpos(pos_type,
H A Dstrstream.cpp191 strstreambuf::pos_type
209 return pos_type(off_type(-1));
226 return pos_type(off_type(-1));
231 return pos_type(off_type(-1));
252 return pos_type(newoff);
255 strstreambuf::pos_type
256 strstreambuf::seekpos(pos_type pos, ios_base::openmode mode) {
257 return seekoff(pos - pos_type(off_type(0)), ios_base::beg, mode);
/external/oprofile/include/
H A Dsstream42 typedef streampos pos_type;
140 virtual pos_type
143 pos_type ret = pos_type(off_type(-1));
184 ret = pos_type(newoffi + off + curi);
190 ret = pos_type(newoffo + off + curo);
196 virtual pos_type
197 seekpos(pos_type sp, int which = ios::in | ios::out)
199 pos_type ret = seekoff(sp, ios::beg, which);
235 typedef streampos pos_type;
[all...]
/external/stlport/stlport/stl/
H A D_sstream.h59 typedef typename _Traits::pos_type pos_type; typedef in class:basic_stringbuf
90 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir,
93 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode
121 typedef typename _Traits::pos_type pos_type; typedef in class:basic_istringstream
164 typedef typename _Traits::pos_type pos_type; typedef in class:basic_ostringstream
208 typedef typename _Traits::pos_type pos_typ typedef in class:basic_stringstream
[all...]
H A D_streambuf.h55 typedef typename _Traits::pos_type pos_type; typedef in class:basic_streambuf
128 virtual pos_type seekoff(off_type, ios_base::seekdir,
133 virtual pos_type
134 seekpos(pos_type, ios_base::openmode = ios_base::in | ios_base::out);
145 pos_type pubseekoff(off_type __offset, ios_base::seekdir __way,
149 pos_type pubseekpos(pos_type __sp,
H A D_strstream.h78 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir,
81 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode
143 typedef char_traits<char>::pos_type pos_type; typedef in class:strstream
H A D_sstream.c32 # define __BSB_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type
309 return pos_type(off_type(-1));
312 return pos_type(off_type(-1));
325 return pos_type(__newoff);
329 return pos_type(off_type(-1));
338 return pos_type(off_type(-1));
347 return pos_type(off_type(-1));
352 return pos_type(__off);
358 ::seekpos(pos_type __pos, ios_base::openmode __mode) {
365 return pos_type(off_typ
[all...]
H A D_fstream.h153 typedef typename _Traits::pos_type pos_type; typedef in class:basic_filebuf
207 virtual pos_type seekoff(off_type, ios_base::seekdir,
209 virtual pos_type seekpos(pos_type,
238 pos_type _M_seek_return(off_type __off, _State_type __state) {
250 pos_type __result(__off);
447 typedef typename _Traits::pos_type pos_type; typedef in class:basic_ifstream
528 typedef typename _Traits::pos_type pos_typ typedef in class:basic_ofstream
607 typedef typename _Traits::pos_type pos_type; typedef in class:basic_fstream
[all...]
H A D_streambuf.c187 _STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf<_CharT, _Traits>::pos_type
188 basic_streambuf<_CharT, _Traits>::seekpos(pos_type, ios_base::openmode)
189 { return pos_type(-1); }
192 _STLP_TYPENAME_ON_RETURN_TYPE basic_streambuf<_CharT, _Traits>::pos_type
195 { return pos_type(-1); }
H A D_fstream.c38 # define __BF_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_filebuf<_CharT, _Traits>::pos_type
295 return pos_type(-1);
298 return pos_type(-1);
301 return pos_type(-1);
320 return __off == 0 ? pos_type(_M_base._M_seek(0, ios_base::cur) - __adjust)
335 return __off == 0 ? pos_type(_M_base._M_seek(0, ios_base::cur) - __eadj)
374 return __off == 0 ? pos_type(__cur + __adj)
378 return pos_type(-1);
384 basic_filebuf<_CharT, _Traits>::seekpos(pos_type __pos,
388 return pos_type(
[all...]
H A D_ostream.h65 typedef typename _Traits::pos_type pos_type; typedef in class:basic_ostream
141 pos_type tellp() {
144 : pos_type(-1);
147 _Self& seekp(pos_type __pos) {
149 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1)) {
H A D_ios.h53 typedef typename _Traits::pos_type pos_type; typedef in class:basic_ios
H A D_istream.h76 typedef typename _Traits::pos_type pos_type; typedef in class:basic_istream
163 pos_type tellg();
164 _Self& seekg(pos_type __pos);
H A Dchar_traits.h137 typedef streampos pos_type; typedef in class:__char_traits_base
216 typedef streampos pos_type; typedef in class:char_traits
H A D_istream.c40 # define __BIS_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_istream<_CharT, _Traits>::pos_type
499 : pos_type(-1);
504 basic_istream<_CharT, _Traits>::seekg(pos_type __pos) {
509 if (__buf->pubseekpos(__pos, ios_base::in) == pos_type(-1)) {
/external/stlport/test/unit/
H A Dsstream_test.cpp390 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(0) );
392 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(6) );
394 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(3) );
397 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(0) );
399 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(6) );
401 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(3) );
409 CPPUNIT_CHECK( s.tellp() == stringstream::pos_type(7) );
451 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(6) );
452 CPPUNIT_CHECK( o.tellp() == stringstream::pos_type(6) );
459 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(
[all...]
H A Dfstream_test.cpp281 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(6) );
282 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(6) );
289 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(9) );
290 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(9) );
321 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(expected_pos) );
322 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(expected_pos) );
339 CPPUNIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == ofstream::pos_type(10) );
340 CPPUNIT_CHECK( o.tellp() == ofstream::pos_type(10) );
390 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( 0, ios_base::cur ) == fstream::pos_type(chars_read) );
391 CPPUNIT_ASSERT( s.rdbuf()->pubseekoff( -chars_read, ios_base::cur ) == fstream::pos_type(
609 typedef fpos<state_type> pos_type; typedef in struct:my_traits
[all...]
/external/astl/include/
H A Dostream52 typedef char_traits<char_type>::pos_type pos_type;
H A Dsstream49 typedef streambuf::pos_type pos_type;
H A Dstreambuf54 typedef streampos pos_type;
H A Dchar_traits.h55 typedef streampos pos_type; typedef in struct:std::char_traits
/external/chromium/googleurl/base/
H A Dstring16.h84 typedef std::fpos<state_type> pos_type; typedef in struct:base::string16_char_traits
/external/chromium/base/
H A Dstring16.h71 typedef std::fpos<state_type> pos_type; typedef in struct:base::string16_char_traits

Completed in 237 milliseconds