Searched refs:arraycount (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sys/lib/libkern/
H A Dentpool.c92 #define arraycount(A) (sizeof(A)/sizeof((A)[0]))
116 for (i = 0; i < arraycount(P->s.w); i++)
119 for (i = 0; i < arraycount(P->s.w); i++)
728 for (k = 0; k < arraycount(u.w); k++)
731 for (k = 0; k < arraycount(u.w); k++)
746 for (i = 0; i < arraycount(cases); i++) {
91 #define arraycount macro
/netbsd-current/common/lib/libc/hash/sha3/
H A Dsha3.c90 #define arraycount(a) (sizeof(a)/sizeof((a)[0])) macro
618 for (mi = 0; mi < arraycount(mlen); mi++) {
625 for (mi = 0; mi < arraycount(mlen); mi++) {
632 for (mi = 0; mi < arraycount(mlen); mi++) {
639 for (mi = 0; mi < arraycount(mlen); mi++) {
/netbsd-current/sys/crypto/nist_hash_drbg/
H A Dnist_hash_drbg.c76 #define arraycount(A) (sizeof(A)/sizeof(A[0]))
139 hash_df(D->V, sizeof D->V, seed_material, arraycount(seed_material));
147 hash_df(D->C, sizeof D->C, hv, arraycount(hv));
178 hash_df(seed, sizeof seed, seed_material, arraycount(seed_material));
187 hash_df(D->C, sizeof D->C, hv, arraycount(hv));
1074 for (i = 0; i < arraycount(kat); i++) {
1075 for (j = 0; j < arraycount(truncation); j++) {
75 #define arraycount macro

Completed in 206 milliseconds