TianoCore EDK2 master
Loading...
Searching...
No Matches
TestBaseSafeIntLib.h
Go to the documentation of this file.
1
10#ifndef _TEST_BASE_SAFE_INT_LIB_H_
11#define _TEST_BASE_SAFE_INT_LIB_H_
12
13#include <PiPei.h>
14#include <Uefi.h>
15#include <Library/UefiLib.h>
16#include <Library/DebugLib.h>
18#include <Library/UnitTestLib.h>
19#include <Library/SafeIntLib.h>
20
22EFIAPI
23TestSafeInt32ToUintn (
24 IN UNIT_TEST_CONTEXT Context
25 );
26
28EFIAPI
29TestSafeUint32ToIntn (
30 IN UNIT_TEST_CONTEXT Context
31 );
32
34EFIAPI
35TestSafeIntnToInt32 (
36 IN UNIT_TEST_CONTEXT Context
37 );
38
40EFIAPI
41TestSafeIntnToUint32 (
42 IN UNIT_TEST_CONTEXT Context
43 );
44
46EFIAPI
47TestSafeUintnToUint32 (
48 IN UNIT_TEST_CONTEXT Context
49 );
50
52EFIAPI
53TestSafeUintnToIntn (
54 IN UNIT_TEST_CONTEXT Context
55 );
56
58EFIAPI
59TestSafeUintnToInt64 (
60 IN UNIT_TEST_CONTEXT Context
61 );
62
64EFIAPI
65TestSafeInt64ToIntn (
66 IN UNIT_TEST_CONTEXT Context
67 );
68
70EFIAPI
71TestSafeInt64ToUintn (
72 IN UNIT_TEST_CONTEXT Context
73 );
74
76EFIAPI
77TestSafeUint64ToIntn (
78 IN UNIT_TEST_CONTEXT Context
79 );
80
82EFIAPI
83TestSafeUint64ToUintn (
84 IN UNIT_TEST_CONTEXT Context
85 );
86
88EFIAPI
89TestSafeUintnAdd (
90 IN UNIT_TEST_CONTEXT Context
91 );
92
94EFIAPI
95TestSafeIntnAdd (
96 IN UNIT_TEST_CONTEXT Context
97 );
98
100EFIAPI
101TestSafeUintnSub (
102 IN UNIT_TEST_CONTEXT Context
103 );
104
106EFIAPI
107TestSafeIntnSub (
108 IN UNIT_TEST_CONTEXT Context
109 );
110
112EFIAPI
113TestSafeUintnMult (
114 IN UNIT_TEST_CONTEXT Context
115 );
116
118EFIAPI
119TestSafeIntnMult (
120 IN UNIT_TEST_CONTEXT Context
121 );
122
123#endif
#define IN
Definition: Base.h:279
VOID * UNIT_TEST_CONTEXT
Definition: UnitTestLib.h:54
UINT32 UNIT_TEST_STATUS
Definition: UnitTestLib.h:16