Home
last modified time | relevance | path

Searched full:meaning (Results 1 – 25 of 2124) sorted by relevance

12345678910>>...85

/kernel/liteos_m/testsuites/unittest/xts/net/
Dacts_net_test.c53 ICUNIT_ASSERT_NOT_EQUAL(udpFd, -1, udpFd); /* -1, common data for test, no special meaning */
55 struct ifreq ifre[5]; /* 5, common data for test, no special meaning */
58 ifcf.ifc_len = 5 * sizeof(struct ifreq); /* 5, common data for test, no special meaning */
63 char rst1[18]; /* 18, common data for test, no special meaning */
68 … ICUNIT_GOTO_EQUAL(ifrCount, 2, ifrCount, EXIT); /* 2, common data for test, no special meaning */
69 …ERT_WITHIN_EQUAL(ifrCount, 2, INT_MAX, ifrCount); /* 2, common data for test, no special meaning */
81 … + 3), *(macPtr + 4), *(macPtr + 5)); /* 1, 2, 3, 4, 5, common data for test, no special meaning */
100 ICUNIT_ASSERT_NOT_EQUAL(fd, -1, fd); /* -1, common data for test, no special meaning */
102 int error = -1; /* -1, common data for test, no special meaning */
112 timeout.tv_sec = 1000; /* 1000, common data for test, no special meaning */
[all …]
/kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/
Dmq_exp_test.c59 … "testMqReceiveEAGAIN_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
64 …CUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning */
70 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
74 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
79 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
102 … "testMqReceiveEAGAIN_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
107 …CUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning */
110 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
116 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
138 … "testMqReceiveEINVAL_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
[all …]
Dmq_test.c60 …), "testMqOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
65 …CUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning */
75 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
104 …estMqTimedOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
109 …CUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning */
111 tts.tv_sec = time(NULL) + 1; /* 1, common data for test, no special meaning */
121 rts.tv_sec = time(NULL) + 1; /* 1, common data for test, no special meaning */
124 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
150 …"testMqAllOneLevelCom_%d", GetRandom(10000)); /* 10000, common data for test, no special meaning */
157 …CUNIT_ASSERT_NOT_EQUAL(queue, (mqd_t)-1, queue); /* -1, common data for test, no special meaning */
[all …]
/kernel/liteos_m/testsuites/unittest/xts/mem/
Dmem_api_test.c54 len = GetRandom(1024); /* 1024, common data for test, no special meaning */
57 char buf[1024]; /* 1024, common data for test, no special meaning */
63 failure = 1; /* 1, common data for test, no special meaning */
80 char src[1024]; /* 1024, common data for test, no special meaning */
81 char dst[1024]; /* 1024, common data for test, no special meaning */
83 len = GetRandom(1024); /* 1024, common data for test, no special meaning */
86 src[i] = chr + i % 26; /* 26, common data for test, no special meaning */
94 failure = 1; /* 1, common data for test, no special meaning */
110 char buf[1024]; /* 1024, common data for test, no special meaning */
115 buf[i] = chr + GetRandom(26); /* 26, common data for test, no special meaning */
[all …]
/kernel/liteos_m/testsuites/unittest/xts/io/
Dxts_io_stdlib_test.c130 long ret = strtol(nPtr, &endPtr, 10); /* 10 common data for test, no special meaning */
131 ICUNIT_ASSERT_EQUAL(ret, 12, ret); /* 12 common data for test, no special meaning */
134 ret = strtol(endPtr, &endPtr, 2); /* 2 common data for test, no special meaning */
135 ICUNIT_ASSERT_EQUAL(ret, 6, ret); /* 6 common data for test, no special meaning */
138 ret = strtol(endPtr, &endPtr, 16); /* 16 common data for test, no special meaning */
142 ret = strtol(endPtr, &endPtr, 8); /* 8 common data for test, no special meaning */
146 ret = strtol(endPtr, &endPtr, 65); /* 65 common data for test, no special meaning */
151 ICUNIT_ASSERT_EQUAL(ret, -1, ret); /* -1 common data for test, no special meaning */
154 ret = strtol(endPtr, &endPtr, 10); /* 10 common data for test, no special meaning */
159 ret = strtol(nPtr1, &endPtr, 10); /* 10 common data for test, no special meaning */
[all …]
Dxts_io_other_test.c56 …CUNIT_ASSERT_EQUAL(tm.tm_year, 120, tm.tm_year); /* 120 common data for test, no special meaning */
57 ICUNIT_ASSERT_EQUAL(tm.tm_mon, 9, tm.tm_mon); /* 9 common data for test, no special meaning */
58 … ICUNIT_ASSERT_EQUAL(tm.tm_mday, 29, tm.tm_mday); /* 29 common data for test, no special meaning */
59 … ICUNIT_ASSERT_EQUAL(tm.tm_hour, 21, tm.tm_hour); /* 21 common data for test, no special meaning */
60 ICUNIT_ASSERT_EQUAL(tm.tm_min, 24, tm.tm_min); /* 24 common data for test, no special meaning */
64 …CUNIT_ASSERT_EQUAL(tm.tm_year, 120, tm.tm_year); /* 120 common data for test, no special meaning */
65 ICUNIT_ASSERT_EQUAL(tm.tm_mon, 9, tm.tm_mon); /* 9 common data for test, no special meaning */
66 … ICUNIT_ASSERT_EQUAL(tm.tm_mday, 14, tm.tm_mday); /* 14 common data for test, no special meaning */
67 ICUNIT_ASSERT_EQUAL(tm.tm_hour, 9, tm.tm_hour); /* 9 common data for test, no special meaning */
68 ICUNIT_ASSERT_EQUAL(tm.tm_wday, 6, tm.tm_wday); /* 6 common data for test, no special meaning */
[all …]
Dxts_io_string_test.c72 int ret = strncmp(dest, src, 1); /* 1 common data for test, no special meaning */
75 ret = strncmp("123456", "654321", 6); /* 6 common data for test, no special meaning */
78 …et = strncmp("~!@#$%^&*()_+", "~!@#$%^&*()_+", 8); /* 8 common data for test, no special meaning */
91 char dest[50] = {0}; /* 50 common data for test, no special meaning */
97 char destT[50] = {0}; /* 50 common data for test, no special meaning */
112 char dest[50] = {0}; /* 50 common data for test, no special meaning */
113 char *ret = stpncpy(dest, src, 5); /* 5 common data for test, no special meaning */
118 char destT[50] = {0}; /* 50 common data for test, no special meaning */
119 ret = stpncpy(destT, srcT, 15); /* 15 common data for test, no special meaning */
133 char dest[20] = {0}; /* 20 common data for test, no special meaning */
[all …]
Dxts_io_stdio_test.c49 char str[50] = {0}; /* 50 common data for test, no special meaning */ in FormatVsnptf()
62 …tf((char *)"%s has %d words", "hello world", 11); /* 11 common data for test, no special meaning */
63 ICUNIT_ASSERT_EQUAL(ret, 24, ret); /* 24 common data for test, no special meaning */
65 …*)"%f and %c as well as %ld\n", 2.2, 'c', 6); /* 2.2, 6 common data for test, no special meaning */
66 ICUNIT_ASSERT_EQUAL(ret, 28, ret); /* 28 common data for test, no special meaning */
/kernel/liteos_m/testsuites/unittest/xts/ipc/semaphone/
Dsem_test.c51 int testValue[3] = {0, 1, 10}; /* 3, 1, 10 common data for test, no special meaning */
92 ret = sem_init((sem_t *)&sem, 0, 3); /* 3, common data for test, no special meaning */
116 g_semTestStep = 1; /* 1, common data for test, no special meaning */ in ThreadChat()
120 g_semTestStep = 2; /* 2, common data for test, no special meaning */ in ThreadChat()
142 …IT_ASSERT_EQUAL(g_semTestStep, 1, g_semTestStep); /* 1, common data for test, no special meaning */
149 …IT_ASSERT_EQUAL(g_semTestStep, 2, g_semTestStep); /* 2, common data for test, no special meaning */
152 …IT_ASSERT_EQUAL(g_semTestStep, 2, g_semTestStep); /* 2, common data for test, no special meaning */
173 g_semTestStep = 1; /* 1, common data for test, no special meaning */ in ThreadNThreadWait1()
177 g_semTestStep = 2; /* 2, common data for test, no special meaning */ in ThreadNThreadWait1()
188 req.tv_nsec = 300 * NANO_MS; /* 300, common data for test, no special meaning */ in ThreadNThreadWait2()
[all …]
Dsem_xts_test.c58 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
80 int testValue = 1; /* 1, common data for test, no special meaning */
83 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
105 int testValue = 10; /* 10, common data for test, no special meaning */
108 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
132 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
143 ICUNIT_ASSERT_EQUAL(semValue, 1, semValue); /* 1, common data for test, no special meaning */
151 ICUNIT_ASSERT_EQUAL(semValue, 3, semValue); /* 3, common data for test, no special meaning */
169 ret = sem_init(&sem, 0, 3); /* 3, common data for test, no special meaning */
170 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
[all …]
Dsem_abn_test.c57 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
78 …d int gtSemMax = (unsigned int)SEM_VALUE_MAX + 1; /* 1, common data for test, no special meaning */
81 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); /* -1, common data for test, no special meaning */
97 ret = sem_init(&sem, 0, 1); /* 1, common data for test, no special meaning */
98 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
116 ICUNIT_ASSERT_NOT_EQUAL(ret, -1, ret); /* -1, common data for test, no special meaning */
120 …CUNIT_GOTO_EQUAL(errno, EOVERFLOW, errno, EXIT); /* -1, common data for test, no special meaning */
144 ts.tv_nsec = -2; /* -2, common data for test, no special meaning */
146 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); /* -1, common data for test, no special meaning */
176 ICUNIT_GOTO_EQUAL(ret, -1, ret, EXIT); /* -1, common data for test, no special meaning */
/kernel/liteos_m/testsuites/unittest/xts/time/
Dsleep_test.c67 clockid_t cid = 1; /* 1, common data for test, no special meaning */
69 struct timespec req = {0, 100}; /* 100, common data for test, no special meaning */
85 struct timespec req = {0, 100}; /* 100, common data for test, no special meaning */
89 int id = GetRandom(1000) + 12; /* 1000, 12, common data for test, no special meaning */
93 id = -GetRandom(1000) - 12; /* 1000, 12, common data for test, no special meaning */
100 flag = GetRandom(100) + 1; /* 100, 1, common data for test, no special meaning */
103 flag = -GetRandom(100) - 1; /* 100, 1, common data for test, no special meaning */
107 req.tv_sec = -1; /* -1, common data for test, no special meaning */
108 req.tv_nsec = 1; /* 1, common data for test, no special meaning */
111 req.tv_sec = 1; /* 1, common data for test, no special meaning */
[all …]
Dclock_time_test.c67 sleep(1); /* 1, common data for test, no special meaning */
71 time1.tv_sec -= 1; /* 1, common data for test, no special meaning */
72 time1.tv_nsec = 1; /* 1, common data for test, no special meaning */
75 sleep(1); /* 1, common data for test, no special meaning */
90 int sleepSec = 1; /* 1, common data for test, no special meaning */
105 …RT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no special meaning */
117 int setSec = 100; /* 100, common data for test, no special meaning */
118 int sleepSec = 2; /* 2, common data for test, no special meaning */
136 …RT_WITHIN_EQUAL(ret, INT_MIN, sleepSec + 1, ret); /* 1, common data for test, no special meaning */
/kernel/liteos_m/testsuites/unittest/xts/sched/
Dpthread_sched_api_test.c60 int inheritsched = -1; /* -1, common data for test, no special meaning */
81 int inheritsched = -1; /* -1, common data for test, no special meaning */
88 inheritsched = -1; /* -1, common data for test, no special meaning */
107 int n = -GetRandom(100); /* 100, common data for test, no special meaning */
110 n = 2 + GetRandom(100); /* 2, 100, common data for test, no special meaning */
132 param.sched_priority = 22; /* 22, common data for test, no special meaning */
138 …param.sched_priority, 22, param.sched_priority); /* 22, common data for test, no special meaning */
154 int policy = -1; /* -1, common data for test, no special meaning */
174 …SCHED_IDLE, SCHED_DEADLINE, SCHED_RESET_ON_FORK}; /* 7, common data for test, no special meaning */
175 invalidPolicy[5] = -GetRandom(10000); /* 5, 10000, common data for test, no special meaning */
[all …]
Dprocess_sched_api_test.c57 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
73 invalidPolicyVal = -GetRandom(10000); /* 10000, common data for test, no special meaning */
76 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
79 …olicyVal = GetRandom(10000) + SCHED_DEADLINE; /* 10000, common data for test, no special meaning */
82 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
99 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
114 invalidPolicyVal = -GetRandom(10000); /* 10000, common data for test, no special meaning */
117 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
120 …olicyVal = GetRandom(10000) + SCHED_DEADLINE; /* 10000, common data for test, no special meaning */
123 ICUNIT_ASSERT_EQUAL(prio, -1, prio); /* -1, common data for test, no special meaning */
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-net-statistics23 See the network driver for the exact meaning of when this
41 by this network device. Note that the specific meaning might
52 meaning of this value.
60 See the network driver for the exact meaning of this value.
69 meaning of this value.
77 alignment errors. Note that the specific meaning depends on
79 the exact meaning of this value.
88 exact meaning of this value.
97 driver for the exact meaning of this value.
115 meaning of this value.
[all …]
Dsysfs-bus-usb320 See USB specs for its meaning.
326 See USB specs for its meaning.
342 See USB specs for its meaning.
348 See USB specs for its meaning.
354 See USB specs for its meaning.
360 See USB specs for its meaning.
366 See USB specs for its meaning.
372 See USB specs for its meaning.
378 See USB specs for its meaning.
384 See USB specs for its meaning.
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-net-statistics23 See the network driver for the exact meaning of when this
41 by this network device. Note that the specific meaning might
52 meaning of this value.
60 See the network driver for the exact meaning of this value.
69 meaning of this value.
77 alignment errors. Note that the specific meaning depends on
79 the exact meaning of this value.
88 exact meaning of this value.
97 driver for the exact meaning of this value.
115 meaning of this value.
[all …]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/
Dposix_fs_test.h76 #define TEST_BUF_SIZE 40 /* 40, common data for test, no special meaning
77 #define TEST_SEEK_SIZE 10 /* 10, common data for test, no special meaning
78 #define TEST_RW_SIZE 20 /* 20, common data for test, no special meaning
79 …ine TEST_LOOPUP_TIME 20 /* 100, common data for test, no special meaning */
81 …e ERROR_CONFIG_NFILE_DESCRIPTORS 88888 /* 88888, common data for test, no special meaning */
82 …ne MODIFIED_FILE_SIZE 1024 /* 1024, common data for test, no special meaning */
84 …ne TEST_MODE_NORMAL 0666 /* 0666, common data for test, no special meaning */
85 …ne TEST_MODE_HIGH 0777 /* 0777, common data for test, no special meaning */
87 …ne POSIX_FS_IS_ERROR (-1) /* -1, common data for test, no special meaning */
88 …ine POSIX_FS_NO_ERROR 0 /* 0, common data for test, no special meaning */
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
Dpthread_test_021.cpp49 for (volatile int i = 0; i < 100000; i++) { /* 100000, no special meaning */ in ThreadFuncTest()
50 for (volatile int j = 0; j < 5; j++) { /* 5, no special meaning */ in ThreadFuncTest()
54 if (count % 3 == 0) { /* 3, no special meaning */ in ThreadFuncTest()
58 } while (count <= 6); /* 6, no special meaning */ in ThreadFuncTest()
97 for (volatile int i = 0; i < 10000; i++) { /* 10000, no special meaning */ in ChildProcess()
98 for (volatile int j = 0; j < 5; j++) { /* 5, no special meaning */ in ChildProcess()
102 if (count % 3 == 0) { /* 3, no special meaning */ in ChildProcess()
106 } while (count <= 6); /* 6, no special meaning */ in ChildProcess()
Dpthread_test_022.cpp49 for (volatile int i = 0; i < 10000; i++) { /* 10000, no special meaning */ in EdfProcess()
50 for (volatile int j = 0; j < 5; j++) { /* 5, no special meaning */ in EdfProcess()
54 if (count % 3 == 0) { /* 3, no special meaning */ in EdfProcess()
58 } while (count <= 6); /* 6, no special meaning */ in EdfProcess()
99 for (volatile int i = 0; i < 50000; i++) { /* 50000, no special meaning */ in ChildProcess()
102 if (count % 5 == 0) { /* 5, no special meaning */ in ChildProcess()
106 } while (count <= 10); /* 10, no special meaning */ in ChildProcess()
/kernel/liteos_m/testsuites/unittest/xts/math/
Dmath_std_api_test.c52 const int testCount = 3; /* 3 common data for test, no special meaning */
53 int testValues[] = {-3, 0, 3}; /* -3, 3 common data for test, no special meaning */
54 int expected[] = {3, 0, 3}; /* 3 common data for test, no special meaning */
70 const int testCount = 3; /* 3 common data for test, no special meaning */
71 …2147483649, -2147483649, 0}; /* 2147483649, -2147483649 common data for test, no special meaning */
72 …xpected[] = {2147483649, 2147483649, 0}; /* 2147483649, common data for test, no special meaning */
/kernel/liteos_m/testsuites/unittest/xts/ipc/mutex/
Dpthread_mutex_test.c67 …_st1.top + 1) % g_st1.countMax == g_st1.bottom) { /* 1, common data for test, no special meaning */ in PthreadProduce()
72 … g_st1.top = (g_st1.top + 1) % g_st1.countMax; /* 1, common data for test, no special meaning */ in PthreadProduce()
79 usleep(10); /* 10, common data for test, no special meaning */ in PthreadProduce()
104 usleep(10); /* 10, common data for test, no special meaning */ in PthreadConsume()
117 pthread_t tid[2]; /* 2, common data for test, no special meaning */
124 …read_create(&tid[1], NULL, PthreadConsume, NULL); /* 1, common data for test, no special meaning */
128 ret = pthread_join(tid[1], NULL); /* 1, common data for test, no special meaning */
/kernel/liteos_a/apps/trace/src/
Dtrace.c117 } else if (argc == 2 && strcmp(argv[1], "start") == 0) { /* 2, argv num, no special meaning */ in main()
119 } else if (argc == 2 && strcmp(argv[1], "stop") == 0) { /* 2, argv num, no special meaning */ in main()
121 } else if (argc == 2 && strcmp(argv[1], "reset") == 0) { /* 2, argv num, no special meaning */ in main()
123 } else if (argc == 3 && strcmp(argv[1], "mask") == 0) { /* 3, argv num, no special meaning */ in main()
126 } else if (argc == 3 && strcmp(argv[1], "dump") == 0) { /* 3, argv num, no special meaning */ in main()
129 } else if (argc == 3 && strcmp(argv[1], "read") == 0) { /* 3, argv num, no special meaning */ in main()
132 } else if (argc >= 4 && strcmp(argv[1], "write") == 0) { /* 4, argv num, no special meaning */ in main()
/kernel/linux/linux-5.10/drivers/staging/fieldbus/Documentation/ABI/
Dsysfs-class-fieldbus-dev46 '1' meaning 'online'
47 '0' meaning 'offline'
57 '1' meaning enabled
58 '0' meaning disabled

12345678910>>...85