• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/console/

Lines Matching refs:wxPrintf

182         wxPrintf(_T("Parsing: %s\n"), cmdline);
186 wxPrintf(_T("\targc = %u\n"), count);
189 wxPrintf(_T("\targv[%u] = %s\n"), arg, args[arg].c_str());
226 wxPrintf(_T("\t%s\n"), filename.c_str());
243 wxPrintf(_T("ERROR: current directory '%s' doesn't exist?\n"), cwd.c_str());
250 wxPrintf(_T("ERROR: failed to open current directory '%s'.\n"), cwd.c_str());
316 wxPrintf(_T("%s%s\n"), indent.c_str(), name.c_str());
329 wxPrintf(_T("There are %u files under '%s'\n"), n, TESTDIR);
332 wxPrintf(_T("First one is '%s'\n"), files[0u].c_str());
333 wxPrintf(_T(" last one is '%s'\n"), files[n - 1].c_str());
371 wxPrintf(_T("%-40s: %s\n"),
408 wxPrintf(_T("ERROR: failed to load '%s'.\n"), LIB_NAME);
416 wxPrintf(_T("ERROR: function '%s' wasn't found in '%s'.\n"),
421 wxPrintf(_T("Calling %s dynamically loaded from %s "),
426 wxPrintf(_T("ERROR: loaded function is not wxStrlen()!\n"));
442 wxPrintf(_T("ERROR: function '%s' wasn't found in '%s'.\n"),
449 wxPrintf(_T("ERROR: loaded function is not wxStrlen()!\n"));
511 wxPrintf(_T("Initially getenv(%s) = %s\n"), var, MyGetEnv(var).c_str());
513 wxPrintf(_T("After wxSetEnv: getenv(%s) = %s\n"), var, MyGetEnv(var).c_str());
515 wxPrintf(_T("After 2nd wxSetEnv: getenv(%s) = %s\n"), var, MyGetEnv(var).c_str());
517 wxPrintf(_T("After wxUnsetEnv: getenv(%s) = %s\n"), var, MyGetEnv(var).c_str());
518 wxPrintf(_T("PATH = %s\n"), MyGetEnv(_T("PATH")).c_str());
547 wxPrintf(_T("Testing wxShell: "));
554 wxPrintf(_T("Testing wxExecute: "));
562 wxPrintf(_T("Testing async wxExecute: "));
570 wxPrintf(_T("Testing wxExecute with redirection:\n"));
581 wxPrintf(_T("\t%s\n"), output[n].c_str());
607 wxPrintf(_T("File length: %lu\n"), file.Length());
618 wxPrintf(_T("Failed to read the file."));
632 wxPrintf(_T("ERROR: can't open test file.\n"));
645 wxPrintf(_T("Number of lines: %u\n"), file.GetLineCount());
646 wxPrintf(_T("Last line: '%s'\n"), file.GetLastLine().c_str());
653 wxPrintf(_T("%6u: %s\n"), file.GetCurrentLine() + 1, s.c_str());
655 wxPrintf(_T("%6u: %s\n"), file.GetCurrentLine() + 1, s.c_str());
662 wxPrintf(_T("%6u: %s\n"), file.GetCurrentLine() + 1, s.c_str());
664 wxPrintf(_T("%6u: %s\n"), file.GetCurrentLine() + 1, s.c_str());
668 wxPrintf(_T("ERROR: can't open '%s'\n"), file.GetName());
778 wxPrintf(_T("\t%s = %s "), data.name, value.c_str());
785 wxPrintf(_T("(ERROR: should be %s)\n"), data.value);
796 wxPrintf(_T("\t%s = %s\n"),
804 wxPrintf(_T("\nTesting deletion of newly created \"Test\" entry: "));
807 wxPrintf(fileconf.HasEntry(testEntry) ? _T("ERROR\n") : _T("ok\n"));
830 wxPrintf(_T("'%s'-> vol '%s', path '%s', name '%s', ext '%s'\n"),
834 wxPrintf(_T("or\t\t-> path '%s', name '%s', ext '%s'\n"),
837 wxPrintf(_T("path is also:\t'%s'\n"), fn.GetPath().c_str());
838 wxPrintf(_T("with volume: \t'%s'\n"),
840 wxPrintf(_T("with separator:\t'%s'\n"),
842 wxPrintf(_T("with both: \t'%s'\n"),
850 wxPrintf(_T("\t%u: %s\n"), n, dirs[n].c_str());
877 wxPrintf(_T("Prefix '%s'\t-> error\n"), tmpprefixes[n]);
881 wxPrintf(_T("Prefix '%s'\t-> temp file '%s'\n"),
931 wxPrintf(_T("ERROR: GetTimes() failed.\n"));
937 wxPrintf(_T("File times for '%s':\n"), fn.GetFullPath().c_str());
938 wxPrintf(_T("Creation: \t%s\n"), dtCreate.Format(fmt).c_str());
939 wxPrintf(_T("Last read: \t%s\n"), dtAccess.Format(fmt).c_str());
940 wxPrintf(_T("Last write: \t%s\n"), dtMod.Format(fmt).c_str());
951 wxPrintf(_T("ERROR: Touch() failed.\n"));
1231 wxPrintf(_T("The default system encoding is %s (%d)\n"),
1246 wxPrintf(_T("Locale for '%s' is %s.\n"),
1269 wxPrintf(_T("*** All %u known filetypes: ***\n"), count);
1280 wxPrintf(_T("nothing known about the filetype '%s'!\n"),
1298 wxPrintf(_T("\t%s: %s (%s)\n"),
1313 wxPrintf(_T("Loading mailcap from '%s': %s\n"),
1317 wxPrintf(_T("WARN: mailcap file '%s' doesn't exist, not loaded.\n"),
1321 wxPrintf(_T("Loading mime.types from '%s': %s\n"),
1325 wxPrintf(_T("WARN: mime.types file '%s' doesn't exist, not loaded.\n"),
1350 wxPrintf(_T("WARNING: extension '%s' is unknown.\n"), ext.c_str());
1365 wxPrintf(_T("To open %s (%s) do %s.\n"),
1416 virtual bool OnInit() { wxPrintf(_T("Load module: %s\n"), GetClassInfo()->GetClassName()); return true; }
1417 virtual void OnExit() { wxPrintf(_T("Unload module: %s\n"), GetClassInfo()->GetClassName()); }
1495 wxPrintf(_T("\nEnter a directory name: "));
1509 wxPrintf(_T("%sKb total, %sKb free on '%s'.\n"),
1524 wxPrintf(_T("Running under: %s, version %d.%d\n"),
1527 wxPrintf(_T("%ld free bytes of memory left.\n"), wxGetFreeMemory().ToLong());
1529 wxPrintf(_T("Host name is %s (%s).\n"),
1542 wxPrintf(_T("Operating system family name is: %s\n"), plat.GetOperatingSystemFamilyName().c_str());
1543 wxPrintf(_T("Operating system name is: %s\n"), plat.GetOperatingSystemIdName().c_str());
1544 wxPrintf(_T("Port ID name is: %s\n"), plat.GetPortIdName().c_str());
1545 wxPrintf(_T("Port ID short name is: %s\n"), plat.GetPortIdShortName().c_str());
1546 wxPrintf(_T("Architecture is: %s\n"), plat.GetArchName().c_str());
1547 wxPrintf(_T("Endianness is: %s\n"), plat.GetEndiannessName().c_str());
1556 wxPrintf(_T("User id is:\t%s\n"), wxGetUserId().c_str());
1557 wxPrintf(_T("User name is:\t%s\n"), wxGetUserName().c_str());
1558 wxPrintf(_T("Home dir is:\t%s\n"), wxGetHomeDir().c_str());
1559 wxPrintf(_T("Email address:\t%s\n"), wxGetEmailAddress().c_str());
1587 wxPrintf(_T("ERROR: command not found in the path.\n"));
1591 wxPrintf(_T("Command found in the path as '%s'.\n"), path.c_str());
1612 wxPrintf(_T("\nEnter a pattern: "));
1628 wxPrintf(_T("Enter text to match: "));
1637 wxPrintf(_T("No match.\n"));
1641 wxPrintf(_T("Pattern matches at '%s'\n"), re.GetMatch(text).c_str());
1651 wxPrintf(_T("Subexpr %u matched '%s'\n"),
1695 #undef wxPrintf
1700 int wxPrintf( const wxChar *format, ... );
1715 (void) wxPrintf(_T("%s:\t`"), fmt);
1716 (void) wxPrintf(fmt, 0x12);
1717 (void) wxPrintf(_T("'\n"));
1723 (void) wxPrintf(_T("%s:\t`"), fmt);
1724 (void) wxPrintf(fmt, 4, 0x12);
1725 (void) wxPrintf(_T("'\n"));
1731 (void) wxPrintf(_T("%s:\t`"), fmt);
1732 (void) wxPrintf(fmt, 4, 4, 0x12);
1733 (void) wxPrintf(_T("'\n"));
1770 wxPrintf(_T("prefix 6d 6o 6x 6X 6u\n"));
1781 wxPrintf(_T("%5s |"), prefix);
1784 wxPrintf(tp, DEC);
1787 wxPrintf(tp, INT);
1790 wxPrintf(tp, INT);
1793 wxPrintf(tp, INT);
1796 wxPrintf(tp, UNS);
1797 wxPrintf(_T("\n"));
1802 wxPrintf(_T("%10s\n"), PointerNull);
1803 wxPrintf(_T("%-10s\n"), PointerNull);
1827 wxPrintf(bad_format.c_str());
1828 wxPrintf(_T("nil pointer (padded):\t\"%10p\"\n"), (void *) NULL);
1830 wxPrintf(_T("decimal negative:\t\"%d\"\n"), -2345);
1831 wxPrintf(_T("octal negative:\t\"%o\"\n"), -2345);
1832 wxPrintf(_T("hex negative:\t\"%x\"\n"), -2345);
1833 wxPrintf(_T("long decimal number:\t\"%ld\"\n"), -123456L);
1834 wxPrintf(_T("long octal negative:\t\"%lo\"\n"), -2345L);
1835 wxPrintf(_T("long unsigned decimal number:\t\"%lu\"\n"), -123456L);
1836 wxPrintf(_T("zero-padded LDN:\t\"%010ld\"\n"), -123456L);
1838 wxPrintf(test_format.c_str(), -123456);
1839 wxPrintf(_T("space-padded LDN:\t\"%10ld\"\n"), -123456L);
1840 wxPrintf(_T("left-adjusted SLDN:\t\"%-10ld\"\n"), -123456L);
1843 wxPrintf(test_format.c_str(), shortstr);
1845 wxPrintf(test_format.c_str(), shortstr);
1846 wxPrintf(_T("space-padded string:\t\"%10s\"\n"), shortstr);
1847 wxPrintf(_T("left-adjusted S string:\t\"%-10s\"\n"), shortstr);
1848 wxPrintf(_T("null string:\t\"%s\"\n"), PointerNull);
1849 wxPrintf(_T("limited string:\t\"%.22s\"\n"), longstr);
1851 wxPrintf(_T("e-style >= 1:\t\"%e\"\n"), 12.34);
1852 wxPrintf(_T("e-style >= .1:\t\"%e\"\n"), 0.1234);
1853 wxPrintf(_T("e-style < .1:\t\"%e\"\n"), 0.001234);
1854 wxPrintf(_T("e-style big:\t\"%.60e\"\n"), 1e20);
1855 wxPrintf(_T("e-style == .1:\t\"%e\"\n"), 0.1);
1856 wxPrintf(_T("f-style >= 1:\t\"%f\"\n"), 12.34);
1857 wxPrintf(_T("f-style >= .1:\t\"%f\"\n"), 0.1234);
1858 wxPrintf(_T("f-style < .1:\t\"%f\"\n"), 0.001234);
1859 wxPrintf(_T("g-style >= 1:\t\"%g\"\n"), 12.34);
1860 wxPrintf(_T("g-style >= .1:\t\"%g\"\n"), 0.1234);
1861 wxPrintf(_T("g-style < .1:\t\"%g\"\n"), 0.001234);
1862 wxPrintf(_T("g-style big:\t\"%.60g\"\n"), 1e20);
1864 wxPrintf (_T(" %6.5f\n"), .099999999860301614);
1865 wxPrintf (_T(" %6.5f\n"), .1);
1866 wxPrintf (_T("x%5.4fx\n"), .5);
1868 wxPrintf (_T("%#03x\n"), 1);
1870 //wxPrintf (_T("something really insane: %.10000f\n"), 1.0);
1877 wxPrintf (_T("%.17e\n"), d / 2);
1884 wxPrintf (_T("%15.5e\n"), 4.9406564584124654e-324);
1888 wxPrintf (FORMAT, 0.0, 0.0, 0.0);
1889 wxPrintf (FORMAT, 1.0, 1.0, 1.0);
1890 wxPrintf (FORMAT, -1.0, -1.0, -1.0);
1891 wxPrintf (FORMAT, 100.0, 100.0, 100.0);
1892 wxPrintf (FORMAT, 1000.0, 1000.0, 1000.0);
1893 wxPrintf (FORMAT, 10000.0, 10000.0, 10000.0);
1894 wxPrintf (FORMAT, 12345.0, 12345.0, 12345.0);
1895 wxPrintf (FORMAT, 100000.0, 100000.0, 100000.0);
1896 wxPrintf (FORMAT, 123456.0, 123456.0, 123456.0);
1903 wxPrintf(_T("snprintf (\"%%30s\", \"foo\") == %d, \"%.*s\"\n"),
1907 wxPrintf ("snprintf (\"%%.999999u\", 10)\n",
1914 wxPrintf (_T("%e should be 1.234568e+06\n"), 1234567.8);
1915 wxPrintf (_T("%f should be 1234567.800000\n"), 1234567.8);
1916 wxPrintf (_T("%g should be 1.23457e+06\n"), 1234567.8);
1917 wxPrintf (_T("%g should be 123.456\n"), 123.456);
1918 wxPrintf (_T("%g should be 1e+06\n"), 1000000.0);
1919 wxPrintf (_T("%g should be 10\n"), 10.0);
1920 wxPrintf (_T("%g should be 0.02\n"), 0.02);
1924 wxPrintf(_T("%.17f\n"),(1.0/x/10.0+1.0)*x-x);
1945 wxPrintf (_T("sprintf (buf, \"%%07Lo\", 040000000000ll) = %s"), buf);
1958 wxPrintf (_T("printf (\"%%hhu\", %u) = %hhu\n"), UCHAR_MAX + 2, UCHAR_MAX + 2);
1959 wxPrintf (_T("printf (\"%%hu\", %u) = %hu\n"), USHRT_MAX + 2, USHRT_MAX + 2);
1994 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" "));
1997 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 33"));
2000 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 3e+08"));
2003 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 3E+08"));
2006 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T("3e+01"));
2009 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T("3E+01"));
2022 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T("3"));
2026 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T("3"));
2030 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 3"));
2035 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 041"));
2040 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 0000033"));
2045 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 021"));
2050 wxPrintf (_T("got: '%s', expected: '%s'\n"), buf, _T(" 021"));
2113 wxPrintf(_T("The test key name is '%s'.\n"), key.GetName().c_str());
2124 wxPrintf(_T("It has %u subkeys and %u values.\n"), nSubKeys, nValues);
2127 wxPrintf(_T("Enumerating values:\n"));
2134 wxPrintf(_T("Value '%s': type "), value.c_str());
2137 case wxRegKey::Type_None: wxPrintf(_T("ERROR (none)")); break;
2138 case wxRegKey::Type_String: wxPrintf(_T("SZ")); break;
2139 case wxRegKey::Type_Expand_String: wxPrintf(_T("EXPAND_SZ")); break;
2140 case wxRegKey::Type_Binary: wxPrintf(_T("BINARY")); break;
2141 case wxRegKey::Type_Dword: wxPrintf(_T("DWORD")); break;
2142 case wxRegKey::Type_Multi_String: wxPrintf(_T("MULTI_SZ")); break;
2143 default: wxPrintf(_T("other (unknown)")); break;
2146 wxPrintf(_T(", value = "));
2151 wxPrintf(_T("%ld"), val);
2157 wxPrintf(_T("'%s'"), val.c_str());
2160 wxPrintf(_T(" (raw value '%s')"), val.c_str());
2270 wxPrintf(_T("Server: waiting for connection on port %d...\n"), PORT);
2315 wxPrintf(_T("Server: got '%s'.\n"), s.c_str());
2333 wxPrintf(_T("Server: wrote '%s'.\n"), s.c_str());
2359 wxPrintf(_T("--- Attempting to connect to %s:80...\n"), hostname);
2364 wxPrintf(_T("ERROR: failed to connect to %s\n"), hostname);
2368 wxPrintf(_T("--- Connected to %s:%u...\n"),
2377 wxPrintf(_T("--- Sent command '%s' to the server\n"),
2380 wxPrintf(_T("--- Server replied:\n%s"), buf);
2413 wxPrintf(_T("--- Attempting to connect to %s:21 anonymously...\n"), hostname);
2423 wxPrintf(_T("Password for %s: "), password);
2428 wxPrintf(_T("--- Attempting to connect to %s:21 as %s...\n"), hostname, user);
2433 wxPrintf(_T("ERROR: failed to connect to %s\n"), hostname);
2439 wxPrintf(_T("--- Connected to %s, current directory is '%s'\n"),
2454 wxPrintf(_T("ERROR: failed to connect to %s\n"), hostname);
2462 wxPrintf(_T("ERROR: couldn't get input stream for %s\n"), filename);
2467 wxPrintf(_T("Reading file %s (%u bytes)..."), filename, size);
2476 wxPrintf(_T("Successfully retrieved the file.\n"));
2492 wxPrintf(_T("ERROR: failed to cd to %s\n"), directory);
2495 wxPrintf(_T("Current directory is '%s'\n"), ftp.Pwd().c_str());
2505 wxPrintf(_T("Brief list of files under '%s':\n"), ftp.Pwd().c_str());
2509 wxPrintf(_T("\t%s\n"), files[n].c_str());
2520 wxPrintf(_T("Detailed list of files under '%s':\n"), ftp.Pwd().c_str());
2524 wxPrintf(_T("\t%s\n"), files[n].c_str());
2534 wxPrintf(_T("Current directory is '%s'\n"), ftp.Pwd().c_str());
2545 wxPrintf(_T("ERROR: couldn't get input stream for %s\n"), filename);
2550 wxPrintf(_T("Reading file %s (%u bytes)..."), filename, size);
2560 wxPrintf(_T("\nContents of %s:\n%s\n"), filename, data);
2574 wxPrintf(_T("ERROR: failed to cd to %s\n"), directory);
2577 wxPrintf(_T("Current directory is '%s'\n"), ftp.Pwd().c_str());
2583 wxPrintf(_T("ERROR: couldn't get size of '%s'\n"), filename);
2585 wxPrintf(_T("Size of '%s' is %d bytes.\n"), filename, size);
2589 wxPrintf(_T("ERROR: '%s' doesn't exist\n"), filename);
2603 wxPrintf(_T("STAT returned:\n\n%s\n"), ftp.GetLastResult().c_str());
2612 wxPrintf(_T("The list of site-specific commands:\n\n%s\n"),
2625 wxPrintf(_T("Enter FTP command: "));
2644 wxPrintf(_T("ERROR: failed to get %s of files\n"), start.c_str());
2648 wxPrintf(_T("--- %s of '%s' under '%s':\n"),
2653 wxPrintf(_T("\t%s\n"), files[n].c_str());
2661 wxPrintf(_T("Command %s"), ch ? _T("succeeded") : _T("failed"));
2664 wxPrintf(_T(" (return code %c)"), ch);
2667 wxPrintf(_T(", server reply:\n%s\n\n"), ftp.GetLastResult().c_str());
2684 wxPrintf(_T("--- Uploading to %s ---\n"), file1);
2692 wxPrintf(_T("ERROR: STAT %s failed\n"), file1);
2696 wxPrintf(_T("STAT %s returned:\n\n%s\n"),
2703 wxPrintf(_T("--- Uploading to %s ---\n"), file1);
2795 wxPrintf(_T("Config dir (sys):\t%s\n"), stdp.GetConfigDir().c_str());
2796 wxPrintf(_T("Config dir (user):\t%s\n"), stdp.GetUserConfigDir().c_str());
2797 wxPrintf(_T("Data dir (sys):\t\t%s\n"), stdp.GetDataDir().c_str());
2798 wxPrintf(_T("Data dir (sys local):\t%s\n"), stdp.GetLocalDataDir().c_str());
2799 wxPrintf(_T("Data dir (user):\t%s\n"), stdp.GetUserDataDir().c_str());
2800 wxPrintf(_T("Data dir (user local):\t%s\n"), stdp.GetUserLocalDataDir().c_str());
2801 wxPrintf(_T("Documents dir:\t\t%s\n"), stdp.GetDocumentsDir().c_str());
2802 wxPrintf(_T("Executable path:\t%s\n"), stdp.GetExecutablePath().c_str());
2803 wxPrintf(_T("Plugins dir:\t\t%s\n"), stdp.GetPluginsDir().c_str());
2804 wxPrintf(_T("Resources dir:\t\t%s\n"), stdp.GetResourcesDir().c_str());
2805 wxPrintf(_T("Localized res. dir:\t%s\n"),
2807 wxPrintf(_T("Message catalogs dir:\t%s\n"),
2838 wxPrintf(_T("File stream size: %u\n"), fsIn.GetSize());
2847 wxPrintf(_T("ERROR: failed to remove the file '%s'.\n"), filename.c_str());
2858 wxPrintf(_T("Initially out stream offset: %lu\n"),
2866 wxPrintf(_T("Final out stream offset: %lu\n"),
2875 wxPrintf(_T("Memory stream size: %u\n"), memInpStream.GetSize());
2901 wxPrintf(_T("Initially paused, after 2 seconds time is..."));
2904 wxPrintf(_T("\t%ldms\n"), sw.Time());
2906 wxPrintf(_T("Resuming stopwatch and sleeping 3 seconds..."));
2910 wxPrintf(_T("\telapsed time: %ldms\n"), sw.Time());
2913 wxPrintf(_T("Pausing agan and sleeping 2 more seconds..."));
2916 wxPrintf(_T("\telapsed time: %ldms\n"), sw.Time());
2919 wxPrintf(_T("Finally resuming and sleeping 2 more seconds..."));
2922 wxPrintf(_T("\telapsed time: %ldms\n"), sw.Time());
2961 wxPrintf(_T("%s%s"),
3005 wxPrintf(_T(" = %s"), value.c_str());
3051 wxPrintf(_T("Address %u:\n")
3106 wxPrintf(_T("Phone number %u:\n")
3143 wxPrintf(_T("Full name retrieved directly: %s\n"), value.c_str());
3151 wxPrintf(_T("Full name from wxVCard API: %s\n"), value.c_str());
3224 wxPrintf(_T("%u mounted volumes found:\n"), count);
3235 wxPrintf(_T("%u: %s (%s), %s, %s, %s\n"),
3321 wxPrintf(_T("ERROR: conversion to %s failed.\n"), u8d.charset);
3325 wxPrintf(_T("String in %s: %s\n"), u8d.charset, buf);
3332 wxPrintf(_T("String in current cset: %s\n"), s.c_str());
3356 wxPrintf(_T("The same KOI8-R string using wxEC: %s\n"), buf);
3382 wxPrintf(_T("Archive size: %u\n"), istr.GetSize());
3384 wxPrintf(_T("Dumping the file '%s':\n"), filename.c_str());
3407 wxPrintf(_T("ERROR: unexpected wxFileSystem::FindNext result\n"));
3412 wxPrintf(_T("%s%s\n"), indent.c_str(), dirname.c_str());
3425 wxPrintf(_T("ERROR: unexpected wxFileSystem::FindNext result\n"));
3430 wxPrintf(_T("%s%s\n"), indent.c_str(), filename.c_str());
3442 wxPrintf(_T("Dumping all files in the archive %s:\n"), TESTFILE_ZIP);
3468 wxPrintf(_T("Current year %d is %sa leap one and has %d days.\n"),
3474 wxPrintf(_T("Current month is '%s' ('%s') and it has %d days\n"),
3487 wxPrintf(_T("Current GMT time:\t%s\n"), now.Format(_T("%c"), wxDateTime::GMT0).c_str());
3488 wxPrintf(_T("Unix epoch (GMT):\t%s\n"), wxDateTime((time_t)0).Format(_T("%c"), wxDateTime::GMT0).c_str());
3489 wxPrintf(_T("Unix epoch (EST):\t%s\n"), wxDateTime((time_t)0).Format(_T("%c"), wxDateTime::EST).c_str());
3490 wxPrintf(_T("Current time in Paris:\t%s\n"), now.Format(_T("%c"), wxDateTime::CET).c_str());
3491 wxPrintf(_T(" Moscow:\t%s\n"), now.Format(_T("%c"), wxDateTime::MSK).c_str());
3492 wxPrintf(_T(" New York:\t%s\n"), now.Format(_T("%c"), wxDateTime::EST).c_str());
3494 wxPrintf(_T("%s\n"), wxDateTime::Now().Format(_T("Our timezone is %Z")).c_str());
3499 wxPrintf(_T("ERROR: got %s instead of %s\n"),
3511 wxPrintf(_T("Unix epoch:\t%s\n"),
3513 wxPrintf(_T("Feb 29, 0: \t%s\n"),
3515 wxPrintf(_T("JDN 0: \t%s\n"),
3517 wxPrintf(_T("Jan 1, 1AD:\t%s\n"),
3519 wxPrintf(_T("May 29, 2099:\t%s\n"),
3528 wxPrintf(_T("DST is%s in effect now.\n\n"),
3533 wxPrintf(_T("DST period in Europe for year %d: from %s to %s\n"),
3552 wxPrintf(_T("Enter a date: "));
3563 wxPrintf(_T("ERROR: failed to parse the date '%s'.\n"), buf);
3569 wxPrintf(_T("WARNING: parsed only first %u characters.\n"), p - buf);
3572 wxPrintf(_T("%s: day %u, week of month %u/%u, week of year %u\n"),
3594 wxPrintf(_T("Now = %s\n"), dt1.Format(_T("%H:%M:%S:%l")).c_str());
3595 wxPrintf(_T("UNow = %s\n"), dt2.Format(_T("%H:%M:%S:%l")).c_str());
3596 wxPrintf(_T("Dummy loop: "));
3612 wxPrintf(_T("UNow = %s\n"), dt2.Format(_T("%H:%M:%S:%l")).c_str());
3614 wxPrintf(_T("Loop executed in %s ms\n"), (dt2 - dt1).Format(_T("%l")).c_str());
3632 wxPrintf(_T("All holidays between %s and %s:\n"),
3638 wxPrintf(_T("\t%s\n"), hol[n].Format(format).c_str());
3651 wxPrintf(_T("Date %s: week day %s.\n"),
3680 wxPrintf(_T("ts1 = %s\tts2 = %s\n"),
3725 wxPrintf(_T("Line %d: %s\n"), line++, s.c_str());
3867 wxPrintf(_T("\nThread terminated with exit code %lu.\n"),
3979 wxPrintf(_T("Thread %lu has started running.\n"), GetId());
3984 wxPrintf(_T("Thread %lu starts to wait...\n"), GetId());
3991 wxPrintf(_T("Thread %lu finished to wait, exiting.\n"), GetId());
4037 wxPrintf(_T("Main thread: %u already running\n"), nRunning);
4048 wxPrintf(_T("Main thread: about to signal the condition.\n"));
4056 wxPrintf(_T("Main thread: about to broadcast the condition.\n"));
4091 wxPrintf(_T("Main program exit code: %ld.\n"),
4094 wxPrintf(_T("Thread exit code: %ld.\n"), (long)thread.Wait());
4113 wxPrintf(_T("%s: Thread #%d (%ld) starting to wait for semaphore...\n"),
4118 wxPrintf(_T("%s: Thread #%d (%ld) acquired the semaphore.\n"),
4123 wxPrintf(_T("%s: Thread #%d (%ld) releasing the semaphore.\n"),
4206 wxPrintf(_T("Another instance of the program is running, exiting.\n"));
4212 wxPrintf(_T("Press \"Enter\" to continue..."));
4217 wxPrintf(_T("Failed to init wxSingleInstanceChecker.\n"));
4314 wxPrintf(msg);
4433 wxPrintf(_T("This system has %d CPUs\n"), nCPUs);