/third_party/ltp/testcases/kernel/syscalls/inotify/ |
H A D | inotify04.c | 76 int i = 0, test_num = 0, len; in verify_inotify() local 126 if (test_num >= test_cnt) { in verify_inotify() 133 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() 136 (event_set[test_num].name, event->name, in verify_inotify() 149 event_set[test_num].mask, in verify_inotify() 152 event_set[test_num].name, in verify_inotify() 153 strncmp(event_set[test_num].name, event->name, event->len)); in verify_inotify() 155 test_num++; in verify_inotify() 159 for (; test_num < test_cnt; test_num in verify_inotify() [all...] |
H A D | inotify07.c | 96 int i = 0, test_num = 0; in verify_inotify() local 100 if (test_num >= test_cnt) { in verify_inotify() 107 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() 110 (event_set[test_num].name, event->name, in verify_inotify() 123 event_set[test_num].mask, in verify_inotify() 125 event->name, event_set[test_num].name, in verify_inotify() 126 strcmp(event_set[test_num].name, in verify_inotify() 129 test_num++; in verify_inotify() 133 for (; test_num < test_cnt; test_num in verify_inotify() [all...] |
H A D | inotify03.c | 54 int len, i, test_num; in verify_inotify() local 87 test_num = 0; in verify_inotify() 92 if (test_num >= (test_cnt - 1)) { in verify_inotify() 98 } else if (event_set[test_num] == event->mask) { in verify_inotify() 108 event_set[test_num], in verify_inotify() 111 test_num++; in verify_inotify() 114 for (; test_num < test_cnt - 1; test_num++) { in verify_inotify() 116 event_set[test_num]); in verify_inotify()
|
H A D | inotify02.c | 124 int len, i = 0, test_num = 0; in verify_inotify() local 135 if (test_num >= test_cnt) { in verify_inotify() 143 } else if ((event_set[test_num].mask == event->mask) in verify_inotify() 146 (event_set[test_num].name, event->name, in verify_inotify() 185 event_set[test_num].mask, in verify_inotify() 187 event_set[test_num].name, in verify_inotify() 188 strcmp(event_set[test_num].name, in verify_inotify() 191 test_num++; in verify_inotify() 195 for (; test_num < test_cnt; test_num in verify_inotify() [all...] |
H A D | inotify08.c | 94 int i = 0, test_num = 0; in verify_inotify() local 98 if (test_num >= test_cnt) { in verify_inotify() 105 } else if (event_set[test_num].mask == event->mask && in verify_inotify() 117 event_set[test_num].mask, in verify_inotify() 121 test_num++; in verify_inotify() 125 for (; test_num < test_cnt; test_num++) { in verify_inotify() 127 event_set[test_num].mask); in verify_inotify()
|
H A D | inotify01.c | 88 int len, i = 0, test_num = 0; in verify_inotify() local 102 if (test_num >= test_cnt) { in verify_inotify() 108 } else if (event_set[test_num] == event->mask) { in verify_inotify() 126 event_set[test_num], in verify_inotify() 129 test_num++; in verify_inotify() 132 for (; test_num < test_cnt; test_num++) { in verify_inotify() 134 event_set[test_num]); in verify_inotify()
|
H A D | inotify10.c | 86 int i = 0, test_num = 0, len; in verify_inotify() local 150 struct event_t *expected = &event_set[test_num]; in verify_inotify() 153 if (test_num >= test_cnt) { in verify_inotify() 178 test_num++; in verify_inotify() 182 for (; test_num < test_cnt; test_num++) { in verify_inotify() 184 event_set[test_num].mask); in verify_inotify()
|
/third_party/jerryscript/tests/unit-core/ |
H A D | test-api-set-and-clear-error-flag.cpp | 127 double test_num = 3.1415926; in HWTEST_F() local 128 jerry_value_t num = jerry_create_number (test_num); in HWTEST_F() 133 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in HWTEST_F() 136 num = jerry_create_number (test_num); in HWTEST_F() 140 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in HWTEST_F() 143 num = jerry_create_number (test_num); in HWTEST_F() 151 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in HWTEST_F() 154 num = jerry_create_number (test_num); in HWTEST_F() 160 TEST_ASSERT (jerry_get_number_value (num2) == test_num); in HWTEST_F() 163 num = jerry_create_number (test_num); in HWTEST_F() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify02.c | 46 int ret, len, i = 0, test_num = 0; in test01() local 137 if (test_num >= TST_TOTAL) { in test01() 143 } else if (!(event->mask & event_set[test_num])) { in test01() 148 event_set[test_num], in test01() 164 event->mask &= ~event_set[test_num]; in test01() 171 test_num++; in test01() 173 for (; test_num < TST_TOTAL; test_num++) { in test01() 175 event_set[test_num]); in test01()
|
H A D | fanotify03.c | 233 int ret, len = 0, i = 0, test_num = 0; in test_fanotify() local 248 while (test_num < tc->event_count + 1 && fd_notify != -1) { in test_fanotify() 270 if (event->mask != event_set[test_num].mask) { in test_fanotify() 275 event_set[test_num].mask, in test_fanotify() 293 if (event_set[test_num].mask & LTP_ALL_PERM_EVENTS) { in test_fanotify() 297 resp.response = event_set[test_num].response; in test_fanotify() 306 test_num++; in test_fanotify() 309 for (; test_num < tc->event_count; test_num++) { in test_fanotify() 311 event_set[test_num] in test_fanotify() [all...] |
H A D | fanotify01.c | 89 int fd, ret, len, i = 0, test_num = 0; in test_fanotify() local 250 if (test_num >= TST_TOTAL) { in test_fanotify() 256 } else if (!(event->mask & event_set[test_num])) { in test_fanotify() 261 event_set[test_num], in test_fanotify() 309 event->mask &= ~event_set[test_num]; in test_fanotify() 315 test_num++; in test_fanotify() 318 for (; test_num < TST_TOTAL; test_num++) { in test_fanotify() 320 event_set[test_num]); in test_fanotify()
|
H A D | fanotify23.c | 88 int ret, len, test_num = 0; in test_fanotify() local 190 while (FAN_EVENT_OK(event, len) && test_num < tst_count) { in test_fanotify() 191 if (!(event->mask & event_set[test_num])) { in test_fanotify() 195 event_set[test_num]); in test_fanotify() 208 event->mask &= ~event_set[test_num]; in test_fanotify() 212 test_num++; in test_fanotify()
|
/third_party/ltp/testcases/kernel/controllers/cpuctl/ |
H A D | cpuctl_latency_check_task.c | 77 int test_num; in main() local 88 test_num = atoi(argv[1]); in main() 91 if ((test_num < 0) || (script_pid < 0) || (ALLOWED < 0)) { in main() 96 if (test_num == 2) { in main() 139 printf("FAIL \tThe Latency test %d failed\n", test_num); in main() 144 printf("PASS \tThe Latency test %d passed\n", test_num); in main()
|
H A D | cpuctl_test01.c | 86 int test_num; in main() local 107 test_num = 0; in main() 119 || (test_num = atoi(argv[5])) <= 0) { in main() 123 if (test_num == 1) /* Test 01 & Test 02 */ in main() 125 else if (test_num == 3) /* Test 03 */ in main() 215 /* Change share values depending on the test_num */ in main() 216 if (test_num == 1) { in main() 229 if (test_num == 3) { in main()
|
H A D | cpuctl_latency_test.c | 65 int test_num; in main() local 81 test_num = atoi(argv[1]); in main() 82 if (test_num < 0) { in main() 88 if (test_num == 2) { in main()
|
H A D | cpuctl_def_task01.c | 87 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ in main() local 106 test_num = 0; in main() 119 (test_num = atoi(argv[5])) <= 0) in main() 122 if (test_num == 1) in main() 124 else if (test_num == 3) in main() 230 if (test_num == 1) { in main()
|
H A D | cpuctl_test04.c | 83 int test_num; in main() local 108 test_num = 0; in main() 125 && (((test_num = atoi(test_num_p)) <= 10) in main() 126 && ((test_num = atoi(test_num_p)) >= 9))) { in main() 155 if (test_num == 9) in main() 229 switch (test_num) { in main()
|
H A D | cpuctl_def_task04.c | 82 int test_num; in main() local 108 test_num = 0; in main() 124 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 10) && in main() 125 ((test_num = atoi(test_num_p)) >= 9))) { in main() 238 switch (test_num) { in main()
|
H A D | cpuctl_def_task02.c | 82 int test_num; in main() local 109 test_num = 0; in main() 125 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) == 4) || in main() 126 ((test_num = atoi(test_num_p)) == 5))) { in main() 231 switch (test_num) { in main()
|
H A D | cpuctl_def_task03.c | 82 int test_num, task_num, len, num_cpus; in main() local 105 test_num = 0; in main() 121 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 8) && in main() 122 ((test_num = atoi(test_num_p)) >= 6))) { in main() 228 switch (test_num) { in main()
|
H A D | cpuctl_test02.c | 85 int test_num; in main() local 112 test_num = 0; in main() 129 && (((test_num = atoi(test_num_p)) == 4) in main() 130 || ((test_num = atoi(test_num_p)) == 5))) { in main() 223 switch (test_num) { in main()
|
H A D | cpuctl_test03.c | 82 int test_num; in main() local 107 test_num = 0; in main() 124 && (((test_num = atoi(test_num_p)) <= 8) in main() 125 && ((test_num = atoi(test_num_p)) >= 6))) { in main() 218 switch (test_num) { in main()
|
/third_party/ltp/testcases/kernel/mem/mtest05/ |
H A D | mmstress.c | 654 int test_num = 0; in main() local 686 test_num = atoi(optarg); in main() 726 if (!test_num) { in main() 730 if (test_num > (int)ARRAY_SIZE(test_ptr)) { in main() 732 test_num); in main() 735 run_test(test_num-1); in main()
|
/third_party/mbedtls/tests/scripts/ |
H A D | test_psa_compliance.py | 96 '^TEST: (?P<test_num>[0-9]*)|' 111 test_num = groupdict['test_num'] 112 if test_num is not None: 113 test = int(test_num)
|
/third_party/ltp/testcases/kernel/controllers/memctl/ |
H A D | memctl_test01.c | 59 int num_of_chunks, chunk_size, test_num, limit; variable 84 test_num = atoi(test_num_p); in main() 156 if (test_num == 4) { in signal_handler_sigusr2()
|