/kernel/linux/linux-5.10/tools/testing/selftests/rtc/ |
D | rtctest.c | 32 ASSERT_NE(-1, self->fd); in FIXTURE_SETUP() 45 ASSERT_NE(-1, rc); in TEST_F() 67 ASSERT_NE(-1, rc); 74 ASSERT_NE(-1, rc); 97 ASSERT_NE(-1, rc); in TEST_F() 98 ASSERT_NE(0, rc); in TEST_F() 102 ASSERT_NE(-1, rc); in TEST_F() 109 ASSERT_NE(-1, rc); in TEST_F() 121 ASSERT_NE(-1, rc); in TEST_F() 134 ASSERT_NE(-1, rc); in TEST_F() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | hmm-tests.c | 231 ASSERT_NE(npages, 0); in TEST_F() 235 ASSERT_NE(buffer, NULL); in TEST_F() 240 ASSERT_NE(buffer->mirror, NULL); in TEST_F() 246 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F() 294 ASSERT_NE(npages, 0); in TEST_F() 298 ASSERT_NE(buffer, NULL); in TEST_F() 303 ASSERT_NE(buffer->mirror, NULL); in TEST_F() 309 ASSERT_NE(buffer->ptr, MAP_FAILED); in TEST_F() 353 ASSERT_NE(npages, 0); in TEST_F() 357 ASSERT_NE(buffer, NULL); in TEST_F() [all …]
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_uts_container_008.cpp | 59 ASSERT_NE(ret, -1); in ItUtsContainer008() 73 ASSERT_NE(ret, -1); in ItUtsContainer008() 77 ASSERT_NE(stack, nullptr); in ItUtsContainer008() 81 ASSERT_NE(pid1, -1); in ItUtsContainer008() 86 ASSERT_NE(ret, 0); in ItUtsContainer008() 95 ASSERT_NE(ret, -1); in ItUtsContainer008() 99 ASSERT_NE(ret, -1); in ItUtsContainer008()
|
D | It_mnt_container_010.cpp | 59 ASSERT_NE(ret, -1); in ItMntContainer010() 73 ASSERT_NE(ret, -1); in ItMntContainer010() 77 ASSERT_NE(stack, nullptr); in ItMntContainer010() 81 ASSERT_NE(pid1, -1); in ItMntContainer010() 86 ASSERT_NE(ret, 0); in ItMntContainer010() 95 ASSERT_NE(ret, -1); in ItMntContainer010() 99 ASSERT_NE(ret, -1); in ItMntContainer010()
|
D | It_net_container_012.cpp | 59 ASSERT_NE(ret, -1); in ItNetContainer012() 73 ASSERT_NE(ret, -1); in ItNetContainer012() 77 ASSERT_NE(stack, nullptr); in ItNetContainer012() 81 ASSERT_NE(pid1, -1); in ItNetContainer012() 86 ASSERT_NE(ret, 0); in ItNetContainer012() 95 ASSERT_NE(ret, -1); in ItNetContainer012() 99 ASSERT_NE(ret, -1); in ItNetContainer012()
|
D | It_ipc_container_008.cpp | 59 ASSERT_NE(ret, -1); in ItIpcContainer008() 73 ASSERT_NE(ret, -1); in ItIpcContainer008() 77 ASSERT_NE(stack, nullptr); in ItIpcContainer008() 81 ASSERT_NE(pid1, -1); in ItIpcContainer008() 86 ASSERT_NE(ret, 0); in ItIpcContainer008() 95 ASSERT_NE(ret, -1); in ItIpcContainer008() 99 ASSERT_NE(ret, -1); in ItIpcContainer008()
|
D | It_pid_container_033.cpp | 61 ASSERT_NE(ret, -1); in ItPidContainer033() 75 ASSERT_NE(ret, -1); in ItPidContainer033() 79 ASSERT_NE(stack, nullptr); in ItPidContainer033() 83 ASSERT_NE(pid1, -1); in ItPidContainer033() 88 ASSERT_NE(ret, 0); in ItPidContainer033() 97 ASSERT_NE(ret, -1); in ItPidContainer033() 101 ASSERT_NE(ret, -1); in ItPidContainer033()
|
D | It_time_container_006.cpp | 65 ASSERT_NE(ret, -1); in ItTimeContainer006() 79 ASSERT_NE(ret, -1); in ItTimeContainer006() 83 ASSERT_NE(stack, nullptr); in ItTimeContainer006() 87 ASSERT_NE(pid1, -1); in ItTimeContainer006() 92 ASSERT_NE(ret, 0); in ItTimeContainer006() 101 ASSERT_NE(ret, -1); in ItTimeContainer006() 105 ASSERT_NE(ret, -1); in ItTimeContainer006()
|
D | It_user_container_007.cpp | 59 ASSERT_NE(ret, -1); in ItUserContainer007() 73 ASSERT_NE(ret, -1); in ItUserContainer007() 77 ASSERT_NE(stack, nullptr); in ItUserContainer007() 81 ASSERT_NE(pid1, -1); in ItUserContainer007() 86 ASSERT_NE(ret, 0); in ItUserContainer007() 95 ASSERT_NE(ret, -1); in ItUserContainer007() 99 ASSERT_NE(ret, -1); in ItUserContainer007()
|
D | It_pid_container_032.cpp | 57 ASSERT_NE(ret, -1); in ItPidContainer032() 71 ASSERT_NE(ret, -1); in ItPidContainer032() 75 ASSERT_NE(stack, nullptr); in ItPidContainer032() 79 ASSERT_NE(pid1, -1); in ItPidContainer032() 92 ASSERT_NE(ret, -1); in ItPidContainer032() 96 ASSERT_NE(ret, -1); in ItPidContainer032()
|
D | It_net_container_011.cpp | 55 ASSERT_NE(ret, -1); in ItNetContainer011() 69 ASSERT_NE(ret, -1); in ItNetContainer011() 73 ASSERT_NE(stack, nullptr); in ItNetContainer011() 77 ASSERT_NE(pid1, -1); in ItNetContainer011() 90 ASSERT_NE(ret, -1); in ItNetContainer011() 94 ASSERT_NE(ret, -1); in ItNetContainer011()
|
D | It_ipc_container_007.cpp | 55 ASSERT_NE(ret, -1); in ItIpcContainer007() 69 ASSERT_NE(ret, -1); in ItIpcContainer007() 73 ASSERT_NE(stack, nullptr); in ItIpcContainer007() 77 ASSERT_NE(pid1, -1); in ItIpcContainer007() 90 ASSERT_NE(ret, -1); in ItIpcContainer007() 94 ASSERT_NE(ret, -1); in ItIpcContainer007()
|
D | It_user_container_006.cpp | 55 ASSERT_NE(ret, -1); in ItUserContainer006() 69 ASSERT_NE(ret, -1); in ItUserContainer006() 73 ASSERT_NE(stack, nullptr); in ItUserContainer006() 77 ASSERT_NE(pid1, -1); in ItUserContainer006() 90 ASSERT_NE(ret, -1); in ItUserContainer006() 94 ASSERT_NE(ret, -1); in ItUserContainer006()
|
D | It_uts_container_007.cpp | 55 ASSERT_NE(ret, -1); in ItUtsContainer007() 69 ASSERT_NE(ret, -1); in ItUtsContainer007() 73 ASSERT_NE(stack, nullptr); in ItUtsContainer007() 77 ASSERT_NE(pid1, -1); in ItUtsContainer007() 90 ASSERT_NE(ret, -1); in ItUtsContainer007() 94 ASSERT_NE(ret, -1); in ItUtsContainer007()
|
D | It_mnt_container_009.cpp | 55 ASSERT_NE(ret, -1); in ItMntContainer009() 69 ASSERT_NE(ret, -1); in ItMntContainer009() 73 ASSERT_NE(stack, nullptr); in ItMntContainer009() 77 ASSERT_NE(pid1, -1); in ItMntContainer009() 90 ASSERT_NE(ret, -1); in ItMntContainer009() 94 ASSERT_NE(ret, -1); in ItMntContainer009()
|
D | It_mnt_container_004.cpp | 65 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer004() 72 ASSERT_NE(pid, -1); in ItMntContainer004() 78 ASSERT_NE(ret, 0); in ItMntContainer004() 84 ASSERT_NE(ret, 0); in ItMntContainer004() 87 ASSERT_NE(ret, 0); in ItMntContainer004()
|
D | It_mnt_container_007.cpp | 74 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer007() 81 ASSERT_NE(pid, -1); in ItMntContainer007() 87 ASSERT_NE(ret, 0); in ItMntContainer007() 93 ASSERT_NE(ret, 0); in ItMntContainer007() 96 ASSERT_NE(ret, 0); in ItMntContainer007()
|
D | It_ipc_container_002.cpp | 87 ASSERT_NE(stack, nullptr); in ItIpcContainer002() 105 ASSERT_NE(mqueue, (mqd_t)-1); in ItIpcContainer002() 128 ASSERT_NE(childPid, -1); in ItIpcContainer002() 135 ASSERT_NE(fd, -1); in ItIpcContainer002() 138 ASSERT_NE(ret, -1); in ItIpcContainer002() 141 ASSERT_NE(ret, -1); in ItIpcContainer002() 147 ASSERT_NE(ret, 0); in ItIpcContainer002()
|
D | It_container_chroot_001.cpp | 80 ASSERT_NE(stack, MAP_FAILED); in ItContainerChroot001() 87 ASSERT_NE(pid, -1); in ItContainerChroot001() 93 ASSERT_NE(ret, 0); in ItContainerChroot001() 99 ASSERT_NE(ret, 0); in ItContainerChroot001() 102 ASSERT_NE(ret, 0); in ItContainerChroot001()
|
D | It_ipc_container_004.cpp | 160 ASSERT_NE(stack, nullptr); in ItIpcContainer004() 165 ASSERT_NE(shmid, -1); in ItIpcContainer004() 168 ASSERT_NE((int)shm, -1); in ItIpcContainer004() 175 ASSERT_NE(pid, -1); in ItIpcContainer004() 181 ASSERT_NE(ret, 0); in ItIpcContainer004() 195 ASSERT_NE(ret, -1); in ItIpcContainer004() 196 ASSERT_NE(ret, 0); in ItIpcContainer004() 213 ASSERT_NE(ret, -1); in ItIpcContainer004()
|
D | It_mnt_container_001.cpp | 71 ASSERT_NE(stack, MAP_FAILED); in ItMntContainer001() 78 ASSERT_NE(pid, -1); in ItMntContainer001() 84 ASSERT_NE(ret, 0); in ItMntContainer001() 90 ASSERT_NE(ret, 0); in ItMntContainer001()
|
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
D | It_process_plimits_pid_003.cpp | 61 ASSERT_NE(ret, -1); in ItProcessPlimitsPid003() 64 ASSERT_NE(ret, -1); in ItProcessPlimitsPid003() 70 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003() 73 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003() 76 ASSERT_NE(ret, 0); in ItProcessPlimitsPid003()
|
D | It_process_plimits_ipc_010.cpp | 69 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010() 72 ASSERT_NE(shmid, -1); in ItProcessPlimitsIpc010() 87 ASSERT_NE(shared, (void *)-1); in ItProcessPlimitsIpc010() 90 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010() 93 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc010()
|
D | It_process_plimits_ipc_009.cpp | 62 ASSERT_NE(shmid, -1); in ItProcessPlimitsIpc009() 64 ASSERT_NE(shared, (void *)-1); in ItProcessPlimitsIpc009() 66 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc009() 68 ASSERT_NE(ret, -1); in ItProcessPlimitsIpc009()
|
/kernel/linux/build/test/unittest/accesstokenid/ |
D | accesstokenid_test.cpp | 238 ASSERT_NE(0, token); 313 ASSERT_NE(tinfo.ftokenid, ftokenSet); 354 ASSERT_NE(tinfo.tokenid, tokenSet); 355 ASSERT_NE(tinfo.ftokenid, ftokenSet); 356 ASSERT_NE(0, tinfo.ftokenid); 377 ASSERT_NE(0, ret); 397 ASSERT_NE(0, ret); 417 ASSERT_NE(0, ret); 437 ASSERT_NE(0, ret); 460 ASSERT_NE(0, ret1); [all …]
|