TianoCore EDK2 master
Loading...
Searching...
No Matches
SafeIntLibUintnIntnUnitTests64.c File Reference

Go to the source code of this file.

Functions

UNIT_TEST_STATUS EFIAPI TestSafeInt32ToUintn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUint32ToIntn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeIntnToInt32 (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeIntnToUint32 (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnToUint32 (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnToIntn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnToInt64 (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeInt64ToIntn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeInt64ToUintn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUint64ToIntn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUint64ToUintn (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnAdd (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeIntnAdd (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnSub (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeIntnSub (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeUintnMult (IN UNIT_TEST_CONTEXT Context)
 
UNIT_TEST_STATUS EFIAPI TestSafeIntnMult (IN UNIT_TEST_CONTEXT Context)
 

Detailed Description

x64-specific functions for unit-testing INTN and UINTN functions in SafeIntLib.

Copyright (c) Microsoft Corporation.
Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SafeIntLibUintnIntnUnitTests64.c.

Function Documentation

◆ TestSafeInt32ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeInt32ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 15 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeInt64ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeInt64ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 229 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeInt64ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeInt64ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 251 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeIntnAdd()

UNIT_TEST_STATUS EFIAPI TestSafeIntnAdd ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 363 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeIntnMult()

UNIT_TEST_STATUS EFIAPI TestSafeIntnMult ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 515 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeIntnSub()

UNIT_TEST_STATUS EFIAPI TestSafeIntnSub ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 439 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeIntnToInt32()

UNIT_TEST_STATUS EFIAPI TestSafeIntnToInt32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 71 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeIntnToUint32()

UNIT_TEST_STATUS EFIAPI TestSafeIntnToUint32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 109 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUint32ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUint32ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 44 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUint64ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUint64ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 280 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUint64ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeUint64ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 309 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnAdd()

UNIT_TEST_STATUS EFIAPI TestSafeUintnAdd ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 331 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnMult()

UNIT_TEST_STATUS EFIAPI TestSafeUintnMult ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 483 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnSub()

UNIT_TEST_STATUS EFIAPI TestSafeUintnSub ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 407 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnToInt64()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToInt64 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 200 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 171 of file SafeIntLibUintnIntnUnitTests64.c.

◆ TestSafeUintnToUint32()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToUint32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 142 of file SafeIntLibUintnIntnUnitTests64.c.