/external/stlport/src/ |
D | ios.cpp | 36 ios_base::failure::failure(const string& s) in failure() 40 ios_base::failure::~failure() _STLP_NOTHROW_INHERENTLY {} in ~failure() 44 const ios_base::fmtflags ios_base::left; 45 const ios_base::fmtflags ios_base::right; 46 const ios_base::fmtflags ios_base::internal; 47 const ios_base::fmtflags ios_base::dec; 48 const ios_base::fmtflags ios_base::hex; 49 const ios_base::fmtflags ios_base::oct; 50 const ios_base::fmtflags ios_base::fixed; 51 const ios_base::fmtflags ios_base::scientific; [all …]
|
D | iostream.cpp | 139 long ios_base::Init::_S_count = 0; 141 bool ios_base::_S_is_synced = true; 143 ios_base::Init::Init() { in Init() 146 ios_base::_S_initialize(); in Init() 151 ios_base::Init::~Init() { in ~Init() 153 ios_base::_S_uninitialize(); in ~Init() 168 _Stl_create_filebuf(_Tp x, ios_base::openmode mode ) { in _Stl_create_filebuf() 180 _Stl_create_wfilebuf(FILE* f, ios_base::openmode mode) { in _Stl_create_wfilebuf() 191 void _STLP_CALL ios_base::_S_initialize() { in _S_initialize() 205 cin_buf.reset(_Stl_create_filebuf(stdin, ios_base::in)); in _S_initialize() [all …]
|
D | stdio_streambuf.h | 61 pos_type seekoff(off_type, ios_base::seekdir, 62 ios_base::openmode 63 = ios_base::in | ios_base::out); 65 ios_base::openmode 66 = ios_base::in | ios_base::out);
|
/external/stlport/stlport/stl/ |
D | _ios_base.h | 48 class _STLP_CLASS_DECLSPEC ios_base { 151 virtual ~ios_base(); 155 typedef void (*event_callback)(event, ios_base&, int __index); 167 operator void*() const { return !fail() ? (void*) __CONST_CAST(ios_base*,this) : (void*) 0; } 183 void _M_copy_state(const ios_base& __x); 197 ios_base(); // Default constructor. 206 ios_base(const ios_base&); 207 void operator=(const ios_base&); 246 friend class ios_base; variable 267 inline ios_base& _STLP_CALL boolalpha(ios_base& __s) in boolalpha() [all …]
|
D | _num_get.h | 64 _InputIter get(_InputIter __ii, _InputIter __end, ios_base& __str, in get() 65 ios_base::iostate& __err, bool& __val) const in get() 70 _InputIter get(_InputIter __ii, _InputIter __end, ios_base& __str, in get() 71 ios_base::iostate& __err, short& __val) const in get() 74 _InputIter get(_InputIter __ii, _InputIter __end, ios_base& __str, in get() 75 ios_base::iostate& __err, int& __val) const in get() 79 _InputIter get(_InputIter __ii, _InputIter __end, ios_base& __str, in get() 80 ios_base::iostate& __err, long& __val) const in get() 83 _InputIter get(_InputIter __ii, _InputIter __end, ios_base& __str, in get() 84 ios_base::iostate& __err, unsigned short& __val) const in get() [all …]
|
D | _fstream.h | 59 bool _M_open(const char*, ios_base::openmode, long __protection); 60 bool _M_open(const char*, ios_base::openmode); 61 bool _M_open(int __id, ios_base::openmode = ios_base::__default_mode); 63 bool _M_open(_STLP_fd __id, ios_base::openmode = ios_base::__default_mode); 69 streamoff _M_seek(streamoff __offset, ios_base::seekdir __dir); 89 return ( (_M_openmode & ios_base::binary) != 0 ) in _M_get_offset() 101 return (_M_openmode & ios_base::binary) != 0; in _M_in_binary_mode() 118 ios_base::openmode _M_openmode ; 168 _Self* open(const char* __s, ios_base::openmode __m) { in open() 174 _Self* open(const char* __s, ios_base::openmode __m, in open() [all …]
|
D | _num_put.c | 44 ios_base::fmtflags __flags, in __copy_float_and_fill() 51 ios_base::fmtflags __dir = __flags & ios_base::adjustfield; in __copy_float_and_fill() 53 if (__dir == ios_base::left) { in __copy_float_and_fill() 57 else if (__dir == ios_base::internal && __first != __last && in __copy_float_and_fill() 75 ios_base& __f, wchar_t __fill, in __put_float() 97 ios_base& __f, char __fill, in __put_float() 115 __do_put_float(_OutputIter __s, ios_base& __f, in __do_put_float() 127 inline void __get_money_digits_aux (__iostring &__buf, ios_base &, _STLP_LONGEST_FLOAT_TYPE __x) in __get_money_digits_aux() argument 131 inline void __get_money_digits_aux (__iowstring &__wbuf, ios_base &__f, _STLP_LONGEST_FLOAT_TYPE __… in __get_money_digits_aux() 141 void _STLP_CALL __get_money_digits(_STLP_BASIC_IOSTRING(_CharT) &__buf, ios_base& __f, _STLP_LONGES… in __get_money_digits() [all …]
|
D | _num_put.h | 60 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 65 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 70 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 76 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 81 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 87 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 93 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 99 iter_type put(iter_type __s, ios_base& __f, char_type __fill, in put() 109 virtual _OutputIter do_put(_OutputIter __s, ios_base& __f, _CharT __fill, bool __val) const; 111 virtual _OutputIter do_put(_OutputIter __s, ios_base& __f, _CharT __fill, long __val) const; [all …]
|
D | _sstream.h | 68 explicit basic_stringbuf(ios_base::openmode __mode 69 = ios_base::in | ios_base::out); 70 explicit basic_stringbuf(const _String& __s, ios_base::openmode __mode 71 = ios_base::in | ios_base::out); 90 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir, 91 ios_base::openmode __mode 92 = ios_base::in | ios_base::out); 93 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode 94 = ios_base::in | ios_base::out); 102 ios_base::openmode _M_mode; [all …]
|
D | _time_facets.c | 152 const ios_base& __s, ios_base::iostate& __err, tm* __t) { in _STLP_WEAK() 193 __err |= ios_base::failbit; in _STLP_WEAK() 217 __err |= ios_base::failbit; in _STLP_WEAK() 306 ios_base& __str, ios_base::iostate& __err, in do_get_date() 318 __err = ios_base::goodbit; in do_get_date() 320 __err = ios_base::failbit; in do_get_date() 322 __err |= ios_base::eofbit; in do_get_date() 330 ios_base& __str, ios_base::iostate& __err, in do_get_time() 340 __err = __result == __format_end ? ios_base::goodbit in do_get_time() 341 : ios_base::failbit; in do_get_time() [all …]
|
D | _iomanip.h | 36 typedef _Arg (ios_base::*__f_ptr_type)(_Arg); 41 void operator()(ios_base& __ios) const in operator() 50 ios_base::fmtflags _M_flag; 51 ios_base::fmtflags _M_mask; 54 _Ios_Setf_Manip(ios_base::fmtflags __f) in _Ios_Setf_Manip() 57 _Ios_Setf_Manip(ios_base::fmtflags __f, ios_base::fmtflags __m) in _Ios_Setf_Manip() 60 void operator()(ios_base& __ios) const { in operator() 104 inline _STLP_PRIV _Ios_Setf_Manip _STLP_CALL resetiosflags(ios_base::fmtflags __mask) in resetiosflags() 107 inline _STLP_PRIV _Ios_Setf_Manip _STLP_CALL setiosflags(ios_base::fmtflags __flag) in setiosflags() 111 ios_base::fmtflags __base = __n == 8 ? ios_base::oct : in setbase() [all …]
|
D | _ios.c | 41 : ios_base(), _M_cached_ctype(0), in basic_ios() 70 locale __tmp = ios_base::imbue(__loc); in imbue() 79 __tmp = ios_base::imbue(__tmp); in imbue() 80 _M_handle_exception(ios_base::failbit); in imbue() 91 : ios_base(), in basic_ios() 102 this->_M_set_exception_mask(ios_base::goodbit); in init() 103 this->_M_clear_nothrow(__sb != 0 ? ios_base::goodbit : ios_base::badbit); in init() 104 ios_base::flags(ios_base::skipws | ios_base::dec); in init() 105 ios_base::width(0); in init() 106 ios_base::precision(6); in init() [all …]
|
D | _num_get.c | 57 ios_base::fmtflags __flags, const ctype<_CharT>& __c_type) { in __get_base_or_zero() 74 ios_base::fmtflags __basefield = __flags & ios_base::basefield; in __get_base_or_zero() 77 case ios_base::oct: in __get_base_or_zero() 80 case ios_base::dec: in __get_base_or_zero() 83 case ios_base::hex: in __get_base_or_zero() 247 __do_get_integer(_InputIter& __in_ite, _InputIter& __end, ios_base& __str, in __do_get_integer() 248 ios_base::iostate& __err, _Integer& __val, _CharT* /*__pc*/) { in __do_get_integer() 287 __err = __STATIC_CAST(ios_base::iostate, __result ? ios_base::goodbit : ios_base::failbit); in __do_get_integer() 290 __err |= ios_base::eofbit; in __do_get_integer() 427 __do_get_float(_InputIter& __in_ite, _InputIter& __end, ios_base& __str, in __do_get_float() [all …]
|
D | _time_facets.h | 140 iter_type get_time(iter_type __s, iter_type __end, ios_base& __str, in get_time() 141 ios_base::iostate& __err, tm* __t) const in get_time() 143 iter_type get_date(iter_type __s, iter_type __end, ios_base& __str, in get_date() 144 ios_base::iostate& __err, tm* __t) const in get_date() 146 iter_type get_weekday(iter_type __s, iter_type __end, ios_base& __str, in get_weekday() 147 ios_base::iostate& __err, tm* __t) const in get_weekday() 149 iter_type get_monthname(iter_type __s, iter_type __end, ios_base& __str, in get_monthname() 150 ios_base::iostate& __err, tm* __t) const in get_monthname() 152 iter_type get_year(iter_type __s, iter_type __end, ios_base& __str, in get_year() 153 ios_base::iostate& __err, tm* __t) const in get_year() [all …]
|
D | _istream.c | 185 ios_base::iostate _STLP_CALL 188 ios_base::iostate __err = 0; in __get_num() 199 __that._M_handle_exception(ios_base::badbit); in __get_num() 220 this->setstate(ios_base::failbit); 238 this->setstate(ios_base::failbit); 327 this->_M_handle_exception(ios_base::badbit); in peek() 330 this->setstate(ios_base::eofbit); in peek() 349 this->_M_handle_exception(ios_base::badbit); in get() 357 this->setstate(ios_base::eofbit | ios_base::failbit); in get() 374 this->_M_handle_exception(ios_base::badbit); in get() [all …]
|
D | _strstream.h | 78 virtual pos_type seekoff(off_type __off, ios_base::seekdir __dir, 79 ios_base::openmode __mode 80 = ios_base::in | ios_base::out); 81 virtual pos_type seekpos(pos_type __pos, ios_base::openmode __mode 82 = ios_base::in | ios_base::out); 124 ostrstream(char*, int, ios_base::openmode = ios_base::out); 147 strstream(char*, int, ios_base::openmode = ios_base::in | ios_base::out);
|
D | _sstream.c | 45 ::basic_stringbuf(ios_base::openmode __mode) in basic_stringbuf() 51 ::basic_stringbuf(const basic_string<_CharT, _Traits, _Alloc>& __s, ios_base::openmode __mode) in basic_stringbuf() 77 if (_M_mode & ios_base::in) { in _M_set_ptrs() 78 this->setg(__data_ptr, (_M_mode & ios_base::ate) ? __data_end : __data_ptr, __data_end); in _M_set_ptrs() 82 if (_M_mode & ios_base::out) { in _M_set_ptrs() 83 if ( _M_mode & (ios_base::app | ios_base::ate) ) { in _M_set_ptrs() 124 else if (_M_mode & ios_base::out) { in pbackfail() 145 if (_M_mode & ios_base::out) { in overflow() 149 } else if ( _M_mode & ios_base::in ) { in overflow() 174 if ((_M_mode & ios_base::out) && __n > 0) { in xsputn() [all …]
|
D | _ostream.c | 57 this->setstate(ios_base::failbit); 60 this->setstate(ios_base::badbit); 86 this->_M_handle_exception(ios_base::badbit); in _M_copy_buffered() 98 this->_M_handle_exception(ios_base::failbit); in _M_copy_buffered() 158 this->_M_handle_exception(ios_base::failbit); in _M_copy_unbuffered() 175 this->_M_handle_exception(ios_base::badbit); in _M_copy_unbuffered() 184 this->_M_handle_exception(ios_base::badbit); in _M_copy_unbuffered() 207 __os._M_handle_exception(ios_base::badbit); in __put_num() 211 __os.setstate(ios_base::badbit); in __put_num() 224 long __tmp = ((this->flags() & _Basic_ios::basefield) != ios_base::dec) ? [all …]
|
/external/stlport/src/details/ |
D | fstream_stdio.cpp | 172 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() 183 switch (openmode & (~ios_base::ate)) { in _M_open() 184 case ios_base::out: in _M_open() 185 case ios_base::out | ios_base::trunc: in _M_open() 189 case ios_base::out | ios_base::binary: in _M_open() 190 case ios_base::out | ios_base::trunc | ios_base::binary: in _M_open() 194 case ios_base::out | ios_base::app: in _M_open() 198 case ios_base::out | ios_base::app | ios_base::binary: in _M_open() 202 case ios_base::in: in _M_open() 206 case ios_base::in | ios_base::binary: in _M_open() [all …]
|
D | fstream_unistd.cpp | 78 static ios_base::openmode flag_to_openmode(int mode) in flag_to_openmode() 80 ios_base::openmode ret = ios_base::__default_mode; in flag_to_openmode() 84 ret = ios_base::in; in flag_to_openmode() 87 ret = ios_base::out; in flag_to_openmode() 90 ret = ios_base::in | ios_base::out; in flag_to_openmode() 95 ret |= ios_base::app; in flag_to_openmode() 155 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() 166 switch ( openmode & (~ios_base::ate & ~ios_base::binary) ) { in _M_open() 167 case ios_base::out: in _M_open() 168 case ios_base::out | ios_base::trunc: in _M_open() [all …]
|
D | fstream_win32io.cpp | 46 static ios_base::openmode flag_to_openmode(int mode) { in flag_to_openmode() 47 ios_base::openmode ret = ios_base::__default_mode; in flag_to_openmode() 51 ret = ios_base::in; break; in flag_to_openmode() 53 ret = ios_base::out; break; in flag_to_openmode() 55 ret = ios_base::in | ios_base::out; break; in flag_to_openmode() 59 ret |= ios_base::app; in flag_to_openmode() 62 ret |= ios_base::binary; in flag_to_openmode() 129 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) { 168 static ios_base::openmode _get_osfflags(int fd, HANDLE oshandle) { 218 bool _Filebuf_base::_M_open(const char* name, ios_base::openmode openmode, in _M_open() [all …]
|
/external/stlport/test/unit/ |
D | fstream_test.cpp | 157 …sic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::… in io() 164 f.seekg( 0, ios_base::beg ); in io() 192 …sic_fstream<char,char_traits<char> > f( "test_file.txt", ios_base::in | ios_base::out | ios_base::… in err() 200 f.seekg( 0, ios_base::beg ); in err() 214 ofstream of("test_file.txt", ios_base::out | ios_base::binary | ios_base::trunc); in tellg() 218 of << "line " << setiosflags(ios_base::right) << setfill('0') << setw(2) << i << "\n"; in tellg() 226 ifstream is("test_file.txt", ios_base::in | ios_base::binary); in tellg() 245 ifstream is("test_file.txt", ios_base::in | ios_base::binary); in tellg() 254 is.seekg( p, ios_base::beg ); in tellg() 261 ifstream is("test_file.txt", ios_base::in | ios_base::binary); in tellg() [all …]
|
/external/zlib/src/contrib/iostream3/ |
D | zfstream.cc | 22 : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false), in gzfilebuf() 52 std::ios_base::openmode mode) in open() 58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) in open() 80 std::ios_base::openmode mode) in attach() 86 if ((mode & std::ios_base::in) && (mode & std::ios_base::out)) in attach() 131 gzfilebuf::open_mode(std::ios_base::openmode mode, in open_mode() 134 bool testb = mode & std::ios_base::binary; in open_mode() 135 bool testi = mode & std::ios_base::in; in open_mode() 136 bool testo = mode & std::ios_base::out; in open_mode() 137 bool testt = mode & std::ios_base::trunc; in open_mode() [all …]
|
D | zfstream.h | 67 std::ios_base::openmode mode); 77 std::ios_base::openmode mode); 92 open_mode(std::ios_base::openmode mode, 191 std::ios_base::openmode io_mode; 247 std::ios_base::openmode mode = std::ios_base::in); 256 std::ios_base::openmode mode = std::ios_base::in); 286 std::ios_base::openmode mode = std::ios_base::in); 298 std::ios_base::openmode mode = std::ios_base::in); 336 std::ios_base::openmode mode = std::ios_base::out); 345 std::ios_base::openmode mode = std::ios_base::out); [all …]
|
/external/llvm/test/Transforms/Inline/ |
D | 2006-01-14-CallGraphUpdate.ll | 5 …ios_base" = type { i32 (...)**, i32, i32, i32, i32, i32, %"struct.std::ios_base::_Callback_list"*,… 6 …%"struct.std::ios_base::_Callback_list" = type { %"struct.std::ios_base::_Callback_list"*, void (i… 7 %"struct.std::ios_base::_Words" = type { i8*, i32 } 13 …r_t,std::char_traits<wchar_t> >"* %__s.0__, i32 %__s.1__, %"struct.std::ios_base"* %__io, i32 %__f…
|