Home
last modified time | relevance | path

Searched refs:LOG (Results 1 - 25 of 45) sorted by relevance

12

/kernel/liteos_m/testsuites/unittest/posix/src/ctype/
H A Disxdigit_test.c63 LOG("+-------------------------------------------+\n"); in PosixCTypeIsxdigitTestTearDown()
77 LOG("[DEMO] posix ctype test case 1:isxdigit(%c) ok.\n", a);
79 LOG("[DEMO] posix ctype test case 1:isxdigit(%c) fail.\n", a);
95 LOG("[DEMO] posix ctype test case 2:isxdigit(%c) ok.\n", a);
97 LOG("[DEMO] posix ctype test case 2:isxdigit(%c) fail.\n", a);
113 LOG("[DEMO] posix ctype test case 3:isxdigit(%c) ok.\n", a);
115 LOG("[DEMO] posix ctype test case 3:isxdigit(%c) fail.\n", a);
131 LOG("[DEMO] posix ctype test case 1:isxdigit(%c) ok.\n", a);
133 LOG("[DEMO] posix ctype test case 1:isxdigit(%c) fail.\n", a);
149 LOG("[DEM
[all...]
H A Dislower_test.c63 LOG("+-------------------------------------------+\n"); in PosixCTypeIslowerTestTearDown()
77 LOG("[DEMO] posix ctype test case 1:islower(%c) ok.\n", a);
79 LOG("[DEMO] posix ctype test case 1:islower(%c) fail.\n", a);
95 LOG("[DEMO] posix ctype test case 2:islower(%c) ok.\n", a);
97 LOG("[DEMO] posix ctype test case 2:islower(%c) fail.\n", a);
113 LOG("[DEMO] posix ctype test case 3:islower(%c) ok.\n", a);
115 LOG("[DEMO] posix ctype test case 3:islower(%c) fail.\n", a);
131 LOG("[DEMO] posix ctype test case 4(except):islower(%c) ok.\n", a);
133 LOG("[DEMO] posix ctype test case 4(except):islower(%c) fail.\n", a);
149 LOG("[DEM
[all...]
H A Dtolower_test.c63 LOG("+-------------------------------------------+\n"); in PosixCTypeTolowerTestTearDown()
77 LOG("[DEMO] posix ctype test case 1:tolower(%c)==%c ok.\n", a, ret);
79 LOG("[DEMO] posix ctype test case 1:tolower(%c)!=%c fail.\n", a, ret);
95 LOG("[DEMO] posix ctype test case 2:tolower(%c)==%c ok.\n", a, ret);
97 LOG("[DEMO] posix ctype test case 2:tolower(%c)!=%c fail.\n", a, ret);
113 LOG("[DEMO] posix ctype test case 3:tolower(%c)==%c ok.\n", a, ret);
115 LOG("[DEMO] posix ctype test case 3:tolower(%c)!=%c fail.\n", a, ret);
131 LOG("[DEMO] posix ctype test case 4:tolower(%c)==%c ok.\n", a, ret);
133 LOG("[DEMO] posix ctype test case 4:tolower(%c)!=%c fail.\n", a, ret);
149 LOG("[DEM
[all...]
H A Disdigit_test.c63 LOG("+-------------------------------------------+\n"); in PosixCTypeIsdigitTestTearDown()
77 LOG("[DEMO] posix ctype test case 1:isdigit(%c) ok.\n", a);
80 LOG("[DEMO] posix ctype test case 1:isdigit(%c) fail.\n", a);
96 LOG("[DEMO] posix ctype test case 2:isdigit(%c) ok.\n", a);
99 LOG("[DEMO] posix ctype test case 2:isdigit(%c) fail.\n", a);
115 LOG("[DEMO] posix ctype test case 3:isdigit(%c) ok.\n", a);
118 LOG("[DEMO] posix ctype test case 3:isdigit(%c) fail.\n", a);
134 LOG("[DEMO] posix ctype test case 4(except):isdigit(%c) ok.\n", a);
137 LOG("[DEMO] posix ctype test case 4(except):isdigit(%c) fail.\n", a);
153 LOG("[DEM
[all...]
H A Dtoupper_test.c63 LOG("+-------------------------------------------+\n"); in PosixCTypeToupperTestTearDown()
77 LOG("[DEMO] posix ctype test case 1:toupper(%c)==%c ok.\n", a, ret);
79 LOG("[DEMO] posix ctype test case 1:toupper(%c)!=%c fail.\n", a, ret);
95 LOG("[DEMO] posix ctype test case 2:toupper(%c)==%c ok.\n", a, ret);
97 LOG("[DEMO] posix ctype test case 2:toupper(%c)!=%c fail.\n", a, ret);
113 LOG("[DEMO] posix ctype test case 3:toupper(%c)==%c ok.\n", a, ret);
115 LOG("[DEMO] posix ctype test case 3:toupper(%c)!=%c fail.\n", a, ret);
131 LOG("[DEMO] posix ctype test case 4:toupper(%c)==%c ok.\n", a, ret);
133 LOG("[DEMO] posix ctype test case 4:toupper(%c)!=%c fail.\n", a, ret);
149 LOG("[DEM
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/stdlib/
H A Datoi_test.c64 LOG("+-------------------------------------------+\n"); in PosixStdlibAtoiTestTearDown()
77 LOG("[DEMO] posix stdlib test case 1:atoi(%d) ok.\n", value);
79 LOG("[DEMO] posix stdlib test case 1:atoi(%d) fail.\n", value);
94 LOG("[DEMO] posix stdlib test case 2:atoi(%d) ok.\n", value);
96 LOG("[DEMO] posix stdlib test case 2:atoi(%d) fail.\n", value);
111 LOG("[DEMO] posix stdlib test case 3:atoi(%d) ok.\n", value);
113 LOG("[DEMO] posix stdlib test case 3:atoi(%d) fail.\n", value);
129 LOG("[DEMO] posix stdlib test case 4(except):atoi(%d) != 2147483648 ok.\n", value);
131 LOG("[DEMO] posix stdlib test case 4(except):atoi(%d) fail.\n", value);
146 LOG("[DEM
[all...]
H A Dstrtol_test.c64 LOG("+-------------------------------------------+\n"); in PosixStdlibStrtolTestTearDown()
79 LOG("[DEMO] posix stdlib test case 1:strtol(base=16) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr16, endPtr16);
81 LOG("[DEMO] posix stdlib test case 1:strtol(base=16) ret:%ld,%s fail.\n", ret, nPtr16);
99 LOG("[DEMO] posix stdlib test case 2:strtol(base=16) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr16, endPtr16);
101 LOG("[DEMO] posix stdlib test case 2:strtol(base=16) ret:%ld,%s fail.\n", ret, nPtr16);
119 LOG("[DEMO] posix stdlib test case 3:strtol(base=10) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr10, endPtr10);
121 LOG("[DEMO] posix stdlib test case 3:strtol(base=10) ret:%ld,%s fail.\n", ret, nPtr10);
139 LOG("[DEMO] posix stdlib test case 4:strtol(base=10) ret:%ld,%s, endPtr:%s ok.\n", ret, nPtr10, endPtr10);
141 LOG("[DEMO] posix stdlib test case 4:strtol(base=10) ret:%ld,%s fail.\n", ret, nPtr10);
159 LOG("[DEM
[all...]
H A Datol_test.c64 LOG("+-------------------------------------------+\n"); in PosixStdlibAtolTestTearDown()
77 LOG("[DEMO] posix stdlib test case 1:atol(%ld) ok.\n", value);
79 LOG("[DEMO] posix stdlib test case 1:atol(%ld) fail.\n", value);
94 LOG("[DEMO] posix stdlib test case 2:atol(%ld) ok.\n", value);
96 LOG("[DEMO] posix stdlib test case 2:atol(%ld) fail.\n", value);
111 LOG("[DEMO] posix stdlib test case 3:atol(%ld) ok.\n", value);
113 LOG("[DEMO] posix stdlib test case 3:atol(%ld) fail.\n", value);
129 LOG("[DEMO] posix stdlib test case 4(except):atol(%ld) != 2147483648 ok.\n", value);
131 LOG("[DEMO] posix stdlib test case 4(except):atol(%ld) fail.\n", value);
146 LOG("[DEM
[all...]
H A Datoll_test.c65 LOG("+-------------------------------------------+\n"); in PosixStdlibAtollTestTearDown()
78 LOG("[DEMO] posix stdlib test case 1:atoll(%lld) ok.\n", value);
80 LOG("[DEMO] posix stdlib test case 1:atoll(%lld) fail.\n", value);
95 LOG("[DEMO] posix stdlib test case 2:atoll(%lld) ok.\n", value);
97 LOG("[DEMO] posix stdlib test case 2:atoll(%lld) fail.\n", value);
112 LOG("[DEMO] posix stdlib test case 3:atoll(%lld) ok.\n", value);
114 LOG("[DEMO] posix stdlib test case 3:atoll(%lld) fail.\n", value);
130 LOG("[DEMO] posix stdlib test case 4(except):atoll(%lld) != 9223372036854775808 ok.\n", value);
132 LOG("[DEMO] posix stdlib test case 4(except):atoll(%lld) fail.\n", value);
147 LOG("[DEM
[all...]
H A Dstrtoull_test.c66 LOG("+-------------------------------------------+\n"); in PosixStdlibStrtoullTestTearDown()
81 LOG("[DEMO] posix stdlib test case 1:strtoull(base=10) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
83 LOG("[DEMO] posix stdlib test case 1:strtoull(base=10) ret:%llu,%s fail.\n", ret, nPtr);
101 LOG("[DEMO] posix stdlib test case 2:strtoull(base=2) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
103 LOG("[DEMO] posix stdlib test case 2:strtoull(base=2) ret:%llu,%s fail.\n", ret, nPtr);
121 LOG("[DEMO] posix stdlib test case 3:strtoull(base=16) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
123 LOG("[DEMO] posix stdlib test case 3:strtoull(base=16) ret:%llu,%s fail.\n", ret, nPtr);
141 LOG("[DEMO] posix stdlib test case 4:strtoull(base=8) ret:%llu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
143 LOG("[DEMO] posix stdlib test case 4:strtoull(base=8) ret:%llu,%s fail.\n", ret, nPtr);
162 LOG("[DEM
[all...]
H A Dstrtoul_test.c65 LOG("+-------------------------------------------+\n"); in PosixStdlibStrtoulTestTearDown()
80 LOG("[DEMO] posix stdlib test case 1:strtoul(base=10) ret:%lu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
82 LOG("[DEMO] posix stdlib test case 1:strtoul(base=10) ret:%lu,%s fail.\n", ret, nPtr);
100 LOG("[DEMO] posix stdlib test case 2:strtoul(base=2) ret:%lu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
102 LOG("[DEMO] posix stdlib test case 2:strtoul(base=2) ret:%lu,%s fail.\n", ret, endPtr);
120 LOG("[DEMO] posix stdlib test case 3:strtoul(base=16) ret:%lu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
122 LOG("[DEMO] posix stdlib test case 3:strtoul(base=16) ret:%lu,%s fail.\n", ret, endPtr);
140 LOG("[DEMO] posix stdlib test case 4:strtoul(base=8) ret:%lu,%s, endPtr:%s ok.\n", ret, nPtr, endPtr);
142 LOG("[DEMO] posix stdlib test case 4:strtoul(base=8) ret:%lu,%s fail.\n", ret, endPtr);
160 LOG("[DEM
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/string/
H A Dstrstr_test.c63 LOG("+-------------------------------------------+\n"); in PosixStringStrStrTestTearDown()
79 LOG("[DEMO] posix string test case 1:strstr(%s) %s ok.\n", srcS, destS);
81 LOG("[DEMO] posix string test case 1:strstr(%s) %s fail.\n", srcS, destS);
99 LOG("[DEMO] posix string test case 2:strstr(%s) %s ok.\n", srcS, destS);
101 LOG("[DEMO] posix string test case 2:strstr(%s) %s fail.\n", srcS, destS);
119 LOG("[DEMO] posix string test case 3:strstr(%s) %s ok.\n", srcT, dest);
121 LOG("[DEMO] posix string test case 3:strstr(%s) %s fail.\n", srcT, dest);
139 LOG("[DEMO] posix string test case 4(except):strstr(%s) %s ok.\n", src, dest);
141 LOG("[DEMO] posix string test case 4(except):strstr(%s) %s fail.\n", src, dest);
159 LOG("[DEM
[all...]
H A Dstrchr_test.c64 LOG("+-------------------------------------------+\n"); in PosixStringStrchrTestTearDown()
78 LOG("[DEMO] posix string test case 1:strchr(!) %s ok.\n", src);
80 LOG("[DEMO] posix string test case 1:strchr(!) %s fail.\n", src);
96 LOG("[DEMO] posix string test case 2:strchr(l) %s ok.\n", src);
98 LOG("[DEMO] posix string test case 2:strchr(l) %s fail.\n", src);
114 LOG("[DEMO] posix string test case 3:strchr(\'\\0\') %s ok.\n", src);
116 LOG("[DEMO] posix string test case 3:strchr(\'\\0\') %s fail.\n", src);
132 LOG("[DEMO] posix string test case 4(except):strchr(?) %s ok.\n", src);
134 LOG("[DEMO] posix string test case 4(except):strchr(?) %s fail.\n", src);
150 LOG("[DEM
[all...]
H A Dstring_func_test_02.c59 LOG("+-------------------------------------------+\n"); in PosixStringsFuncTestSuiteSetUp()
60 LOG("+------PosixStringsFuncTestSuiteSetUp-------+\n"); in PosixStringsFuncTestSuiteSetUp()
61 LOG("+-------------------------------------------+\n"); in PosixStringsFuncTestSuiteSetUp()
71 LOG("+-------------------------------------------+\n"); in PosixStringsFuncTestSuiteTearDown()
72 LOG("+-----PosixStringsFuncTestSuiteTearDown-----+\n"); in PosixStringsFuncTestSuiteTearDown()
73 LOG("+-------------------------------------------+\n"); in PosixStringsFuncTestSuiteTearDown()
105 LOG("begin PosixStringStrcasecmpFuncTest...."); in PosixStringStrcasecmpFuncTest()
/kernel/liteos_m/testsuites/unittest/posix/src/time/
H A Dtime_func_test_01.c104 LOG("KeepRun start : tv_sec=%lld, tv_nsec=%ld\n", time1.tv_sec, time1.tv_nsec); in KeepRun()
114 LOG("KeepRun end : tv_sec=%lld, tv_nsec=%ld\n", time2.tv_sec, time2.tv_nsec); in KeepRun()
153 LOG("\ntest interval:%d\n", interval[j]);
163 LOG("testloop %d, actual usleep duration: %ld us\n", i, duration);
167 LOG("interval:%u, average duration: %.2f\n", interval[j], d);
188 LOG("\n usleep(0), actual usleep duration: %lld us\n", duration);
202 LOG("\nsizeof(time_t) = %d, sizeof(struct tm) = %d", sizeof(time_t), sizeof(struct tm));
208 LOG("\n LONG_MAX = %lld, cvt result : %s", time1, TmToStr(timePtr, timeStr, TIME_STR_LEN));
213 LOG("\n LONG_MAX - 1 = %lld, cvt result : %s", time1, TmToStr(timePtr, timeStr, TIME_STR_LEN));
218 LOG("\
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/errno/
H A Dstrerror_test.c81 LOG("strerror(-1) = %s\n", strerror(-1));
83 LOG("strerror(0) = %s\n", strerror(0));
85 LOG("strerror(2) = %s\n", strerror(2));
87 LOG("strerror(10) = %s\n", strerror(10));
91 LOG("strerror(0) = %s\n", strerror(0));
93 LOG("strerror(2) = %s\n", strerror(2));
95 LOG("strerror(10) = %s\n", strerror(10));
104 LOG("begin PosixStrerrorTest...."); in PosixStrerrorTest()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_btf_skc_cls_ingress.c25 #define LOG() ({ if (!linum) linum = __LINE__; }) macro
38 LOG(); in test_syncookie_helper()
43 LOG(); in test_syncookie_helper()
51 LOG(); in test_syncookie_helper()
62 LOG(); in test_syncookie_helper()
90 LOG(); in handle_ip6_tcp()
97 LOG(); in handle_ip6_tcp()
106 LOG(); in handle_ip6_tcp()
111 LOG(); in handle_ip6_tcp()
124 LOG(); in handle_ip6_tcp()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_btf_skc_cls_ingress.c25 #define LOG() ({ if (!linum) linum = __LINE__; }) macro
38 LOG(); in test_syncookie_helper()
43 LOG(); in test_syncookie_helper()
51 LOG(); in test_syncookie_helper()
62 LOG(); in test_syncookie_helper()
90 LOG(); in handle_ip6_tcp()
97 LOG(); in handle_ip6_tcp()
106 LOG(); in handle_ip6_tcp()
111 LOG(); in handle_ip6_tcp()
124 LOG(); in handle_ip6_tcp()
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/regex/
H A Dregex_func_test.c58 LOG("+-------------------------------------------+\n"); in PosixRegexFuncTestSuiteSetUp()
59 LOG("+--------PosixRegexFuncTestSuiteSetUp-------+\n"); in PosixRegexFuncTestSuiteSetUp()
60 LOG("+-------------------------------------------+\n"); in PosixRegexFuncTestSuiteSetUp()
70 LOG("+-------------------------------------------+\n"); in PosixRegexFuncTestSuiteTearDown()
71 LOG("+-------PosixRegexFuncTestSuiteTearDown-----+\n"); in PosixRegexFuncTestSuiteTearDown()
72 LOG("+-------------------------------------------+\n"); in PosixRegexFuncTestSuiteTearDown()
87 LOG("no match"); in TestRegex()
89 LOG("Match:"); in TestRegex()
96 LOG("\n"); in TestRegex()
107 LOG("patter in TestRegcomp()
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/semaphore/
H A Dsemaphore_func_test.c67 LOG("+-------------------------------------------+\n"); in PosixSemaphoreFuncTestSuiteTearDown()
74 LOG("GetDelayedTime ms = %u", ms); in GetDelayedTime()
81 LOG("Cur time tv_sec: %lld, tv_nsec: %ld", tsNow.tv_sec, tsNow.tv_nsec); in GetDelayedTime()
94 LOG("different result: %d (ms)", ms); in GetTimeDiff()
112 LOG("predicted time:%lld, %ld", ts.tv_sec, ts.tv_nsec);
116 LOG("\n> sem_timedwait return unexpected");
120 LOG("tsNow %lld, %ld", tsNow.tv_sec, tsNow.tv_nsec);
122 LOG("timeDiff %d", timeDiff);
144 LOG("\n ts %lld, %ld", ts.tv_sec, ts.tv_nsec);
151 LOG("\
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/math/
H A Dmath_func_test.c92 LOG("+-------------------------------------------+\n"); in PosixMathFuncTestSuiteTearDown()
109 LOG("\n [POSIXTEST][abs]abs(%d) = %d, expected is %d", testValues[i], ret, expected[i]);
128 LOG("\n [POSIXTEST][abs]abs(%d) = %d, expected is %d", testValues[i], ret, expected[i]);
146 LOG("GZHTESTLOG LOG: %lf, %lf, %lf", testValues[0], testValues[1], testValues[2]);
149 LOG("\n [POSIXTEST][log]log(%lf) = %lf, expected is %lf", testValues[i], ret, expected[i]);
168 LOG("\n (math_errhandling & MATH_ERRNO) = %d", (math_errhandling & MATH_ERRNO));
169 LOG("\n (math_errhandling & MATH_ERREXCEPT) = %d", (math_errhandling & MATH_ERREXCEPT));
173 LOG("\n [POSIXTEST][log]log(%lf) = %lf, expected is %lf", testValues[i], ret, expected[i]);
192 LOG("\
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/lkdtm/
H A Drun.sh64 LOG=$(mktemp --tmpdir -t lkdtm-log-XXXXXX)
67 rm -f "$LOG" "$DMESG"
89 dmesg | comm --nocheck-order -13 "$DMESG" - > "$LOG" || true
91 cat "$LOG"
93 if grep -E -qi "$expect" "$LOG" ; then
97 if grep -E -qi XFAIL: "$LOG" ; then
/kernel/linux/linux-6.6/tools/testing/selftests/lkdtm/
H A Drun.sh70 LOG=$(mktemp --tmpdir -t lkdtm-log-XXXXXX)
73 rm -f "$LOG" "$DMESG"
97 dmesg | comm --nocheck-order -13 "$DMESG" - > "$LOG" || true
99 cat "$LOG"
101 if grep -E -qi "$expect" "$LOG" ; then
105 if grep -E -qi XFAIL: "$LOG" ; then
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dslogn.S255 |--ENTRY POINT FOR LOG(X) FOR DENORMALIZED INPUT
318 |--ENTRY POINT FOR LOG(X) FOR X FINITE, NON-ZERO, NOT NAN'S
335 blt LOGNEG | ...LOG OF NEGATIVE ARGUMENT IS INVALID
344 |--THE IDEA IS THAT LOG(X) = K*LOG2 + LOG(Y)
345 |-- = K*LOG2 + LOG(F) + LOG(1 + (Y-F)/F).
347 |--LOG(1+U) CAN BE VERY EFFICIENT.
356 lea LOGTBL,%a0 | ...BASE ADDRESS OF 1/F AND LOG(F)
387 |--LOG(
[all...]
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dslogn.S255 |--ENTRY POINT FOR LOG(X) FOR DENORMALIZED INPUT
318 |--ENTRY POINT FOR LOG(X) FOR X FINITE, NON-ZERO, NOT NAN'S
335 blt LOGNEG | ...LOG OF NEGATIVE ARGUMENT IS INVALID
344 |--THE IDEA IS THAT LOG(X) = K*LOG2 + LOG(Y)
345 |-- = K*LOG2 + LOG(F) + LOG(1 + (Y-F)/F).
347 |--LOG(1+U) CAN BE VERY EFFICIENT.
356 lea LOGTBL,%a0 | ...BASE ADDRESS OF 1/F AND LOG(F)
387 |--LOG(
[all...]

Completed in 9 milliseconds

12