URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
//980526 bkoz
|
//980526 bkoz
|
// reduced testcase for 980511 brendan qt bug
|
// reduced testcase for 980511 brendan qt bug
|
|
|
|
|
class QTextStream
|
class QTextStream
|
{
|
{
|
public:
|
public:
|
QTextStream();
|
QTextStream();
|
virtual ~QTextStream();
|
virtual ~QTextStream();
|
|
|
enum {
|
enum {
|
skipws = 0x0001,
|
skipws = 0x0001,
|
left = 0x0002,
|
left = 0x0002,
|
right = 0x0004,
|
right = 0x0004,
|
internal = 0x0008,
|
internal = 0x0008,
|
bin = 0x0010,
|
bin = 0x0010,
|
oct = 0x0020,
|
oct = 0x0020,
|
dec = 0x0040,
|
dec = 0x0040,
|
hex = 0x0080,
|
hex = 0x0080,
|
showbase = 0x0100,
|
showbase = 0x0100,
|
showpoint = 0x0200,
|
showpoint = 0x0200,
|
uppercase = 0x0400,
|
uppercase = 0x0400,
|
showpos = 0x0800,
|
showpos = 0x0800,
|
scientific= 0x1000,
|
scientific= 0x1000,
|
fixed = 0x2000
|
fixed = 0x2000
|
};
|
};
|
|
|
static const int basefield;
|
static const int basefield;
|
static const int adjustfield;
|
static const int adjustfield;
|
};
|
};
|
|
|
typedef QTextStream QTS;
|
typedef QTextStream QTS;
|
const int QTS::basefield = (QTS::bin | QTS::dec | QTS::hex) ;
|
const int QTS::basefield = (QTS::bin | QTS::dec | QTS::hex) ;
|
const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
|
const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
|
#if 0
|
#if 0
|
#define QTS QTextStream
|
#define QTS QTextStream
|
const int QTS::basefield = (QTS::bin | QTS::dec | QTS::hex) ;
|
const int QTS::basefield = (QTS::bin | QTS::dec | QTS::hex) ;
|
const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
|
const int QTS::adjustfield = QTS::left | QTS::right | QTS::internal;
|
#endif
|
#endif
|
|
|
|
|
|
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.