Searched refs:zeros (Results 1 - 25 of 35) sorted by last modified time

12

/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/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/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/apr/
H A Dconfigure28820 /* leave sin_addr all zeros to use loopback */
28969 /* leave sin_addr all zeros to use loopback */
/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/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp399 std::basic_string<uint8_t> zeros(reg_info.byte_size, '\0');
400 AppendHexValue(response, zeros.data(), zeros.size(), false);
/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/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/
H A Demmintrin.h110 /* Create a vector of zeros. */
821 /* Create a vector of zeros. */
1568 const __v16qu zeros = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; local
1571 result = vec_sld ((__v16qu) __A, zeros, __N);
1573 result = zeros;
1582 const __v16qu zeros = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; local
1590 result = vec_sld (zeros, (__v16qu) __A, (16 - __N));
1602 result = zeros;
1617 const __v16qu zeros = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; local
1621 result = vec_sld ((__v16qu) __A, zeros, _imm
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c1213 static const char zeros[2] = {0, 0}; local
1217 *crc = lha_crc16(*crc, zeros, 2);
2066 * process meet 2 bytes of zeros at reading a size of a next chunk, so the
2067 * zeros are treated as the mark of the end of the data although the zeros
/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/sys/geom/raid3/
H A Dg_raid3.c259 static const uint64_t zeros[] = { local
267 for (; size > 0; size -= sizeof(zeros), addr += sizeof(zeros)) {
268 if (bcmp(addr, zeros, sizeof(zeros)) != 0)
/freebsd-11-stable/sys/netinet/
H A Dtcp_lro.c408 uint64_t zeros; local
426 zeros = 0;
429 zeros |= ~parray[x].seq;
433 ones &= zeros;
457 /* sort zeros */
/freebsd-11-stable/stand/pc98/btx/btx/
H A Dbtx.S541 * push a dummy frame of zeros onto the stack for all the general
549 loop intusr.2 # with zeros
/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/stand/i386/btx/btx/
H A Dbtx.S515 * push a dummy frame of zeros onto the stack for all the general
523 loop intusr.2 # with zeros
/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/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/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/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/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");

Completed in 468 milliseconds

12