|
ReactOS 0.4.17-dev-117-g313be0c
|
#include <stdlib.h>#include <stdarg.h>#include "ntstatus.h"#include "windef.h"#include "winbase.h"#include "winreg.h"#include "winternl.h"#include "in6addr.h"#include "inaddr.h"#include "ip2string.h"#include "ddk/ntifs.h"#include "wine/test.h"#include "wine/asm.h"#include "wine/rbtree.h"
Go to the source code of this file.
Classes | |
| struct | _RTL_HANDLE |
| struct | _RTL_HANDLE_TABLE |
| struct | all_accesses_t |
| struct | any_accesses_t |
| struct | MY_HANDLE |
| struct | critsect_locked_info |
| struct | ldr_enum_context |
| struct | heap |
| struct | commit_routine_context |
| struct | test_rb_tree_entry |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | htons(s) __my_ushort_swap(s) |
| #define | call_fastcall_func1(func, a) func(a) |
| #define | LEN 16 |
| #define | COMP(str1, str2, cmplen, len) |
| #define | COPY(len) memset(dest,0,sizeof(dest_aligned_block)); pRtlMoveMemory(dest, src, len) |
| #define | CMP(str) ok(strcmp(dest,str) == 0, "Expected '%s', got '%s'\n", str, dest) |
| #define | FILL(len) memset(dest,0,sizeof(dest_aligned_block)); strcpy(dest, src); pRtlFillMemory(dest,len,'x') |
| #define | LFILL(len) memset(dest,0,sizeof(dest_aligned_block)); strcpy(dest, src); pRtlFillMemoryUlong(dest,len,val) |
| #define | ZERO(len) memset(dest,0,sizeof(dest_aligned_block)); strcpy(dest, src); pRtlZeroMemory(dest,len) |
| #define | MCMP(str) ok(memcmp(dest,str,LEN) == 0, "Memcmp failed\n") |
| #define | DECOMPRESS_BROKEN_FRAGMENT 1 /* < Win 7 */ |
| #define | DECOMPRESS_BROKEN_TRUNCATED 2 /* broken on all machines */ |
| #define | HEAP_VALIDATE_PARAMS 0x40000000 |
Typedefs | |
| typedef struct _RTL_HANDLE | RTL_HANDLE |
| typedef struct _RTL_HANDLE_TABLE | RTL_HANDLE_TABLE |
| typedef struct MY_HANDLE | MY_HANDLE |
| typedef struct _RTL_HANDLE RTL_HANDLE |
| typedef struct _RTL_HANDLE_TABLE RTL_HANDLE_TABLE |
|
static |
Definition at line 2036 of file rtl.c.
Referenced by test_RtlIpv6StringToAddressEx().
|
static |
Definition at line 1915 of file rtl.c.
Referenced by test_RtlIpv6StringToAddress().
Definition at line 2934 of file rtl.c.
Referenced by test_RtlIsCriticalSectionLocked().
Definition at line 3276 of file rtl.c.
Referenced by ldr_notify_callback_dll_main().
Definition at line 3315 of file rtl.c.
Referenced by ldr_notify_callback_fail().
Definition at line 3213 of file rtl.c.
Referenced by ldr_notify_callback1().
Definition at line 1098 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
Definition at line 1657 of file rtl.c.
Referenced by compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
Definition at line 152 of file rtl.c.
Referenced by START_TEST().
|
static |
Definition at line 2494 of file rtl.c.
Referenced by test_RtlDecompressBuffer().
|
static |
Definition at line 3123 of file rtl.c.
Referenced by test_LdrEnumerateLoadedModules().
|
static |
Definition at line 3218 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
|
static |
Definition at line 3291 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
Definition at line 3330 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
Definition at line 3354 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
Referenced by InitFunctionPtrs(), and test_RtlFindExportedRoutineByName().
|
static |
Definition at line 3878 of file rtl.c.
Referenced by test_rb_tree().
|
inlinestatic |
Definition at line 679 of file rtl.c.
Referenced by test_HandleTables().
| START_TEST | ( | rtl | ) |
Definition at line 4119 of file rtl.c.
Definition at line 3666 of file rtl.c.
Referenced by test_RtlCreateHeap().
|
static |
Definition at line 3464 of file rtl.c.
Referenced by test_DbgPrint().
Definition at line 3501 of file rtl.c.
Referenced by START_TEST().
Definition at line 685 of file rtl.c.
Referenced by START_TEST().
|
static |
Definition at line 3592 of file rtl.c.
Referenced by test_RtlDestroyHeap().
Definition at line 2298 of file rtl.c.
Referenced by START_TEST().
Definition at line 3135 of file rtl.c.
Referenced by START_TEST().
Definition at line 2347 of file rtl.c.
Referenced by START_TEST().
Definition at line 806 of file rtl.c.
Referenced by START_TEST().
Definition at line 3374 of file rtl.c.
Referenced by START_TEST().
Definition at line 3914 of file rtl.c.
Referenced by START_TEST().
|
static |
Definition at line 3862 of file rtl.c.
Referenced by test_rb_tree().
|
static |
Definition at line 3902 of file rtl.c.
Referenced by test_rb_tree(), and test_rb_tree_entry_rtl_parent().
|
static |
|
static |
|
static |
Definition at line 3870 of file rtl.c.
Referenced by test_rb_tree().
Definition at line 706 of file rtl.c.
Referenced by START_TEST().
Definition at line 612 of file rtl.c.
Referenced by START_TEST().
Definition at line 648 of file rtl.c.
Referenced by START_TEST().
Definition at line 399 of file rtl.c.
Referenced by START_TEST().
Definition at line 247 of file rtl.c.
Referenced by START_TEST().
Definition at line 2393 of file rtl.c.
Referenced by START_TEST().
Definition at line 3996 of file rtl.c.
Referenced by START_TEST().
Definition at line 3674 of file rtl.c.
Referenced by START_TEST().
Definition at line 2518 of file rtl.c.
Referenced by START_TEST().
Definition at line 728 of file rtl.c.
Referenced by START_TEST().
Definition at line 3637 of file rtl.c.
Referenced by START_TEST().
Definition at line 326 of file rtl.c.
Referenced by START_TEST().
Definition at line 351 of file rtl.c.
Referenced by START_TEST().
Definition at line 3817 of file rtl.c.
Referenced by START_TEST().
Definition at line 3729 of file rtl.c.
Referenced by START_TEST().
Definition at line 2460 of file rtl.c.
Referenced by START_TEST().
Definition at line 3832 of file rtl.c.
Referenced by START_TEST().
Definition at line 3024 of file rtl.c.
Referenced by START_TEST().
Definition at line 3777 of file rtl.c.
Referenced by START_TEST().
Definition at line 832 of file rtl.c.
Referenced by START_TEST().
Definition at line 870 of file rtl.c.
Referenced by START_TEST().
Definition at line 1113 of file rtl.c.
Referenced by START_TEST().
Definition at line 1180 of file rtl.c.
Referenced by START_TEST().
Definition at line 1672 of file rtl.c.
Referenced by START_TEST().
Definition at line 1796 of file rtl.c.
Referenced by START_TEST().
Definition at line 1952 of file rtl.c.
Referenced by START_TEST().
Definition at line 2065 of file rtl.c.
Referenced by START_TEST().
Definition at line 2968 of file rtl.c.
Referenced by START_TEST().
Definition at line 3057 of file rtl.c.
Referenced by START_TEST().
Definition at line 3170 of file rtl.c.
Referenced by START_TEST().
Definition at line 295 of file rtl.c.
Referenced by START_TEST().
Definition at line 195 of file rtl.c.
Referenced by START_TEST().
Definition at line 575 of file rtl.c.
Referenced by START_TEST().
Definition at line 738 of file rtl.c.
Referenced by START_TEST().
Definition at line 455 of file rtl.c.
Referenced by START_TEST().
Definition at line 3794 of file rtl.c.
Referenced by START_TEST().
Definition at line 378 of file rtl.c.
Referenced by START_TEST().
Definition at line 4055 of file rtl.c.
Referenced by START_TEST().
Definition at line 3481 of file rtl.c.
Referenced by test_DbgPrint().
|
static |
Definition at line 3491 of file rtl.c.
Referenced by test_DbgPrint().
Definition at line 991 of file rtl.c.
Referenced by test_RtlIpv4StringToAddressEx(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), and test_RtlIpv6StringToAddressEx().
|
static |
Definition at line 598 of file rtl.c.
Referenced by test_RtlAreAllAccessesGranted().
|
static |
Definition at line 635 of file rtl.c.
Referenced by test_RtlAreAnyAccessesGranted().
| DWORD DWORD *static RTL_BALANCED_NODE BOOLEAN |
Definition at line 113 of file rtl.c.
Referenced by WdmlibRtlIsNtDdiVersionAvailable().
|
static |
Definition at line 3664 of file rtl.c.
Referenced by test_commit_routine(), and test_RtlCreateHeap().
Definition at line 145 of file rtl.c.
Referenced by ldr_notify_callback_imports().
|
static |
Definition at line 149 of file rtl.c.
Referenced by __mingw_vsprintf(), _InterlockedCompareExchange(), _InterlockedCompareExchange64(), _InterlockedExchange(), _InterlockedExchangeAdd(), _Locale_strxfrm(), _mbccpy(), _mbccpy_l(), _mbccpy_s(), _mbccpy_s_l(), _memccpy(), CExplorerBand::_NavigateToPIDL(), _SetOperationTexts(), _SHStrDupAA(), _SHStrDupAW(), _stpcpy(), _strxfrm_l(), _unmarshal_char_array(), _unmarshal_int32(), _unmarshal_int64(), _unmarshal_itsf_header(), _unmarshal_itsp_header(), _unmarshal_lzxc_control_data(), _unmarshal_lzxc_reset_table(), _unmarshal_pmgi_header(), _unmarshal_pmgl_header(), _unmarshal_uchar_array(), _unmarshal_uint32(), _unmarshal_uint64(), _unmarshal_uuid(), _W_Gettnames(), _wcsxfrm_l(), _WLocale_strxfrm(), add_boot_rename_entry(), add_wildcard(), CHString::AllocCopy(), buffer_read_len(), build_relative_path(), cache_copy(), calc_thread_main(), check_convertible(), ClasspDuidGetDeviceIdProperty(), ClasspDuidGetDeviceProperty(), BtrfsRecv::cmd_clone(), COMDLG32_StrRetToStrNW(), compat_strdup(), compress(), compress2(), convert_16_to_24(), convert_16_to_32(), convert_32_to_24(), convert_32_to_32(), convert_8_to_16(), convert_8_to_24(), convert_8_to_32(), convert_recipient_from_unicode(), convert_s1_uint_d15_unorm(), convert_s4x4_uint_d24_unorm(), StringTest::copy(), Mapdesc::copy(), copy(), copy_exception(), copy_file(), copy_from_variant(), copy_propbag2(), copy_string(), copy_substring_null(), copy_tex_sub_image(), CopyFile2(), CopyFileExW(), CopyFileW(), CopyMediaType(), CopySid(), create_test_file(), CreateColorTransformA(), CreateColorTransformW(), CreateFontPackage(), CreateHardLinkA(), CreateHardLinkW(), CRTDLL__mbsnbcat(), CRTDLL__mbsncat(), d3d_device7_Load(), D3DXLoadMeshFromXInMemory(), dbg_print_physaddr(), deflateCopy(), DIB_BltFromVGA(), disk_read(), DoBlt(), DPLAYX_CopyConnStructA(), DPLAYX_CopyConnStructW(), DSA_Clone(), dump_buffer_e(), dump_buffer_s(), dup_bitmap(), dup_metafilepict(), DuplicateHandle(), DwmRegisterThumbnail(), editor_handle_message(), emit_byte(), empty_mem_output_buffer(), empty_output_buffer(), Extract(), file_name_WtoA(), FilenameA2W_N(), FilenameW2A_N(), find_catch_handler(), fixup_buffer_cr(), fnIMultiLanguage_ConvertString(), fnIMultiLanguage_ConvertStringFromUnicode(), fnIMultiLanguage_ConvertStringToUnicode(), folder_Copy(), folder_Move(), GdipCloneBrush(), GdipEnumerateMetafileDestPoint(), GdipEnumerateMetafileDestPointI(), GdipEnumerateMetafileDestRect(), GdipEnumerateMetafileDestRectI(), get_file_name(), get_ip(), get_wide(), getName(), gl_logicop_ci_pixels(), gl_logicop_ci_span(), gzungetc(), halve1Dimage_byte(), halve1Dimage_float(), halve1Dimage_int(), halve1Dimage_short(), halve1Dimage_ubyte(), halve1Dimage_uint(), halve1Dimage_ushort(), HashData(), HEADER_CopyHDItemForNotify(), httprequest_get_responseBody(), Mapdesc::identify(), imagelist_copy_images(), import_file(), import_store(), inflateCopy(), init_destination(), InstallColorProfileW(), ip_chksum_pseudo(), ip_chksum_pseudo_partial(), IRecordInfoImpl_RecordCopy(), is_mip_level_subset(), ITERATE_DuplicateFiles(), ITERATE_MoveFiles(), ITERATE_RemoveDuplicateFiles(), jpeg_mem_dest(), jpeg_stdio_dest(), LZCopy(), maccmp(), maccpy(), mbsncat_PerformTests(), MCIQTZ_mciUpdate(), memcpy(), memcpy_s(), memmove(), memmove_s(), MLangConvertCharset_DoConversion(), MLangConvertCharset_DoConversionFromUnicode(), MLangConvertCharset_DoConversionToUnicode(), mls(), ModifyValue(), move_file(), move_files_wildcard(), move_list(), MoveFileExW(), MoveFileWithProgressW(), msi_build_icon_path(), multiply_matrix(), multiply_vector_matrix(), mxwriter_get_output(), mxwriter_put_output(), ParaNdis_PacketCopier(), parse_metadata_header(), pct_encode_val(), process_vertices_strided(), Mapdesc::project(), prop_enum_stat(), PROPSHEET_SetTitleW(), propsys_FormatForDisplay(), read_line(), reader_more(), reader_strvaldup(), readerinput_switchencoding(), receive_packet(), BtrfsContextMenu::reflink_copy(), reflink_copy2(), ReflinkCopyW(), reg_copy(), release_and_install_key(), relocate_thread_actctx_stack(), replace(), RequestDuidGetDeviceIdProperty(), RequestDuidGetDeviceProperty(), RTFGetDestinationCallback(), RTFSetDestinationCallback(), run_copy(), RunDlg_GetParentDir(), safe_read(), SAFEARRAY_CopyData(), SafeArraySetIID(), SafeArraySetRecordInfo(), saxreader_get_unescaped_value(), SdbpReadData(), SdbpSetStringAttrFromAnsiString(), SeiAppendInExclude(), SeiReadInExclude(), set_ldids(), TConfig::set_string(), SetupInstallFileA(), SetupInstallFileW(), SetupQueueCopySectionW(), SHGetDataFromIDListA(), SHGetDataFromIDListW(), SHGetInverseCMAP(), SHInterlockedCompareExchange(), SHNotifyCopyFileW(), SHNotifyMoveFileW(), SHStrDupW(), CardStack::Shuffle(), SNB_UserUnmarshal(), SoftModalMessageBox(), sort_linked_list(), split_ip(), stab_strcpy(), START_TEST(), store_points(), strdupA(), strdupW(), stream_CopyTo(), strncpy(), StrRetToBufA(), StrRetToBufW(), StrRetToStrNA(), StrRetToStrNAW(), StrRetToStrNW(), strxfrm(), term_destination(), term_mem_destination(), test__mbscpy_s(), test__mbsnbcat_s(), test__mbsnbcpy_s(), test_ConvertINetUnicodeToMultiByte(), test_CopyBindInfo(), test_CopyFile2(), test_CopyFileA(), test_CopyFileEx(), test_CopyFileW(), test_EM_GETLINE(), test_GetPtrAW(), test_IMultiLanguage2_ConvertStringFromUnicode(), test_InstallColorProfileA(), test_InstallColorProfileW(), test_InterlockedCompareExchange(), test_InterlockedDecrement(), test_InterlockedExchange(), test_InterlockedExchangeAdd(), test_InterlockedIncrement(), test_LZCopy(), test_memcpy_s(), test_memmove_s(), test_MoveFileA(), test_MoveFileW(), test_mxwriter_cdata(), test_mxwriter_characters(), test_mxwriter_comment(), test_mxwriter_domdoc(), test_mxwriter_dtd(), test_mxwriter_encoding(), test_mxwriter_flush(), test_mxwriter_ignorablespaces(), test_mxwriter_indent(), test_mxwriter_pi(), test_mxwriter_properties(), test_mxwriter_startenddocument(), test_mxwriter_startendelement(), test_mxwriter_startendelement_batch(), test_mxwriter_startendelement_batch2(), test_mxwriter_stream(), test_original_file_name(), test_PathCanonicalizeA(), test_PathCombineA(), test_PropVariantChangeType_LPWSTR(), test_RtlCompareMemory(), test_RtlMoveMemory(), test_save(), test_SetupCopyOEMInf(), test_SHAnsiToAnsi(), test_SHUnicodeToUnicode(), test_strcat_s(), test_strcpy_s(), test_StrCpyNXA(), test_StrCpyNXW(), test_strxfrm(), test_UninstallColorProfileA(), test_UninstallColorProfileW(), TEXT_NextLineW(), textcpynT(), textsetptrT(), TIFFReadDirEntryData(), TLB_AllocAndInitFuncDesc(), TLB_AllocAndInitVarDesc(), TLB_CopyElemDesc(), TLB_CopyTypeDesc(), to_multibyte(), to_widechar(), translate_rect(), tx_compress_dxtn(), ui2ipv4(), ui2str(), ui_memblt(), ui_patblt(), uncompress(), uncompress2(), UrlHashA(), UrlHashW(), utf16_to_utf8(), utf8_to_utf16(), variant_copy(), VARIANT_CopyIRecordInfo(), VARIANT_DI_FromR4(), VARIANT_DI_FromR8(), VerFindFileA(), VerFindFileW(), VMR7WindowlessControl_GetVideoPosition(), VMR7WindowlessControl_SetVideoPosition(), VMR9WindowlessControl_GetVideoPosition(), VMR9WindowlessControl_SetVideoPosition(), wcsxfrm(), wctombs(), anonymous_namespace{activex.cpp}::win32_convert_scanlines(), x8_d24_unorm_download(), x8_d24_unorm_upload(), xdr_multi_addr(), xslprocessor_transform(), XXH_memcpy(), zip64local_putValue_inmemory(), zmemcpy(), and zmemzero().
|
static |
Definition at line 3211 of file rtl.c.
Referenced by fake_dll_main(), fake_dll_main_fail(), ldr_notify_callback_dll_main(), and ldr_notify_callback_fail().
Definition at line 150 of file rtl.c.
Referenced by ldr_notify_callback1(), and test_LdrRegisterDllNotification().
| enum { ... } flags |
|
static |
Definition at line 136 of file rtl.c.
Referenced by InitFunctionPtrs().
|
static |
Definition at line 102 of file rtl.c.
Referenced by InitFunctionPtrs().
Definition at line 994 of file rtl.c.
Referenced by compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), test_RtlIpv4AddressToString(), test_RtlIpv4AddressToStringEx(), test_RtlIpv4StringToAddress(), test_RtlIpv4StringToAddressEx(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
| int ip_strict[4] |
Definition at line 998 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
| struct { ... } ipv4_tests[] |
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
| const struct { ... } ipv6_tests[] |
Referenced by test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
Definition at line 73 of file rtl.c.
Referenced by test_user_procs().
| DWORD DWORD *static RTL_BALANCED_NODE RTL_BALANCED_NODE *static RTL_BALANCED_NODE *static DWORD WCHAR WCHAR *static ULONG procsA_size |
| DWORD DWORD *static RTL_BALANCED_NODE RTL_BALANCED_NODE *static RTL_BALANCED_NODE *static DWORD WCHAR WCHAR *static ULONG const UINT64 ULONG procsW_size |
Definition at line 992 of file rtl.c.
Referenced by compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), test_RtlIpv4AddressToString(), test_RtlIpv4AddressToStringEx(), test_RtlIpv4StringToAddress(), test_RtlIpv4StringToAddressEx(), test_RtlIpv6AddressToStringEx(), test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
| NTSTATUS res_strict |
Definition at line 996 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
|
static |
Definition at line 146 of file rtl.c.
Referenced by InitFunctionPtrs().
Definition at line 141 of file rtl.c.
Referenced by InitFunctionPtrs().
| int terminator_offset |
Definition at line 993 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv6StringToAddress().
| int terminator_offset_strict |
Definition at line 997 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress().
|
static |
Definition at line 3461 of file rtl.c.
Referenced by test_dbg_print_except_handler(), and test_DbgPrint().
|
static |
Definition at line 3462 of file rtl.c.
Referenced by test_dbg_print_except_handler(), and test_DbgPrint().
Definition at line 3590 of file rtl.c.
Referenced by test_heap_destroy_except_handler(), and test_RtlDestroyHeap().
Definition at line 3589 of file rtl.c.
Referenced by test_heap_destroy_except_handler(), and test_RtlDestroyHeap().
Definition at line 112 of file rtl.c.
Referenced by RtlInitUnicodeString().
Definition at line 144 of file rtl.c.
Referenced by ldr_notify_callback_imports(), and test_LdrRegisterDllNotification().
| DWORD DWORD *static RTL_BALANCED_NODE RTL_BALANCED_NODE *static RTL_BALANCED_NODE *static DWORD WCHAR WCHAR *static ULONG const UINT64 ULONG const void ULONG workers_size |