/third_party/boost/boost/nowide/ |
D | filebuf.hpp | 70 mode_(std::ios_base::openmode(0)) in basic_filebuf() 122 basic_filebuf* open(const std::string& s, std::ios_base::openmode mode) in open() 129 basic_filebuf* open(const char* s, std::ios_base::openmode mode) in open() 135 basic_filebuf* open(const wchar_t* s, std::ios_base::openmode mode) in open() 140 const bool ate = (mode & std::ios_base::ate) != 0; in open() 142 mode &= ~std::ios_base::ate; in open() 168 mode_ = std::ios_base::openmode(0); in close() 219 if(!(mode_ & std::ios_base::out)) in overflow() 274 if(!(mode_ & std::ios_base::in)) in underflow() 298 if(!(mode_ & std::ios_base::in)) in pbackfail() [all …]
|
D | fstream.hpp | 23 static std::ios_base::openmode mode() { return std::ios_base::in; } in mode() 24 static std::ios_base::openmode mode_modifier() { return mode(); } in mode_modifier() 32 static std::ios_base::openmode mode() { return std::ios_base::out; } in mode() 33 static std::ios_base::openmode mode_modifier() { return mode(); } in mode_modifier() 41 static std::ios_base::openmode mode() { return std::ios_base::in | std::ios_base::out; } in mode() 42 static std::ios_base::openmode mode_modifier() { return std::ios_base::openmode(); } in mode_modifier() 80 … explicit basic_ifstream(const char* file_name, std::ios_base::openmode mode = std::ios_base::in) in basic_ifstream() 85 …explicit basic_ifstream(const wchar_t* file_name, std::ios_base::openmode mode = std::ios_base::in) in basic_ifstream() 91 …plicit basic_ifstream(const std::string& file_name, std::ios_base::openmode mode = std::ios_base::… in basic_ifstream() 99 … typename detail::enable_if_path<Path, std::ios_base::openmode>::type mode = std::ios_base::in) in basic_ifstream() [all …]
|
/third_party/boost/boost/locale/ |
D | formatting.hpp | 113 static ios_info &get(std::ios_base &ios); 282 inline std::ios_base & posix(std::ios_base & ios) in posix() 292 inline std::ios_base & number(std::ios_base & ios) in number() 301 inline std::ios_base & currency(std::ios_base & ios) in currency() 310 inline std::ios_base & percent(std::ios_base & ios) in percent() 319 inline std::ios_base & date(std::ios_base & ios) in date() 328 inline std::ios_base & time(std::ios_base & ios) in time() 337 inline std::ios_base & datetime(std::ios_base & ios) in datetime() 347 inline std::ios_base & strftime(std::ios_base & ios) in strftime() 356 inline std::ios_base & spellout(std::ios_base & ios) in spellout() [all …]
|
/third_party/boost/libs/io/test/ |
D | ios_state_unit_test.cpp | 48 BOOST_TEST_EQ(std::ios_base::skipws | std::ios_base::dec, ss.flags()); in ios_flags_saver_unit_test() 51 BOOST_TEST_EQ(std::ios_base::skipws | std::ios_base::dec, ss.flags()); in ios_flags_saver_unit_test() 53 BOOST_TEST_EQ(std::ios_base::boolalpha | in ios_flags_saver_unit_test() 54 std::ios_base::dec | in ios_flags_saver_unit_test() 55 std::ios_base::fixed, ss.flags()); in ios_flags_saver_unit_test() 57 BOOST_TEST_EQ(std::ios_base::skipws | std::ios_base::dec, ss.flags()); in ios_flags_saver_unit_test() 60 std::ios_base::showbase | std::ios_base::internal); in ios_flags_saver_unit_test() 61 BOOST_TEST_EQ(std::ios_base::showbase | in ios_flags_saver_unit_test() 62 std::ios_base::internal, ss.flags()); in ios_flags_saver_unit_test() 63 ss << std::setiosflags(std::ios_base::unitbuf); in ios_flags_saver_unit_test() [all …]
|
D | quoted_fill_test.cpp | 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 29 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 39 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 49 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 59 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 69 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 79 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 89 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 99 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 109 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() [all …]
|
D | ostream_put_test.cpp | 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 29 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 39 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 49 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 59 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 69 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 79 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 89 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 99 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 109 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() [all …]
|
/third_party/boost/boost/interprocess/streams/ |
D | bufferstream.hpp | 78 explicit basic_bufferbuf(std::ios_base::openmode mode in basic_bufferbuf() 79 = std::ios_base::in | std::ios_base::out) in basic_bufferbuf() 86 std::ios_base::openmode mode in basic_bufferbuf() 87 = std::ios_base::in | std::ios_base::out) in basic_bufferbuf() 109 if(m_mode & std::ios_base::in) in set_pointers() 113 if(m_mode & std::ios_base::out) in set_pointers() 133 else if(m_mode & std::ios_base::out) { in pbackfail() 152 if(m_mode & std::ios_base::out) { in overflow() 182 virtual pos_type seekoff(off_type off, std::ios_base::seekdir dir, in seekoff() 183 std::ios_base::openmode mode in seekoff() [all …]
|
D | vectorstream.hpp | 89 explicit basic_vectorbuf(std::ios_base::openmode mode in basic_vectorbuf() 90 = std::ios_base::in | std::ios_base::out) in basic_vectorbuf() 98 std::ios_base::openmode mode in basic_vectorbuf() 99 = std::ios_base::in | std::ios_base::out) in basic_vectorbuf() 110 if (this->m_mode & std::ios_base::out){ in swap_vector() 129 if (this->m_mode & std::ios_base::out){ in vector() 154 if (this->m_mode & std::ios_base::out && size > m_vect.size()){ in reserve() 161 if(this->m_mode & std::ios_base::in){ in reserve() 180 if(!(m_mode & std::ios_base::out)){ in initialize_pointers() 190 if(m_mode & std::ios_base::out){ in initialize_pointers() [all …]
|
/third_party/boost/boost/sort/common/ |
D | file_vector.hpp | 49 ofile.open(filename, std::ios_base::out | std::ios_base::binary | in generate_file() 50 std::ios_base::trunc); in generate_file() 53 throw std::ios_base::failure("could not open file \n"); in generate_file() 79 std::ifstream input(filename, std::ios_base::in | std::ios_base::binary); in fill_vector_uint64() 82 throw std::ios_base::failure("could not open file \n"); in fill_vector_uint64() 87 input.seekg(0, std::ios_base::end); in fill_vector_uint64() 92 throw std::ios_base::failure("incorrect lenght of the file\n"); in fill_vector_uint64() 98 input.seekg(0, std::ios_base::beg); in fill_vector_uint64() 123 std::ios_base::out | std::ios_base::binary in write_file_uint64() 124 | std::ios_base::trunc); in write_file_uint64() [all …]
|
/third_party/boost/boost/chrono/io/ |
D | duration_get.hpp | 56 unsigned long long& den, std::ios_base::iostate& err) in reduce() 67 err |= std::ios_base::failbit; in reduce() 74 std::ios_base::iostate&) in reduce() 176 iter_type get(iter_type s, iter_type end, std::ios_base& ios, std::ios_base::iostate& err, in get() 192 … iter_type get(duration_units<CharT> const&facet, iter_type s, iter_type end, std::ios_base& ios, in get() 193 …std::ios_base::iostate& err, duration<Rep, Period> &d, const char_type *pattern, const char_type *… in get() 202 while (pattern != pat_end && err == std::ios_base::goodbit) in get() 206 err |= std::ios_base::eofbit; in get() 213 err |= std::ios_base::failbit; in get() 223 err |= std::ios_base::failbit; in get() [all …]
|
D | time_point_io.hpp | 79 std::ios_base::iostate& err, in get_up_to_n_digits() 86 err |= std::ios_base::eofbit | std::ios_base::failbit; in get_up_to_n_digits() 93 err |= std::ios_base::failbit; in get_up_to_n_digits() 106 err |= std::ios_base::eofbit; in get_up_to_n_digits() 114 std::ios_base::iostate& err, in get_day() 118 if (!(err & std::ios_base::failbit) && 1 <= t && t <= 31) in get_day() 121 err |= std::ios_base::failbit; in get_day() 127 std::ios_base::iostate& err, in get_month() 131 if (!(err & std::ios_base::failbit) && 1 <= t && t <= 12) in get_month() 134 err |= std::ios_base::failbit; in get_month() [all …]
|
D | time_point_get.hpp | 101 iter_type get(iter_type i, iter_type e, std::ios_base& is, std::ios_base::iostate& err, in get() 117 …iter_type get(time_point_units<CharT> const &facet, iter_type s, iter_type end, std::ios_base& ios, in get() 118 std::ios_base::iostate& err, time_point<Clock, Duration> &tp, const char_type *pattern, in get() 126 err = std::ios_base::goodbit; in get() 127 while (pattern != pat_end && err == std::ios_base::goodbit) in get() 131 err |= std::ios_base::eofbit; in get() 138 err |= std::ios_base::failbit; in get() 148 err |= std::ios_base::failbit; in get() 153 if (err & (std::ios_base::badbit | std::ios_base::failbit)) in get() 163 err |= std::ios_base::failbit; in get() [all …]
|
D | duration_io.hpp | 51 void operator()(std::ios_base &ios) const in operator ()() 67 typedef std::ios_base state_type; 142 std::ios_base::iostate err = std::ios_base::goodbit; in operator <<() 152 err = std::ios_base::badbit; in operator <<() 157 err = std::ios_base::badbit; in operator <<() 167 os.setstate(std::ios_base::failbit); in operator <<() 169 BOOST_CATCH (std::ios_base::failure ) in operator <<() 185 if (failed) os.setstate(std::ios_base::failbit | std::ios_base::badbit); in operator <<() 197 std::ios_base::iostate err = std::ios_base::goodbit; in operator <<() 207 err = std::ios_base::badbit; in operator <<() [all …]
|
/third_party/zlib/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 …]
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/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 …]
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/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 …]
|
/third_party/boost/libs/utility/test/ |
D | ostream_string_test.cpp | 19 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 29 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 39 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 49 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 59 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 69 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 79 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 89 os.setf(std::ios_base::right, std::ios_base::adjustfield); in main() 99 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() 109 os.setf(std::ios_base::left, std::ios_base::adjustfield); in main() [all …]
|
/third_party/boost/boost/math/special_functions/ |
D | nonfinite_num_facets.hpp | 69 OutputIterator it, std::ios_base& iosb, CharType fill, double val) const in do_put() 76 OutputIterator it, std::ios_base& iosb, CharType fill, long double val) const in do_put() 84 OutputIterator& it, std::ios_base& iosb, in put_and_reset_width() 92 OutputIterator& it, std::ios_base& iosb, in put_impl() 107 BOOST_THROW_EXCEPTION(std::ios_base::failure("Infinity")); in put_impl() 113 else if(iosb.flags() & std::ios_base::showpos) in put_impl() 126 BOOST_THROW_EXCEPTION(std::ios_base::failure("NaN")); in put_impl() 132 else if(iosb.flags() & std::ios_base::showpos) in put_impl() 172 OutputIterator& it, std::ios_base& iosb, const CharType* prefix, in put_num_and_fill() 178 std::ios_base::fmtflags adjust = iosb.flags() & std::ios_base::adjustfield; in put_num_and_fill() [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | test_int_io.cpp | 81 void do_round_trip(const T& val, std::ios_base::fmtflags f) in do_round_trip() 102 do_round_trip(val, std::ios_base::fmtflags(0)); in do_round_trip() 105 do_round_trip(val, std::ios_base::fmtflags(std::ios_base::showbase | std::ios_base::hex)); in do_round_trip() 106 do_round_trip(val, std::ios_base::fmtflags(std::ios_base::showbase | std::ios_base::oct)); in do_round_trip() 127 BOOST_CHECK_THROW(T(-2).str(0, std::ios_base::oct), std::runtime_error); in negative_spots() 128 BOOST_CHECK_THROW(T(-2).str(0, std::ios_base::hex), std::runtime_error); in negative_spots() 148 BOOST_CHECK_EQUAL(T(1002).str(0, std::ios_base::showpos), "+1002"); in test_round_trip() 149 BOOST_CHECK_EQUAL(T(1002).str(0, std::ios_base::oct), "1752"); in test_round_trip() 150 BOOST_CHECK_EQUAL(T(1002).str(0, std::ios_base::oct | std::ios_base::showbase), "01752"); in test_round_trip() 151 BOOST_CHECK_EQUAL(T(1002).str(0, std::ios_base::hex), "3ea"); in test_round_trip() [all …]
|
D | test_float_io.cpp | 92 void print_flags(std::ios_base::fmtflags f) in print_flags() 95 if (f & std::ios_base::scientific) in print_flags() 97 if (f & std::ios_base::fixed) in print_flags() 99 if (f & std::ios_base::showpoint) in print_flags() 101 if (f & std::ios_base::showpos) in print_flags() 110 boost::array<std::ios_base::fmtflags, 9> f = in test() 111 …{std::ios_base::fmtflags(0), std::ios_base::showpoint, std::ios_base::showpos, std::ios_base::scie… in test() 112 …std::ios_base::scientific | std::ios_base::showpoint, std::ios_base::fixed, std::ios_base::fixed |… in test() 113 std::ios_base::fixed | std::ios_base::showpos}}; in test() 190 BOOST_CHECK_EQUAL(val.str(0, std::ios_base::showpos), "+inf"); in test() [all …]
|
D | test_cpp_bin_float_io.cpp | 47 void print_flags(std::ios_base::fmtflags f) in print_flags() 50 if (f & std::ios_base::scientific) in print_flags() 52 if (f & std::ios_base::fixed) in print_flags() 54 if (f & std::ios_base::showpoint) in print_flags() 56 if (f & std::ios_base::showpos) in print_flags() 65 boost::array<std::ios_base::fmtflags, 9> f = in test() 66 …{std::ios_base::fmtflags(0), std::ios_base::showpoint, std::ios_base::showpos, std::ios_base::scie… in test() 67 …std::ios_base::scientific | std::ios_base::showpoint, std::ios_base::fixed, std::ios_base::fixed |… in test() 68 std::ios_base::fixed | std::ios_base::showpos}}; in test() 138 BOOST_CHECK_EQUAL(val.str(0, std::ios_base::showpos), "+inf"); in test() [all …]
|
/third_party/boost/boost/format/ |
D | alt_sstream_impl.hpp | 26 seekpos(0, ::std::ios_base::out); in clear_buffer() 31 seekpos(0, ::std::ios_base::in); in clear_buffer() 39 if(sz != 0 && mode_ & (::std::ios_base::in | ::std::ios_base::out) ) { in str() 50 if(mode_ & ::std::ios_base::in) in str() 52 if(mode_ & ::std::ios_base::out) { in str() 54 if(mode_ & (::std::ios_base::app | ::std::ios_base::ate)) in str() 67 if(mode_ & ::std::ios_base::out && pptr() != NULL) in begin() 69 else if(mode_ & ::std::ios_base::in && gptr() != NULL) in begin() 78 if(mode_ & ::std::ios_base::out && pptr()) in size() 80 else if(mode_ & ::std::ios_base::in && gptr()) in size() [all …]
|