HomeSort by relevance Sort by last modified time
    Searched refs:test_num (Results 1 - 25 of 33) sorted by null

1 2

  /external/ltp/testcases/kernel/controllers/cpuctl/
cpuctl_latency_test.c 65 int test_num; local
81 test_num = atoi(argv[1]);
82 if (test_num < 0) {
88 if (test_num == 2) {
cpuctl_latency_check_task.c 77 int test_num; local
88 test_num = atoi(argv[1]);
91 if ((test_num < 0) || (script_pid < 0) || (ALLOWED < 0)) {
96 if (test_num == 2) {
139 printf("FAIL \tThe Latency test %d failed\n", test_num);
144 printf("PASS \tThe Latency test %d passed\n", test_num);
cpuctl_test01.c 87 int test_num; local
108 test_num = 0;
120 || (test_num = atoi(argv[5])) <= 0) {
124 if (test_num == 1) /* Test 01 & Test 02 */
126 else if (test_num == 3) /* Test 03 */
220 /* Change share values depending on the test_num */
221 if (test_num == 1) {
234 if (test_num == 3) {
cpuctl_def_task01.c 88 int num_cpus, test_num, len; /* Total time = TIME_INTERVAL*num_cpus */ local
107 test_num = 0;
120 (test_num = atoi(argv[5])) <= 0)
123 if (test_num == 1)
125 else if (test_num == 3)
233 if (test_num == 1) {
cpuctl_test04.c 84 int test_num; local
109 test_num = 0;
122 test_num_p = getenv("TEST_NUM");
126 && (((test_num = atoi(test_num_p)) <= 10)
127 && ((test_num = atoi(test_num_p)) >= 9))) {
156 if (test_num == 9)
234 switch (test_num) {
cpuctl_def_task02.c 83 int test_num; local
110 test_num = 0;
123 test_num_p = getenv("TEST_NUM");
126 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) == 4) ||
127 ((test_num = atoi(test_num_p)) == 5))) {
235 switch (test_num) {
cpuctl_def_task03.c 83 int test_num, task_num, len, num_cpus; local
106 test_num = 0;
119 test_num_p = getenv("TEST_NUM");
122 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 8) &&
123 ((test_num = atoi(test_num_p)) >= 6))) {
231 switch (test_num) {
cpuctl_def_task04.c 83 int test_num; local
109 test_num = 0;
122 test_num_p = getenv("TEST_NUM");
125 if ((test_num_p != NULL) && (((test_num = atoi(test_num_p)) <= 10) &&
126 ((test_num = atoi(test_num_p)) >= 9))) {
241 switch (test_num) {
cpuctl_test03.c 83 int test_num; local
108 test_num = 0;
121 test_num_p = getenv("TEST_NUM");
125 && (((test_num = atoi(test_num_p)) <= 8)
126 && ((test_num = atoi(test_num_p)) >= 6))) {
223 switch (test_num) {
cpuctl_test02.c 85 int test_num; local
112 test_num = 0;
125 test_num_p = getenv("TEST_NUM");
129 && (((test_num = atoi(test_num_p)) == 4)
130 || ((test_num = atoi(test_num_p)) == 5))) {
227 switch (test_num) {
  /external/ltp/testcases/kernel/syscalls/inotify/
inotify04.c 152 int i, test_num, len; local
155 test_num = 0;
208 if (test_num >= TST_TOTAL) {
229 } else if ((event_set[test_num].mask == event->mask)
232 (event_set[test_num].name, event->name,
245 event_set[test_num].mask,
248 event_set[test_num].name,
249 strncmp(event_set[test_num].name, event->name, event->len));
251 test_num++;
255 for (; test_num < TST_TOTAL; test_num++)
    [all...]
inotify03.c 82 int len, i, test_num; local
120 test_num = 0;
125 if (test_num >= (TST_TOTAL - 1)) {
131 } else if (event_set[test_num] == event->mask) {
141 event_set[test_num],
144 test_num++;
147 for (; test_num < TST_TOTAL - 1; test_num++) {
149 event_set[test_num]);
inotify01.c 139 int len, i = 0, test_num = 0; local
153 if (test_num >= TST_TOTAL) {
159 } else if (event_set[test_num] == event->mask) {
177 event_set[test_num],
180 test_num++;
183 for (; test_num < TST_TOTAL; test_num++) {
185 event_set[test_num]);
inotify02.c 185 int len, i = 0, test_num = 0; local
196 if (test_num >= TST_TOTAL) {
219 } else if ((event_set[test_num].mask == event->mask)
222 (event_set[test_num].name, event->name,
261 event_set[test_num].mask,
263 event_set[test_num].name,
264 strcmp(event_set[test_num].name,
267 test_num++;
271 for (; test_num < TST_TOTAL; test_num++)
    [all...]
  /external/ltp/testcases/kernel/syscalls/fanotify/
fanotify02.c 76 int ret, len, i = 0, test_num = 0; local
179 if (test_num >= TST_TOTAL) {
185 } else if (!(event->mask & event_set[test_num])) {
190 event_set[test_num],
206 event->mask &= ~event_set[test_num];
212 test_num++;
214 for (; test_num < TST_TOTAL; test_num++) {
216 event_set[test_num]);
fanotify03.c 169 int ret, len = 0, i = 0, test_num = 0; local
196 while (test_num < TST_TOTAL && fd_notify != -1) {
214 if (!(event->mask & event_set[test_num])) {
219 event_set[test_num],
236 if (event_set[test_num] & FAN_ALL_PERM_EVENTS) {
240 resp.response = event_resp[test_num];
244 event->mask &= ~event_set[test_num];
250 test_num++;
252 for (; test_num < TST_TOTAL - 1; test_num++)
    [all...]
fanotify01.c 76 int ret, len, i = 0, test_num = 0; local
247 if (test_num >= TST_TOTAL) {
253 } else if (!(event->mask & event_set[test_num])) {
258 event_set[test_num],
303 event->mask &= ~event_set[test_num];
308 test_num++;
310 for (; test_num < TST_TOTAL; test_num++) {
312 event_set[test_num]);
  /frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
rsdebug_23.rs 37 void test_rsdebug_23(uint32_t index, int test_num) {
math_24.rs 51 void math_24_test(uint32_t index, int test_num) {
rsdebug_24.rs 39 void test_rsdebug_24(uint32_t index, int test_num) {
rstypes.rs 69 void test_rstypes(uint32_t index, int test_num) {
  /external/ltp/testcases/kernel/syscalls/utimensat/
utimensat_tests.sh 55 test_num=0
117 tst_resm TFAIL "FAILED test $test_num"
120 failed_list="$failed_list $test_num"
130 test_num=$(expr $test_num + 1)
187 tst_resm TPASS "PASSED test $test_num"
508 echo "Total tests: $test_num; passed: $passed_cnt; failed: $failed_cnt"
  /external/ltp/testcases/kernel/controllers/memctl/
memctl_test01.c 59 int num_of_chunks, chunk_size, test_num, limit; variable
75 test_num_p = getenv("TEST_NUM");
84 test_num = atoi(test_num_p);
154 if (test_num == 4) {
  /cts/tools/selinux/
SELinuxNeverallowTestGen.py 67 def neverallow_rule_to_test(rule, test_num):
71 "testNeverallowRules" + str(test_num) + "()")
  /external/boringssl/src/decrepit/ripemd/
ripemd_test.cc 60 unsigned test_num = 0; local
64 test_num++;
93 fprintf(stderr, "#%u: bad result with stride %u: ", test_num,

Completed in 1250 milliseconds

1 2