Home
last modified time | relevance | path

Searched refs:__arraycount (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
H A Dsha1.cpp15 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 Dmd4.cpp18 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 Dmd2.cpp18 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 Dmd5.cpp18 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 Drmd160.cpp15 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 Dsha2.cpp55 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 Dcdb.cpp32 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 Dmi_vector_hash.cpp10 mi_vector_hash(key, __arraycount(key), 0, hashes); in main()
11 for (size_t i = 0; i < __arraycount(hashes); i++) in main()
H A Dsysctlgetmibinfo.cpp14 unsigned int mib_len = __arraycount(mib); in test_sysctlgetmibinfo()
H A Dasysctl.cpp15 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 Dsysctl.cpp14 #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 Dregex.cpp10 #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 DHostInfoNetBSD.cpp68 if (sysctl(name, __arraycount(name), path, &len, NULL, 0) != -1) { in GetProgramFileSpec()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dz_Linux_util.cpp2131 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()