| /freebsd-13-stable/tools/regression/nfsmmap/test2/ |
| HD | test2.c | 10 char zeros[4096]; in main() local 13 memset(zeros, 0, sizeof zeros); in main() 20 if (write(fd, zeros, sizeof zeros) < 0) in main()
|
| HD | Makefile | 5 CLEANFILES= test2.zeros test2.good test2.data test2.scratch 7 all: test2 test2.zeros test2.good 8 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data 20 test2.zeros: test2.zeros.uu
|
| /freebsd-13-stable/tools/regression/nfsmmap/test1/ |
| HD | test1.c | 10 char zeros[4096]; in main() local 13 memset(zeros, 0, sizeof zeros); in main() 20 if (write(fd, zeros, sizeof zeros) < 0) in main()
|
| HD | Makefile | 5 CLEANFILES= test1.zeros test1.good test1.data test1.scratch 7 all: test1 test1.zeros test1.good 8 @cp ${.OBJDIR}/test1.zeros ${.OBJDIR}/test1.data 20 test1.zeros: test1.zeros.uu
|
| /freebsd-13-stable/sys/libkern/x86/ |
| HD | crc32_sse42.c | 175 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-13-stable/sys/dev/rndtest/ |
| HD | rndtest.c | 223 int i, j, ones, zeros, rv = 0; in rndtest_runs() local 229 ones = zeros = 0; in rndtest_runs() 235 rndtest_runs_record(rsp, zeros, zeroi); in rndtest_runs() 236 zeros = 0; in rndtest_runs() 238 zeros++; in rndtest_runs() 245 rndtest_runs_record(rsp, zeros, zeroi); in rndtest_runs() 295 int i, j, ones = 0, zeros = 0, maxones = 0, maxzeros = 0; in rndtest_longruns() local 302 zeros = 0; in rndtest_longruns() 308 zeros++; in rndtest_longruns() 309 if (zeros > maxzeros) in rndtest_longruns() [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/dev/audio/ |
| HD | h_pad.c | 54 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-13-stable/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| HD | GOFFEmitter.cpp | 61 ZerosImpl zeros(const size_t NumBytes) { return ZerosImpl{NumBytes}; } in zeros() function 224 << zeros(2) // Reserved in writeHeader() 227 << zeros(16 - CCSIDName.size()) // Fill bytes in writeHeader() 229 << zeros(16 - LangProd.size()) // Fill bytes in writeHeader() 238 GW << binaryBe(ModPropLen) << zeros(6); in writeHeader() 252 << zeros(3) // Reserved in writeEnd()
|
| HD | COFFEmitter.cpp | 338 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-13-stable/contrib/wpa/src/tls/ |
| HD | asn1.c | 507 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-13-stable/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/ |
| HD | sign.c | 48 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-13-stable/tests/sys/fs/fusefs/ |
| HD | write.cc | 743 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-13-stable/stand/libsa/ |
| HD | smbios.c | 146 int byteorder, i, ones, zeros; in smbios_setuuid() local 151 for (i = 0, ones = 0, zeros = 0; i < UUID_SIZE; i += UUID_STEP) { in smbios_setuuid() 153 if (zeros == 0 && n == 0) in smbios_setuuid() 156 zeros++; in smbios_setuuid() 161 if (ones != UUID_ALL_BITS && zeros != UUID_ALL_BITS) { in smbios_setuuid()
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/profile/ |
| HD | InstrProfilingPlatformWindows.c | 101 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-13-stable/usr.sbin/fstyp/tests/ |
| HD | fstyp_test.sh | 257 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-13-stable/crypto/heimdal/lib/gssapi/krb5/ |
| HD | 8003.c | 183 static unsigned char zeros[16]; in _gsskrb5_verify_8003_checksum() local 201 && memcmp(p, zeros, sizeof(zeros)) != 0) { in _gsskrb5_verify_8003_checksum()
|
| /freebsd-13-stable/crypto/openssl/crypto/poly1305/asm/ |
| HD | poly1305-armv4.pl | 452 my ($in2,$zeros,$tbl0,$tbl1) = map("r$_",(4..7)); 492 mov $zeros,#2 @ counter 613 subs $zeros,$zeros,#1 726 adr $zeros,.Lzeros 742 adr $zeros,.Lzeros 785 mov $tbl1,$zeros 795 movlo $in2,$zeros 873 movlo $in2,$zeros
|
| HD | poly1305-armv8.pl | 221 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
|
| /freebsd-13-stable/sys/opencrypto/ |
| HD | gmac.c | 48 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-13-stable/contrib/wpa/src/eap_common/ |
| HD | eap_eke_common.c | 308 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-13-stable/contrib/file/magic/Magdir/ |
| HD | dwarfs | 24 ## 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-13-stable/lib/msun/tests/ |
| HD | next_test.c | 79 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-13-stable/crypto/openssl/crypto/modes/ |
| HD | wrap128.c | 263 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-13-stable/contrib/ncurses/form/ |
| HD | fld_def.c | 281 static const FIELD_CELL zeros = ZEROS; in new_field() local 333 buffer[j] = zeros; in new_field()
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
| HD | README.txt | 46 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
|