ReactOS 0.4.16-dev-289-g096a551
|
#include <stdlib.h>
#include "ntdll_test.h"
#include "inaddr.h"
#include "in6addr.h"
#include "initguid.h"
#include "shobjidl.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 |
Macros | |
#define | COBJMACROS |
#define | htons(s) __my_ushort_swap(s) |
#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 | NB_ALL_ACCESSES (sizeof(all_accesses)/sizeof(*all_accesses)) |
#define | NB_ANY_ACCESSES (sizeof(any_accesses)/sizeof(*any_accesses)) |
#define | DECOMPRESS_BROKEN_FRAGMENT 1 /* < Win 7 */ |
#define | DECOMPRESS_BROKEN_TRUNCATED 2 /* broken on all machines */ |
Typedefs | |
typedef struct _RTL_HANDLE | RTL_HANDLE |
typedef struct _RTL_HANDLE_TABLE | RTL_HANDLE_TABLE |
typedef struct MY_HANDLE | MY_HANDLE |
#define NB_ALL_ACCESSES (sizeof(all_accesses)/sizeof(*all_accesses)) |
#define NB_ANY_ACCESSES (sizeof(any_accesses)/sizeof(*any_accesses)) |
typedef struct _RTL_HANDLE RTL_HANDLE |
typedef struct _RTL_HANDLE_TABLE RTL_HANDLE_TABLE |
|
static |
Definition at line 2124 of file rtl.c.
Referenced by test_RtlIpv6StringToAddressEx().
|
static |
Definition at line 1994 of file rtl.c.
Referenced by test_RtlIpv6StringToAddress().
Definition at line 3055 of file rtl.c.
Referenced by test_RtlIsCriticalSectionLocked().
Definition at line 3471 of file rtl.c.
Referenced by ldr_notify_callback_dll_main().
Definition at line 3510 of file rtl.c.
Referenced by ldr_notify_callback_fail().
Definition at line 3411 of file rtl.c.
Referenced by ldr_notify_callback1().
Definition at line 1252 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
Definition at line 1739 of file rtl.c.
Referenced by compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
Definition at line 137 of file rtl.c.
Referenced by START_TEST().
|
static |
Definition at line 2607 of file rtl.c.
Referenced by test_RtlDecompressBuffer().
|
static |
Definition at line 3245 of file rtl.c.
Referenced by test_LdrEnumerateLoadedModules().
|
static |
Definition at line 3416 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
|
static |
Definition at line 3486 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
Definition at line 3525 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
Definition at line 3549 of file rtl.c.
Referenced by test_LdrRegisterDllNotification().
|
static |
Referenced by InitFunctionPtrs(), and test_LdrProcessRelocationBlock().
|
static |
Referenced by InitFunctionPtrs(), and test_HandleTables().
Referenced by InitFunctionPtrs(), and test_RtlIpv4AddressToString().
Referenced by InitFunctionPtrs(), and test_RtlIpv6AddressToString().
|
inlinestatic |
Definition at line 832 of file rtl.c.
Referenced by test_HandleTables().
START_TEST | ( | rtl | ) |
Definition at line 3650 of file rtl.c.
Definition at line 2387 of file rtl.c.
Referenced by START_TEST().
Definition at line 3257 of file rtl.c.
Referenced by START_TEST().
Definition at line 2442 of file rtl.c.
Referenced by START_TEST().
Definition at line 977 of file rtl.c.
Referenced by START_TEST().
Definition at line 3569 of file rtl.c.
Referenced by START_TEST().
Definition at line 865 of file rtl.c.
Referenced by START_TEST().
Definition at line 746 of file rtl.c.
Referenced by START_TEST().
Definition at line 789 of file rtl.c.
Referenced by START_TEST().
Definition at line 205 of file rtl.c.
Referenced by START_TEST().
Definition at line 2494 of file rtl.c.
Referenced by START_TEST().
Definition at line 811 of file rtl.c.
Referenced by START_TEST().
Definition at line 2631 of file rtl.c.
Referenced by START_TEST().
Definition at line 893 of file rtl.c.
Referenced by START_TEST().
Definition at line 308 of file rtl.c.
Referenced by START_TEST().
Definition at line 333 of file rtl.c.
Referenced by START_TEST().
Definition at line 2567 of file rtl.c.
Referenced by START_TEST().
Definition at line 3145 of file rtl.c.
Referenced by START_TEST().
Definition at line 1008 of file rtl.c.
Referenced by START_TEST().
Definition at line 1052 of file rtl.c.
Referenced by START_TEST().
Definition at line 1267 of file rtl.c.
Referenced by START_TEST().
Definition at line 1340 of file rtl.c.
Referenced by START_TEST().
Definition at line 1754 of file rtl.c.
Referenced by START_TEST().
Definition at line 1874 of file rtl.c.
Referenced by START_TEST().
Definition at line 2034 of file rtl.c.
Referenced by START_TEST().
Definition at line 2153 of file rtl.c.
Referenced by START_TEST().
Definition at line 3089 of file rtl.c.
Referenced by START_TEST().
Definition at line 3179 of file rtl.c.
Referenced by START_TEST().
Definition at line 3292 of file rtl.c.
Referenced by START_TEST().
Definition at line 277 of file rtl.c.
Referenced by START_TEST().
Definition at line 3338 of file rtl.c.
Referenced by START_TEST().
Definition at line 702 of file rtl.c.
Referenced by START_TEST().
Definition at line 909 of file rtl.c.
Referenced by START_TEST().
Definition at line 381 of file rtl.c.
Referenced by START_TEST().
Definition at line 404 of file rtl.c.
Referenced by START_TEST().
Definition at line 360 of file rtl.c.
Referenced by START_TEST().
Definition at line 1173 of file rtl.c.
Referenced by test_RtlIpv4StringToAddressEx(), test_RtlIpv6AddressToString(), test_RtlIpv6AddressToStringEx(), and test_RtlIpv6StringToAddressEx().
|
static |
Definition at line 731 of file rtl.c.
Referenced by test_RtlAreAllAccessesGranted().
|
static |
Definition at line 775 of file rtl.c.
Referenced by test_RtlAreAnyAccessesGranted().
Definition at line 97 of file rtl.c.
Referenced by WdmlibRtlIsNtDdiVersionAvailable().
RTL_HANDLE *static BYTE |
Definition at line 131 of file rtl.c.
Referenced by ldr_notify_callback_imports().
|
static |
Definition at line 135 of file rtl.c.
Referenced by __mingw_vsprintf(), _InterlockedCompareExchange(), _InterlockedCompareExchange64(), _InterlockedExchange(), _InterlockedExchangeAdd(), _Locale_strxfrm(), 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(), _WLocale_strxfrm(), add_wildcard(), CHString::AllocCopy(), build_reparse_buffer(), 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_from_variant(), copy_propbag2(), copy_string(), copy_substring_null(), copy_tex_sub_image(), CopyMediaType(), create_test_file(), CreateColorTransformA(), CreateColorTransformW(), CreateFontPackage(), 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(), DwmRegisterThumbnail(), emit_byte(), empty_mem_output_buffer(), empty_output_buffer(), Extract(), FilenameA2W_N(), FilenameW2A_N(), fixup_buffer_cr(), fnIMultiLanguage_ConvertString(), fnIMultiLanguage_ConvertStringFromUnicode(), fnIMultiLanguage_ConvertStringToUnicode(), folder_Copy(), folder_Move(), GdipCloneBrush(), GdipEnumerateMetafileDestPoint(), GdipEnumerateMetafileDestPointI(), GdipEnumerateMetafileDestRect(), GdipEnumerateMetafileDestRectI(), get_ip(), getName(), gl_logicop_ci_pixels(), gl_logicop_ci_span(), gzungetc(), halve1Dimage_byte(), halve1Dimage_float(), halve1Dimage_int(), halve1Dimage_short(), halve1Dimage_ubyte(), halve1Dimage_uint(), halve1Dimage_ushort(), handle_read(), handle_write(), HEADER_CopyHDItemForNotify(), 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(), MCIQTZ_mciUpdate(), ME_HandleMessage(), memcpy(), memmove(), MLangConvertCharset_DoConversion(), MLangConvertCharset_DoConversionFromUnicode(), MLangConvertCharset_DoConversionToUnicode(), mls(), ModifyValue(), move_file(), move_files_wildcard(), msi_build_icon_path(), MSVCRT_memcpy_s(), MSVCRT_memmove_s(), MSVCRT_strncpy_s(), 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_copy_cb(), 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(), replace(), RequestDuidGetDeviceIdProperty(), RequestDuidGetDeviceProperty(), RTFGetDestinationCallback(), RTFSetDestinationCallback(), run_copy(), RunDlg_GetParentDir(), safe_read(), SAFEARRAY_CopyData(), SafeArraySetIID(), SafeArraySetRecordInfo(), 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(), 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_junction_points(), test_LZCopy(), test_memcpy_s(), test_memmove_s(), test_MoveFileA(), test_MoveFileW(), test_mxwriter_cdata(), test_mxwriter_characters(), test_mxwriter_comment(), 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(), utf16_to_utf8(), utf8_to_utf16(), variant_copy(), VARIANT_CopyIRecordInfo(), VARIANT_DI_FromR4(), VARIANT_DI_FromR8(), VMR7WindowlessControl_GetVideoPosition(), VMR7WindowlessControl_SetVideoPosition(), VMR9WindowlessControl_GetVideoPosition(), VMR9WindowlessControl_SetVideoPosition(), 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 3409 of file rtl.c.
Referenced by fake_dll_main(), fake_dll_main_fail(), ldr_notify_callback_dll_main(), and ldr_notify_callback_fail().
enum { ... } flags |
|
static |
Definition at line 123 of file rtl.c.
Referenced by InitFunctionPtrs().
|
static |
Definition at line 71 of file rtl.c.
Referenced by InitFunctionPtrs().
Definition at line 1176 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 1180 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
const unsigned int ipv4_testcount = sizeof(ipv4_tests) / sizeof(ipv4_tests[0]) |
Definition at line 1250 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
struct { ... } ipv4_tests[] |
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
const unsigned int ipv6_testcount = sizeof(ipv6_tests) / sizeof(ipv6_tests[0]) |
Definition at line 1737 of file rtl.c.
Referenced by test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
const struct { ... } ipv6_tests[] |
Referenced by test_RtlIpv6StringToAddress(), and test_RtlIpv6StringToAddressEx().
Definition at line 1174 of file rtl.c.
Referenced by compare_RtlIpv6StringToAddressExW(), compare_RtlIpv6StringToAddressW(), test_RtlIpv4AddressToString(), test_RtlIpv4AddressToStringEx(), test_RtlIpv4StringToAddress(), test_RtlIpv4StringToAddressEx(), test_RtlIpv6AddressToStringEx(), test_RtlIpv6StringToAddress(), test_RtlIpv6StringToAddressEx(), and test_RtlRandom().
NTSTATUS res_strict |
Definition at line 1178 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv4StringToAddressEx().
|
static |
Definition at line 132 of file rtl.c.
Referenced by InitFunctionPtrs().
Definition at line 128 of file rtl.c.
Referenced by InitFunctionPtrs().
int terminator_offset |
Definition at line 1175 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress(), and test_RtlIpv6StringToAddress().
int terminator_offset_strict |
Definition at line 1179 of file rtl.c.
Referenced by test_RtlIpv4StringToAddress().
Definition at line 96 of file rtl.c.
Referenced by RtlInitUnicodeString().
Definition at line 130 of file rtl.c.
Referenced by ldr_notify_callback_imports(), and test_LdrRegisterDllNotification().