Lines Matching refs:os
64 write_uint64(::std::ostream& os, uint64 val, int sign)
72 fmtflags flags = os.flags();
108 int w = os.width(0);
116 char fill_char = os.fill();
122 if (! os.put(fill_char))
127 if (! os.put(sign < 0 ? '-' : '+'))
131 if (! os.write(show_base, show_base_len))
136 if (! os.put(fill_char))
140 if (! os.write(buf_ptr, buf_len))
144 if (! os.put(fill_char))
148 os.osfx();
151 //os.set(::std::ios::badbit);
152 os.osfx();
156 operator << ( ::std::ostream& os, int64 n )
158 if (os.opfx()) {
161 if (n < 0 && (os.flags() & (::std::ios::oct|::std::ios::hex)) == 0) {
165 sc_dt::write_uint64(os, abs_n, sign);
167 return os;
171 operator << ( ::std::ostream& os, uint64 n )
173 if (os.opfx()) {
174 sc_dt::write_uint64(os, n, 0);
176 return os;