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

/external/ltp/testcases/kernel/controllers/cpuctl/
H A Dcpuctl_latency_test.c65 int test_num; local
81 test_num = atoi(argv[1]);
82 if (test_num < 0) {
88 if (test_num == 2) {
H A Dcpuctl_latency_check_task.c77 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);
H A Dcpuctl_test01.c87 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) {
H A Dcpuctl_def_task01.c88 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) {
H A Dcpuctl_test04.c84 int test_num; local
109 test_num = 0;
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) {
H A Dcpuctl_def_task02.c83 int test_num; local
110 test_num = 0;
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) {
H A Dcpuctl_def_task03.c83 int test_num, task_num, len, num_cpus; local
106 test_num = 0;
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) {
H A Dcpuctl_def_task04.c83 int test_num; local
109 test_num = 0;
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) {
H A Dcpuctl_test03.c83 int test_num; local
108 test_num = 0;
125 && (((test_num = atoi(test_num_p)) <= 8)
126 && ((test_num = atoi(test_num_p)) >= 6))) {
223 switch (test_num) {
H A Dcpuctl_test02.c85 int test_num; local
112 test_num = 0;
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/
H A Dinotify04.c152 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_TOTA
[all...]
H A Dinotify03.c82 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]);
H A Dinotify01.c139 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]);
H A Dinotify02.c185 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/boringssl/src/crypto/modes/
H A Dgcm_test.cc266 unsigned test_num, const char *description) {
275 fprintf(stderr, "%u: Odd-length %s input.\n", test_num, description);
281 fprintf(stderr, "%u: malloc failure.\n", test_num);
290 test_num, description, i);
305 static int run_test_case(unsigned test_num, const struct test_case *test) { argument
314 if (!decode_hex(&key, &key_len, test->key, test_num, "key") ||
315 !decode_hex(&plaintext, &plaintext_len, test->plaintext, test_num,
318 test_num, "additional_data") ||
319 !decode_hex(&nonce, &nonce_len, test->nonce, test_num, "nonce") ||
320 !decode_hex(&ciphertext, &ciphertext_len, test->ciphertext, test_num,
265 decode_hex(uint8_t **out, size_t *out_len, const char *in, unsigned test_num, const char *description) argument
[all...]
/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify02.c76 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]);
H A Dfanotify03.c169 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...]
H A Dfanotify01.c76 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]);
/external/boringssl/src/crypto/base64/
H A Dbase64_test.cc231 for (unsigned test_num = 0; test_num < kNumTests; test_num++) {
232 const TestVector *t = &kTestVectors[test_num];
240 fprintf(stderr, "#%u: EVP_EncodedLength failed\n", test_num);
264 test_num, out, static_cast<unsigned>(total));
288 fprintf(stderr, "#%u: EVP_DecodeUpdate failed\n", test_num);
294 test_num);
301 fprintf(stderr, "#%u: EVP_DecodeUpdate was successful but shouldn't have been\n", test_num);
312 for (unsigned test_num
[all...]
/external/ltp/testcases/kernel/syscalls/utimensat/
H A Dutimensat_tests.sh46 test_num=0
108 tst_resm TFAIL "FAILED test $test_num"
111 failed_list="$failed_list $test_num"
121 test_num=$(expr $test_num + 1)
178 tst_resm TPASS "PASSED test $test_num"
499 echo "Total tests: $test_num; passed: $passed_cnt; failed: $failed_cnt"
/external/ltp/testcases/kernel/controllers/memctl/
H A Dmemctl_test01.c59 int num_of_chunks, chunk_size, test_num, limit; variable
84 test_num = atoi(test_num_p);
154 if (test_num == 4) {
/external/boringssl/src/decrepit/ripemd/
H A Dripemd_test.cc60 unsigned test_num = 0; local
64 test_num++;
93 fprintf(stderr, "#%u: bad result with stride %u: ", test_num,
/external/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c803 int test_num = 0; /* test number that is to be run */ local
845 test_num = atoi(optarg);
917 if (!test_num) {
932 global_rc = (test_num > MAXTEST) ?
935 MAXTEST) : test_ptr[test_num] ();
/external/googletest/googletest/test/
H A Dgtest-param-test_test.cc873 for (int test_num = 0;
874 test_num < test_case->total_test_count();
875 ++test_num) {
876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num);
/external/v8/testing/gtest/test/
H A Dgtest-param-test_test.cc873 for (int test_num = 0;
874 test_num < test_case->total_test_count();
875 ++test_num) {
876 const ::testing::TestInfo* test_info = test_case->GetTestInfo(test_num);

Completed in 454 milliseconds