Searched refs:int_tests (Results 1 - 3 of 3) sorted by relevance
/third_party/openssl/test/ |
H A D | lhash_test.c | 32 static int int_tests[] = { 65537, 13, 1, 3, -5, 6, 7, 4, -10, -12, -14, 22, 9, variable 34 static const unsigned int n_int_tests = OSSL_NELEM(int_tests); 35 static short int_found[OSSL_NELEM(int_tests)]; 53 if (int_tests[i] == n) in int_find() 103 if (!TEST_ptr_null(lh_int_insert(h, int_tests + i))) { in test_int_lhash() 114 if (!TEST_int_eq(*lh_int_retrieve(h, int_tests + i), int_tests[i])) { in test_int_lhash() 119 if (!TEST_ptr_eq(lh_int_retrieve(h, int_tests + i), int_tests + i)) { in test_int_lhash() 124 if (!TEST_ptr_eq(lh_int_retrieve(h, &j), int_tests in test_int_lhash() [all...] |
/third_party/musl/libc-test/src/functional/ |
H A D | snprintf.c | 25 } int_tests[] = { variable 177 for (j=0; int_tests[j].fmt; j++) { in main() 178 i = snprintf(b, sizeof b, int_tests[j].fmt, int_tests[j].i); in main() 179 if (i != strlen(int_tests[j].expect)) { in main() 181 int_tests[j].fmt, int_tests[j].i, i, strlen(int_tests[j].expect)); in main() 183 if (strcmp(b, int_tests[j].expect) != 0) in main() 184 t_error("bad integer conversion: got \"%s\", want \"%s\"\n", b, int_tests[ in main() [all...] |
H A D | swprintf.c | 26 } int_tests[] = { variable 131 for (j=0; int_tests[j].fmt; j++) { in main() 132 i = swprintf(b, sizeof b, int_tests[j].fmt, int_tests[j].i); in main() 133 if (i != wcslen(int_tests[j].expect)) { in main() 135 int_tests[j].fmt, int_tests[j].i, i, wcslen(int_tests[j].expect)); in main() 137 if (wcscmp(b, int_tests[j].expect) != 0) in main() 138 t_error("bad integer conversion: got \"%ls\", want \"%ls\"\n", b, int_tests[ in main() [all...] |
Completed in 1 milliseconds