#include <stdarg.h>
#include <signal.h>
#include "windef.h"
#include "winbase.h"
Go to the source code of this file.
|
void __cdecl | _purecall (void) |
|
| __declspec (noreturn) void __cdecl _amsg_exit(int errnum) |
|
char ** | SnapshotOfEnvironmentA (char **) |
|
wchar_t ** | SnapshotOfEnvironmentW (wchar_t **) |
|
void *__cdecl | MSVCRT_operator_new (size_t) |
|
void __cdecl | MSVCRT_operator_delete (void *) |
|
void | msvcrt_init_mt_locks (void) |
|
void | msvcrt_free_mt_locks (void) |
|
BOOL | msvcrt_init_locale (void) |
|
void | msvcrt_init_math (void) |
|
void | msvcrt_init_io (void) |
|
void | msvcrt_free_io (void) |
|
void | msvcrt_init_console (void) |
|
void | msvcrt_free_console (void) |
|
void | msvcrt_init_args (void) |
|
void | msvcrt_free_args (void) |
|
void | msvcrt_init_signals (void) |
|
void | msvcrt_free_signals (void) |
|
void | msvcrt_free_popen_data (void) |
|
unsigned | create_io_inherit_block (WORD *, BYTE **) |
|
char *__cdecl | __unDName (char *, const char *, int, malloc_func_t, free_func_t, unsigned short int) |
|
void | _default_handler (int signal) |
|
char * | _setlocale (int, const char *) |
|
NTSYSAPI VOID NTAPI | RtlAssert (PVOID FailedAssertion, PVOID FileName, ULONG LineNumber, PCHAR Message) |
|
◆ _CONSOLE_APP
◆ _GUI_APP
◆ _IOAPPEND
◆ _IOCOMMIT
◆ _IOCTRLZ
◆ _IOFEOF
◆ _IOFLRTN
◆ _IOFREE
◆ _IOSETVBUF
◆ _IOYOURBUF
◆ _UNKNOWN_APP
◆ MSVCRT__CALL_REPORTFAULT
#define MSVCRT__CALL_REPORTFAULT 2 |
◆ MSVCRT__OUT_TO_DEFAULT
#define MSVCRT__OUT_TO_DEFAULT 0 |
◆ MSVCRT__OUT_TO_MSGBOX
#define MSVCRT__OUT_TO_MSGBOX 2 |
◆ MSVCRT__OUT_TO_STDERR
#define MSVCRT__OUT_TO_STDERR 1 |
◆ MSVCRT__REPORT_ERRMODE
#define MSVCRT__REPORT_ERRMODE 3 |
◆ MSVCRT__WRITE_ABORT_MSG
#define MSVCRT__WRITE_ABORT_MSG 1 |
◆ MSVCRT_free
◆ MSVCRT_LC_ALL
◆ MSVCRT_LC_COLLATE
◆ MSVCRT_LC_CTYPE
◆ MSVCRT_LC_MAX
◆ MSVCRT_LC_MIN
◆ MSVCRT_LC_MONETARY
◆ MSVCRT_LC_NUMERIC
◆ MSVCRT_LC_TIME
◆ MSVCRT_malloc
◆ UNDNAME_32_BIT_DECODE
#define UNDNAME_32_BIT_DECODE (0x0800) |
◆ UNDNAME_COMPLETE
#define UNDNAME_COMPLETE (0x0000) |
◆ UNDNAME_NAME_ONLY
◆ UNDNAME_NO_ACCESS_SPECIFIERS
◆ UNDNAME_NO_ALLOCATION_LANGUAGE
#define UNDNAME_NO_ALLOCATION_LANGUAGE (0x0010) |
◆ UNDNAME_NO_ALLOCATION_MODEL
#define UNDNAME_NO_ALLOCATION_MODEL (0x0008) |
◆ UNDNAME_NO_ARGUMENTS
#define UNDNAME_NO_ARGUMENTS (0x2000) /* Don't show method arguments */ |
◆ UNDNAME_NO_COMPLEX_TYPE
#define UNDNAME_NO_COMPLEX_TYPE (0x8000) |
◆ UNDNAME_NO_CV_THISTYPE
#define UNDNAME_NO_CV_THISTYPE (0x0040) |
◆ UNDNAME_NO_FUNCTION_RETURNS
◆ UNDNAME_NO_LEADING_UNDERSCORES
#define UNDNAME_NO_LEADING_UNDERSCORES (0x0001) /* Don't show __ in calling convention */ |
◆ UNDNAME_NO_MEMBER_TYPE
#define UNDNAME_NO_MEMBER_TYPE (0x0200) /* Don't show static/virtual specifier */ |
◆ UNDNAME_NO_MS_KEYWORDS
#define UNDNAME_NO_MS_KEYWORDS (0x0002) /* Don't show calling convention at all */ |
◆ UNDNAME_NO_MS_THISTYPE
#define UNDNAME_NO_MS_THISTYPE (0x0020) |
◆ UNDNAME_NO_RETURN_UDT_MODEL
#define UNDNAME_NO_RETURN_UDT_MODEL (0x0400) |
◆ UNDNAME_NO_SPECIAL_SYMS
#define UNDNAME_NO_SPECIAL_SYMS (0x4000) |
◆ UNDNAME_NO_THISTYPE
#define UNDNAME_NO_THISTYPE (0x0060) |
◆ UNDNAME_NO_THROW_SIGNATURES
#define UNDNAME_NO_THROW_SIGNATURES (0x0100) |
◆ float_handler
◆ free_func_t
◆ malloc_func_t
◆ sig_element
◆ __declspec()
◆ __unDName()
Definition at line 1647 of file undname.c.
1650{
1652}
char *CDECL __unDNameEx(char *buffer, const char *mangled, int buflen, malloc_func_t memget, free_func_t memfree, void *unknown, unsigned short int flags)
◆ _default_handler()
void _default_handler |
( |
int |
signal | ) |
|
◆ _purecall()
◆ _setlocale()
◆ create_io_inherit_block()
Definition at line 411 of file file.c.
412{
414 char* wxflag_ptr;
417
420 break;
421 last_fd++;
422
426 {
429 }
430 wxflag_ptr = (
char*)*
block +
sizeof(
unsigned);
431 handle_ptr = (
HANDLE*)(wxflag_ptr + last_fd);
432
433 *(
unsigned*)*
block = last_fd;
434 for (
fd = 0;
fd < last_fd;
fd++)
435 {
436
439 {
440 *wxflag_ptr = fdinfo->
wxflag;
441 *handle_ptr = fdinfo->
handle;
442 }
443 else
444 {
445 *wxflag_ptr = 0;
447 }
448 wxflag_ptr++; handle_ptr++;
449 }
451}
#define INVALID_HANDLE_VALUE
static unsigned(__cdecl *hash_bstr)(bstr_t s)
static ioinfo * get_ioinfo_nolock(int fd)
static unsigned int block
◆ msvcrt_free_args()
◆ msvcrt_free_console()
◆ msvcrt_free_io()
Definition at line 1100 of file file.c.
1101{
1104
1107
1109 {
1111 continue;
1112
1114 {
1117 }
1119 }
1120
1122 {
1125 {
1128 }
1129 }
1130
1133}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
static file_crit * MSVCRT_fstream[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE]
int CDECL _fcloseall(void)
static FILE * msvcrt_get_file(int i)
ioinfo * __pioinfo[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE]
int CDECL _flushall(void)
#define MSVCRT_FD_BLOCK_SIZE
static int MSVCRT_stream_idx
void WINAPI DeleteCriticalSection(PCRITICAL_SECTION)
◆ msvcrt_free_mt_locks()
Definition at line 77 of file lock.c.
78{
80
81 TRACE(
": uninitializing all mtlocks\n" );
82
83
85 {
87 {
89 }
90 }
91}
static __inline void msvcrt_uninitialize_mlock(int locknum)
static LOCKTABLEENTRY lock_table[_TOTAL_LOCKS]
◆ msvcrt_free_popen_data()
◆ msvcrt_free_signals()
Definition at line 183 of file except.c.
184{
186}
BOOL WINAPI DECLSPEC_HOTPATCH SetConsoleCtrlHandler(PHANDLER_ROUTINE HandlerRoutine, BOOL Add)
static BOOL WINAPI msvcrt_console_handler(DWORD ctrlType)
◆ msvcrt_init_args()
◆ msvcrt_init_console()
◆ msvcrt_init_io()
Definition at line 456 of file file.c.
457{
461
464 {
468
472
476 {
478 {
483 }
484
485 wxflag_ptr++; handle_ptr++;
486 }
487 }
488
493
496 }
498
503
506 }
508
513
516 }
518
522
524 for (
i = 0;
i < 3;
i++)
525 {
526
530 }
532}
HANDLE WINAPI GetStdHandle(IN DWORD nStdHandle)
DWORD WINAPI GetFileType(HANDLE hFile)
VOID WINAPI GetStartupInfoA(IN LPSTARTUPINFOA lpStartupInfo)
GLuint GLuint GLsizei GLenum type
GLuint GLuint GLsizei count
GLfloat GLfloat GLfloat GLfloat h
static ioinfo * get_ioinfo_alloc_fd(int fd)
void release_ioinfo(ioinfo *info)
static void msvcrt_set_fd(ioinfo *fdinfo, HANDLE hand, int flag)
#define STD_OUTPUT_HANDLE
#define FILE_TYPE_UNKNOWN
◆ msvcrt_init_locale()
◆ msvcrt_init_math()
◆ msvcrt_init_mt_locks()
Definition at line 54 of file lock.c.
55{
57
58 TRACE(
"initializing mtlocks\n" );
59
60
62 {
64 }
65
66
68}
static __inline void msvcrt_mlock_set_entry_initialized(int locknum, BOOL initialized)
static __inline void msvcrt_initialize_mlock(int locknum)
◆ msvcrt_init_signals()
◆ MSVCRT_operator_delete()
Definition at line 196 of file heap.c.
197{
200}
static BOOL msvcrt_heap_free(void *ptr)
◆ MSVCRT_operator_new()
- FIXME: This should be declared in new.h but it's not an extern "C" so
Definition at line 152 of file heap.c.
153{
154 void *retval;
155 int freed;
157
158 do
159 {
161 if(retval)
162 {
163 TRACE(
"(%ld) returning %p\n",
size, retval);
164 return retval;
165 }
166
170 freed = (*handler)(
size);
171 else
172 freed = 0;
174 } while(freed);
175
177#if _MSVCR_VER >= 80
178 throw_exception(EXCEPTION_BAD_ALLOC, 0, "bad allocation");
179#endif
181}
UINT(* handler)(MSIPACKAGE *)
int(CDECL * MSVCRT_new_handler_func)(MSVCRT_size_t size)
static void * msvcrt_heap_alloc(DWORD flags, MSVCRT_size_t size)
static MSVCRT_new_handler_func MSVCRT_new_handler
◆ RtlAssert()
◆ SnapshotOfEnvironmentA()
char ** SnapshotOfEnvironmentA |
( |
char ** |
| ) |
|
◆ SnapshotOfEnvironmentW()
◆ __lc_codepage
◆ __lc_collate_cp
◆ __mb_cur_max
◆ _ctype
◆ _environ
◆ _wenviron