/test/xts/acts/kernel_lite/util_posix/src/ |
D | ActsUtilCheckApiTest.cpp | 57 int returnVal; variable 60 returnVal = isalnum(paraVal); 61 LOGD(" isalnum returnVal:='%d'\n", returnVal); 62 ASSERT_TRUE(returnVal != 0) << "ErrInfo: isalnum returnVal:='" << returnVal << "'"; 72 int returnVal; variable 75 returnVal = isalnum(paraVal); 76 LOGD(" isalnum returnVal:='%d'\n", returnVal); 77 ASSERT_TRUE(returnVal != 0) << "ErrInfo: isalnum returnVal:='" << returnVal << "'"; 87 int returnVal; variable 90 returnVal = isalnum(paraVal); [all …]
|
D | ActsUtilWideCheckApiTest.cpp | 55 int returnVal; variable 58 returnVal = iswalnum(paraVal); 59 LOGD(" iswalnum returnVal:='%d'\n", returnVal); 60 ASSERT_TRUE(returnVal != 0) << "ErrInfo: iswalnum returnVal:='" << returnVal << "'"; 70 int returnVal; variable 73 returnVal = iswalnum(paraVal); 74 LOGD(" iswalnum returnVal:='%d'\n", returnVal); 75 ASSERT_TRUE(returnVal != 0) << "ErrInfo: iswalnum returnVal:='" << returnVal << "'"; 85 int returnVal; variable 88 returnVal = iswalnum(paraVal); [all …]
|
D | ActsUtilConvertApiTest.cpp | 59 int returnVal; variable 62 returnVal = _tolower(paraChar); 63 LOGD(" _tolower c:='%c', returnVal:='%c'\n", paraChar, returnVal); 64 ASSERT_TRUE('a' == returnVal) << "ErrInfo: _tolower returnVal:='" << returnVal << "'"; 74 int returnVal; variable 77 returnVal = _tolower(paraChar); 78 LOGD(" _tolower c:='%c', returnVal:='%c'\n", paraChar, returnVal); 79 ASSERT_TRUE('5' == returnVal) << "ErrInfo: _tolower returnVal:='" << returnVal << "'"; 89 int returnVal; variable 92 returnVal = _tolower(paraChar); [all …]
|
D | ActsUtilStringOperApiTest.cpp | 57 int returnVal; variable 60 returnVal = ffs(paraValue); 61 LOGD(" ffs returnVal:='%d'\n", returnVal); 62 ASSERT_TRUE(1 == returnVal) << "ErrInfo: ffs returnVal:='" << returnVal << "'"; 72 int returnVal; variable 75 returnVal = ffs(paraValue); 76 LOGD(" ffs returnVal:='%d'\n", returnVal); 77 ASSERT_TRUE(0 == returnVal) << "ErrInfo: ffs returnVal:='" << returnVal << "'"; 87 int returnVal; variable 90 returnVal = ffs(paraValue); [all …]
|
D | ActsUtilMathApiTest.cpp | 50 double returnVal; variable 55 returnVal = drand48(); 56 LOGD(" drand48 returnVal:='%f'\n", returnVal); 57 …ASSERT_TRUE(returnVal >= 0.0 && returnVal < 1.0) << "ErrInfo: drand48 returnVal:='" << returnVal <… 66 double returnVal; variable 69 returnVal = erand48(xsubi); 70 LOGD(" erand48 returnVal:='%f'\n", returnVal); 71 …ASSERT_TRUE(returnVal >= 0.0 && returnVal < 1.0) << "ErrInfo: erand48 returnVal:='" << returnVal <… 80 long long returnVal; variable 83 returnVal = jrand48(xsubi); [all …]
|
D | ActsUtilMsgApiTest.cpp | 50 int returnVal = 0; variable 52 returnVal = fmtmsg(MM_PRINT, "test fmtmsg:", MM_INFO, "hello fmtmsg", "call it", "fmtmsg"); 53 LOGD(" fmtmsg returnVal:='%d'\n", returnVal); 54 ASSERT_TRUE(MM_OK == returnVal) << "ErrInfo: fmtmsg returnVal:='" << returnVal << "'";
|
D | ActsUtilDataStructApiTest.cpp | 146 int returnVal = 0; variable 161 returnVal = hsearch_r(item, ENTER, &searchResult, &hTab); 162 ASSERT_TRUE(returnVal != 0) << "ErrInfo: hsearch_r searchResult:='" << searchResult << "'"; 165 returnVal = hsearch_r(item, FIND, &searchResult, &hTab); 167 ASSERT_TRUE(returnVal != 0 && strcmp((const char *)searchResult->data, "value1") == 0) 180 int returnVal = 0; variable 191 returnVal = hsearch_r(item, FIND, &searchResult, &hTab); 193 ASSERT_TRUE(0 == returnVal) << "ErrInfo: hsearch_r searchResult:='" << searchResult << "'";
|
/test/xts/acts/kernel_lite/process_posix/src/ |
D | ActsProcessApiTest.cpp | 118 int returnVal; variable 120 returnVal = _setjmp(g_buf); 121 LogPrint(" _setjmp env:='struct jmp_buf', --> returnVal:='%d'\n", returnVal); 123 if (returnVal != 0) { 125 …ASSERT_NE(returnVal, 0) << "ErrInfo: second time _setjmp EQ 0, --> returnVal:='" << returnVal <<… 128 …ASSERT_EQ(returnVal, 0) << "ErrInfo: first time _setjmp not EQ 0, --> returnVal:='" << returnVal… 139 int returnVal; variable 141 returnVal = setjmp(g_buf); 142 LogPrint(" setjmp env:='struct jmp_buf', returnVal:='%d'\n", returnVal); 144 if (returnVal != 0) { [all …]
|
/test/xts/acts/kernel_lite/mem_posix/src/ |
D | ActsMemApiTest.cpp | 61 int returnVal; variable 63 returnVal = bcmp(str1, str2, 7); 64 …LogPrint(" bcmp *s1:='%s' *s2:='%s' size:='7', --> returnVal:='%d'\n", str1, str2, returnVal); 65 EXPECT_EQ(0, returnVal) 67 << "' size:='7', --> returnVal:='" << returnVal << "'"; 78 int returnVal; variable 80 returnVal = bcmp(str1, str2, 15); 81 …ogPrint(" bcmp *s1:='%s' *s2:='%s' size:='15', --> returnVal:='%d'\n", str1, str2, returnVal); 82 EXPECT_NE(0, returnVal) 84 << "' size:='15', --> returnVal:='" << returnVal << "'"; [all …]
|
/test/xts/acts/kernel_lite/time_posix/src/ |
D | TimeUtilsTest.cpp | 122 double returnVal; variable 126 returnVal = difftime(timeEnd, timeStart); 128 "--> returnVal:='%f'\n", timeEnd, timeStart, returnVal); 130 EXPECT_GE(returnVal, 0) 132 << timeStart << "' --> returnVal:='" << returnVal << "'"; 133 EXPECT_LE(returnVal, 2) 135 << timeStart << "' --> returnVal:='" << returnVal << "'";
|