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

12

/freebsd-13-stable/tools/regression/nfsmmap/test1/
H A DMakefile6 CLEANFILES= test1.zeros test1.good test1.data test1.scratch
8 all: test1 test1.zeros test1.good
9 @cp ${.OBJDIR}/test1.zeros ${.OBJDIR}/test1.data
21 test1.zeros: test1.zeros.uu
H A Dtest1.c10 char zeros[4096]; local
13 memset(zeros, 0, sizeof zeros);
20 if (write(fd, zeros, sizeof zeros) < 0)
21 err(1, "writing zeros");
/freebsd-13-stable/tools/regression/nfsmmap/test2/
H A DMakefile6 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
8 all: test2 test2.zeros test2.good
9 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
21 test2.zeros: test2.zeros.uu
H A Dtest2.c10 char zeros[4096]; local
13 memset(zeros, 0, sizeof zeros);
20 if (write(fd, zeros, sizeof zeros) < 0)
21 err(1, "writing zeros");
/freebsd-13-stable/contrib/netbsd-tests/dev/audio/
H A Dh_pad.c54 char zeros[BUFSIZE]; local
70 memset(zeros, 0, sizeof(zeros));
72 if (memcmp(buf, zeros, sizeof(buf)) == 0)
/freebsd-13-stable/sys/libkern/x86/
H A Dcrc32_sse42.c126 * Construct an operator to apply len zeros to a crc. len must be a power of
135 uint32_t odd[32]; /* odd-power-of-two zeros operator */
173 * Take a length and build four lookup tables for applying the zeros operator
177 crc32c_zeros(uint32_t zeros[][256], size_t len) argument
184 zeros[0][n] = gf2_matrix_times(op, n);
185 zeros[1][n] = gf2_matrix_times(op, n << 8);
186 zeros[2][n] = gf2_matrix_times(op, n << 16);
187 zeros[3][n] = gf2_matrix_times(op, n << 24);
191 /* Apply the zeros operator table to crc. */
193 crc32c_shift(uint32_t zeros[][25 argument
[all...]
/freebsd-13-stable/sys/dev/rndtest/
H A Drndtest.c225 int i, j, ones, zeros, rv = 0; local
231 ones = zeros = 0;
237 rndtest_runs_record(rsp, zeros, zeroi);
238 zeros = 0;
240 zeros++;
247 rndtest_runs_record(rsp, zeros, zeroi);
279 val ? "ones" : "zeros",
286 val ? "ones" : "zeros",
297 int i, j, ones = 0, zeros = 0, maxones = 0, maxzeros = 0; local
304 zeros
[all...]
/freebsd-13-stable/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dsign.c48 static const unsigned char zeros[128] = { 0x00 }; local
55 crypto_hash_sha512_update(hs, zeros, 128 - (32 + 3 + 32) % 128);
57 crypto_hash_sha512_update(hs, zeros, 128 - 32 % 128);
/freebsd-13-stable/sys/opencrypto/
H A Dgmac.c51 const uint8_t zeros[GMAC_BLOCK_LEN] = {}; local
58 rijndaelEncrypt(agc->keysched, agc->rounds, zeros, hbuf);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp346 template <typename T> zeros_impl<sizeof(T)> zeros(const T &) { function
437 OS << zeros(uint32_t(0)) << zeros(uint32_t(0)) << zeros(uint32_t(0))
438 << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections)
465 OS << zeros(uint32_t(0));
466 OS << zeros(uint32_t(0));
472 OS << zeros(uint32_t(0));
473 OS << zeros(uint32_t(0));
550 << zeros(
[all...]
/freebsd-13-stable/tests/sys/fs/fusefs/
H A Dwrite.cc545 void *zeros, *expected; local
549 zeros = calloc(1, len);
550 ASSERT_NE(nullptr, zeros);
557 expect_read(ino, 0, len, len, zeros);
578 free(zeros);
982 void *p, *zeros; local
985 zeros = calloc(1, len);
986 ASSERT_NE(nullptr, zeros);
990 expect_read(ino, 0, len, len, zeros);
992 FuseTest::expect_write(ino, 0, len, len, FUSE_WRITE_CACHE, 0, zeros);
1055 void *zeros; local
1101 void *readbuf, *zeros, *ones, *zeroones, *onezeros; local
[all...]
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DGOTPass.cpp75 static const uint8_t zeros[] = variable
77 return llvm::makeArrayRef(zeros, size());
H A DTLVPass.cpp51 static const uint8_t zeros[] = variable
53 return llvm::makeArrayRef(zeros, size());
H A DStubsPass.cpp58 static const uint8_t zeros[] = variable
60 return llvm::makeArrayRef(zeros, size());
94 static const uint8_t zeros[] = variable
96 return llvm::makeArrayRef(zeros, size());
/freebsd-13-stable/contrib/ipfilter/
H A Dradix_ipf.h70 u_char *zeros; member in struct:radix_softc
H A Dradix_ipf.c843 node[0].addrkey = (u_32_t *)softr->zeros;
891 KMALLOCS(softr->zeros, u_char *, 3 * sizeof(addrfamily_t));
892 if (softr->zeros == NULL) {
896 softr->ones = softr->zeros + sizeof(addrfamily_t);
913 memset(softr->zeros, 0, 3 * sizeof(addrfamily_t));
931 if (softr->zeros != NULL)
932 KFREES(softr->zeros, 3 * sizeof(addrfamily_t));
/freebsd-13-stable/sys/contrib/ipfilter/netinet/
H A Dradix_ipf.h68 u_char *zeros; member in struct:radix_softc
/freebsd-13-stable/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c183 static unsigned char zeros[16]; local
201 && memcmp(p, zeros, sizeof(zeros)) != 0) {
/freebsd-13-stable/stand/libsa/
H A Dsmbios.c148 int byteorder, i, ones, zeros; local
153 for (i = 0, ones = 0, zeros = 0; i < UUID_SIZE; i += UUID_STEP) {
155 if (zeros == 0 && n == 0)
158 zeros++;
163 if (ones != UUID_ALL_BITS && zeros != UUID_ALL_BITS) {
/freebsd-13-stable/contrib/wpa/src/eap_common/
H A Deap_eke_common.c308 u8 zeros[EAP_EKE_MAX_HASH_LEN]; local
314 os_memset(zeros, 0, sess->prf_len);
315 if (eap_eke_prf(sess->prf, zeros, sess->prf_len,
380 u8 zeros[EAP_EKE_MAX_HASH_LEN]; local
411 os_memset(zeros, 0, sess->auth_len);
412 if (eap_eke_prf(sess->prf, zeros, sess->auth_len, modexp, dh->prime_len,
/freebsd-13-stable/lib/msun/tests/
H A Dnext_test.c81 ATF_TC_WITHOUT_HEAD(zeros); variable
82 ATF_TC_BODY(zeros, tc)
280 ATF_TP_ADD_TC(tp, zeros);
/freebsd-13-stable/usr.sbin/fstyp/tests/
H A Dfstyp_test.sh249 atf_test_case zeros
254 atf_check -s exit:0 truncate -s 256m zeros
255 atf_check -s exit:1 -e match:"filesystem not recognized" fstyp zeros
280 atf_add_test_case zeros
/freebsd-13-stable/crypto/openssl/crypto/modes/
H A Dwrap128.c191 * string on the right with octets of zeros, where final length is the
263 static unsigned char zeros[8] = { 0x0 }; local
324 if (CRYPTO_memcmp(out + ptext_len, zeros, padding_len) != 0) {
/freebsd-13-stable/contrib/ncurses/form/
H A Dfld_def.c281 static const FIELD_CELL zeros = ZEROS; local
333 buffer[j] = zeros;
/freebsd-13-stable/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv8.pl221 my ($in2,$zeros)=("x16","x17");
222 my $is_base2_26 = $zeros; # borrow
433 adr $zeros,.Lzeros
435 csel $in2,$zeros,$in2,lo
445 adr $zeros,.Lzeros
447 csel $in2,$zeros,$in2,lo
557 csel $in2,$zeros,$in2,lo

Completed in 299 milliseconds

12