Searched refs:showbase (Results 1 - 25 of 45) sorted by relevance

12

/haiku-buildtools/gcc/gmp/printf/
H A Ddoprnti.c49 const char *slash, *showbase; local
67 showbase = NULL;
70 if (p->showbase != DOPRNT_SHOWBASE_NO)
73 case 16: showbase = "0x"; showbaselen = 2; break;
74 case -16: showbase = "0X"; showbaselen = 2; break;
75 case 8: showbase = "0"; showbaselen = 1; break;
81 || (p->showbase == DOPRNT_SHOWBASE_NONZERO && slash[1] == '0'))
84 if (p->showbase == DOPRNT_SHOWBASE_NONZERO && s[0] == '0')
103 DOPRNT_MEMORY_MAYBE (showbase, showbaselen); /* base */
110 /* if there's a showbase o
[all...]
H A Ddoprntf.c66 const char *showbase; local
317 showbase = NULL;
319 switch (p->showbase) {
331 case 16: showbase = "0x"; showbaselen = 2; break;
332 case -16: showbase = "0X"; showbaselen = 2; break;
333 case 8: showbase = "0"; showbaselen = 1; break;
337 TRACE (printf (" showbase %s showbaselen %d\n",
338 showbase == NULL ? "" : showbase, showbaselen));
358 DOPRNT_MEMORY_MAYBE (showbase, showbasele
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/char/
H A D4.cc35 o1 << hex << showbase << setw(6) << internal << 0xff;
39 o2 << hex << showbase << setw(6) << internal << "0xff";
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
H A D4.cc32 o1 << hex << showbase << setw(6) << internal << 0xff;
36 o2 << hex << showbase << setw(6) << internal << L"0xff";
/haiku-buildtools/gcc/gmp/tests/cxx/
H A Dt-ostream.cc88 { "0", "0", ios::oct | ios::showbase },
91 { "0", "0x0", ios::hex | ios::showbase },
92 { "0", "0X0", ios::hex | ios::showbase | ios::uppercase },
100 { "1", " 0x1", ios::hex | ios::showbase | ios::right, 6 },
101 { "1", "0x 1", ios::hex | ios::showbase | ios::internal, 6 },
102 { "1", "0x1 ", ios::hex | ios::showbase | ios::left, 6 },
104 { "1", " +0x1", ios::hex | ios::showbase | ios::showpos | ios::right,
106 { "1", "+0x 1", ios::hex | ios::showbase | ios::showpos | ios::internal,
108 { "1", "+0x1 ", ios::hex | ios::showbase | ios::showpos | ios::left,
113 { "123", "0x7b", ios::hex | ios::showbase },
[all...]
/haiku-buildtools/gcc/gmp/cxx/
H A Disfuns.cc30 __gmp_istream_set_base (istream &i, char &c, bool &zero, bool &showbase) argument
34 zero = showbase = false;
47 showbase = true; // look for initial "0" or "0x" or "0X"
H A Dismpznw.cc37 bool ok = false, zero, showbase; local
46 base = __gmp_istream_set_base(i, c, zero, showbase); // select the base
H A Dosfuns.cc90 /* for hex showbase is always, for octal only non-zero */
91 if (o.flags() & ios::showbase)
92 p->showbase = ((o.flags() & ios::basefield) == ios::hex
95 p->showbase = DOPRNT_SHOWBASE_NO;
/haiku-buildtools/legacy/gcc/libio/tests/
H A DtFile.exp58 +__34567(dec) = 0x__8707(hex) = _0103407(oct) [showbase on]
59 +__34567(dec) = ____8707(hex) = __103407(oct) [showbase off]
60 -__34567(dec) = 0x__78f9(hex) = __074371(oct) [showbase on]
61 -__34567(dec) = ____78f9(hex) = ___74371(oct) [showbase off]
62 ______+0(dec) = _____0x0(hex) = _______0(oct) [showbase on]
63 ______+0(dec) = _______0(hex) = _______0(oct) [showbase off]
64 ___34567(dec) = __0X8707(hex) = _0103407(oct) [showbase on]
65 ___34567(dec) = ____8707(hex) = __103407(oct) [showbase off]
66 -34567__(dec) = 0X78F9__(hex) = 074371__(oct) [showbase on]
67 -34567__(dec) = 78F9____(hex) = 74371___(oct) [showbase of
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Denum2.C16 showbase=0200, showpoint=0400, uppercase=01000, showpos=02000, enumerator in enum:ios::__anon1232
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_put/put/char/
H A D9780-3.cc36 oss.setf(ios_base::showbase);
H A D2.cc61 // now try with showbase, to get currency symbol in format
62 oss.setf(ios_base::showbase);
91 oss.unsetf(ios_base::showbase);
H A D1.cc67 // now try with showbase, to get currency symbol in format
68 oss.setf(ios_base::showbase);
85 oss.unsetf(ios_base::showbase);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_put/put/char/
H A D5.cc28 // Make sure that, in a locale that expects grouping, when showbase
50 oss.setf(ios::showbase);
58 oss.setf(ios::showbase);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/
H A D5.cc28 // Make sure that, in a locale that expects grouping, when showbase
50 oss.setf(ios::showbase);
58 oss.setf(ios::showbase);
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.benjamin/
H A Dtypedef03.C21 showbase = 0x0100, enumerator in enum:QTextStream::__anon1193
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_get/get/char/
H A D4.cc50 // now try with showbase, to get currency symbol in format
51 iss.setf(ios_base::showbase);
H A D2.cc56 // now try with showbase, to get currency symbol in format
57 iss.setf(ios_base::showbase);
84 // be successful without showbase too, since the symbol field appears in
87 iss.unsetf(ios_base::showbase);
H A D16.cc55 iss01.setf(ios_base::showbase);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/
H A D4.cc50 // now try with showbase, to get currency symbol in format
51 iss.setf(ios_base::showbase);
H A D2.cc56 // now try with showbase, to get currency symbol in format
57 iss.setf(ios_base::showbase);
84 // be successful without showbase too, since the symbol field appears in
87 iss.unsetf(ios_base::showbase);
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/
H A Dcase_label.cc53 case std::ios_base::showbase:
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/objects/wchar_t/
H A D9_xin.cc54 wcout << endl << hex << showbase; local
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/money_put/put/wchar_t/
H A D2.cc62 // now try with showbase, to get currency symbol in format
63 oss.setf(ios_base::showbase);
94 oss.unsetf(ios_base::showbase);
H A D1.cc68 // now try with showbase, to get currency symbol in format
69 oss.setf(ios_base::showbase);
86 oss.unsetf(ios_base::showbase);

Completed in 573 milliseconds

12