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

12

/freebsd-11-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-11-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-11-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-11-stable/sys/libkern/x86/
H A Dcrc32_sse42.c124 * Construct an operator to apply len zeros to a crc. len must be a power of
133 uint32_t odd[32]; /* odd-power-of-two zeros operator */
171 * Take a length and build four lookup tables for applying the zeros operator
175 crc32c_zeros(uint32_t zeros[][256], size_t len) argument
182 zeros[0][n] = gf2_matrix_times(op, n);
183 zeros[1][n] = gf2_matrix_times(op, n << 8);
184 zeros[2][n] = gf2_matrix_times(op, n << 16);
185 zeros[3][n] = gf2_matrix_times(op, n << 24);
189 /* Apply the zeros operator table to crc. */
191 crc32c_shift(uint32_t zeros[][25 argument
[all...]
/freebsd-11-stable/sys/dev/rndtest/
H A Drndtest.c227 int i, j, ones, zeros, rv = 0; local
233 ones = zeros = 0;
239 rndtest_runs_record(rsp, zeros, zeroi);
240 zeros = 0;
242 zeros++;
249 rndtest_runs_record(rsp, zeros, zeroi);
281 val ? "ones" : "zeros",
288 val ? "ones" : "zeros",
299 int i, j, ones = 0, zeros = 0, maxones = 0, maxzeros = 0; local
306 zeros
[all...]
/freebsd-11-stable/sys/opencrypto/
H A Dgmac.c48 const uint8_t zeros[GMAC_BLOCK_LEN] = {}; local
54 rijndaelEncrypt(agc->keysched, agc->rounds, zeros, hbuf);
/freebsd-11-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-11-stable/contrib/binutils/gas/
H A Datof-generic.c195 unsigned int zeros = 0; /* Length of current string of zeros */ local
201 zeros++;
205 number_of_digits_after_decimal += 1 + zeros;
206 zeros = 0;
/freebsd-11-stable/stand/i386/libi386/
H A Dsmbios.c155 int byteorder, i, ones, zeros; local
160 for (i = 0, ones = 0, zeros = 0; i < UUID_SIZE; i += UUID_STEP) {
162 if (zeros == 0 && n == 0)
165 zeros++;
170 if (ones != UUID_ALL_BITS && zeros != UUID_ALL_BITS) {
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/
H A DTLVPass.cpp51 static const uint8_t zeros[] = variable
53 return llvm::makeArrayRef(zeros, size());
H A DGOTPass.cpp75 static const uint8_t zeros[] = variable
77 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-11-stable/usr.sbin/fstyp/tests/
H A Dfstyp_test.sh230 atf_test_case zeros
235 atf_check -s exit:0 truncate -s 256m zeros
236 atf_check -s exit:1 -e match:"filesystem not recognized" fstyp zeros
259 atf_add_test_case zeros
/freebsd-11-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-11-stable/sys/contrib/ipfilter/netinet/
H A Dradix_ipf.h68 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-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c183 static unsigned char zeros[16]; local
201 && memcmp(p, zeros, sizeof(zeros)) != 0) {
/freebsd-11-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-11-stable/contrib/ncurses/form/
H A Dfld_def.c280 static const FIELD_CELL zeros = ZEROS; local
332 buffer[j] = zeros;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dchecksum.c145 static const unsigned char zeros[MAX_DIGESTSIZE] = { 0 };
148 || (memcmp(d2, zeros, digest_size) == 0)
149 || (memcmp(d1, zeros, digest_size) == 0));
144 static const unsigned char zeros[MAX_DIGESTSIZE] = { 0 }; local
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dnetaddr.c217 static const unsigned char zeros[16] = { 0 }; local
244 if (memcmp(p + nbytes, zeros, ipbytes - nbytes) != 0)
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dpac.c76 static const char zeros[PAC_ALIGNMENT] = { 0 }; variable
907 if (l > sizeof(zeros))
908 l = sizeof(zeros);
909 sret = krb5_storage_write(sp, zeros, l);

Completed in 462 milliseconds

12