|
ReactOS 0.4.16-dev-2104-gb84fa49
|
#include <direct.h>#include <fcntl.h>#include <io.h>#include <share.h>#include <stdarg.h>#include <sys/locking.h>#include <sys/types.h>#include <sys/utime.h>#include <time.h>#include <limits.h>#include "windef.h"#include "winbase.h"#include "wincon.h"#include "winternl.h"#include "winnls.h"#include "msvcrt.h"#include "mtdll.h"#include "wine/asm.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | ioinfo |
| struct | file_crit |
Macros | |
| #define | ALL_S_IREAD (_S_IREAD | (_S_IREAD >> 3) | (_S_IREAD >> 6)) |
| #define | ALL_S_IWRITE (_S_IWRITE | (_S_IWRITE >> 3) | (_S_IWRITE >> 6)) |
| #define | ALL_S_IEXEC (_S_IEXEC | (_S_IEXEC >> 3) | (_S_IEXEC >> 6)) |
| #define | MSVCRT_W_OK 0x02 |
| #define | MSVCRT_R_OK 0x04 |
| #define | WX_OPEN 0x01 |
| #define | WX_ATEOF 0x02 |
| #define | WX_READNL 0x04 /* read started with \n */ |
| #define | WX_PIPE 0x08 |
| #define | WX_DONTINHERIT 0x10 |
| #define | WX_APPEND 0x20 |
| #define | WX_TTY 0x40 |
| #define | WX_TEXT 0x80 |
| #define | MSVCRT_INTERNAL_BUFSIZ 4096 |
| #define | MSVCRT_MAX_FILES 2048 |
| #define | MSVCRT_FD_BLOCK_SIZE 32 |
| #define | EF_UTF8 0x01 |
| #define | EF_UTF16 0x02 |
| #define | EF_CRIT_INIT 0x04 |
| #define | EF_UNK_UNICODE 0x08 |
| #define | TOUL(x) (ULONGLONG)(x) |
| #define | LOCK_FILES() do { EnterCriticalSection(&MSVCRT_file_cs); } while (0) |
| #define | UNLOCK_FILES() do { LeaveCriticalSection(&MSVCRT_file_cs); } while (0) |
Enumerations | |
| enum | textmode { TEXTMODE_ANSI , TEXTMODE_UTF8 , TEXTMODE_UTF16LE } |
Variables | |
| static char | utf8_bom [3] = { 0xef, 0xbb, 0xbf } |
| static char | utf16_bom [2] = { 0xff, 0xfe } |
| ioinfo | MSVCRT___badioinfo = { INVALID_HANDLE_VALUE, WX_TEXT } |
| ioinfo * | MSVCRT___pioinfo [MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE] = { 0 } |
| FILE | MSVCRT__iob [_IOB_ENTRIES] = { { 0 } } |
| static file_crit * | MSVCRT_fstream [MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE] |
| static int | MSVCRT_max_streams = 512 |
| static int | MSVCRT_stream_idx |
| static int | MSVCRT_umask = 0 |
| static LONG | tmpnam_unique |
| static LONG | tmpnam_s_unique |
| static const ULONGLONG | WCEXE = TOUL('e') << 32 | TOUL('x') << 16 | TOUL('e') |
| static const ULONGLONG | WCBAT = TOUL('b') << 32 | TOUL('a') << 16 | TOUL('t') |
| static const ULONGLONG | WCCMD = TOUL('c') << 32 | TOUL('m') << 16 | TOUL('d') |
| static const ULONGLONG | WCCOM = TOUL('c') << 32 | TOUL('o') << 16 | TOUL('m') |
| static CRITICAL_SECTION | MSVCRT_file_cs = { &MSVCRT_file_cs_debug, -1, 0, 0, 0, 0 } |
| static CRITICAL_SECTION_DEBUG | MSVCRT_file_cs_debug |
| #define LOCK_FILES | ( | ) | do { EnterCriticalSection(&MSVCRT_file_cs); } while (0) |
| #define UNLOCK_FILES | ( | ) | do { LeaveCriticalSection(&MSVCRT_file_cs); } while (0) |
| Enumerator | |
|---|---|
| TEXTMODE_ANSI | |
| TEXTMODE_UTF8 | |
| TEXTMODE_UTF16LE | |
Definition at line 990 of file file.c.
Referenced by _access_s(), _searchenv_s(), access(), HaveSpool(), and MkDirs().
Definition at line 1052 of file file.c.
Referenced by chmod(), LoadFirewallPrefs(), OpenBookmarkFile(), OpenTmpBookmarkFile(), OpenTrace(), rw(), SaveHistory(), test_file_write_read(), and test_utf8().
| int CDECL _chsize | ( | int | fd, |
| __msvcrt_long | size | ||
| ) |
Definition at line 1663 of file file.c.
Referenced by chsize(), ftruncate(), rw(), and test_chsize().
Definition at line 1626 of file file.c.
Referenced by _chsize().
Definition at line 1219 of file file.c.
Referenced by _dup2(), _fclose_nolock(), _pipe(), _Success_(), _tutime(), _utime64(), _wfsopen(), _wpopen(), _wutime64(), anonymous_namespace{stat.cpp}::file_handle_traits::close(), close(), common_popen(), common_popen_nolock(), common_utime(), compat_close(), fclose(), install_from_unix_file(), main(), rd_close_file(), run_open_osfhandle(), rw(), test__creat(), test__popen(), test__sopen_dispatch(), test__sopen_s(), test_chsize(), test_file_write_read(), test_get_osfhandle(), test_lseek(), test_setmode(), and tmpfile().
Definition at line 1112 of file file.c.
Referenced by _fflush_nolock(), and _fflush_nolock_internal().
Definition at line 2693 of file file.c.
Referenced by creat(), test__creat(), and test_lseek().
Definition at line 1317 of file file.c.
Referenced by _wpopen(), DllMain(), dup(), test_std_stream_buffering(), test_std_stream_open(), and test_stdin().
Definition at line 1258 of file file.c.
Referenced by _dup(), _tWinMain(), DllMain(), dup2(), test_dup2(), test_stat(), test_std_stream_buffering(), test_std_stream_open(), and test_stdin().
Definition at line 1333 of file file.c.
Referenced by eof().
Definition at line 3773 of file file.c.
Referenced by _rmtmp(), common_freopen(), and fclose().
Definition at line 1373 of file file.c.
Referenced by __acrt_uninitialize_stdio(), msvcrt_free_io(), and test_fopen_fclose_fcloseall().
Definition at line 1847 of file file.c.
Referenced by _tWinMain(), ConStreamSetOSHandle(), and FTPRebuildConnectionInfo().
Definition at line 1201 of file file.c.
Referenced by _fclose_nolock(), fflush(), and setvbuf().
Definition at line 3877 of file file.c.
Definition at line 4027 of file file.c.
Referenced by fgetwchar(), and getwchar().
Definition at line 3819 of file file.c.
Referenced by _fgetc_nolock(), fgetc(), and test_filbuf().
| __msvcrt_long CDECL _filelength | ( | int | fd | ) |
Definition at line 1887 of file file.c.
Referenced by filelength(), File::length(), and test_chsize().
Definition at line 1925 of file file.c.
Referenced by __acrt_should_use_temporary_buffer(), __acrt_stdio_flush_nolock(), _fclose_nolock_internal(), _fflush_nolock_internal(), _fgetwc_nolock(), _fputwc_nolock_internal(), _fread_nolock_s(), _fwrite_nolock_internal(), _rewind_internal(), _ungetwc_nolock(), clearerr_s(), common_flush_and_write_nolock(), common_ftell_nolock(), common_ftell_read_mode_nolock(), common_ftell_translated_utf8_nolock(), common_refill_and_read_nolock(), ConStreamGetOSHandle(), ConWrite(), DllMain(), CCabinet::GetFileTimes(), GetPass(), File::length(), main(), PageCmd(), REGPROC_open_export_file(), test_fflush(), test_fopen_hints(), test_std_stream_open(), ungetwc_text_mode_nolock(), and write_buffer_nolock().
Definition at line 1174 of file file.c.
Referenced by __acrt_uninitialize(), __acrt_uninitialize_stdio(), msvcrt_free_io(), test_fflush(), and wmain().
Definition at line 5575 of file file.c.
Definition at line 4217 of file file.c.
Referenced by _putws(), fputwc(), fputws(), and puts_clbk_file_w().
Definition at line 4420 of file file.c.
Referenced by fread().
| int CDECL _fseek_nolock | ( | FILE * | file, |
| __msvcrt_long | offset, | ||
| int | whence | ||
| ) |
Definition at line 1618 of file file.c.
Referenced by rewind().
Definition at line 1585 of file file.c.
Referenced by _fseek_nolock(), and _fseeki64().
Definition at line 4288 of file file.c.
Referenced by fopen(), and test_fopen().
Definition at line 2017 of file file.c.
Definition at line 2030 of file file.c.
| int CDECL _fstat32i64 | ( | int | fd, |
| struct _stat32i64 * | buf | ||
| ) |
Definition at line 2044 of file file.c.
Definition at line 1934 of file file.c.
| int CDECL _fstat64i32 | ( | int | fd, |
| struct _stat64i32 * | buf | ||
| ) |
Definition at line 2058 of file file.c.
Definition at line 2003 of file file.c.
Definition at line 4672 of file file.c.
Referenced by _fseeki64(), fgetpos(), and ftell().
Definition at line 4686 of file file.c.
Referenced by _fseeki64_nolock(), and _ftelli64().
| int CDECL _futime32 | ( | int | fd, |
| struct __utimbuf32 * | t | ||
| ) |
| int CDECL _futime64 | ( | int | fd, |
| struct __utimbuf64 * | t | ||
| ) |
Definition at line 2072 of file file.c.
Referenced by _futime32(), _utime64(), and _wutime64().
Definition at line 5667 of file file.c.
Definition at line 5693 of file file.c.
Definition at line 4143 of file file.c.
Referenced by _fputwc_nolock(), fputs(), fputws(), fwrite(), puts(), and puts_clbk_file_w().
Definition at line 2117 of file file.c.
Referenced by _chsize_nolock_internal(), _commit(), _dup2_nolock_internal(), _getch(), _wpopen(), close_os_handle_nolock(), common_futime(), common_lseek_nolock(), ConStreamGetOSHandle(), do_spawnT(), duplicate_osfhnd(), fork_helper(), has_sequential_hint(), locking_nolock(), stream_is_at_end_of_file_nolock(), test__popen_child(), test_close(), test_get_osfhandle(), test_invalid_stdin_child(), test_ioinfo_flags(), and test_stdin().
Definition at line 3994 of file file.c.
Referenced by test_readmode().
Definition at line 858 of file file.c.
Referenced by __acrt_should_use_temporary_buffer(), _read_nolock(), _write(), add_std_buffer(), GetPass(), gl_init(), isatty(), msvcrt_alloc_buffer(), and write_requires_double_translation_nolock().
Definition at line 1487 of file file.c.
Referenced by __acrt_lock_stream_and_call(), _fclose_internal(), _filbuf(), _fputc_internal(), _fputwc_internal(), _fseeki64(), _ftelli64(), _getw(), _getws(), _putw(), _putws(), _rewind_internal(), _rmtmp(), clearerr(), clearerr_s(), common_freopen(), common_fseek(), common_ftell(), fclose(), fflush(), fgetc(), fgets(), fgetwc(), fgetws(), fputc(), fputs(), fputwc(), fputws(), fread(), fread_s(), fsetpos(), fwrite(), gets(), gets_s(), __crt_stdio_stream::lock(), puts(), puts_clbk_file_w(), rewind(), setvbuf(), throw(), ungetc(), ungetwc(), vfprintf(), vfprintf_helper(), vfprintf_s(), vfwprintf(), vfwprintf_helper(), and vfwprintf_s().
| int CDECL _locking | ( | int | fd, |
| int | mode, | ||
| __msvcrt_long | nbytes | ||
| ) |
Definition at line 1513 of file file.c.
Referenced by locking().
| __msvcrt_long CDECL _lseek | ( | int | fd, |
| __msvcrt_long | offset, | ||
| int | whence | ||
| ) |
Definition at line 1479 of file file.c.
Referenced by _filelength(), _tell(), _write(), lseek(), rd_lseek_file(), rw(), test__creat(), test_chsize(), test_fflush(), test_file_write_read(), and test_lseek().
Definition at line 1432 of file file.c.
Referenced by _chsize_s(), _filelengthi64(), _fseeki64(), _fseeki64_nolock(), _ftelli64(), _ftelli64_nolock(), _lseek(), _telli64(), fsetpos(), and write_buffer_nolock().
Definition at line 2176 of file file.c.
Referenced by mktemp(), test_mktemp(), and test_utf8().
Definition at line 2130 of file file.c.
Referenced by test_utf8().
Definition at line 2655 of file file.c.
Referenced by _creat(), _utime64(), compat_open(), install_from_unix_file(), main(), rd_open_file(), rw(), test__popen(), test__sopen_s(), test_chsize(), test_file_write_read(), test_get_osfhandle(), test_ioinfo_flags(), test_setmode(), and tmpfile().
Definition at line 2711 of file file.c.
Referenced by _tWinMain(), ConStreamSetOSHandle(), run_open_osfhandle(), test__open_osfhandle(), and test_close().
Definition at line 2323 of file file.c.
Referenced by _wpopen(), common_popen(), fork_helper(), test_file_inherit(), test_pipes(), and test_stat().
Definition at line 3127 of file file.c.
Referenced by _filbuf(), _fread_nolock(), common_refill_and_read_nolock(), fread(), rd_read_file(), read(), read_pipe_thread(), rw(), test__creat(), and test_file_write_read().
Definition at line 2748 of file file.c.
Definition at line 3146 of file file.c.
Definition at line 2633 of file file.c.
Referenced by _open(), and test_get_osfhandle().
| int CDECL _sopen_dispatch | ( | const char * | path, |
| int | oflags, | ||
| int | shflags, | ||
| int | pmode, | ||
| int * | fd, | ||
| int | secure | ||
| ) |
Definition at line 2606 of file file.c.
Referenced by _sopen(), _sopen_s(), and test__sopen_dispatch().
Definition at line 2625 of file file.c.
Referenced by _sopen(), _Success_(), and test__sopen_s().
| __msvcrt_long CDECL _tell | ( | int | fd | ) |
Definition at line 3433 of file file.c.
Referenced by _ftelli64(), _ftelli64_nolock(), and test_std_stream_buffering().
Definition at line 3441 of file file.c.
Referenced by test__popen(), test__sopen_dispatch(), test__sopen_s(), test_chsize(), test_ctrlz(), test_fflush(), test_fgetc(), test_fgetwc(), test_file_put_get(), test_file_write_read(), test_flsbuf(), test_fputc(), test_iobuf_layout(), test_ioinfo_flags(), test_utf8(), test_write_flush(), and tmpfile().
Definition at line 1085 of file file.c.
Referenced by remove(), test___getmainargs(), test___getmainargs_parent(), test__popen(), test__wfopen_s(), test_chsize(), test_fopen_fclose_fcloseall(), test_fopen_s(), test_fputwc(), test_get_osfhandle(), test_setmode(), test_unlink(), and unlink().
Definition at line 1499 of file file.c.
Referenced by __acrt_lock_stream_and_call(), _fclose_internal(), _filbuf(), _fputc_internal(), _fputwc_internal(), _fseeki64(), _ftelli64(), _getw(), _getws(), _putw(), _putws(), _rewind_internal(), _rmtmp(), clearerr(), clearerr_s(), common_freopen(), common_fseek(), common_ftell(), fclose(), fflush(), fgetc(), fgets(), fgetwc(), fgetws(), fputc(), fputs(), fputwc(), fputws(), fread(), fread_s(), fsetpos(), fwrite(), gets(), gets_s(), puts(), puts_clbk_file_w(), rewind(), setvbuf(), throw(), ungetc(), ungetwc(), __crt_stdio_stream::unlock(), vfprintf(), vfprintf_helper(), vfprintf_s(), vfwprintf(), vfwprintf_helper(), and vfwprintf_s().
Definition at line 3497 of file file.c.
Referenced by _utime32().
Definition at line 5463 of file file.c.
Referenced by _fprintf_l().
Definition at line 5481 of file file.c.
Referenced by _fprintf_p(), _fprintf_p_l(), and _vfprintf_p().
Definition at line 5331 of file file.c.
Referenced by _fprintf_s_l(), and vfprintf_s().
Definition at line 5472 of file file.c.
Referenced by _fwprintf_l().
Definition at line 5499 of file file.c.
Referenced by _fwprintf_p(), _fwprintf_p_l(), and _vfwprintf_p().
Definition at line 5340 of file file.c.
Referenced by _fwprintf_s_l(), and vfwprintf_s().
Definition at line 1017 of file file.c.
Referenced by _access(), and _waccess_s().
Definition at line 1066 of file file.c.
Referenced by _chmod().
Definition at line 1863 of file file.c.
Definition at line 4335 of file file.c.
Referenced by _wfopen_s(), compat_fopen(), DoCreateTestFile(), DoEntry(), DosBIOSInitialize(), ImportRegistryFile(), LoadBootIni(), LoadSystemIni(), OpenHostsFile(), PerformRegAction(), ReadFromFile(), reg_import(), REGPROC_open_export_file(), ResourceToFile(), ResourceToFileW(), RunScript(), SHPropertyBag_OnIniFile(), START_TEST(), Test_DelNodeW(), Test_PathProcessCommand(), TEST_Start(), txt_open_export_file(), wmain(), wWinMain(), and XCOPY_ProcessExcludeFile().
Definition at line 4578 of file file.c.
Referenced by _wfreopen_s(), DllMain(), and freopen().
Definition at line 4605 of file file.c.
Definition at line 4254 of file file.c.
Referenced by _fsopen(), _wfopen(), LoadIniFile(), test_fopen(), and WriteIniFile().
Definition at line 2260 of file file.c.
Definition at line 2674 of file file.c.
Referenced by _wcreat(), _wfreopen(), _wutime64(), compat_open(), and gz_open().
Definition at line 4993 of file file.c.
Referenced by rename().
Definition at line 3561 of file file.c.
Referenced by _flsbuf(), _fwrite_nolock(), _putw(), configure_text_mode(), fwrite(), msvcrt_flush_buffer(), perror(), rd_write_file(), rw(), test__creat(), test_chsize(), test_file_inherit(), test_file_write_read(), test_lseek(), and write().
Definition at line 2583 of file file.c.
Referenced by _wfsopen(), and _wopen().
| int CDECL _wsopen_dispatch | ( | const wchar_t * | path, |
| int | oflags, | ||
| int | shflags, | ||
| int | pmode, | ||
| int * | fd, | ||
| int | secure | ||
| ) |
Definition at line 2397 of file file.c.
Referenced by _sopen_dispatch(), _wsopen(), and _wsopen_s().
Definition at line 2575 of file file.c.
Referenced by _sopen_s(), and _wsopen().
Definition at line 3276 of file file.c.
Definition at line 3464 of file file.c.
Referenced by _tempnam().
Definition at line 5182 of file file.c.
Definition at line 1099 of file file.c.
Referenced by _unlink(), _wremove(), and test_utf8().
Definition at line 893 of file file.c.
Referenced by fputws(), vfprintf_helper(), and vfwprintf_helper().
Definition at line 427 of file file.c.
Referenced by get_ioinfo_alloc(), and get_ioinfo_alloc_fd().
Definition at line 2373 of file file.c.
Referenced by _wsopen_dispatch(), _wsopen_s(), and configure_text_mode().
Definition at line 1672 of file file.c.
Referenced by read_mbr_template(), rewind(), test_fileops(), and ungetc().
Definition at line 3757 of file file.c.
Referenced by __CloseHandle(), _fcloseall(), _Filebuf_base::_M_close(), _pclose(), _rmtmp(), _wfreopen(), _wpopen(), abort(), CCabinet::AddFile(), check_atari(), check_bitmap_data(), check_file_size(), check_for_files(), CheckForNewV3User(), checkSsiByFilelist(), cleanReq(), File::close(), CCabinet::Close(), anonymous_namespace{popen.cpp}::stream_traits::close(), close_backing_store(), close_file(), close_log_files(), close_merge_image(), CloseBookmarkFile(), CloseFile(), CloseTrace(), CCabinet::CommitDisk(), compare_export_(), compat_fclose(), concat_files(), config_load(), copy_file(), create_cache(), create_nls_file(), create_output_file(), create_sic(), CreateCaseDiff(), CreateSpecFile(), DbgHelpAddLineNumber(), CCFDATAStorage::Destroy(), disk_cleanup(), DllMain(), DoCreateTestFile(), DoEntry(), DoParsing(), DosBIOSInitialize(), DoTestEntry(), EndLog(), endnetconfig(), endrpcent(), errconfig(), export_all(), export_key(), export_registry_key(), ExportBinaryHive(), extract_test(), CCabinet::ExtractFile(), fclose_file_func(), file_exists(), fileClient(), FileExists(), ForF(), gen_add_list(), Generate(), generate_xa_rr_attributes(), get_file_data(), get_ImageBase(), get_list_blocks(), get_subtests(), GetHostnameFromCommand(), getICMPStats(), getnetconfigent(), getnetid(), GetOurHostName(), getpublicandprivatekey(), getSection(), gl_check_inputrc_for_vi(), gl_histloadfile(), gl_histsavefile(), import_certs_from_file(), ImportRegistryFile(), InfHostOpenFile(), InfHostWriteFile(), init(), init_leases_list(), init_logger_addr(), TScript::initScript(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), CDFParser::Load(), Load_CP2Unicode_Table(), load_file(), Load_OEM2Unicode_Table(), LoadBootIni(), tinyxml2::XMLDocument::LoadFile(), LoadFile(), LoadFirewallPrefs(), LoadIniFile(), LoadPrefs(), LoadSystemIni(), log_file(), logMess(), LogOpen(), LogXfer(), lwip_fuzztest(), main(), MainWndProc(), myClose(), of_help(), open_input_file(), OpenBookmarkFile(), openSection(), OpenTmpBookmarkFile(), parse_switches(), parseAndPrintFile(), TANSIParser::ParseEscapeANSI(), PerformRegAction(), TANSIParser::PrintBuffer(), processRequest(), PutBookmark(), read_cache(), read_file(), read_input_file(), read_JPEG_file(), read_mbr_template(), read_quant_tables(), read_rcfile(), readAllPolygons(), readconfig(), ReadFromFile(), ReadHostsFile(), readSection(), recvrequest(), reg_import(), remglob(), ResourceToFile(), ResourceToFileW(), RunBookmarkEditor(), RunScript(), ruserpass(), tinyxml2::XMLDocument::SaveFile(), SavePrefs(), SdbCloseDatabase(), select_file_name(), send_file(), sendrequest(), ServiceMain(), set_LogFile(), CCabinet::SetCabinetReservedFile(), SHPropertyBag_OnIniFile(), SpoolX(), START_TEST(), FstreamTest::tellp(), test___getmainargs(), test___getmainargs_parent(), test__wfopen_s(), test_asciimode(), test_asciimode2(), test_ctrlz(), Test_DelNodeA(), Test_DelNodeW(), test_fdopen(), test_fflush(), test_fgetc(), test_fgetwc(), test_fgetwc_locale(), test_fgetwc_unicode(), test_filbuf(), test_file_put_get(), test_file_truncate(), test_filemodeT(), test_fileops(), test_flsbuf(), test_fopen(), test_fopen_exclusive(), test_fopen_fclose_fcloseall(), test_fopen_hints(), test_fopen_s(), test_fprintf(), test_fputc(), test_fputwc(), test_freopen(), test_fscanf(), test_fwprintf(), test_invalid_stdin_child(), test_iobuf_layout(), Test_PathProcessCommand(), test_pipes(), test_readboundary(), test_readmode(), test_searchenv(), TEST_Start(), test_std_stream_open(), test_unlink(), test_utf8(), test_write_flush(), CCFDATAStorage::Truncate(), txt_export_all(), txt_export_key(), unpack_iso(), verify_output_file(), wmain(), wpp_parse(), write_casemap_file(), write_client(), write_dlldata(), write_dlldata_list(), write_header(), write_id_data(), write_if_change(), write_JPEG_file(), write_local_stubs(), write_one_file(), write_proxies(), write_regscript(), write_server(), directedLine::writeAllPolygons(), CCabinet::WriteFileToScratchStorage(), WriteIniFile(), XCOPY_ProcessExcludeFile(), xkeymap_from_locale(), xkeymap_read(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemoryDump(), xsltDocumentElem(), CDFParser::~CDFParser(), FileReporter::~FileReporter(), and TANSIParser::~TANSIParser().
Definition at line 3803 of file file.c.
Referenced by _getw(), _tmain(), cmdscanner(), dumpHex(), dumpStr(), File::eof(), get_list_blocks(), init_leases_list(), LoadBootIni(), LoadIniFile(), LoadSystemIni(), main(), processRegLines(), readline(), test_ctrlz(), test_fileops(), test_pipes(), test_readmode(), token(), and XCOPY_ProcessExcludeFile().
Definition at line 3811 of file file.c.
Referenced by __ReadFile(), _getw(), _putw(), check_file_size(), cmdscanner(), create_output_file(), ferror_file_func(), filewrite(), gl_file(), tinyxml2::XMLDocument::LoadFile(), main(), printer_write(), printline(), printusage(), processRegLines(), read_mbr_template(), read_rcfile(), recvrequest(), sendrequest(), test_file_truncate(), test_pipes(), verify_output_file(), wmain(), and write_dlldata().
Definition at line 1182 of file file.c.
Referenced by alarm_intr(), cd(), cdup(), check_blocks(), cmdabort(), cmdscanner(), CmpFileFlush(), command(), confirm(), dataconn(), delete(), disk_ioctl(), do_chmod(), domacro(), domap(), doproxy(), dprintf(), eprintf(), Error(), fclose(), fsetmode(), get_key(), GetCmd(), getit(), GetPass(), getreply(), globulize(), help(), hookup(), initconn(), InputChar(), InteractiveConsole(), lcd(), LocalListCmd(), log_debug(), log_hexdump(), login(), logMess(), ls(), lwip_fuzztest(), macdef(), main(), makedir(), mdelete(), mget(), mls(), modtime(), MonitorChildThread(), mput(), msvcrt_flush_all_buffers(), NcFTPConfirmResumeDownloadProc(), NcFTPConfirmResumeUploadProc(), newer(), OpenMsg(), OpenPager(), PrintF(), PrintStartupBanner(), PromptForBookmarkName(), proxtrans(), PrPhilBar(), PrStatBar(), ptransfer(), put(), PutCmd(), pwd(), query_done(), quote(), recvrequest(), remglob(), removedir(), rename_file(), renamefile(), restart(), rewrite_client_leases(), SaveCurrentAsBookmark(), SaveUnsavedBookmark(), sendrequest(), SendTelnetInterrupt(), serial_create(), setbell(), setcase(), setcr(), setdebug(), setform(), setglob(), sethash(), setnmap(), setntrans(), setpassive(), setpeer(), setport(), setprompt(), setrunique(), setstruct(), setsunique(), settrace(), settype(), setvbuf(), setverbose(), shell(), site(), sizecmd(), START_TEST(), status(), test_fflush(), test_std_stream_buffering(), test_write_flush_size(), throw(), usage(), user(), wintirpc_debug(), write_client_lease(), write_one_file(), WriteBmLine(), xdrstdio_destroy(), and FileReporter::~FileReporter().
Definition at line 3863 of file file.c.
Referenced by _fgetchar(), _getw(), dumpHex(), dumpStr(), fgets(), fgetwc(), fileClient(), File::get(), getc(), getchar(), gets(), tinyxml2::XMLDocument::LoadFile(), main(), test_asciimode(), test_fgetc(), test_fgetwc(), test_fileops(), test_flsbuf(), test_readboundary(), translate_files(), stdio_istreambuf::uflow(), and stdio_istreambuf::underflow().
Definition at line 4758 of file file.c.
Referenced by test_filbuf(), test_fileops(), and test_write_flush_size().
Definition at line 3903 of file file.c.
Referenced by _tmain(), check_atari(), CheckForNewV3User(), config_load(), create_cache(), create_sic(), CreateCaseDiff(), EndLog(), FGets(), fgetws(), find_str(), gen_add_list(), get_pnames(), GetHostnameFromCommand(), getICMPStats(), File::getline(), getnetconfig(), getnetconfigent(), getnetid(), GetOurHostName(), getpublicandprivatekey(), getrpcent(), getSection(), gl_check_inputrc_for_vi(), gl_histloadfile(), import_base64_certs_from_fp(), init_logger_addr(), InteractiveConsole(), Load_CP2Unicode_Table(), Load_OEM2Unicode_Table(), LocalListCmd(), log_file(), login(), main(), NcFTPConfirmResumeDownloadProc(), NcFTPConfirmResumeUploadProc(), NextLine(), openSection(), ProcessFirewallPrefFile(), ProcessPrefsFile(), read_cache(), read_password(), read_rcfile(), ReadHostsFile(), Readline(), readline(), readSection(), remglob(), rename_file(), SaveCurrentAsBookmark(), SaveUnsavedBookmark(), test__popen(), test__popen_read_child(), test_asciimode(), test_ctrlz(), test_file_put_get(), test_fileops(), test_fprintf(), test_fwprintf(), Test_popen(), test_readmode(), translate_files(), user(), widl_getline(), and xkeymap_read().
Definition at line 3935 of file file.c.
Referenced by _fgetwchar(), _getws(), fgetws(), getwc(), test_fgetwc_locale(), and test_fgetwc_unicode().
Definition at line 4043 of file file.c.
Referenced by DosBIOSInitialize(), FindString(), InterpretInteractive(), InterpretMain(), LoadBootIni(), LoadIniFile(), LoadSystemIni(), ReadFromFile(), RunScript(), test_fgetwc(), test_file_put_get(), test_fileops(), test_fwprintf(), wmain(), and XCOPY_ProcessExcludeFile().
|
static |
Definition at line 270 of file file.c.
Referenced by _lock_file(), _unlock_file(), msvcrt_alloc_fp(), msvcrt_free_io(), and msvcrt_init_io().
Definition at line 4310 of file file.c.
Referenced by CCabinet::AddFile(), tinyxml2::callfopen(), check_atari(), check_bitmap_data(), check_for_files(), CheckForNewV3User(), checkSsiByFilelist(), CCabinet::CommitDisk(), compare_export_(), compat_fopen(), concat_files(), config_load(), copy_file(), CCFDATAStorage::Create(), create_cache(), create_nls_file(), CreateCaseDiff(), DbgHelpAddLineNumber(), disk_openimage(), DoEntry(), DoTestEntry(), EndLog(), ExportBinaryHive(), extract_test(), CCabinet::ExtractFile(), file_exists(), fileClient(), FileExists(), FileReporter::FileReporter(), fopen_file_func(), fopen_s(), gen_add_list(), Generate(), generate_xa_rr_attributes(), get_file_data(), get_ImageBase(), get_list_blocks(), get_subtests(), GetHostnameFromCommand(), getICMPStats(), getnetconfigent(), getnetid(), GetOurHostName(), getpublicandprivatekey(), getrpcent(), getSection(), gl_check_inputrc_for_vi(), gl_histloadfile(), gl_histsavefile(), InfHostOpenFile(), InfHostWriteFile(), init(), init_client(), init_leases_list(), init_logger_addr(), init_proxy(), init_server(), TScript::initScript(), jpeg_open_backing_store(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), CDFParser::Load(), Load_CP2Unicode_Table(), load_file(), Load_OEM2Unicode_Table(), LoadFile(), LoadFirewallPrefs(), LoadPrefs(), log_file(), logMess(), LogOpen(), LogXfer(), lwip_fuzztest(), main(), MainWndProc(), CCabinet::Open(), File::open(), open_input_file(), open_log_files(), open_merge_image(), OpenBookmarkFile(), openSection(), OpenTmpBookmarkFile(), OpenTrace(), parse_switches(), parseAndPrintFile(), TANSIParser::ParseEscapeANSI(), pfopen(), pp_open_include(), processRequest(), read_cache(), read_file(), read_input_file(), read_JPEG_file(), read_mbr_template(), read_quant_tables(), read_rcfile(), readAllPolygons(), readconfig(), recvrequest(), remglob(), ResourceToFile(), rewrite_client_leases(), RunBookmarkEditor(), ruserpass(), SavePrefs(), SdbpCreate(), select_file_name(), send_file(), sendrequest(), set_LogFile(), CCabinet::SetCabinetReservedFile(), setnetconfig(), setrpcent(), SpoolX(), START_TEST(), TANSIParser::TANSIParser(), FstreamTest::tellp(), test___getmainargs(), test___getmainargs_parent(), test__wfopen_s(), test_asciimode(), test_asciimode2(), test_ctrlz(), Test_DelNodeA(), test_fflush(), test_fgetc(), test_fgetwc(), test_fgetwc_locale(), test_fgetwc_unicode(), test_filbuf(), test_file_put_get(), test_filemodeT(), test_fileops(), test_flsbuf(), test_fopen_exclusive(), test_fopen_fclose_fcloseall(), test_fopen_hints(), test_fopen_s(), test_fprintf(), test_fputc(), test_fputwc(), test_freopen(), test_fscanf(), test_fwprintf(), test_iobuf_layout(), test_readboundary(), test_searchenv(), test_std_stream_open(), test_unlink(), test_utf8(), test_write_flush(), CCFDATAStorage::Truncate(), unpack_iso(), wintirpc_debug(), wpp_parse(), write_casemap_file(), write_client_lease(), write_dlldata(), write_dlldata_list(), write_header(), write_id_data(), write_if_change(), write_JPEG_file(), write_local_stubs(), write_one_file(), write_regscript(), directedLine::writeAllPolygons(), CCabinet::WriteFileToScratchStorage(), CDFParser::WriteInfLine(), xkeymap_open(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemoryDump(), and xsltDocumentElem().
Definition at line 4318 of file file.c.
Referenced by tinyxml2::callfopen(), CreateSpecFile(), and FileReporter::FileReporter().
Definition at line 5549 of file file.c.
Referenced by __report_error(), __rpc_broadenable(), __rpcb_findaddr_timed(), __xprt_do_unregister(), _amsg_exit(), _assert(), _chm_decompress_block(), _getgroups(), _getopt_internal_r(), _svcauth_gss(), _TIFFPrettyPrintField(), _TIFFprintAsciiBounded(), _TIFFprintAsciiTag(), _TIFFPrintField(), _TIFFPrintFieldInfo(), _vwarnx(), aargh(), abort(), add_cache(), add_hash(), adns__vdiag(), adnsfail(), ApplyOrdinals(), arg_get_long(), arg_get_utf8(), assign_file_addresses(), assign_stub_out_args(), attributeDeclDebug(), authgss_create(), authgss_create_default(), authgss_destroy(), authgss_validate(), BackToTop(), bezierPatchMeshMake(), bezierPatchMeshNumTriangles(), bezierPatchMeshPutPatch(), buffered_fullread(), build_huffman_tree(), build_tree(), byte_till_end(), cdataBlockDebug(), change_section_attribs(), charactersDebug(), chat(), check_cache(), check_entropy(), check_for_files(), check_lame_tag(), CheckForNewV3User(), checkRecv(), CheckTestFile(), chmc_add_entry(), chmc_crunch_lzx(), chmc_section_create(), clear_output_vars(), ClickProc(), clnt_cb_thread(), clnt_pcreateerror(), clnt_perrno(), clnt_perror(), clnt_vc_create(), clnt_vc_destroy(), CloseTrace(), CommandShell(), commentDebug(), configparseerr(), ConvertCoffs(), ConvertStabs(), create_cache(), CreateOutputFile(), CreateSpecFile(), CreateTestDir(), CreateTestFile(), directedLine::cutoffPolygon(), dataconn(), DBG_check(), DbgHelpAddLineNumber(), DbgHelpAddStringToTable(), debug_error(), declare_stub_args(), decode_header(), decode_the_frame(), decodeA(), die(), disk_enum_devices(), display_dhcp_packet(), RdpClientUI::Display_DrawText(), DliFailureHook(), do_layer2(), do_rva(), do_write_c_method_def(), dprintf(), dump_tree(), dump_var_desc(), DumpCharacterFontData(), DumpFont(), dumpHex(), dumpStr(), dumptype(), elementDeclDebug(), encodeA(), FileReporter::end(), end_cplusplus_guard(), endDocumentDebug(), endElementDebug(), endElementNsDebug(), OpenGLSurfaceEvaluator::endmap2f(), endnetpath(), entityDeclDebug(), eprintf(), error(), FileReporter::error(), Error(), ErrorExit(), ErrorHook(), Slicer::evalStream(), ewmh_get_window_desktop(), ExecuteKill(), externalSubsetDebug(), failure_errno(), failure_status(), fatal_error(), Fatalv(), file_put_ascii(), file_write(), file_write_http_header(), fileClient(), fill_boot_desc(), find_lease(), find_match_at(), find_or_create_directory(), fputcSocket(), fputSocket(), frame_buffercheck(), frame_cpu_opt(), free_variable(), fs_flush(), FTC_MruNode_Prepend(), FTC_MruNode_Remove(), FTC_MruNode_Up(), FTPPerror(), gen_proxy(), gen_stub(), gen_stub_thunk(), Generate(), generate_one_directory(), generate_xa_rr_attributes(), generic_msg(), get_current_desktop(), get_current_workarea(), get_property_value(), getbits(), getclnthandle(), GetCmd(), getEntityDebug(), GetExportsFromFile(), getnetconfig(), getnetconfigent(), getnetid(), getopt(), Getopt(), getpacket(), getParameterEntityDebug(), getpublicandprivatekey(), gl_histsavefile(), gluNurbsSurface(), hasExternalSubsetDebug(), hasInternalSubsetDebug(), help(), HexDump(), hookup(), ignorableWhitespaceDebug(), III_get_side_info(), indent(), init_begin(), init_finish(), init_server(), InitConnectionInfo(), InitUserInfo(), insert_file_entry(), internalSubsetDebug(), iso_connect(), isohybrid_error(), isohybrid_warning(), isStandaloneDebug(), Jobs(), kbd_c(), kbd_def(), kbd_h(), kbd_rc(), KmtUnloadDriver(), KmtUnloadDriverKeepService(), LIBXML_ATTR_FORMAT(), ListCmd(), LocalChdirCmd(), LocalListCmd(), log_debug(), log_hexdump(), login(), logMess(), LogOpen(), LogXfer(), Ls(), Ls1(), LsC(), LsL(), lz_analyze_block(), lz_compress(), lzx_compress_block(), lzx_output_literal(), lzx_output_match(), lzx_write_bits(), lzx_write_compressed_literals(), lzx_write_compressed_tree(), main(), make_listening_socket(), make_temp_dir(), make_temp_file(), MakeArgv(), MC_sweepY(), merge_remaining_entries(), MergeStabsAndCoffs(), FileReporter::message(), MlsCmd(), mpg123_fmt2(), mpg123_fmt_all(), mpg123_fmt_none(), msg(), msg_spy_find_next_msg(), nanox_event(), nc_perror(), netfinger(), next_marker(), normalize(), notationDeclDebug(), OnCreate(), OOM(), OpenBookmarkFile(), OpenCmd(), OpenMsg(), OpenTmpBookmarkFile(), OpenTrace(), option_callback(), out_params(), OutOfMemory(), output_message(), Output_stublabel(), OutputAlias(), OutputError(), OutputHeader_asmstub(), OutputHeader_def(), OutputHeader_stub(), OutputLine_asmstub(), OutputLine_def(), OutputLine_def_GCC(), OutputLine_def_MS(), OutputLine_stub(), PageCmd(), parse_arguments(), parse_cmdlineargs(), parse_dhcp_options(), parse_new_id3(), parse_switches(), parseAndPrintFile(), ParseFile(), parsePath(), pdie(), pipeClient(), pipeServer(), PlotCharacter(), pp_add_macro(), pp_internal_error(), pp_pop_if(), pp_push_if(), PredictorPrintDir(), PreInit(), print(), print_access_mask(), print_condwait_status(), print_create_attributes(), print_disconnect_reason(), print_disposition(), print_dnsfail(), print_error(), print_file_id_both_dir_info(), print_hexbuf(), print_hexbuf_no_asci(), print_phase_basetype(), print_rpc_gss_sec(), print_share_mode(), print_sr_status_flags(), print_text_marker(), PrintHosts(), printline(), PrintName(), PrintNameOrImpName(), PrintNameTable(), printopts(), PrintStartupBanner(), FileReporter::printSummary(), PrintUsage(), process_comment(), process_data(), process_dhcp_packet(), process_extra(), process_file(), process_long_option(), process_picture(), RequestHandler::process_request(), process_text(), processingInstructionDebug(), ProcessRelocations(), proclog(), FileReporter::progress(), promote_framename(), proxy_free_variables(), PrPhilBar(), PrSizeAndRateMeter(), PrStatBar(), PutBookmark(), PutCmd(), rdp2vnc_connect(), rdpsnd_process_negotiate(), read_frame(), read_JPEG_file(), read_merging_directory(), read_password(), read_quant_tables(), read_rcfile(), read_stdin(), recvrequest(), referenceDebug(), registerNode(), release_lease(), resolveEntityDebug(), rpc_broadcast_exp(), WriterThread::Run(), run_rapps(), RunBatch(), RunBookmarkEditor(), ruserpass(), SaveCurrentAsBookmark(), SavePrefs(), scan_directory_tree(), search_tree_file(), select_transform(), sendrequest(), SendTelnetInterrupt(), ServeOneClient(), Server(), set_quant_slots(), set_sample_factors(), SetAnonPass(), SetAutoAscii(), SetAutoResume(), SetAutoSaveChangesToExistingBookmarks(), SetConfirmClose(), SetConnTimeout(), SetCtrlTimeout(), setDocumentLocatorDebug(), SetLogSize(), SetNoAds(), SetOneTimeMessages(), SetPager(), SetPassive(), SetRedialDelay(), SetSavePasswords(), SetSOBufsize(), SetStartupURL(), setup_tables(), SetXferTimeout(), SetXtermTitle(), SetXtTitle(), showVersion(), sic_list(), skip_junk(), sort_n_finish(), SpoolGetCmd(), SpoolPutCmd(), SpoolX(), start_cplusplus_guard(), START_TEST(), startDocumentDebug(), startElementDebug(), startElementNsDebug(), sunboot_write(), susage(), svc_getreqset(), svcauth_gss_accept_sec_context(), sweepY(), synth_ntom_set_step(), sysfail(), test_decodeNameConstraints(), test_fprintf(), test_fscanf(), test_iobuf_layout(), TEST_Start(), test_std_stream_buffering(), testSAX(), textAsk(), textDelta(), textStep(), TIFFPrintDirectory(), TIM_SORT_RESIZE(), Trace(), try_query_param(), try_start_stop(), tx_compress_dxtn(), ui_create_window(), ui_draw_text(), unimpl(), unixErrorHandler(), unixWarningHandler(), unparsedEntityDeclDebug(), RequestHandler::urldec(), usage(), Usage(), usageerr(), user(), userlist(), verr(), verrx(), vwarn(), vwarnx(), WaitForConnect(), warning(), wave_out_close(), wave_out_open(), wave_out_set_format(), wave_out_volume(), wave_out_write(), wetwork(), Win32ErrorHandler(), Win32WarningHandler(), WindowThreadProc(), WinMain(), wmain(), wpp_parse(), write_apicontract(), write_apicontract_guard_end(), write_apicontract_guard_start(), write_args(), write_checksums(), write_client_call_routine(), write_client_func_decl(), write_client_ifaces(), write_client_lease(), write_client_routines(), write_clientinterfacedecl(), write_coclass(), write_coclass_forward(), write_com_interface_end(), write_com_interface_start(), write_context_handle_rundowns(), write_cpp_method_def(), write_declaration(), write_dispatchtable(), write_dlldata_list(), write_endpoints(), write_enums(), write_exceptions(), write_expr(), write_expr_eval_routine_list(), write_expr_eval_routines(), write_fields(), write_files(), write_formatstringsdecl(), write_forward(), write_full_pointer_free(), write_full_pointer_init(), write_func_param_struct(), write_function_proto(), write_function_stub(), write_generic_handle_routines(), write_guid(), write_header(), write_header_stmts(), write_id_data(), write_id_guid(), write_if_change(), write_implicithandledecl(), write_import(), write_inline_wrappers(), write_ip_tfs(), write_JPEG_file(), write_library(), write_line(), write_local_stubs(), write_locals(), write_method_macro(), write_method_proto(), write_nonsimple_pointer(), write_one_file(), write_packet(), write_parameter_conf_or_var_exprs(), write_parameterized_implementation(), write_parameterized_type_forward(), write_parameters_init(), write_pointer_left(), write_proxy(), write_proxy_routines(), write_remoting_arg(), write_rpc_interface_end(), write_rpc_interface_start(), write_runtimeclass(), write_runtimeclass_forward(), write_serialize_function(), write_server_stmts(), write_serverinterfacedecl(), write_stdout(), write_stub_methods(), write_stubdescdecl(), write_stubdescriptor(), write_type_definition(), write_type_left(), write_type_right(), write_type_v(), write_typedef(), write_user_quad_list(), write_user_types(), write_uuid_decl(), write_widl_using_macros(), write_widl_using_method_macros(), directedLine::writeAllPolygons(), WriteBmLine(), WriteDefaultFirewallPrefs(), WriteTable(), xmalloc(), xmlCheckVersion(), xmlDictAddQString(), xmlDictAddString(), xmlDictCreate(), xmlDictCreateSub(), xmlDictGrow(), xmlInitializeGlobalState(), xmllintExternalEntityLoader(), xmlMemDisplay(), xmlMemDisplayLast(), xmlMemShow(), xmlPrintURI(), xprt_register(), xrealloc(), xsltDebugDumpExtensions(), xsltDebugDumpExtensionsCallback(), xsltDebugDumpExtModulesCallback(), xsltInitAllDocKeys(), xsltInitCtxtKey(), xsltInitCtxtKeys(), xsltInitDocKeyTable(), xsltPatPushState(), and xsltTestCompMatch().
Definition at line 4360 of file file.c.
Referenced by _fputchar(), _TIFFPrettyPrintField(), _TIFFprintAsciiBounded(), configparseerr(), fileClient(), main(), msg(), stdio_ostreambuf::overflow(), TANSIParser::PrintBuffer(), File::put(), putc(), putchar(), test_ctrlz(), test_fgetc(), test_fgetwc(), test_flsbuf(), test_fputc(), textDir(), textOut(), textStatus(), textTag(), TIFFPrintDirectory(), translate_char(), ui_create_glyph(), usage(), write_endpoints(), write_func_param_struct(), write_rundown_routines(), and write_type_right().
Definition at line 4769 of file file.c.
Referenced by ios_base::_M_throw_failure(), adns__vdiag(), EndLog(), fdom_split(), GetPass(), LocalListCmd(), main(), poll(), print_dnsfail(), printhelp(), printline(), printusage(), process_file(), REGPROC_open_export_file(), REGPROC_write_line(), test__popen(), test_asciimode(), test_ctrlz(), test_fgetwc(), test_file_put_get(), textDelta(), textDir(), textError(), textOut(), textStatus(), textStep(), textTag(), textWarning(), TIFFPrintDirectory(), ui_create_glyph(), usage(), Usage(), usageerr(), and write_if_change().
Definition at line 4203 of file file.c.
Referenced by _fputwchar(), _putwch(), ConWrite(), fputws(), test_fgetwc(), test_fgetwc_unicode(), and test_fputwc().
Definition at line 4783 of file file.c.
Referenced by _putws(), ConPuts(), ConResPuts(), test_fgetwc(), and WriteIniFile().
Definition at line 4406 of file file.c.
Referenced by __MapViewOfFile(), __ReadFile(), _Filebuf_base::_M_read(), checkSsiByFilelist(), CmpFileRead(), compare_export_(), copy_file(), disk_read(), fread_file_func(), generate_xa_rr_attributes(), get_file_data(), get_ImageBase(), get_lineA(), get_lineW(), get_subtests(), GetBuff(), import_registry_file(), InfHostOpenFile(), CDFParser::Load(), load_file(), LoadFile(), tinyxml2::XMLDocument::LoadFile(), lwip_fuzztest(), main(), MainWndProc(), myRead(), parseAndPrintFile(), processRequest(), File::read(), read_file(), read_input_file(), read_mbr_template(), CCFDATAStorage::ReadBlock(), CCabinet::ReadBlock(), reg_import(), send_file(), CCabinet::SetCabinetReservedFile(), test__wfopen_s(), test_asciimode(), test_asciimode2(), test_fdopen(), test_fflush(), test_filemodeT(), test_fileops(), test_fopen_s(), test_fputwc(), test_freopen(), test_invalid_stdin_child(), test_pipes(), test_readmode(), test_write_flush_size(), write_if_change(), write_one_file(), write_str_file(), CCabinet::WriteFileToScratchStorage(), xdrstdio_getbytes(), and xdrstdio_getlong().
Definition at line 4624 of file file.c.
Referenced by freopen_s(), main(), test_freopen(), test_std_stream_buffering(), test_std_stream_open(), and xfwrite().
| int CDECL fseek | ( | FILE * | file, |
| __msvcrt_long | offset, | ||
| int | whence | ||
| ) |
Definition at line 1610 of file file.c.
Referenced by __GetFileSizeEx(), __MapViewOfFile(), __SetFilePointer(), _fcons(), checkSsiByFilelist(), CmpFileRead(), CmpFileWrite(), compare_export_(), CreateOutputFile(), disk_ioctl(), disk_read(), disk_write(), ExportBinaryHive(), CCabinet::ExtractFile(), FileSize(), fseek_file_func(), get_file_data(), get_ImageBase(), GetSizeOfFile(), InfHostOpenFile(), load_file(), LoadFile(), tinyxml2::XMLDocument::LoadFile(), main(), MainWndProc(), CCabinet::Open(), processRequest(), read_backing_store(), read_file(), read_input_file(), CCabinet::ReadDataBlocks(), CCabinet::ReadFileTable(), CCabinet::ReadString(), recvrequest(), rewind(), File::seek(), CCFDATAStorage::Seek(), send_file(), sendrequest(), test_asciimode(), test_fileops(), test_readboundary(), test_readmode(), test_write_flush_size(), write_backing_store(), write_if_change(), write_one_file(), and xdrstdio_setpos().
| __msvcrt_long CDECL ftell | ( | FILE * | file | ) |
Definition at line 4740 of file file.c.
Referenced by __GetFileSizeEx(), checkSsiByFilelist(), compare_export_(), disk_ioctl(), FileSize(), ftell_file_func(), get_file_data(), GetSizeOfFile(), InfHostOpenFile(), load_file(), LoadFile(), tinyxml2::XMLDocument::LoadFile(), main(), CCFDATAStorage::Position(), processRequest(), read_file(), read_input_file(), send_file(), FstreamTest::tellp(), test_asciimode(), test_ctrlz(), test_fgetwc(), test_filbuf(), test_fprintf(), test_freopen(), test_fwprintf(), test_readmode(), write_if_change(), xdrstdio_getpos(), and xfwrite().
Definition at line 5628 of file file.c.
Referenced by _wassert(), _wperror(), ConWrite(), CreatePerfWindows(), ProcessCommandLine(), test_fprintf(), and wWinMain().
Definition at line 4129 of file file.c.
Referenced by _Filebuf_base::_M_write(), _putws(), _RunRemoteTest(), check_bitmap_data(), CmpFileWrite(), CCabinet::CommitDataBlocks(), ConWrite(), copy_file(), create_nls_file(), CreateOutputFile(), disk_ioctl(), disk_write(), DoTestEntry(), extract_test(), CCabinet::ExtractFile(), filewrite(), fputs(), fputwc(), fputws(), fwrite_file_func(), InfHostWriteFile(), main(), TANSIParser::ParseBuffer(), pipeClient(), pipeServer(), printer_write(), process_file_data(), processRequest(), puts(), puts_clbk_file_a(), REGPROC_open_export_file(), REGPROC_write_line(), ResourceToFile(), ResourceToFileW(), SdbpFlush(), test__wfopen_s(), test_asciimode2(), test_fflush(), test_fgetwc_locale(), test_fgetwc_unicode(), test_filbuf(), test_filemodeT(), test_fopen_s(), test_freopen(), test_invalid_stdin_child(), test_readboundary(), test_write_flush_size(), txt_fputs(), txt_open_export_file(), File::write(), write_casemap_file(), write_if_change(), write_lb_ranges(), write_line(), write_regscript(), write_unicode2cp_table(), CCFDATAStorage::WriteBlock(), CCabinet::WriteCabinetHeader(), CCabinet::WriteFileEntries(), CCabinet::WriteFolderEntries(), CDFParser::WriteInfLine(), WriteLine(), xawrite(), xdrstdio_putbytes(), xdrstdio_putlong(), xfwrite(), and xmlBufDump().
Definition at line 417 of file file.c.
Referenced by _chsize_s(), _close(), _commit(), _dup2(), _eof(), _fstat64(), _futime64(), _locking(), _lseeki64(), _read(), _setmode(), _write(), get_ioinfo_alloc_fd(), and msvcrt_free_fd().
Definition at line 481 of file file.c.
Referenced by _dup(), and msvcrt_alloc_fd().
Definition at line 467 of file file.c.
Referenced by _dup2(), and msvcrt_init_io().
Definition at line 394 of file file.c.
Referenced by _close(), _fgetwc_nolock(), _fputwc_nolock(), _fread_nolock(), _ftelli64(), _ftelli64_nolock(), _get_osfhandle(), _isatty(), _ungetwc_nolock(), _wsopen_dispatch(), _wsopen_s(), create_io_inherit_block(), fgetwc(), fputwc(), fputws(), fread(), get_ioinfo(), get_ioinfo_alloc(), msvcrt_create_io_inherit_block(), msvcrt_init_fp(), msvcrt_init_io(), puts_clbk_file_w(), and ungetwc().
Definition at line 4821 of file file.c.
Referenced by GetScreenColumns(), gl_file(), js_fgetline(), main(), recvrequest(), ruserpass(), select_file_type(), sendrequest(), StringGetsExWorkerA(), test_asciimode2(), text_getc(), token(), stdio_istreambuf::uflow(), and stdio_istreambuf::underflow().
Definition at line 4813 of file file.c.
Referenced by FSE_normalizeCount(), get_key(), macdef(), main(), Main(), and printWindowsError().
Definition at line 4871 of file file.c.
Referenced by cd(), cmdscanner(), confirm(), delete(), do_chmod(), domacro(), doproxy(), getit(), macdef(), main(), makedir(), mdelete(), mget(), mls(), modtime(), mput(), put(), quote(), removedir(), renamefile(), setnmap(), setpeer(), site(), sizecmd(), and user().
Definition at line 4829 of file file.c.
Referenced by gets().
Definition at line 405 of file file.c.
Referenced by get_ioinfo(), and get_ioinfo_alloc().
Definition at line 265 of file file.c.
Referenced by __iob_func(), _lock_file(), _unlock_file(), file_get_cs(), msvcrt_get_file(), and msvcrt_init_io().
Definition at line 211 of file file.c.
Referenced by _fgetwc_nolock(), _fputwc_nolock(), _setmode(), _ungetwc_nolock(), _write(), and read_i().
Definition at line 201 of file file.c.
Referenced by alloc_pioinfo_block(), init_ioinfo_cs(), msvcrt_free_io(), and release_ioinfo().
Definition at line 206 of file file.c.
Referenced by init_ioinfo_cs().
Definition at line 220 of file file.c.
Referenced by _setmode(), _wsopen_dispatch(), and msvcrt_set_fd().
Definition at line 236 of file file.c.
Referenced by _wsopen_dispatch(), and msvcrt_set_fd().
Definition at line 866 of file file.c.
Referenced by _filbuf(), _flsbuf(), _fread_nolock(), _ungetc_nolock(), fread(), and ungetc().
Definition at line 598 of file file.c.
Referenced by _open_osfhandle(), _pipe(), _wsopen_dispatch(), and _wsopen_s().
Definition at line 615 of file file.c.
Referenced by _wfdopen(), _wfsopen(), and tmpfile().
Definition at line 675 of file file.c.
Referenced by msvcrt_spawn().
Definition at line 1148 of file file.c.
Referenced by _fflush_nolock(), _flushall(), and fflush().
Definition at line 835 of file file.c.
Referenced by _fflush_nolock(), _flsbuf(), _fputc_nolock(), _fseeki64(), _fseeki64_nolock(), _fwrite_nolock(), fflush(), fputc(), fsetpos(), fwrite(), and remove_std_buffer().
Definition at line 547 of file file.c.
Referenced by _close().
Definition at line 1392 of file file.c.
Referenced by DllMain().
Definition at line 520 of file file.c.
Referenced by _fcloseall(), _rmtmp(), fclose(), msvcrt_alloc_fp(), msvcrt_flush_all_buffers(), and msvcrt_free_io().
Definition at line 1722 of file file.c.
Referenced by _wfdopen(), _wfreopen(), and _wfsopen().
Definition at line 649 of file file.c.
Referenced by _wfdopen(), _wfreopen(), _wfsopen(), and tmpfile().
Definition at line 720 of file file.c.
Referenced by DllMain().
Definition at line 944 of file file.c.
Referenced by _wtmpnam(), and wtmpnam_helper().
Definition at line 576 of file file.c.
Referenced by _dup2(), msvcrt_alloc_fd(), and msvcrt_init_io().
|
static |
|
static |
Definition at line 324 of file file.c.
Referenced by _fstati64(), _stati64(), and _wstati64().
Definition at line 4907 of file file.c.
Referenced by main(), Output(), stdio_ostreambuf::overflow(), print_text_marker(), TANSIParser::PrintGoodChars(), process_COM(), recvrequest(), and usageerr().
Definition at line 5236 of file file.c.
Referenced by vfprintf_helper().
Definition at line 5241 of file file.c.
Referenced by vfwprintf_helper().
Definition at line 2964 of file file.c.
Referenced by _read().
Definition at line 2784 of file file.c.
Referenced by read_i().
Definition at line 514 of file file.c.
Referenced by _chsize_s(), _close(), _commit(), _dup(), _dup2(), _eof(), _fstat64(), _futime64(), _locking(), _lseeki64(), _read(), _setmode(), _write(), msvcrt_alloc_fd(), msvcrt_free_fd(), and msvcrt_init_io().
Definition at line 910 of file file.c.
Referenced by fputws(), vfprintf_helper(), and vfwprintf_helper().
Definition at line 4973 of file file.c.
Referenced by CloseTrace(), disk_set_information(), EndLog(), handle_nfs41_rename(), LocalRenameCmd(), OpenBookmarkFile(), printercache_rename_blob(), save_licence(), SavePrefs(), SpoolX(), and SwapBookmarkFiles().
Definition at line 1712 of file file.c.
Referenced by compare_export_(), FileSize(), main(), rewrite_client_leases(), setrpcent(), test_asciimode(), test_fgetc(), test_filemodeT(), test_fileops(), test_readmode(), and test_write_flush_size().
Definition at line 5046 of file file.c.
Referenced by _fcons(), _Filebuf_base::_M_open(), DllMain(), main(), set_LogFile(), test_fgetc(), and test_flsbuf().
Definition at line 5006 of file file.c.
Referenced by _tWinMain(), fileClient(), main(), OpenTrace(), pipeClient(), processRequest(), setbuf(), test_fileops(), test_flsbuf(), test_iobuf_layout(), test_std_stream_buffering(), test_write_flush(), and throw().
Definition at line 2293 of file file.c.
Referenced by _open_osfhandle(), _pipe(), _wsopen_dispatch(), and _wsopen_s().
|
static |
Definition at line 384 of file file.c.
Referenced by _futime64().
Definition at line 5199 of file file.c.
Referenced by CCFDATAStorage::Create(), create_temp_binary(), HANDLE_CustomType7(), jpeg_open_backing_store(), JSPROXY_InternetInitializeAutoProxyDll(), open_file_test(), patch_file(), test_color_contexts(), test_CreateDirectoryA(), test_CryptCATAdminAddRemoveCatalog(), test_GetNamedSecurityInfoA(), test_install_class(), test_retrieveObjectByUrl(), test_SetupCopyOEMInf(), tmpfile_s(), transfer_file_http(), CCFDATAStorage::Truncate(), VerInstallFileA(), and VerInstallFileW().
Definition at line 5108 of file file.c.
Referenced by CCFDATAStorage::Create(), test_tmpnam(), and tmpfile().
Definition at line 5732 of file file.c.
Referenced by _fgetwc_nolock(), select_file_type(), test_fileops(), and ungetwc().
Definition at line 5349 of file file.c.
Referenced by __report_error(), _vcprintf(), _vwarnx(), adns__vdiag(), chat(), command(), configparseerr(), cxlog(), die(), dprintf(), eprintf(), error(), Fatalv(), fprintf(), generic_msg(), isohybrid_error(), isohybrid_warning(), LIBXML_ATTR_FORMAT(), LIBXSLT_ATTR_FORMAT(), log_debug(), msg(), Output(), pdie(), pp_internal_error(), tinyxml2::XMLPrinter::Print(), print(), printf(), PrintF(), unimpl(), unixErrorHandler(), unixWarningHandler(), usageerr(), verr(), verrx(), vprintf(), vwarn(), vwarnx(), warning(), Win32ErrorHandler(), Win32WarningHandler(), wintirpc_debug(), write_line(), xfprintf(), and xmlGenericErrorDefaultFunc().
|
static |
Definition at line 5264 of file file.c.
Referenced by _vfprintf_l(), _vfprintf_p_l(), _vfprintf_s_l(), and vfprintf().
Definition at line 5357 of file file.c.
Referenced by fprintf_s(), printf_s(), and vprintf_s().
Definition at line 5365 of file file.c.
Referenced by _vcwprintf(), ConPrintf(), ConResPrintf(), fwprintf(), and vwprintf().
|
static |
Definition at line 5296 of file file.c.
Referenced by _vfwprintf_l(), _vfwprintf_p_l(), _vfwprintf_s_l(), and vfwprintf().
Definition at line 5373 of file file.c.
Referenced by fwprintf_s(), and vwprintf_s().
Definition at line 5517 of file file.c.
Referenced by atltest_ok(), atltest_skip(), DbgPrint(), indent_printf(), ShimDbgPrint(), and xprintf().
Definition at line 5525 of file file.c.
Referenced by printf_s().
Definition at line 5541 of file file.c.
Referenced by wprintf_s().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | msvcrt | ) |
Definition at line 5122 of file file.c.
Referenced by _wtmpnam(), and _wtmpnam_s().
| ioinfo MSVCRT___badioinfo = { INVALID_HANDLE_VALUE, WX_TEXT } |
Definition at line 148 of file file.c.
Referenced by _dup2(), _setmode(), get_ioinfo(), get_ioinfo_alloc(), get_ioinfo_alloc_fd(), get_ioinfo_nolock(), msvcrt_alloc_fd(), msvcrt_free_fd(), msvcrt_init_io(), and release_ioinfo().
| ioinfo* MSVCRT___pioinfo[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE] = { 0 } |
Definition at line 155 of file file.c.
Referenced by alloc_pioinfo_block(), get_ioinfo_nolock(), msvcrt_free_io(), and msvcrt_set_fd().
| FILE MSVCRT__iob[_IOB_ENTRIES] = { { 0 } } |
Definition at line 263 of file file.c.
Referenced by iob_get_file().
|
static |
|
static |
|
static |
Definition at line 278 of file file.c.
Referenced by msvcrt_free_io(), and msvcrt_get_file().
|
static |
Definition at line 279 of file file.c.
Referenced by _getmaxstdio(), _setmaxstdio(), msvcrt_alloc_fp(), and msvcrt_get_file().
|
static |
Definition at line 279 of file file.c.
Referenced by _fcloseall(), _rmtmp(), _setmaxstdio(), fclose(), msvcrt_alloc_fp(), msvcrt_flush_all_buffers(), msvcrt_free_io(), and msvcrt_init_io().
|
static |
Definition at line 282 of file file.c.
Referenced by _umask(), and _wsopen_dispatch().
|
static |
Definition at line 286 of file file.c.
Referenced by _wtmpnam_s(), and tmpnam_s().
|
static |
Definition at line 285 of file file.c.
Referenced by _wtmpnam(), tmpnam(), tmpnam_helper(), and wtmpnam_helper().
|
static |
Definition at line 90 of file file.c.
Referenced by _wsopen_dispatch(), _wsopen_s(), and check_bom().
|
static |
Definition at line 89 of file file.c.
Referenced by _wsopen_dispatch(), _wsopen_s(), check_bom(), editor_handle_message(), and parse_file().
Definition at line 290 of file file.c.
Referenced by _wstat64().
Definition at line 291 of file file.c.
Referenced by _wstat64().
Definition at line 292 of file file.c.
Referenced by _wstat64().