codesearch.isocpp.org by Andrew Tomazos.
Enter a valid C/C++ code snippet...
Searching for `sync_with_stdio`
...
2489599 source files searched.
218 matches found.
Here is a random sample of matches...
actcd19/main/m/marisa/marisa_0.2.5-2/.pc/backport/0005-Add-static_casts-to-suppress-warnings-for-implicit-s.patch/tools/marisa-dump.cc:115:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxx/src/ios.cpp:459:
bool
ios_base::sync_with_stdio(bool sync)
{
static bool previous_state = true;
actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxx/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp:24:
assert( std::ios_base::sync_with_stdio(true));
assert( std::ios_base::sync_with_stdio());
assert( std::ios_base::sync_with_stdio(false));
assert(!std::ios_base::sync_with_stdio());
assert( std::ios_base::sync_with_stdio());
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/src/c++98/ios_init.cc:150:
bool
ios_base::sync_with_stdio(bool __sync)
{
// _GLIBCXX_RESOLVE_LIB_DEFECTS
actcd19/main/l/last-align/last-align_963-2/src/last-pair-probs-main.cc:134:
opts.circular.insert("chrM");
}
std::ios_base::sync_with_stdio(false); // makes std::cin much faster!!!
lastPairProbs(opts);
actcd19/main/m/marisa/marisa_0.2.5-2/.pc/backport/0005-Add-static_casts-to-suppress-warnings-for-implicit-s.patch/tools/marisa-benchmark.cc:310:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/a/antpm/antpm_1.19-6/src/Log.hpp:164:
: _logReportingLevel(psoLogMaxLogLevel)
{
std::ios_base::sync_with_stdio(false);
if(!logFileName)
actcd19/main/p/pentobi/pentobi_14.0-1/src/pentobi/Main.cpp:48:
*stderr = *f;
setvbuf(stderr, NULL, _IONBF, 0);
ios::sync_with_stdio();
#endif
}
actcd19/main/w/warmux/warmux_11.04.1+repack2-4/src/main.cpp:549:
#endif
std::ios_base::sync_with_stdio(true);
/* FIXME calling Config::GetInstance here means that there is no need of
actcd19/main/t/tntnet/tntnet_2.2.1-3/sdk/tools/ecppl/ecppl.cpp:41:
int main(int argc, char* argv[])
{
std::ios::sync_with_stdio(false);
try
{
actcd19/main/f/fastx-toolkit/fastx-toolkit_0.0.14-6/.pc/gcc-7.patch/src/fasta_formatter/fasta_formatter.cpp:138:
int main(int argc, char* argv[])
{
ios::sync_with_stdio(false);
parse_command_line(argc, argv);
actcd19/main/v/verilator/verilator_4.010-1/examples/tracing_sc/sc_main.cpp:37:
// General logfile
ios::sync_with_stdio();
// Defaults time
actcd19/main/s/skycat/skycat_3.1.2+starlink1~b+dfsg-5/cat/tests/tLocalCatalog.C:22:
{
// gcc doesn't need this, but SunCC does...
ios::sync_with_stdio();
// errors will be printed on stderr automatically
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/objects/wchar_t/2523-2_xin.cc:26:
{
using namespace std;
ios_base::sync_with_stdio(false);
int i;
actcd19/main/v/verilator/verilator_3.900-1/src/VlcMain.cpp:139:
int main(int argc, char** argv, char** env) {
// General initialization
ios::sync_with_stdio();
VlcTop top;
actcd19/main/f/ffdiaporama/ffdiaporama_1.5-5/src/engine/_GlobalDefines.cpp:57:
if (_fileno(stderr) < 0) freopen("CONOUT$","wb",stderr);
if (_fileno(stdin) < 0) freopen("CONIN$","rb",stdin);
std::ios::sync_with_stdio(); // Fix C++
}
actcd19/main/o/opencascade/opencascade_7.3.0+dfsg1-5/src/Draw/Draw_BasicCommands.cxx:934:
Done = Standard_True;
ios::sync_with_stdio();
const char* g = "DRAW General Commands";
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc:35:
locale::global(locale(ISO_8859(15,fr_FR)));
ios_base::sync_with_stdio(false);
locale::global(locale(ISO_8859(1,en_US)));
actcd19/main/q/qtwebengine-opensource-src/qtwebengine-opensource-src_5.11.3+dfsg-2/src/3rdparty/chromium/base/process/launch_win.cc:194:
// Fix all cout, wcout, cin, wcin, cerr, wcerr, clog and wclog.
std::ios::sync_with_stdio();
}
actcd19/main/c/coinmp/coinmp_1.8.3-2/Cbc/src/CbcGeneric.cpp:130:
stdio and make stderr and stdout unbuffered.
*/
std::ios::sync_with_stdio() ;
setbuf(stderr, 0) ;
setbuf(stdout, 0) ;
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc:56:
{
std::wcout.rdbuf(&buf);
std::ios_base::sync_with_stdio(false); // make sure doesn't clobber buf
}
k1 = buf.get_i();
actcd19/main/libr/libreoffice/libreoffice_6.1.5-1/l10ntools/source/idxdict/idxdict.cxx:30:
}
// This call improves performance by approx 5x
std::ios_base::sync_with_stdio(false);
const char * outputFile(argv[2]);
actcd19/main/s/skycat/skycat_3.1.2+starlink1~b+dfsg-5/cat/tests/tTabTable.C:21:
{
// gcc doesn't need this, but SunCC does...
ios::sync_with_stdio();
// errors will be printed on stderr automatically
actcd19/main/m/mysql-5.7/mysql-5.7_5.7.25-1/boost/boost_1_59_0/boost/log/utility/formatting_ostream.hpp:283:
void register_callback(event_callback fn, int index) { m_stream.register_callback(fn, index); }
static bool sync_with_stdio(bool sync = true) { return ostream_type::sync_with_stdio(sync); }
// std::basic_ios method forwarders
actcd19/main/s/skycat/skycat_3.1.2+starlink1~b+dfsg-5/cat/tests/tAstroCatalog.C:22:
{
// gcc doesn't need this, but SunCC does...
ios::sync_with_stdio();
// errors will be printed on stderr automatically
actcd19/main/b/bowtie2/bowtie2_2.3.4.3-1/.pc/reproducible.patch/bt2_search.cpp:3028:
if(!logDps.empty()) {
dpLog = new ofstream(logDps.c_str(), ofstream::out);
dpLog->sync_with_stdio(false);
}
if(!logDpsOpp.empty()) {
actcd19/contrib/v/vcmi/vcmi_0.99+dfsg+git20190113.f06c8a87-1/lib/CConsoleHandler.cpp:194:
{
TLockGuard _(smx);
std::ios::sync_with_stdio(false);
}
std::string buffer;
actcd19/main/m/marisa/marisa_0.2.5-2/.pc/backport/0005-Add-static_casts-to-suppress-warnings-for-implicit-s.patch/tools/marisa-lookup.cc:79:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/include/bits/ios_base.h:740:
*/
static bool
sync_with_stdio(bool __sync = true);
// [27.4.2.3] ios_base locale functions
actcd19/main/f/frog/frog_0.15-1/src/ner_prog.cxx:152:
int main(int argc, char *argv[]) {
std::ios_base::sync_with_stdio(false);
cerr << "ner " << VERSION << " (c) CLTS, ILK 2014 - 2018" << endl;
cerr << "CLST - Centre for Language and Speech Technology,"
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc:40:
// 1: basic invocation
VERIFY( ios01.sync_with_stdio() );
VERIFY( ios01.sync_with_stdio(false) ); //returns previous state
// 2: need to test interleaving of C and C++ io on a file object.
actcd19/main/f/freefem++/freefem++_3.61.1+dfsg1-4/src/Graphics/Pcrgraph.cpp:823:
cin.rdbuf(ccin);
cerr.rdbuf(ccout);
ios::sync_with_stdio();
}
BOOL inittext(VOID)
actcd19/main/p/performous/performous_1.1-2/tools/pak_extract.cc:52:
int main(int argc, char** argv) {
std::ios::sync_with_stdio(false);
if( argc < 3 ) { usage(argv[0]); return EXIT_FAILURE; }
try {
actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxx/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp:22:
assert(!std::ios_base::sync_with_stdio(false));
assert(!std::ios_base::sync_with_stdio(true));
assert( std::ios_base::sync_with_stdio(true));
assert( std::ios_base::sync_with_stdio());
assert( std::ios_base::sync_with_stdio(false));
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/testsuite/27_io/objects/char/7744_xin.cc:26:
void test11()
{
std::ios::sync_with_stdio(false);
std::cout << "Type in the characters 'abc' and press <ENTER>: ";
actcd19/main/h/hilive/hilive_1.1-2/lib/kindex.cpp:15:
int KixBuild::add_fasta(const std::string &fname, GenomeIdListType &ids, bool convert_spaces, bool trim_ids) {
std::ios::sync_with_stdio(false);
std::ifstream::sync_with_stdio(false);
actcd19/main/p/pdns/pdns_4.1.6-1/pdns/receiver.cc:433:
#endif
std::ios_base::sync_with_stdio(false);
L.toConsole(Logger::Warning);
actcd19/main/v/verilator/verilator_3.900-1/test_sc/sc_main.cpp:28:
// General logfile
ios::sync_with_stdio();
// Defaults
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/exbin.cxx:216:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
// handle command line parameters
actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxx/test/std/input.output/iostreams.base/ios.base/ios.members.static/sync_with_stdio.pass.cpp:23:
assert(!std::ios_base::sync_with_stdio(true));
assert( std::ios_base::sync_with_stdio(true));
assert( std::ios_base::sync_with_stdio());
assert( std::ios_base::sync_with_stdio(false));
assert(!std::ios_base::sync_with_stdio());
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/include/bits/ios_base.h:740:
*/
static bool
sync_with_stdio(bool __sync = true);
// [27.4.2.3] ios_base locale functions
actcd19/main/m/marisa/marisa_0.2.5-2/tools/marisa-common-prefix-search.cc:97:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/b/boost1.62/boost1.62_1.62.0+dfsg-1/boost/log/expressions/formatter.hpp:184:
BOOST_FORCEINLINE void register_callback(event_callback fn, int index) const { this->get().register_callback(fn, index); }
static BOOST_FORCEINLINE bool sync_with_stdio(bool sync = true) { return StreamT::sync_with_stdio(sync); }
BOOST_EXPLICIT_OPERATOR_BOOL()
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/objects/char/3045.cc:57:
{
std::cout.rdbuf(&buf);
std::ios_base::sync_with_stdio(false); // make sure doesn't clobber buf
}
k1 = buf.get_i();
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/smime2xml.cxx:164:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
int fidx = 1;
int iMask = imPreamble | imEpilogue;
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc:36:
locale::global(locale("fr_FR"));
ios_base::sync_with_stdio(false);
locale::global(locale("en_US"));
actcd19/main/f/frog/frog_0.15-1/src/mblem_prog.cxx:204:
int main(int argc, char *argv[]) {
std::ios_base::sync_with_stdio(false);
cerr << "mblem " << VERSION << " (c) CLTS, ILK 2014 - 2018" << endl;
cerr << "CLST - Centre for Language and Speech Technology,"
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc:33:
locale::global(__gnu_test::try_named_locale("fr_FR"));
ios_base::sync_with_stdio(false);
locale::global(__gnu_test::try_named_locale("en_US"));
actcd19/main/c/coinor-dylp/coinor-dylp_1.6.0-1.1/DyLP/examples/odsi+dylp.cpp:373:
{ const char *rtnnme = static_cast<const char *>("dylp") ;
std::ios::sync_with_stdio() ;
/*
Process command line options, if any. The user can specify a single,
actcd19/main/c/ceph/ceph_12.2.11+dfsg1-2/src/boost/boost/log/utility/formatting_ostream.hpp:299:
void register_callback(event_callback fn, int index) { m_stream.register_callback(fn, index); }
static bool sync_with_stdio(bool sync = true) { return ostream_type::sync_with_stdio(sync); }
// std::basic_ios method forwarders
actcd19/main/f/freefem++/freefem++_3.61.1+dfsg1-4/src/lglib/lg.tab.cpp:3449:
cout << " -- SetcppIo --" << endl;
#endif
ios::sync_with_stdio();
}
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/b64.cxx:38:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
bool encoding = 0;
if(argc < 2)
actcd19/main/o/oce/oce_0.18.2-3/src/Draw/Draw_BasicCommands.cxx:841:
Done = Standard_True;
ios::sync_with_stdio();
const char* g = "DRAW General Commands";
actcd19/main/p/pdf2djvu/pdf2djvu_0.9.12-1/pdf2djvu.cc:1208:
static int xmain(int argc, char * const argv[])
{
std::ios_base::sync_with_stdio(false);
try
actcd19/main/m/marisa/marisa_0.2.5-2/tools/marisa-lookup.cc:79:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/k/kde4libs/kde4libs_4.14.38-3/kjsembed/kjsembed/kjseglobal.cpp:71:
win32_stderr.open(hConHandle, QIODevice::WriteOnly);
std::ios::sync_with_stdio();
}
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc:29:
using namespace std;
ios_base::sync_with_stdio(false);
wcout << "Type in 12345\n";
actcd19/main/r/ragel/ragel_6.10-1/examples/cppscan.cpp:98:
int main()
{
std::ios::sync_with_stdio(false);
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc:41:
locale loc(locale("se_NO.UTF-8"));
locale::global(loc);
std::ios_base::sync_with_stdio(false);
wcout.imbue(loc);
actcd19/main/b/bowtie2/bowtie2_2.2.5-2/bt2_search.cpp:2825:
if(!logDps.empty()) {
dpLog = new ofstream(logDps.c_str(), ofstream::out);
dpLog->sync_with_stdio(false);
}
if(!logDpsOpp.empty()) {
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc:40:
locale loc(__gnu_test::try_named_locale("se_NO.UTF-8"));
locale::global(loc);
std::ios_base::sync_with_stdio(false);
wcout.imbue(loc);
actcd19/main/i/irony-mode/irony-mode_1.3.1-1/server/src/main.cpp:109:
// stick to STL streams, no mix of C and C++ for IO operations
std::ios_base::sync_with_stdio(false);
bool interactiveMode = false;
actcd19/main/libr/libreoffice/libreoffice_5.4.3-4/l10ntools/source/idxdict/idxdict.cxx:30:
}
// This call improves performance by approx 5x
std::ios_base::sync_with_stdio(false);
const char * outputFile(argv[2]);
actcd19/main/b/bowtie2/bowtie2_2.3.4.3-1/bt2_search.cpp:3032:
if(!logDpsOpp.empty()) {
dpLogOpp = new ofstream(logDpsOpp.c_str(), ofstream::out);
dpLogOpp->sync_with_stdio(false);
}
actcd19/main/s/synfigstudio/synfigstudio_1.2.2-1/src/gui/main_win32.cpp:91:
// make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog
// point to console as well
ios::sync_with_stdio();
}
actcd19/main/f/freefem++/freefem++_3.47+dfsg1-2/src/Graphics/Pcrgraph.cpp:823:
cin.rdbuf(ccin);
cerr.rdbuf(ccout);
ios::sync_with_stdio();
}
BOOL inittext(VOID)
actcd19/main/b/btag/btag_1.1.3-1/tests/titles_base.cpp:33:
// Force an UTF-8 locale
std::ios_base::sync_with_stdio(false);
std::locale locale(std::locale::classic(), "C.UTF-8", std::locale::ctype);
f.imbue(locale);
actcd19/main/g/git-crypt/git-crypt_0.6.0-1/util.cpp:144:
{
// The following two lines are essential for achieving good performance:
std::ios_base::sync_with_stdio(false);
std::cin.tie(0);
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/testsuite/27_io/objects/wchar_t/13582-1_xin.cc:31:
using namespace std;
ios_base::sync_with_stdio(false);
wcout << "Type in 12345\n";
actcd19/main/r/renderdoc/renderdoc_1.2+dfsg-1/renderdoccmd/renderdoccmd_win32.cpp:766:
std::cout.sync_with_stdio();
std::cerr.sync_with_stdio();
}
actcd19/main/k/kde4libs/kde4libs_4.14.38-3/kdecore/kernel/kkernel_win.cpp:383:
// make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog
// point to console as well
ios::sync_with_stdio();
#endif
}
actcd19/main/u/universalindentgui/universalindentgui_1.2.0-1.1/src/main.cpp:106:
// Make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog point to console as well.
std::ios::sync_with_stdio();
return true;
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/catpart.cxx:157:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
MatchParamRq mpr;
int ignoreMask = 0;
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/testsuite/27_io/objects/char/2523-2_xin.cc:27:
{
using namespace std;
ios_base::sync_with_stdio(false);
int i;
actcd19/main/l/ledger/ledger_3.1.2+dfsg1-1/src/main.cc:75:
// Initialize global Boost/C++ environment
std::ios::sync_with_stdio(false);
std::signal(SIGINT, sigint_handler);
actcd19/main/k/kdelibs4support/kdelibs4support_5.54.0-1/src/kdecore/kkernel_win.cpp:386:
// make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog
// point to console as well
ios::sync_with_stdio();
#endif
}
actcd19/main/o/openbabel/openbabel_2.4.1+dfsg-3/tools/obfragment.cpp:44:
{
// turn off slow sync with C-style output (we don't use it anyway).
std::ios::sync_with_stdio(false);
OBConversion conv;
actcd19/main/m/marisa/marisa_0.2.5-2/tools/marisa-build.cc:126:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/objects/wchar_t/12.cc:42:
locale loc(locale("se_NO.UTF-8"));
locale::global(loc);
std::ios_base::sync_with_stdio(false);
wcout.imbue(loc);
actcd19/main/b/bali-phy/bali-phy_3.4+dfsg-1/src/tools/statreport.cc:549:
int main(int argc,char* argv[])
{
std::ios::sync_with_stdio(false);
try {
actcd19/main/g/gsmartcontrol/gsmartcontrol_1.1.3-2/src/hz/win32_tools.h:565:
// make sure cout, wcout, cin, wcin, wcerr, cerr, wclog and clog
// write there as well.
std::ios::sync_with_stdio();
std::atexit(internal::win32_redirect_stdio_to_files_cleanup);
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/src/ios_init.cc:148:
bool
ios_base::sync_with_stdio(bool __sync)
{
// _GLIBCXX_RESOLVE_LIB_DEFECTS
actcd19/main/m/marisa/marisa_0.2.5-2/.pc/backport/0005-Add-static_casts-to-suppress-warnings-for-implicit-s.patch/tools/marisa-reverse-lookup.cc:78:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/v/verilator/verilator_3.900-1/src/Verilator.cpp:542:
int main(int argc, char** argv, char** env) {
// General initialization
ios::sync_with_stdio();
time_t randseed;
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/16959.cc:25:
void test01()
{
std::ios_base::sync_with_stdio(false);
}
actcd19/main/c/coinor-symphony/coinor-symphony_5.6.16+repack1-1.1/test/unitTestSym.cpp:60:
(stdout) and cerr (stderr), but -nobuf deals with that.
*/
std::ios::sync_with_stdio() ;
/*
Suppress an popup window that Windows shows in response to a crash. See
actcd19/main/f/freefem++/freefem++_3.47+dfsg1-2/src/lglib/lg.tab.cpp:3402:
cout << " -- SetcppIo --" << endl;
#endif
ios::sync_with_stdio();
}
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/structure.cxx:127:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
int fidx = 1;
int iMask = imBody | imPreamble | imEpilogue;
actcd19/main/c/ceph/ceph_12.2.11+dfsg1-2/src/boost/boost/log/utility/formatting_ostream.hpp:299:
void register_callback(event_callback fn, int index) { m_stream.register_callback(fn, index); }
static bool sync_with_stdio(bool sync = true) { return ostream_type::sync_with_stdio(sync); }
// std::basic_ios method forwarders
actcd19/main/g/gcc-h8300-hms/gcc-h8300-hms_3.4.6+dfsg2-4/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc:49:
VERIFY( !std::cout.sync_with_stdio(0) );
VERIFY( std::cout.good() );
VERIFY( !std::cout.sync_with_stdio(0) );
VERIFY( std::cout.good() );
}
actcd19/main/libo/libosmium/libosmium_2.15.1-1/examples/osmium_debug.cpp:32:
int main(int argc, char* argv[]) {
// Speed up output (not Osmium-specific)
std::ios_base::sync_with_stdio(false);
if (argc < 2 || argc > 3) {
actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/2.cc:44:
// 2: need to test interleaving of C and C++ io on a file object.
VERIFY( std::cout.good() );
VERIFY( !std::cout.sync_with_stdio(0) );
VERIFY( std::cout.good() );
VERIFY( !std::cout.sync_with_stdio(0) );
actcd19/main/m/mimetic/mimetic_0.9.8-7/examples/mbox.cxx:139:
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(false);
die_if(argc < 2, "mbox filename required");
actcd19/main/m/marisa/marisa_0.2.5-2/.pc/backport/0005-Add-static_casts-to-suppress-warnings-for-implicit-s.patch/tools/marisa-predictive-search.cc:96:
int main(int argc, char *argv[]) {
std::ios::sync_with_stdio(false);
::cmdopt_option long_options[] = {
actcd19/main/libr/libreoffice/libreoffice_5.4.3-4/desktop/source/app/cmdlinehelp.cxx:217:
freopen("CON", "w", stderr);
std::ios::sync_with_stdio(true);
// In case we use parent's console, emit an empty string
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/9523.cc:37:
clog.iword(index) = 8;
ios_base::sync_with_stdio(false);
VERIFY( cin.iword(index) == 5 );
actcd19/main/k/kjsembed/kjsembed_5.37.0-2/src/kjsembed/kjseglobal.cpp:72:
win32_stderr.open(hConHandle, QIODevice::WriteOnly);
std::ios::sync_with_stdio();
}
actcd19/main/libp/libpodofo/libpodofo_0.9.6+dfsg-4/tools/podofoxmp/podofoxmp.cpp:58:
#ifdef _MSC_VER
_setmode(_fileno(stdin), _O_BINARY); // @TODO: MSVC specific binary setmode -- not sure if other platforms need it
cin.sync_with_stdio();
#endif
istream_iterator<char> it(std::cin);
actcd19/main/p/pdns/pdns_4.1.6-1/pdns/zone2sql.cc:270:
{
reportAllTypes();
std::ios_base::sync_with_stdio(false);
::arg().setSwitch("gpgsql","Output in format suitable for default gpgsqlbackend")="no";
actcd19/main/g/gcc-avr/gcc-avr_5.4.0+Atmel3.6.1-2/gcc/libstdc++-v3/testsuite/27_io/objects/wchar_t/3045.cc:57:
{
std::wcout.rdbuf(&buf);
std::ios_base::sync_with_stdio(false); // make sure doesn't clobber buf
}
k1 = buf.get_i();