TianoCore EDK2 master
|
#include <PiPei.h>
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UnitTestLib.h>
#include <Library/SafeIntLib.h>
Go to the source code of this file.
UEFI OS based application for unit testing the SafeIntLib.
Copyright (c) Microsoft Corporation.
Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TestBaseSafeIntLib.h.
UNIT_TEST_STATUS EFIAPI TestSafeInt32ToUintn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 15 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeInt64ToIntn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 198 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeInt64ToUintn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 236 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeIntnAdd | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 359 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeIntnMult | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 511 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeIntnSub | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 435 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeIntnToInt32 | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 73 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeIntnToUint32 | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 95 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUint32ToIntn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 44 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUint64ToIntn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 269 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUint64ToUintn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 298 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnAdd | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 327 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnMult | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 479 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnSub | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 403 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnToInt64 | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 175 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnToIntn | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 146 of file SafeIntLibUintnIntnUnitTests32.c.
UNIT_TEST_STATUS EFIAPI TestSafeUintnToUint32 | ( | IN UNIT_TEST_CONTEXT | Context | ) |
Definition at line 124 of file SafeIntLibUintnIntnUnitTests32.c.