Home
last modified time | relevance | path

Searched refs:pos_type (Results 1 – 25 of 56) sorted by relevance

123

/ndk/sources/cxx-stl/stlport/src/
Dstdio_streambuf.cpp75 stdio_streambuf_base::pos_type
90 return pos_type(-1); in seekoff()
99 return pos_type((streamoff)pos.__pos); in seekoff()
101 return pos_type(pos.__fpos_elem[ 0 ]); in seekoff()
103 return pos_type((streamoff)pos._pos); in seekoff()
105 return pos_type(pos); in seekoff()
109 return pos_type(-1); in seekoff()
113 stdio_streambuf_base::pos_type
114 stdio_streambuf_base::seekpos(pos_type pos, ios_base::openmode /* mode */) { in seekpos()
141 return FSETPOS(_M_file, &p) == 0 ? pos : pos_type(-1); in seekpos()
Dstdio_streambuf.h61 pos_type seekoff(off_type, ios_base::seekdir,
64 pos_type seekpos(pos_type,
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf.virtuals/
Dseekoff.pass.cpp26 typedef std::filebuf::pos_type pos_type; in main() typedef
34 pos_type p = f.pubseekoff(-15, std::ios_base::cur); in main()
47 typedef std::filebuf::pos_type pos_type; in main() typedef
55 pos_type p = f.pubseekoff(-15, std::ios_base::cur); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/
Dtypes.pass.cpp31 …static_assert((std::is_same<std::streambuf::pos_type, std::char_traits<char>::pos_type>::value), "… in main()
37 …static_assert((std::is_same<std::wstreambuf::pos_type, std::char_traits<wchar_t>::pos_type>::value… in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/
D_sstream.h59 typedef typename _Traits::pos_type pos_type; typedef
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
164 typedef typename _Traits::pos_type pos_type; typedef
208 typedef typename _Traits::pos_type pos_type; typedef
D_streambuf.h55 typedef typename _Traits::pos_type pos_type; typedef
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,
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
D_sstream.c32 …e __BSB_pos_type__ _STLP_TYPENAME_ON_RETURN_TYPE basic_stringbuf<_CharT, _Traits, _Alloc>::pos_type
309 return pos_type(off_type(-1)); in seekoff()
312 return pos_type(off_type(-1)); in seekoff()
325 return pos_type(__newoff); in seekoff()
329 return pos_type(off_type(-1)); in seekoff()
338 return pos_type(off_type(-1)); in seekoff()
347 return pos_type(off_type(-1)); in seekoff()
352 return pos_type(__off); in seekoff()
358 ::seekpos(pos_type __pos, ios_base::openmode __mode) { in seekpos()
365 return pos_type(off_type(-1)); in seekpos()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dsstream_test.cpp390 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(0) ); in seek()
392 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(6) ); in seek()
394 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(3) ); in seek()
397 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(0) ); in seek()
399 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(6) ); in seek()
401 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(3) ); in seek()
409 CPPUNIT_CHECK( s.tellp() == stringstream::pos_type(7) ); in seekp()
451 …NIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(6) ); in tellp()
452 CPPUNIT_CHECK( o.tellp() == stringstream::pos_type(6) ); in tellp()
459 …NIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(6) ); in tellp()
[all …]
/ndk/tests/device/test-stlport/unit/
Dsstream_test.cpp390 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(0) ); in seek()
392 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(6) ); in seek()
394 CPPUNIT_ASSERT( s.tellg() == stringstream::pos_type(3) ); in seek()
397 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(0) ); in seek()
399 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(6) ); in seek()
401 CPPUNIT_ASSERT( is.tellg() == stringstream::pos_type(3) ); in seek()
409 CPPUNIT_CHECK( s.tellp() == stringstream::pos_type(7) ); in seekp()
451 …NIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(6) ); in tellp()
452 CPPUNIT_CHECK( o.tellp() == stringstream::pos_type(6) ); in tellp()
459 …NIT_CHECK( o.rdbuf()->pubseekoff( 0, ios_base::cur, ios_base::out ) == stringstream::pos_type(6) ); in tellp()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dstreambuf28 typedef typename traits_type::pos_type pos_type;
39 pos_type pubseekoff(off_type off, ios_base::seekdir way,
41 pos_type pubseekpos(pos_type sp,
87 virtual pos_type seekoff(off_type off, ios_base::seekdir way,
89 virtual pos_type seekpos(pos_type sp,
129 typedef typename traits_type::pos_type pos_type;
140 pos_type pubseekoff(off_type __off, ios_base::seekdir __way,
142 pos_type pubseekpos(pos_type __sp,
188 virtual pos_type seekoff(off_type __off, ios_base::seekdir __way,
190 virtual pos_type seekpos(pos_type __sp,
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Dseekoff.pass.cpp40 typedef test_buf::pos_type pos_type; in main() typedef
47 pos_type p = f.pubseekoff(-15, std::ios_base::cur); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.strstream/
Dtypes.pass.cpp30 …static_assert((std::is_same<std::strstream::pos_type, std::char_traits<char>::pos_type>::value), "… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/fstream/
Dtypes.pass.cpp32 …static_assert((std::is_same<std::basic_fstream<char>::pos_type, std::char_traits<char>::pos_type>:… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream/
Dtypes.pass.cpp33 …static_assert((std::is_same<std::basic_ostream<char>::pos_type, std::char_traits<char>::pos_type>:… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/
Dtypes.pass.cpp31 …static_assert((std::is_same<std::basic_ios<char>::pos_type, std::char_traits<char>::pos_type>::val… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/filebuf/
Dtypes.pass.cpp32 …static_assert((std::is_same<std::basic_filebuf<char>::pos_type, std::char_traits<char>::pos_type>:… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ifstream/
Dtypes.pass.cpp32 …static_assert((std::is_same<std::basic_ifstream<char>::pos_type, std::char_traits<char>::pos_type>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream/
Dtypes.pass.cpp33 …static_assert((std::is_same<std::basic_istream<char>::pos_type, std::char_traits<char>::pos_type>:… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream/
Dtypes.pass.cpp32 …static_assert((std::is_same<std::basic_ofstream<char>::pos_type, std::char_traits<char>::pos_type>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/
Dtypes.pass.cpp35 …static_assert((std::is_same<std::basic_iostream<char>::pos_type, std::char_traits<char>::pos_type>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.seeks/
Dseekp.pass.cpp31 typename base::pos_type
32 seekpos(typename base::pos_type sp, std::ios_base::openmode which) in seekpos()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringbuf/
Dtypes.pass.cpp33 …tatic_assert((std::is_same<std::basic_stringbuf<char>::pos_type, std::char_traits<char>::pos_type>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/ostringstream/
Dtypes.pass.cpp33 …c_assert((std::is_same<std::basic_ostringstream<char>::pos_type, std::char_traits<char>::pos_type>… in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/string.streams/stringstream/
Dtypes.pass.cpp33 …ic_assert((std::is_same<std::basic_stringstream<char>::pos_type, std::char_traits<char>::pos_type>… in main()

123