1 /* 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without modification, 6 * are permitted provided that the following conditions are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright notice, this list of 9 * conditions and the following disclaimer. 10 * 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 12 * of conditions and the following disclaimer in the documentation and/or other materials 13 * provided with the distribution. 14 * 15 * 3. Neither the name of the copyright holder nor the names of its contributors may be used 16 * to endorse or promote products derived from this software without specific prior written 17 * permission. 18 * 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 21 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 28 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 29 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 */ 31 #ifndef _IT_TEST_SYS_H 32 #define _IT_TEST_SYS_H 33 34 #include "libgen.h" 35 #include "setjmp.h" 36 #include "fenv.h" 37 #include "float.h" 38 #include "math.h" 39 #include "regex.h" 40 #include "locale.h" 41 #include "pwd.h" 42 #include "osTest.h" 43 #define FE_INVALID 1 44 #define FE_DIVBYZERO 4 45 #define FE_OVERFLOW 8 46 #define FE_UNDERFLOW 16 47 #define FE_INEXACT 32 48 #define FE_ALL_EXCEPT 0 49 #define FE_TONEAREST 0 50 #define FE_DOWNWARD 0x400 51 #define FE_UPWARD 0x800 52 #define FE_TOWARDZERO 0xc00 53 54 extern CHAR *g_groupFileStream; 55 extern CHAR *g_passwdFileStream; 56 extern VOID ItTestSys001(VOID); 57 extern VOID IT_TEST_SYS_002(VOID); 58 extern VOID IT_TEST_SYS_003(VOID); 59 extern VOID ItTestSys004(VOID); 60 extern VOID ItTestSys005(VOID); 61 extern VOID ItTestSys006(VOID); 62 extern VOID ItTestSys007(VOID); 63 extern VOID ItTestSys008(VOID); 64 extern VOID ItTestSys009(VOID); 65 extern VOID ItTestSys010(VOID); 66 extern VOID IT_TEST_SYS_011(VOID); 67 extern VOID ItTestSys012(VOID); 68 extern VOID ItTestSys013(VOID); 69 extern VOID ItTestSys014(VOID); 70 extern VOID ItTestSys015(VOID); 71 extern VOID ItTestSys016(VOID); 72 extern VOID ItTestSys017(VOID); 73 extern VOID ItTestSys018(VOID); 74 extern VOID ItTestSys019(VOID); 75 extern VOID ItTestSys020(VOID); 76 extern VOID ItTestSys021(VOID); 77 extern VOID ItTestSys022(VOID); 78 extern VOID ItTestSys023(VOID); 79 extern VOID ItTestSys024(VOID); 80 extern VOID ItTestSys025(VOID); 81 extern VOID ItTestSys026(VOID); 82 extern VOID ItTestSys027(VOID); 83 extern VOID ItTestSys028(VOID); 84 extern VOID ItTestSys029(VOID); 85 extern VOID IT_TEST_SYS_030(VOID); 86 extern VOID IT_TEST_SYS_031(VOID); 87 #endif 88