Home
last modified time | relevance | path

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

/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-ostream.cc87 { "0", "0", ios::oct | ios::showbase }, in check_mpz()
90 { "0", "0x0", ios::hex | ios::showbase }, in check_mpz()
91 { "0", "0X0", ios::hex | ios::showbase | ios::uppercase }, in check_mpz()
99 { "1", " 0x1", ios::hex | ios::showbase | ios::right, 6 }, in check_mpz()
100 { "1", "0x 1", ios::hex | ios::showbase | ios::internal, 6 }, in check_mpz()
101 { "1", "0x1 ", ios::hex | ios::showbase | ios::left, 6 }, in check_mpz()
103 { "1", " +0x1", ios::hex | ios::showbase | ios::showpos | ios::right, in check_mpz()
105 { "1", "+0x 1", ios::hex | ios::showbase | ios::showpos | ios::internal, in check_mpz()
107 { "1", "+0x1 ", ios::hex | ios::showbase | ios::showpos | ios::left, in check_mpz()
112 { "123", "0x7b", ios::hex | ios::showbase }, in check_mpz()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/printf/
H A Ddoprnti.c52 const char *slash, *showbase; in __gmp_doprnt_integer() local
70 showbase = NULL; in __gmp_doprnt_integer()
73 if (p->showbase != DOPRNT_SHOWBASE_NO) in __gmp_doprnt_integer()
76 case 16: showbase = "0x"; showbaselen = 2; break; in __gmp_doprnt_integer()
77 case -16: showbase = "0X"; showbaselen = 2; break; in __gmp_doprnt_integer()
78 case 8: showbase = "0"; showbaselen = 1; break; in __gmp_doprnt_integer()
84 || (p->showbase == DOPRNT_SHOWBASE_NONZERO && slash[1] == '0')) in __gmp_doprnt_integer()
87 if (p->showbase == DOPRNT_SHOWBASE_NONZERO && s[0] == '0') in __gmp_doprnt_integer()
106 DOPRNT_MEMORY_MAYBE (showbase, showbaselen); /* base */ in __gmp_doprnt_integer()
122 DOPRNT_MEMORY (showbase, den_showbaselen); in __gmp_doprnt_integer()
H A Ddoprntf.c70 const char *showbase; in __gmp_doprnt_mpf() local
321 showbase = NULL; in __gmp_doprnt_mpf()
323 switch (p->showbase) { in __gmp_doprnt_mpf()
335 case 16: showbase = "0x"; showbaselen = 2; break; in __gmp_doprnt_mpf()
336 case -16: showbase = "0X"; showbaselen = 2; break; in __gmp_doprnt_mpf()
337 case 8: showbase = "0"; showbaselen = 1; break; in __gmp_doprnt_mpf()
342 showbase == NULL ? "" : showbase, showbaselen)); in __gmp_doprnt_mpf()
362 DOPRNT_MEMORY_MAYBE (showbase, showbaselen); /* base */ in __gmp_doprnt_mpf()
H A Ddoprnt.c224 param.showbase = DOPRNT_SHOWBASE_NO; in __gmp_doprnt()
257 param.showbase = DOPRNT_SHOWBASE_YES; in __gmp_doprnt()
363 if (param.showbase == DOPRNT_SHOWBASE_NONZERO) in __gmp_doprnt()
524 param.showbase = DOPRNT_SHOWBASE_NONZERO; in __gmp_doprnt()
/netbsd-src/external/lgpl3/gmp/dist/cxx/
H A Disfuns.cc40 __gmp_istream_set_base (istream &i, char &c, bool &zero, bool &showbase) in __gmp_istream_set_base() argument
44 zero = showbase = false; in __gmp_istream_set_base()
57 showbase = true; // look for initial "0" or "0x" or "0X" in __gmp_istream_set_base()
H A Dosfuns.cc101 if (o.flags() & ios::showbase) in __gmp_doprnt_params_from_ios()
102 p->showbase = ((o.flags() & ios::basefield) == ios::hex in __gmp_doprnt_params_from_ios()
105 p->showbase = DOPRNT_SHOWBASE_NO; in __gmp_doprnt_params_from_ios()
H A Dismpznw.cc47 bool ok = false, zero, showbase; in __gmpz_operator_in_nowhite() local
56 base = __gmp_istream_set_base(i, c, zero, showbase); // select the base in __gmpz_operator_in_nowhite()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dios_base.h376 static const fmtflags showbase = _S_showbase; in _GLIBCXX_VISIBILITY()
924 showbase(ios_base& __base) in _GLIBCXX_VISIBILITY()
926 __base.setf(ios_base::showbase); in _GLIBCXX_VISIBILITY()
934 __base.unsetf(ios_base::showbase); in _GLIBCXX_VISIBILITY()
H A Dlocale_facets_nonio.tcc188 if (__io.flags() & ios_base::showbase || __sign_size > 1 in _M_extract()
207 && (__j || __io.flags() & ios_base::showbase)) in _M_extract()
494 __len += ((__io.flags() & ios_base::showbase) in _M_insert()
510 if (__io.flags() & ios_base::showbase) in _M_insert()
H A Dlocale_facets.tcc905 else if (bool(__flags & ios_base::showbase) && __v) in _M_insert_int()
1185 __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); in do_put()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dios_base.h381 static const fmtflags showbase = _S_showbase; in _GLIBCXX_VISIBILITY()
937 showbase(ios_base& __base) in _GLIBCXX_VISIBILITY()
939 __base.setf(ios_base::showbase); in _GLIBCXX_VISIBILITY()
947 __base.unsetf(ios_base::showbase); in _GLIBCXX_VISIBILITY()
H A Dlocale_facets_nonio.tcc188 if (__io.flags() & ios_base::showbase || __sign_size > 1 in _M_extract()
207 && (__j || __io.flags() & ios_base::showbase)) in _M_extract()
510 __len += ((__io.flags() & ios_base::showbase) in _M_insert()
526 if (__io.flags() & ios_base::showbase) in _M_insert()
H A Dlocale_facets.tcc923 else if (bool(__flags & ios_base::showbase) && __v) in _M_insert_int()
1203 __io.flags((__flags & __fmt) | (ios_base::hex | ios_base::showbase)); in do_put()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dios40 static constexpr fmtflags showbase;
169 ios_base& showbase (ios_base& str);
245 static const fmtflags showbase = 0x0200;
864 showbase(ios_base& __str)
866 __str.setf(ios_base::showbase);
874 __str.unsetf(ios_base::showbase);
H A Dlocale1463 + ((__iob.flags() & ios_base::showbase) != 0)
1490 + ((__iob.flags() & ios_base::showbase) != 0)
1517 + ((__iob.flags() & ios_base::showbase) != 0)
1544 + ((__iob.flags() & ios_base::showbase) != 0)
2983 bool __sb = (__flags & ios_base::showbase) != 0;
3283 if (!__sym.empty() && (__flags & ios_base::showbase))
/netbsd-src/external/bsd/openldap/dist/contrib/ldapc++/src/
H A DLDAPUrl.cpp306 i.unsetf(std::ios::showbase); in percentDecode()
425 o.unsetf(std::ios::showbase); in percentEncode()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dios.cc46 const ios_base::fmtflags ios_base::showbase; member in std::ios_base
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dios.cc46 const ios_base::fmtflags ios_base::showbase; member in std::ios_base
/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dios.cpp86 const ios_base::fmtflags ios_base::showbase; member in ios_base
H A Dlocale.cpp4602 if (__flags & ios_base::showbase) in __format_int()
/netbsd-src/external/lgpl3/gmp/dist/
H A Dgmp-impl.h4467 int showbase; /* choices above */ member
H A DChangeLog21693 (C++ Formatted Output): Clarify mpf showbase handling, in particular
21696 * printf/doprntf.c: Do a showbase on octal float fractions, for
22632 * printf/doprnti.c: Don't showbase on a zero mpq denominator.
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20024534 (test01): more "en_HK" tests (without showbase).
4588 Deal correctly with !(__io.flags() & ios_base::showbase)
/netbsd-src/external/lgpl3/gmp/dist/doc/
H A Dgmp.info-15220 decimal. If 'ios::showbase' is set then a base indicator is shown
5237 'ios::showbase' is supported, and will put a base on the mantissa,
H A Dgmp.texi6389 decimal. If @code{ios::showbase} is set then a base indicator is shown on
6406 @code{ios::showbase} is supported, and will put a base on the mantissa, for