ReactOS 0.4.16-dev-109-gf4cb10f
|
#include <ntstatus.h>
#include <windows.h>
#include <apitest.h>
#include <xmmintrin.h>
#include <float.h>
#include <pseh/pseh2.h>
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | ON_IX86(x) |
#define | ON_AMD64(x) |
#define | ON_ARM(x) |
Typedefs | |
typedef enum _FP_OP | FP_OP |
Enumerations | |
enum | _FP_OP { OP_Inexact , OP_Underflow , OP_Overflow , OP_ZeroDivide , OP_Invalid , OP_Denormal } |
Functions | |
unsigned int | get_native_fpcw (void) |
void | set_native_fpcw (unsigned int value) |
void | Test_controlfp (void) |
void | Test_exceptions (void) |
START_TEST (fpcontrol) | |
Variables | |
struct { | |
unsigned int Value | |
unsigned int Mask | |
unsigned int Result | |
unsigned int Native | |
} | g_controlfp_Testcases [] |
struct { | |
FP_OP Operation | |
unsigned int Fpcw | |
unsigned int FpStatus | |
unsigned int ExceptionCode | |
unsigned int Native | |
} | g_exception_Testcases [] |
Definition at line 70 of file fpcontrol.c.
Definition at line 76 of file fpcontrol.c.
Definition at line 64 of file fpcontrol.c.
#define WIN32_NO_STATUS |
Definition at line 9 of file fpcontrol.c.
Enumerator | |
---|---|
OP_Inexact | |
OP_Underflow | |
OP_Overflow | |
OP_ZeroDivide | |
OP_Invalid | |
OP_Denormal |
Definition at line 138 of file fpcontrol.c.
Definition at line 18 of file fpcontrol.c.
Referenced by START_TEST(), Test_controlfp(), and Test_exceptions().
Definition at line 36 of file fpcontrol.c.
START_TEST | ( | fpcontrol | ) |
Definition at line 257 of file fpcontrol.c.
Definition at line 107 of file fpcontrol.c.
Referenced by START_TEST().
Definition at line 179 of file fpcontrol.c.
Referenced by START_TEST().
Definition at line 153 of file fpcontrol.c.
Referenced by Test_exceptions().
Definition at line 151 of file fpcontrol.c.
Referenced by Test_exceptions().
Definition at line 152 of file fpcontrol.c.
struct { ... } g_controlfp_Testcases[] |
Referenced by Test_controlfp().
struct { ... } g_exception_Testcases[] |
Referenced by Test_exceptions().
Definition at line 82 of file fpcontrol.c.
Referenced by $include(), __ll_lshift(), __ll_rshift(), __ull_rshift(), _BitScanForward(), _BitScanReverse(), _CountLeadingZeros(), _CountTrailingZeros(), _HalpDismissIrqGeneric(), _HalpDismissIrqLevel(), AcpiExInsertIntoField(), AcpiExWriteWithUpdateRule(), AcpiRsDecodeBitmask(), AcpiRsEncodeBitmask(), addIPAddress(), BitScanForward(), BitScanForwardAffinity(), BitScanReverse(), BitScanReverseAffinity(), CallDibStretchBlt(), co_IntGetScrollInfo(), co_IntTranslateAccelerator(), ConsoleFirmwareTextSetState(), ConsoleGraphicalSetTextState(), ConsoleTextLocalSetTextState(), d3dcompiler_parse_signature(), doSymEnumSymbols(), doSymSearch(), DrvBitBlt(), EngStretchBlt(), EngStretchBltROP(), ExDupHandleTable(), GetBitValue(), HalEndSystemInterrupt2(), HalpDispatchInterrupt2(), HalpEndSoftwareInterrupt2(), HidParser_SignRange(), i8042MouHandleButtons(), IntGdiCreateMaskFromRLE(), KeFindConfigurationNextEntry(), KeStartThread(), KfLowerIrql(), KiNpxHandler(), KiRecordDr7(), LdrpSnapThunk(), MiniportHandleInterrupt(), NEWco_IntGetScrollInfo(), NewCtxInit(), NtGdiEngStretchBlt(), NtQueryDebugFilterState(), NtSetDebugFilterState(), NvNetApplyPacketFilter(), PciIsSuiteVersion(), PciSize(), RcvBufRegisterMask(), read_bitmap_patterns(), read_metadata_patterns(), RtlClearBits(), RtlSetBits(), SepPropagateAcl(), SetBitValue(), sym_enum(), SymEnumSourceFiles(), SymEnumSourceFilesW(), SymEnumSymbols(), SymEnumSymbolsW(), SymSearch(), SymSearchW(), test_componentinfo(), Test_controlfp(), test_FileContents1(), test_FileContents2(), test_FileDescriptor(), test_FileDescriptor_Folder(), test_pack_ACCESS_ALLOWED_ACE(), test_pack_ACCESS_DENIED_ACE(), test_pack_SYSTEM_ALARM_ACE(), test_pack_SYSTEM_AUDIT_ACE(), UDFBuildHashEntry(), UefiVideoOutputChar(), VCheckAcl__(), VGADDI_BltBrush(), VGADDI_BltMask(), VGADDI_BltPointerToVGA(), WTSWaitSystemEvent(), and XboxVideoOutputChar().
Definition at line 84 of file fpcontrol.c.
Referenced by PciSetResources(), Test_controlfp(), and Test_exceptions().
_In_ PKTRANSACTION _In_ FLT_SET_CONTEXT_OPERATION Operation |
Definition at line 150 of file fpcontrol.c.
Referenced by _IRQL_requires_max_(), CdCreateUserMdl(), CmpInitHiveFromFile(), ExLockUserBuffer(), Ext2LockUserBuffer(), Fast486ArithmeticOperation(), Fast486FpuArithmeticOperation(), Fast486RotateOperation(), FatLockUserBuffer(), FxProbeAndLockWithAccess(), FxRequestBuffer::GetOrAllocateMdl(), HackSecureVirtualMemory(), IopDeviceStatus(), KmtUserModeCallback(), CInputPin::KsGetPipe(), COutputPin::KsGetPipe(), CInputPin::KsPeekAllocator(), COutputPin::KsPeekAllocator(), KsProbeStreamIrp(), LockOrUnlockVolume(), main(), MesBufferHandleReset(), MesIncrementalHandleReset(), MmProbeAndLockPages(), MockMmProbeAndLockPages(), NtfsLockUserBuffer(), ODBC32_SQLBulkOperations(), RxInitializeLowIoContext(), RxLockUserBuffer(), RxLowIoCompletionTail(), RxLowIoSubmit(), Test_exceptions(), VfatLockUserBuffer(), VideoPortLockBuffer(), WsAsyncGetHost(), WsAsyncGetProto(), and WsAsyncGetServ().
Definition at line 83 of file fpcontrol.c.
Referenced by Test_controlfp().
Definition at line 81 of file fpcontrol.c.