Searched refs:memcmp (Results 126 - 150 of 1088) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/bhyve/
H A Dnet_utils.c49 memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) {
/freebsd-11-stable/contrib/expat/tests/
H A Dchardata.c93 if (memcmp(expected, storage->data, len * sizeof(storage->data[0])) != 0) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMSFCommon.cpp21 if (std::memcmp(SB.MagicBytes, Magic, sizeof(Magic)) != 0)
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.h127 DECLARE_REAL(int, memcmp, const void *a1, const void *a2, uptr size)
/freebsd-11-stable/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c393 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
398 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
416 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
423 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
443 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0)
452 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0)
492 * if (memcmp(cbc_out,cbc3_ok, (unsigned int)(strlen((char
500 if (memcmp(cbc_in, cbc_data, strlen((char *) cbc_data) + 1) != 0) {
538 if (memcmp(out, cipher_data[i], 8) != 0) {
544 if (memcmp(i
[all...]
/freebsd-11-stable/crypto/openssl/crypto/des/
H A Ddestest.c407 /*- if (memcmp(cbc_out,cbc3_ok,
418 if (memcmp(cbc_in, cbc_data, strlen((char *)cbc_data) + 1) != 0) {
441 if (memcmp(out, cipher_data[i], 8) != 0) {
447 if (memcmp(in, outin, 8) != 0) {
466 if (memcmp(out, cipher_ecb2[i], 8) != 0) {
472 if (memcmp(in, outin, 8) != 0) {
490 if (memcmp(cbc_out, cbc_ok, 32) != 0) {
498 if (memcmp(cbc_in, cbc_data, strlen((char *)cbc_data)) != 0) {
513 if (memcmp(cbc_out, xcbc_ok, 32) != 0) {
520 if (memcmp(cbc_i
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_uu.c285 if (len - nl >= 11 && memcmp(b, "begin ", 6) == 0)
287 else if (len -nl >= 18 && memcmp(b, "begin-base64 ", 13) == 0)
349 if (avail >= 5 && memcmp(b, "====\n", 5) == 0)
351 if (avail >= 6 && memcmp(b, "====\r\n", 6) == 0)
535 if (len - nl >= 11 && memcmp(b, "begin ", 6) == 0)
538 memcmp(b, "begin-base64 ", 13) == 0)
607 if (len - nl == 3 && memcmp(b, "end ", 3) == 0)
H A Darchive_read_support_format_warc.c501 if (hsum == nsum && memcmp(cand, needle, needlesize - 1U) == 0) {
618 if (bsz < 12 || memcmp(buf, magic, sizeof(magic) - 1U) != 0) {
644 if (memcmp(c, "\r\n", 2U) != 0)
676 if (memcmp(val, "resource", 8U) == 0)
678 else if (memcmp(val, "response", 8U) == 0)
725 if (memcmp(val, "file", 4U) == 0) {
728 } else if (memcmp(val, "http", 4U) == 0 ||
729 memcmp(val, "ftp", 3U) == 0) {
/freebsd-11-stable/sys/contrib/ngatm/netnatm/api/
H A Dunisap.c166 s1->len == s2->len && memcmp(s1->addr, s2->addr, s1->len) == 0);
220 memcmp(s1->info, s2->info, s1->len) == 0);
278 memcmp(called->addr.addr, sap->addr.addr,
283 memcmp(called->addr.addr, sap->addr.addr, 19) != 0)
406 if (memcmp(sap->bhli.info, bhli->info, bhli->len) != 0)
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dunwrap.c79 if (memcmp (p, "\x00\x00", 2) != 0)
82 if (memcmp (p, "\x00\x00", 2) == 0) {
84 } else if (memcmp (p, "\xFF\xFF", 2) == 0) {
91 if (memcmp (p, "\xff\xff", 2) != 0)
230 if (memcmp (p, "\x04\x00", 2) != 0) /* HMAC SHA1 DES3_KD */
/freebsd-11-stable/contrib/gdb/gdb/
H A Djv-lang.c657 if (namelen == 4 && memcmp (name, "byte", 4) == 0)
659 if (namelen == 7 && memcmp (name, "boolean", 7) == 0)
663 if (namelen == 4 && memcmp (name, "char", 4) == 0)
666 if (namelen == 6 && memcmp (name, "double", 6) == 0)
670 if (namelen == 5 && memcmp (name, "float", 5) == 0)
674 if (namelen == 3 && memcmp (name, "int", 3) == 0)
678 if (namelen == 4 && memcmp (name, "long", 4) == 0)
682 if (namelen == 5 && memcmp (name, "short", 5) == 0)
686 if (namelen == 4 && memcmp (name, "void", 4) == 0)
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_addr.c355 if ((r = memcmp(addr_a, addr_b, length)) != 0)
391 OPENSSL_assert(memcmp(min, max, length) <= 0);
549 !memcmp(f->addressFamily->data, key, keylen))
722 int cmp = memcmp(a->data, b->data, len);
791 if (memcmp(a_min, b_min, length) >= 0 ||
792 memcmp(a_min, a_max, length) > 0 ||
793 memcmp(b_min, b_max, length) > 0)
801 if (memcmp(a_max, b_min, length) >= 0)
822 if (memcmp(a_min, a_max, length) > 0 ||
864 if (memcmp(a_mi
[all...]
/freebsd-11-stable/contrib/apr/file_io/unix/
H A Dfilepath.c218 && !memcmp(path + pathlen - 3, "../", 3))
220 && !memcmp(path + pathlen - 4, "/../", 4))) {
/freebsd-11-stable/contrib/groff/src/include/
H A Dstringclass.h171 && (s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) == 0));
177 || (s1.len != 0 && memcmp(s1.ptr, s2.ptr, s1.len) != 0));
/freebsd-11-stable/lib/libutil/
H A Drealhostname.c73 if (!memcmp(*hp->h_addr_list, ip, sizeof(*ip))) {
170 if (!memcmp(sa, addr, sa->sa_len)) {
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Drcsfcmp.c178 result = !!memcmp(xfp->base,ufp->base,(size_t)xstatp->st_size);
271 if (ls<sizeof(ciklog)-1 || memcmp(sp,ciklog,sizeof(ciklog)-1)) {
/freebsd-11-stable/usr.bin/chkey/
H A Dchkey.c172 if (memcmp(crypt2, crypt2 + HEXKEYBYTES, KEYCHECKSUMSIZE) != 0
173 || memcmp(crypt2, secret, HEXKEYBYTES) != 0)
/freebsd-11-stable/usr.bin/newkey/
H A Dnewkey.c148 if (memcmp(crypt2, crypt2 + HEXKEYBYTES, KEYCHECKSUMSIZE) != 0 ||
149 memcmp(crypt2, secret, HEXKEYBYTES) != 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/libusbhid/
H A Dt_usbhid.c366 ATF_CHECK(memcmp(test_data_minimum, range_test_minimum_report,
368 ATF_CHECK(memcmp(test_data_negative_one,
371 ATF_CHECK(memcmp(test_data_positive_one,
374 ATF_CHECK(memcmp(test_data_maximum, range_test_maximum_report,
401 ATF_CHECK(memcmp(test_data_minimum,
404 ATF_CHECK(memcmp(test_data_negative_one,
407 ATF_CHECK(memcmp(test_data_positive_one,
410 ATF_CHECK(memcmp(test_data_maximum,
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dh_lfsr.c123 if (memcmp(key.data, kb, key.size) != 0)
129 if (memcmp(val.data, buf, val.size) != 0)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_vis.c143 ATF_REQUIRE(memcmp(ed[i].d, uv, ed[i].error) == 0);
172 ATF_REQUIRE(memcmp(jd, cd, jr) == 0);
/freebsd-11-stable/usr.bin/grep/regex/
H A Dhashtable.c129 else if (memcmp(tbl->entries[hash]->key, key, tbl->key_size) == 0)
191 else if (memcmp(key, tbl->entries[hash]->key, tbl->key_size) == 0)
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DSymbolicFile.h55 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
65 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
/freebsd-11-stable/stand/efi/libefi/
H A Ddevpath.c154 if (memcmp(devpath1, devpath2, len) != 0)
197 if (memcmp(prefix, path, len) != 0)
/freebsd-11-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_aesctr2.c93 if (memcmp((char *)co.dst + 8, plaintx, sizeof(plaintx)))

Completed in 191 milliseconds

1234567891011>>