| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
| H A D | sha1.cpp | 15 SHA1Update(&ctx, entropy, __arraycount(entropy)); in test1() 19 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 51 local_SHA1Update(&ctx, entropy, __arraycount(entropy)); in test2() 55 for (size_t i = 0; i < __arraycount(digest); i++) in test2() 66 SHA1Update(&ctx, entropy, __arraycount(entropy)); in test3() 78 SHA1Update(&ctx, entropy, __arraycount(entropy)); in test4() 127 char *p = SHA1Data(entropy, __arraycount(entropy), digest); in test9() 136 char *p = SHA1Data(entropy, __arraycount(entropy), NULL); in test10()
|
| H A D | md4.cpp | 18 MD4Update(&ctx, entropy, __arraycount(entropy)); in test1() 22 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 33 MD4Update(&ctx, entropy, __arraycount(entropy)); in test2() 45 MD4Update(&ctx, entropy, __arraycount(entropy)); in test3() 76 char *p = MD4Data(entropy, __arraycount(entropy), digest); in test6() 85 char *p = MD4Data(entropy, __arraycount(entropy), NULL); in test7()
|
| H A D | md2.cpp | 18 MD2Update(&ctx, entropy, __arraycount(entropy)); in test1() 22 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 33 MD2Update(&ctx, entropy, __arraycount(entropy)); in test2() 45 MD2Update(&ctx, entropy, __arraycount(entropy)); in test3() 76 char *p = MD2Data(entropy, __arraycount(entropy), digest); in test6() 85 char *p = MD2Data(entropy, __arraycount(entropy), NULL); in test7()
|
| H A D | md5.cpp | 18 MD5Update(&ctx, entropy, __arraycount(entropy)); in test1() 22 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 33 MD5Update(&ctx, entropy, __arraycount(entropy)); in test2() 45 MD5Update(&ctx, entropy, __arraycount(entropy)); in test3() 76 char *p = MD5Data(entropy, __arraycount(entropy), digest); in test6() 85 char *p = MD5Data(entropy, __arraycount(entropy), NULL); in test7()
|
| H A D | rmd160.cpp | 15 RMD160Update(&ctx, entropy, __arraycount(entropy)); in test1() 19 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 30 RMD160Update(&ctx, entropy, __arraycount(entropy)); in test2() 42 RMD160Update(&ctx, entropy, __arraycount(entropy)); in test3() 91 char *p = RMD160Data(entropy, __arraycount(entropy), digest); in test8() 100 char *p = RMD160Data(entropy, __arraycount(entropy), NULL); in test9()
|
| H A D | sha2.cpp | 55 SHA_Update(SHASIZE)(&ctx, entropy, __arraycount(entropy)); in test1() 59 for (size_t i = 0; i < __arraycount(digest); i++) in test1() 70 SHA_Update(SHASIZE)(&ctx, entropy, __arraycount(entropy)); in test2() 82 SHA_Update(SHASIZE)(&ctx, entropy, __arraycount(entropy)); in test3() 131 char *p = SHA_Data(SHASIZE)(entropy, __arraycount(entropy), digest); in test8() 140 char *p = SHA_Data(SHASIZE)(entropy, __arraycount(entropy), NULL); in test9()
|
| H A D | cdb.cpp | 32 int rv = cdbw_put_data(cdbw, data1, __arraycount(data1), &idx); in test_cdbw() 35 rv = cdbw_put_key(cdbw, key1, __arraycount(key1), idx); in test_cdbw() 38 rv = cdbw_put(cdbw, key2, __arraycount(key2), data2, __arraycount(data2)); in test_cdbw() 76 rv = cdbr_find(cdbr, key1, __arraycount(key1), &data, &data_len); in test_cdbr1()
|
| H A D | mi_vector_hash.cpp | 10 mi_vector_hash(key, __arraycount(key), 0, hashes); in main() 11 for (size_t i = 0; i < __arraycount(hashes); i++) in main()
|
| H A D | sysctlgetmibinfo.cpp | 14 unsigned int mib_len = __arraycount(mib); in test_sysctlgetmibinfo()
|
| H A D | asysctl.cpp | 15 char *buf = (char *)asysctl(mib, __arraycount(mib), &len); in test_asysctl()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | sysctl.cpp | 14 #ifndef __arraycount 15 #define __arraycount(a) (sizeof(a) / sizeof(a[0])) macro 22 int rv = sysctl(mib, __arraycount(mib), buf, &len, NULL, 0); in test_sysctl() 39 size_t mib_len = __arraycount(mib); in test_sysctlnametomib()
|
| H A D | regex.cpp | 10 #ifndef __arraycount 11 #define __arraycount(a) ((sizeof(a) / sizeof(a[0]))) macro 26 int rv = regexec(preg, string, __arraycount(rm), rm, 0); in test_print_matches() 28 for (size_t i = 0; i < __arraycount(rm); i++) { in test_print_matches()
|
| /llvm-project-15.0.7/lldb/source/Host/netbsd/ |
| H A D | HostInfoNetBSD.cpp | 68 if (sysctl(name, __arraycount(name), path, &len, NULL, 0) != -1) { in GetProgramFileSpec()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | z_Linux_util.cpp | 2131 rc = sysctl(mib, __arraycount(mib), NULL, &size, NULL, 0); in __kmp_is_address_mapped() 2139 rc = sysctl(mib, __arraycount(mib), kiv, &size, NULL, 0); in __kmp_is_address_mapped()
|