Home
last modified time | relevance | path

Searched refs:zeros (Results 1 – 25 of 108) sorted by relevance

12345

/freebsd/sys/libkern/x86/
H A Dcrc32_sse42.c175 crc32c_zeros(uint32_t zeros[][256], size_t len) in crc32c_zeros()
182 zeros[0][n] = gf2_matrix_times(op, n); in crc32c_zeros()
183 zeros[1][n] = gf2_matrix_times(op, n << 8); in crc32c_zeros()
184 zeros[2][n] = gf2_matrix_times(op, n << 16); in crc32c_zeros()
185 zeros[3][n] = gf2_matrix_times(op, n << 24); in crc32c_zeros()
191 crc32c_shift(uint32_t zeros[][256], uint32_t crc) in crc32c_shift()
194 return (zeros[0][crc & 0xff] ^ zeros[1][(crc >> 8) & 0xff] ^ in crc32c_shift()
195 zeros[2][(crc >> 16) & 0xff] ^ zeros[3][crc >> 24]); in crc32c_shift()
/freebsd/tools/regression/nfsmmap/test2/
H A Dtest2.c10 char zeros[4096]; in main() local
13 memset(zeros, 0, sizeof zeros); in main()
20 if (write(fd, zeros, sizeof zeros) < 0) in main()
H A DMakefile4 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
6 all: test2 test2.zeros test2.good
7 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
19 test2.zeros: test2.zeros.uu
/freebsd/tools/regression/nfsmmap/test1/
H A Dtest1.c10 char zeros[4096]; in main() local
13 memset(zeros, 0, sizeof zeros); in main()
20 if (write(fd, zeros, sizeof zeros) < 0) in main()
H A DMakefile4 CLEANFILES= test1.zeros test1.good test1.data test1.scratch
6 all: test1 test1.zeros test1.good
7 @cp ${.OBJDIR}/test1.zeros ${.OBJDIR}/test1.data
19 test1.zeros: test1.zeros.uu
/freebsd/sys/dev/rndtest/
H A Drndtest.c222 int i, j, ones, zeros, rv = 0; in rndtest_runs() local
228 ones = zeros = 0; in rndtest_runs()
234 rndtest_runs_record(rsp, zeros, zeroi); in rndtest_runs()
235 zeros = 0; in rndtest_runs()
237 zeros++; in rndtest_runs()
244 rndtest_runs_record(rsp, zeros, zeroi); in rndtest_runs()
294 int i, j, ones = 0, zeros = 0, maxones = 0, maxzeros = 0; in rndtest_longruns() local
301 zeros = 0; in rndtest_longruns()
307 zeros++; in rndtest_longruns()
308 if (zeros > maxzeros) in rndtest_longruns()
[all …]
/freebsd/contrib/netbsd-tests/dev/audio/
H A Dh_pad.c54 char zeros[BUFSIZE]; in main() local
70 memset(zeros, 0, sizeof(zeros)); in main()
72 if (memcmp(buf, zeros, sizeof(buf)) == 0) in main()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp338 template <typename T> zeros_impl<sizeof(T)> zeros(const T &) { in zeros() function
429 OS << zeros(uint32_t(0)) << zeros(uint32_t(0)) << zeros(uint32_t(0)) in writeCOFF()
430 << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections) in writeCOFF()
460 OS << zeros(uint32_t(0)); in writeCOFF()
461 OS << zeros(uint32_t(0)); in writeCOFF()
542 << zeros(i->FunctionDefinition->unused); in writeCOFF()
546 OS << zeros(i->bfAndefSymbol->unused1) in writeCOFF()
548 << zeros(i->bfAndefSymbol->unused2) in writeCOFF()
550 << zeros(i->bfAndefSymbol->unused3); in writeCOFF()
556 << zeros(i->WeakExternal->unused); in writeCOFF()
[all …]
/freebsd/contrib/wpa/src/tls/
H A Dasn1.c507 int zeros; in asn1_put_integer() local
510 zeros = 0; in asn1_put_integer()
511 while (zeros < 3 && bin[zeros] == 0) in asn1_put_integer()
512 zeros++; in asn1_put_integer()
514 wpabuf_put_u8(buf, 4 - zeros); in asn1_put_integer()
515 wpabuf_put_data(buf, &bin[zeros], 4 - zeros); in asn1_put_integer()
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dsign.c48 static const unsigned char zeros[128] = { 0x00 }; in _crypto_sign_ed25519_synthetic_r_hv() local
55 crypto_hash_sha512_update(hs, zeros, 128 - (32 + 3 + 32) % 128); in _crypto_sign_ed25519_synthetic_r_hv()
57 crypto_hash_sha512_update(hs, zeros, 128 - 32 % 128); in _crypto_sign_ed25519_synthetic_r_hv()
/freebsd/tests/sys/fs/fusefs/
H A Dwrite.cc743 char *zeros, *expected; in TEST_F() local
747 zeros = new char[len](); in TEST_F()
753 expect_read(ino, 0, len, len, zeros); in TEST_F()
774 delete[] zeros; in TEST_F()
1175 char *zeros; in TEST_F() local
1179 zeros = new char[len](); in TEST_F()
1183 expect_read(ino, 0, len, len, zeros); in TEST_F()
1185 FuseTest::expect_write(ino, 0, len, len, FUSE_WRITE_CACHE, 0, zeros); in TEST_F()
1199 delete[] zeros; in TEST_F()
1248 char *zeros; in TEST_F() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformWindows.c101 static const uint8_t zeros[BUILD_ID_LEN] = {0}; in __llvm_write_binary_ids() local
102 if (memcmp(__buildid, zeros, BUILD_ID_LEN) != 0) { in __llvm_write_binary_ids()
/freebsd/stand/libsa/
H A Dsmbios.c256 int byteorder, i, ones, zeros; in smbios_setuuid() local
261 for (i = 0, ones = 0, zeros = 0; i < UUID_SIZE; i += UUID_STEP) { in smbios_setuuid()
263 if (zeros == 0 && n == 0) in smbios_setuuid()
266 zeros++; in smbios_setuuid()
271 if (ones != UUID_ALL_BITS && zeros != UUID_ALL_BITS) { in smbios_setuuid()
/freebsd/usr.sbin/fstyp/tests/
H A Dfstyp_test.sh257 atf_test_case zeros
262 atf_check -s exit:0 truncate -s 256m zeros
263 atf_check -s exit:1 -e match:"filesystem not recognized" fstyp zeros
289 atf_add_test_case zeros
/freebsd/crypto/openssl/crypto/poly1305/asm/
H A Dpoly1305-armv4.pl447 my ($in2,$zeros,$tbl0,$tbl1) = map("r$_",(4..7));
487 mov $zeros,#2 @ counter
608 subs $zeros,$zeros,#1
721 adr $zeros,.Lzeros
737 adr $zeros,.Lzeros
780 mov $tbl1,$zeros
790 movlo $in2,$zeros
868 movlo $in2,$zeros
H A Dpoly1305-armv8.pl229 my ($in2,$zeros)=("x16","x17");
230 my $is_base2_26 = $zeros; # borrow
445 adr $zeros,.Lzeros
447 csel $in2,$zeros,$in2,lo
457 adr $zeros,.Lzeros
459 csel $in2,$zeros,$in2,lo
569 csel $in2,$zeros,$in2,lo
/freebsd/crypto/heimdal/lib/gssapi/krb5/
H A D8003.c183 static unsigned char zeros[16]; in _gsskrb5_verify_8003_checksum() local
201 && memcmp(p, zeros, sizeof(zeros)) != 0) { in _gsskrb5_verify_8003_checksum()
/freebsd/crypto/openssl/doc/man7/
H A DEVP_MD-MDC2.pod31 Normally the final MDC2 block is padded with zeros.
33 zeros.
/freebsd/sys/opencrypto/
H A Dgmac.c48 const uint8_t zeros[GMAC_BLOCK_LEN] = {}; in AES_GMAC_Setkey() local
55 rijndaelEncrypt(agc->keysched, agc->rounds, zeros, hbuf); in AES_GMAC_Setkey()
/freebsd/contrib/wpa/src/eap_common/
H A Deap_eke_common.c308 u8 zeros[EAP_EKE_MAX_HASH_LEN]; in eap_eke_derive_key() local
314 os_memset(zeros, 0, sess->prf_len); in eap_eke_derive_key()
315 if (eap_eke_prf(sess->prf, zeros, sess->prf_len, in eap_eke_derive_key()
380 u8 zeros[EAP_EKE_MAX_HASH_LEN]; in eap_eke_shared_secret() local
411 os_memset(zeros, 0, sess->auth_len); in eap_eke_shared_secret()
412 if (eap_eke_prf(sess->prf, zeros, sess->auth_len, modexp, dh->prime_len, in eap_eke_shared_secret()
/freebsd/lib/msun/tests/
H A Dnext_test.c79 ATF_TC_WITHOUT_HEAD(zeros);
80 ATF_TC_BODY(zeros, tc) in ATF_TC_BODY() argument
278 ATF_TP_ADD_TC(tp, zeros); in ATF_TP_ADD_TCS()
/freebsd/contrib/file/magic/Magdir/
H A Ddwarfs24 ## validate by checking the block count / section type to be all zeros
36 ## the block count / section type to be all zeros for the first block.
/freebsd/crypto/openssl/crypto/modes/
H A Dwrap128.c263 static unsigned char zeros[8] = { 0x0 }; in CRYPTO_128_unwrap_pad() local
324 if (CRYPTO_memcmp(out + ptext_len, zeros, padding_len) != 0) { in CRYPTO_128_unwrap_pad()
/freebsd/contrib/ncurses/form/
H A Dfld_def.c279 static const FIELD_CELL zeros = ZEROS; in new_field() local
331 buffer[j] = zeros; in new_field()
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/
H A DREADME.txt46 int __clzsi2(si_int a); // count leading zeros
47 int __clzdi2(di_int a); // count leading zeros
48 int __clzti2(ti_int a); // count leading zeros
49 int __ctzsi2(si_int a); // count trailing zeros
50 int __ctzdi2(di_int a); // count trailing zeros
51 int __ctzti2(ti_int a); // count trailing zeros

12345