TianoCore EDK2 master
Loading...
Searching...
No Matches
SafeIntLibUintnIntnUnitTests32.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

IA32-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 SafeIntLibUintnIntnUnitTests32.c.

Function Documentation

◆ TestSafeInt32ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeInt32ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 15 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeInt64ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeInt64ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 198 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeInt64ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeInt64ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 236 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeIntnAdd()

UNIT_TEST_STATUS EFIAPI TestSafeIntnAdd ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 359 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeIntnMult()

UNIT_TEST_STATUS EFIAPI TestSafeIntnMult ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 511 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeIntnSub()

UNIT_TEST_STATUS EFIAPI TestSafeIntnSub ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 435 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeIntnToInt32()

UNIT_TEST_STATUS EFIAPI TestSafeIntnToInt32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 73 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeIntnToUint32()

UNIT_TEST_STATUS EFIAPI TestSafeIntnToUint32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 95 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUint32ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUint32ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 44 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUint64ToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUint64ToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 269 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUint64ToUintn()

UNIT_TEST_STATUS EFIAPI TestSafeUint64ToUintn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 298 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnAdd()

UNIT_TEST_STATUS EFIAPI TestSafeUintnAdd ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 327 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnMult()

UNIT_TEST_STATUS EFIAPI TestSafeUintnMult ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 479 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnSub()

UNIT_TEST_STATUS EFIAPI TestSafeUintnSub ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 403 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnToInt64()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToInt64 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 175 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnToIntn()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToIntn ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 146 of file SafeIntLibUintnIntnUnitTests32.c.

◆ TestSafeUintnToUint32()

UNIT_TEST_STATUS EFIAPI TestSafeUintnToUint32 ( IN UNIT_TEST_CONTEXT  Context)

Definition at line 124 of file SafeIntLibUintnIntnUnitTests32.c.