bin/dd/dd.h
110
#define BISZERO(p, s) ((s) > 0 && *((const char *)p) == 0 && !memcmp( \
bin/sh/exec.c
479
if (bp[0] == len && memcmp(bp + 2, name, len) == 0) {
bin/sh/histedit.c
666
if (curpos > bp[0] || memcmp(bp + 2, text, curpos) != 0)
bin/sh/mystring.c
89
(q - p == 10 && memcmp(p, "2147483647", 10) > 0))
bin/sh/options.c
275
if (*on == len && memcmp(on + 1, name, len) == 0) {
bin/sh/var.c
956
if (memcmp(vp->text, name, len) != 0)
crypto/heimdal/admin/copy.c
44
memcmp(a->keyvalue.data, b->keyvalue.data, a->keyvalue.length) != 0)
crypto/heimdal/appl/ftp/ftpd/ftpcmd.c
1803
memcmp(socket_get_address(data_dest),
crypto/heimdal/appl/ftp/ftpd/ftpcmd.y
160
memcmp(socket_get_address(data_dest),
crypto/heimdal/appl/ftp/ftpd/ftpd.c
2130
memcmp(socket_get_address(data_dest), socket_get_address(his_addr), socket_sockaddr_size(data_dest)) != 0))
crypto/heimdal/appl/gssmask/gssmaestro.c
459
} else if (memcmp(msg.data, out.data, msg.length) != 0) {
crypto/heimdal/appl/gssmask/gssmaestro.c
504
} else if (memcmp(msg.data, out.data, msg.length) != 0) {
crypto/heimdal/appl/rsh/rshd.c
258
if (memcmp (buf, "\x00\x00\x00\x13", 4) != 0)
crypto/heimdal/appl/rsh/rshd.c
265
|| memcmp (buf, KRB5_SENDAUTH_VERSION, len) != 0)
crypto/heimdal/appl/telnet/libtelnet/encrypt.c
756
} else if ((len != kp->keylen) || (memcmp(keyid,kp->keyid,len) != 0)) {
crypto/heimdal/appl/telnet/libtelnet/encrypt.h
69
#define SAMEKEY(k1, k2) (!memcmp(k1, k2, sizeof(des_cblock)))
crypto/heimdal/appl/telnet/telnet/sys_bsd.c
898
memcmp(netiring.supply, netiring.supply + c, i) == 0) {
crypto/heimdal/appl/telnet/telnetd/sys_term.c
202
if (memcmp(&termbuf, &termbuf2, sizeof(termbuf))) {
crypto/heimdal/appl/test/gssapi_server.c
222
&& memcmp(p, GSS_KRB5_MECHANISM->elements, mech_oid->length) == 0)
crypto/heimdal/appl/test/gssapi_server.c
225
&& memcmp(p, GSS_SPNEGO_MECHANISM->elements, mech_oid->length) == 0)
crypto/heimdal/kadmin/get.c
117
return memcmp (salt->saltvalue.data, k->key_data_contents[1],
crypto/heimdal/kadmin/rpc.c
121
if (memcmp(p, "\x04\x01", 2) != 0)
crypto/heimdal/kadmin/rpc.c
141
if (l != oid->length || memcmp(p, oid->elements, oid->length) != 0)
crypto/heimdal/kadmin/server.c
587
if(memcmp(buf + 4, KRB5_SENDAUTH_VERSION, len) == 0) {
crypto/heimdal/kcm/cache.c
105
if (memcmp(p->uuid, uuid, sizeof(kcmuuid_t)) == 0) {
crypto/heimdal/kcm/cache.c
523
if (memcmp(c->uuid, uuid, sizeof(c->uuid)) == 0)
crypto/heimdal/kdc/digest-service.c
179
memcmp(ntq.ntChallengeResponce.data, answer.data, answer.length) != 0) {
crypto/heimdal/kdc/digest.c
1310
memcmp(ireq.u.ntlmRequest.ntlm.data, answer.data, answer.length) != 0)
crypto/heimdal/kdc/kx509.c
50
if (memcmp("\x00\x00\x02\x00", ptr, 4) != 0)
crypto/heimdal/kdc/kx509.c
92
if (memcmp(req->pk_hash.data, digest, sizeof(digest)) != 0) {
crypto/heimdal/lib/asn1/check-common.c
266
if (memcmp (buf, tests[i].bytes, tests[i].byte_len) != 0) {
crypto/heimdal/lib/asn1/check-der.c
231
return (memcmp (oa->data, ob->data, oa->length));
crypto/heimdal/lib/asn1/check-gen.c
67
do { if ((ac)->e->length != (bc)->e->length || memcmp((ac)->e->data, (bc)->e->data, (ac)->e->length) != 0) return 1; } while(0)
crypto/heimdal/lib/asn1/check-gen.c
75
do { if (memcmp((ac)->e, (bc)->e,len) != 0) return 1; } while(0)
crypto/heimdal/lib/asn1/der_cmp.c
106
return memcmp(p->data, q->data, q->length * sizeof(q->data[0]));
crypto/heimdal/lib/asn1/der_cmp.c
115
return memcmp(p->data, q->data, q->length * sizeof(q->data[0]));
crypto/heimdal/lib/asn1/der_cmp.c
41
return memcmp(p->components,
crypto/heimdal/lib/asn1/der_cmp.c
52
return memcmp(p->data, q->data, p->length);
crypto/heimdal/lib/asn1/der_cmp.c
76
i = memcmp(p->data, q->data, p->length / 8);
crypto/heimdal/lib/asn1/der_cmp.c
98
return memcmp(p->data, q->data, p->length);
crypto/heimdal/lib/asn1/der_put.c
546
ret = memcmp(s1->data, s2->data,
crypto/heimdal/lib/gssapi/krb5/8003.c
201
&& memcmp(p, zeros, sizeof(zeros)) != 0) {
crypto/heimdal/lib/gssapi/krb5/arcfour.c
284
if (memcmp(p, "\x11\x00", 2) != 0) /* SGN_ALG = HMAC MD5 ARCFOUR */
crypto/heimdal/lib/gssapi/krb5/arcfour.c
287
if (memcmp (p, "\xff\xff\xff\xff", 4) != 0)
crypto/heimdal/lib/gssapi/krb5/arcfour.c
575
if (memcmp(p, "\x02\x01", 2) != 0)
crypto/heimdal/lib/gssapi/krb5/arcfour.c
578
if (memcmp(p, "\x11\x00", 2) != 0) /* SGN_ALG = HMAC MD5 ARCFOUR */
crypto/heimdal/lib/gssapi/krb5/arcfour.c
582
if (memcmp (p, "\x10\x00", 2) == 0)
crypto/heimdal/lib/gssapi/krb5/arcfour.c
584
else if (memcmp (p, "\xff\xff", 2) == 0)
crypto/heimdal/lib/gssapi/krb5/arcfour.c
590
if (memcmp (p, "\xff\xff", 2) != 0)
crypto/heimdal/lib/gssapi/krb5/import_name.c
188
if (memcmp(&p[0], "\x04\x01\x00", 3) != 0 ||
crypto/heimdal/lib/gssapi/krb5/import_name.c
192
memcmp(&p[6], GSS_KRB5_MECHANISM->elements,
crypto/heimdal/lib/gssapi/krb5/unwrap.c
86
if (memcmp (p, "\x00\x00", 2) != 0)
crypto/heimdal/lib/gssapi/krb5/unwrap.c
89
if (memcmp (p, "\x00\x00", 2) == 0) {
crypto/heimdal/lib/gssapi/krb5/unwrap.c
91
} else if (memcmp (p, "\xFF\xFF", 2) == 0) {
crypto/heimdal/lib/gssapi/krb5/unwrap.c
98
if (memcmp (p, "\xff\xff", 2) != 0)
crypto/heimdal/lib/gssapi/krb5/verify_mic.c
174
if (memcmp(p, "\x04\x00", 2) != 0) /* SGN_ALG = HMAC SHA1 DES3-KD */
crypto/heimdal/lib/gssapi/krb5/verify_mic.c
177
if (memcmp (p, "\xff\xff\xff\xff", 4) != 0)
crypto/heimdal/lib/gssapi/krb5/verify_mic.c
69
if (memcmp(p, "\x00\x00", 2) != 0)
crypto/heimdal/lib/gssapi/krb5/verify_mic.c
72
if (memcmp (p, "\xff\xff\xff\xff", 4) != 0)
crypto/heimdal/lib/gssapi/mech/gss_accept_sec_context.c
117
memcmp((const char *)input->value, "NTLMSSP\x00", 8) == 0)
crypto/heimdal/lib/gssapi/mech/gss_authorize_localname.c
103
memcmp(value.value, user->gn_value.value, user->gn_value.length) == 0)
crypto/heimdal/lib/gssapi/mech/gss_compare_name.c
50
memcmp(name1->gn_value.value, name1->gn_value.value,
crypto/heimdal/lib/gssapi/mech/gss_mo.c
362
memcmp(name.value, sasl_mech_name->value, name.length) == 0) {
crypto/heimdal/lib/gssapi/mech/gss_mo.c
385
memcmp(buf, sasl_mech_name->value, 16) == 0) {
crypto/heimdal/lib/gssapi/mech/gss_oid_equal.c
57
return memcmp(a->elements, b->elements, a->length) == 0;
crypto/heimdal/lib/gssapi/ntlm/crypto.c
189
if (memcmp(checksum, out, 16) != 0)
crypto/heimdal/lib/gssapi/spnego/context_stubs.c
281
if (memcmp(n1->value.value, n2->value.value, n2->value.length) != 0)
crypto/heimdal/lib/gssapi/spnego/init_sec_context.c
453
memcmp(ctx->oidbuf + sizeof(ctx->oidbuf) - ctx->oidlen,
crypto/heimdal/lib/gssapi/spnego/init_sec_context.c
464
memcmp(ctx->oidbuf + sizeof(ctx->oidbuf) - ctx->oidlen,
crypto/heimdal/lib/gssapi/test_context.c
743
if (memcmp(keyblock->keyvalue.data, keyblock2->keyvalue.data,
crypto/heimdal/lib/gssapi/test_context.c
804
if (memcmp(out1.value, out2.value, out1.length) != 0)
crypto/heimdal/lib/gssapi/test_context.c
814
if (memcmp(out1.value, out2.value, out1.length) != 0)
crypto/heimdal/lib/gssapi/test_context.c
830
if (memcmp(out1.value, out2.value, out1.length) != 0)
crypto/heimdal/lib/hdb/keys.c
384
memcmp(k->salt->salt.data, salt.saltvalue.data,
crypto/heimdal/lib/hdb/print.c
184
memcmp(k5salt.saltvalue.data, key->salt->salt.data,
crypto/heimdal/lib/hdb/print.c
188
memcmp(key->salt->salt.data, princ->realm,
crypto/heimdal/lib/hdb/print.c
192
memcmp((char *)k5salt.saltvalue.data + strlen(princ->realm),
crypto/heimdal/lib/hx509/cert.c
1776
if (memcmp(s + 1 + len2 - len1, c->u.rfc822Name.data, len1) != 0)
crypto/heimdal/lib/hx509/cert.c
1793
if (memcmp(&ptr[lenn - lenc], c->u.dNSName.data, lenc) != 0)
crypto/heimdal/lib/hx509/crypto.c
611
memcmp(di.digestAlgorithm.parameters->data, "\x05\x00", 2) != 0))
crypto/heimdal/lib/hx509/softp11.c
214
memcmp(attributes[i].pValue, obj->attrs[j].attribute.pValue,
crypto/heimdal/lib/kadm5/keys.c
86
if (memcmp (keys1[i].salt->salt.data, keys2[j].salt->salt.data,
crypto/heimdal/lib/kadm5/keys.c
94
if (memcmp (keys1[i].key.keyvalue.data, keys2[j].key.keyvalue.data,
crypto/heimdal/lib/krb5/addr_families.c
1268
return memcmp (addr1->address.data,
crypto/heimdal/lib/krb5/aes-test.c
233
if (memcmp(keyout, keys[i].pbkdf2, keys[i].keylen) != 0) {
crypto/heimdal/lib/krb5/aes-test.c
269
if (memcmp(key.keyvalue.data, keys[i].key, keys[i].keylen) != 0) {
crypto/heimdal/lib/krb5/aes-test.c
310
memcmp(decrypt.data, clear->data, decrypt.length) != 0) {
crypto/heimdal/lib/krb5/aes-test.c
415
if (memcmp(iov[1].data.data, p, iov[1].data.length) != 0)
crypto/heimdal/lib/krb5/aes-test.c
466
if (memcmp(iov[2].data.data, p, iov[2].data.length) != 0)
crypto/heimdal/lib/krb5/aes-test.c
542
memcmp(decrypt.data, clear->data, decrypt.length) != 0) {
crypto/heimdal/lib/krb5/aes-test.c
841
if (memcmp(key.keyvalue.data,
crypto/heimdal/lib/krb5/crypto-pk.c
233
memcmp(ai->parameters->data, "\x05\x00", 2) != 0))
crypto/heimdal/lib/krb5/data.c
208
return memcmp(data1->data, data2->data, data1->length);
crypto/heimdal/lib/krb5/derived-key-test.c
102
if (memcmp (dkey->keyvalue.data, t->res, dkey->keyvalue.length) != 0) {
crypto/heimdal/lib/krb5/get_addrs.c
145
if (memcmp(ifa->ifa_addr, &sa_zero, sizeof(sa_zero)) == 0)
crypto/heimdal/lib/krb5/get_addrs.c
186
if (memcmp(ifa->ifa_addr, &sa_zero, sizeof(sa_zero)) == 0)
crypto/heimdal/lib/krb5/n-fold-test.c
106
if (memcmp (data, t->res, t->n) != 0) {
crypto/heimdal/lib/krb5/replay.c
225
if(memcmp(tmp.data, ent.data, sizeof(ent.data)) == 0){
crypto/heimdal/lib/krb5/store-test.c
55
if(data.length != len || memcmp(data.data, expected, len) != 0) {
crypto/heimdal/lib/krb5/string-to-key-test.c
122
if (memcmp (key.keyvalue.data, t->res, key.keyvalue.length) != 0) {
crypto/heimdal/lib/krb5/test_pac.c
317
if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0)
crypto/heimdal/lib/krb5/test_pac.c
333
if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0)
crypto/heimdal/lib/krb5/test_pac.c
340
if (data.length != 2 || memcmp(data.data, "\x02\x00", 2) != 0)
crypto/heimdal/lib/krb5/test_pkinit_dh2key.c
59
memcmp(key.keyvalue.data, result->data, result->length) != 0)
crypto/heimdal/lib/ntlm/ntlm.c
1699
if (memcmp(serveranswer, clientanswer, 16) != 0) {
crypto/heimdal/lib/ntlm/ntlm.c
548
CHECK(memcmp(ntlmsigature, sig, sizeof(ntlmsigature)), 0);
crypto/heimdal/lib/ntlm/ntlm.c
699
CHECK(memcmp(ntlmsigature, sig, sizeof(ntlmsigature)), 0);
crypto/heimdal/lib/ntlm/ntlm.c
857
CHECK(memcmp(ntlmsigature, sig, sizeof(ntlmsigature)), 0);
crypto/heimdal/lib/ntlm/test_ntlm.c
231
if (memcmp(ntlmv2, ntlmv2_1, sizeof(ntlmv2)) != 0)
crypto/heimdal/lib/ntlm/test_ntlm.c
237
if (memcmp(infotarget.data, infotarget2.data, infotarget.length) != 0)
crypto/heimdal/lib/ntlm/test_ntlm.c
279
if (lm.length != 24 || memcmp(lm.data, lm_resp, 24) != 0)
crypto/heimdal/lib/ntlm/test_ntlm.c
281
if (ntlm.length != 24 || memcmp(ntlm.data, ntlm2_sess_resp, 24) != 0)
crypto/heimdal/lib/roken/base64-test.c
74
} else if(memcmp(str, t->data, t->len) != 0) {
crypto/heimdal/lib/roken/getifaddrs.c
762
memcmp(ifamap.address, ifamap.local, ifamap.address_len))) {
crypto/heimdal/lib/roken/getnameinfo_verified.c
82
memcmp(saaddr, socket_get_address(a->ai_addr), sasize) == 0) {
crypto/heimdal/lib/roken/hex-test.c
77
} else if(memcmp(str, t->data, t->len) != 0) {
crypto/heimdal/lib/roken/iruserok.c
77
if (memcmp(&raddr, *pp, sizeof(u_long)) == 0)
crypto/heimdal/lib/roken/parse_time-test.c
80
if (buf_sz > 0 && memcmp(buf, tests[i].str, buf_sz - 1) != 0)
crypto/heimdal/lib/wind/test-ldap.c
120
if (memcmp(t->out, out, sizeof(out[0]) * olen) != 0) {
crypto/heimdal/lib/wind/test-ldap.c
93
if (memcmp(t->out, out, sizeof(out[0]) * olen) != 0) {
crypto/heimdal/lib/wind/test-map.c
79
if (memcmp(c->out, tmp, out_len * sizeof(uint32_t)) != 0) {
crypto/heimdal/lib/wind/test-normalize.c
129
if (memcmp(out, tmp, out_len * sizeof(uint32_t)) != 0) {
crypto/heimdal/lib/wind/test-utf8.c
155
if (memcmp(t->u, u, len * sizeof(uint32_t)) != 0) {
crypto/krb5/src/include/gssrpc/auth_gssapi.h
155
!memcmp((b1).value,(b2).value,(b1.length)))
crypto/krb5/src/include/k5-int.h
2221
!memcmp(d1.data, d2.data, d1.length)));
crypto/krb5/src/include/k5-int.h
2228
!memcmp(d.data, s, d.length)));
crypto/krb5/src/include/k5-int.h
2272
(a1.length == 0 || !memcmp(a1.contents, a2.contents, a1.length)));
crypto/krb5/src/include/socket-utils.h
177
return memcmp(&x->sin_addr, &y->sin_addr, sizeof(x->sin_addr)) == 0;
crypto/krb5/src/include/socket-utils.h
184
return memcmp(&x->sin6_addr, &y->sin6_addr, sizeof(x->sin6_addr)) == 0;
crypto/krb5/src/kadmin/server/server_stubs.c
254
if (str->length < preflen || memcmp(str->value, pref, preflen) != 0)
crypto/krb5/src/kdc/fast_util.c
565
if (pa->length <= 8 || memcmp(pa->contents, "MIT1", 4) != 0)
crypto/krb5/src/kdc/kdc_preauth.c
1387
return memcmp(k1->contents, k2->contents, k1->length) == 0;
crypto/krb5/src/lib/crypto/builtin/aes/aes-gen.c
105
if (memcmp(expected, output, 16))
crypto/krb5/src/lib/crypto/builtin/aes/aes-gen.c
111
if (memcmp(input, tmp, 16))
crypto/krb5/src/lib/crypto/builtin/aes/aes-gen.c
279
if (memcmp (tmp, test_case[testno], len)) {
crypto/krb5/src/lib/crypto/builtin/aes/aes-gen.c
311
if (memcmp (tmp, test_case[testno], len)) {
crypto/krb5/src/lib/crypto/builtin/aes/aes-gen.c
341
if (memcmp (tmp, test_case[testno], len))
crypto/krb5/src/lib/crypto/builtin/camellia/camellia-gen.c
259
if (memcmp (tmp, test_case[testno].input, len)) {
crypto/krb5/src/lib/crypto/builtin/camellia/camellia-gen.c
291
if (memcmp (tmp, test_case[testno].input, len)) {
crypto/krb5/src/lib/crypto/builtin/camellia/camellia-gen.c
321
if (memcmp (tmp, test_case[testno].input, len))
crypto/krb5/src/lib/crypto/builtin/camellia/camellia-gen.c
81
if (memcmp(expected, output, 16))
crypto/krb5/src/lib/crypto/builtin/camellia/camellia-gen.c
87
if (memcmp(input, tmp, 16))
crypto/krb5/src/lib/crypto/builtin/des/destest.c
112
if (memcmp((char *)output2, (char *)input, 8)) {
crypto/krb5/src/lib/crypto/builtin/des/destest.c
96
if (memcmp((char *)output2, (char *)output, 8)) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
188
if ( memcmp((char *)cipher_text, (char *)zresult, 8) ) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
209
if ( memcmp((char *)cipher_text, (char *)mresult, 8) ) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
235
if ( memcmp((char *)cipher_text, (char *)cipher1, 8) ) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
259
if ( memcmp((char *)cipher_text, (char *)cipher2, 8) ) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
305
if ( memcmp((char *)cipher_text, (char *)cipher3, in_length) ) {
crypto/krb5/src/lib/crypto/builtin/des/t_verify.c
325
if ( memcmp((char *)cipher_text, (char *)checksum, 8) ) {
crypto/krb5/src/lib/crypto/builtin/des/weak_key.c
83
if (!memcmp(weak_p++,key,sizeof(mit_des_cblock)))
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
155
if ((failed = memcmp(digest, results1, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
190
if ((failed = memcmp(digest, results2, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
226
if ((failed = memcmp(digest, results3, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
293
if ((failed = memcmp(digest, results4, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
327
if ((failed = memcmp(digest, results5, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
451
if ((failed = memcmp(digest, results6, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/builtin/sha1/t_shs3.c
576
if ((failed = memcmp(digest, results7, SHS_DIGESTSIZE)) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_cksums.c
225
memcmp(test->cksum.data, cksum.contents, cksum.length) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_cts.c
134
if (memcmp(outbuf, input, lengths[i]) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_cts.c
138
if (memcmp(enciv.data, deciv.data, 16)) {
crypto/krb5/src/lib/crypto/crypto_tests/t_decrypt.c
615
if (memcmp(plain.data, test->plaintext.data,
crypto/krb5/src/lib/crypto/crypto_tests/t_derive.c
361
if (memcmp(outcmp.data, test->expected_key.data, outcmp.length) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_encrypt.c
73
if (memcmp(d1->data, d2->data, d1->length)) {
crypto/krb5/src/lib/crypto/crypto_tests/t_mddriver.c
215
if (memcmp(digest, entry->digest, 16) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
147
if (memcmp(cipher_text, nfold_192[i], 24)) {
crypto/krb5/src/lib/crypto/crypto_tests/t_nfold.c
90
if (memcmp (outbuf, tests[i].exp, tests[i].n/8) != 0) {
crypto/krb5/src/lib/crypto/crypto_tests/t_pkcs5.c
86
if (!memcmp(x, t[i].expected, t[i].len))
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
112
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
123
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_sha2.c
130
if (memcmp(hval.data, t->hash, hval.length) != 0)
crypto/krb5/src/lib/crypto/crypto_tests/t_str2key.c
504
if (memcmp(keyblock->contents, test->expected_key.data,
crypto/krb5/src/lib/gssapi/generic/gssapiP_generic.h
56
(memcmp((o1)->elements, (o2)->elements, (o1)->length) == 0))
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
57
if (memcmp(p, "gssalloc", 8) != 0)
crypto/krb5/src/lib/gssapi/generic/gssapi_alloc.h
84
if (memcmp(p, "gssalloc", 8) != 0)
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
225
!memcmp(set->elements[i].elements,
crypto/krb5/src/lib/gssapi/generic/oid_ops.c
476
memcmp(oid->elements, prefix, prefix_len) != 0) {
crypto/krb5/src/lib/gssapi/generic/util_errmap.c
70
return memcmp(m1.mech.elements, m2.mech.elements, m1.mech.length);
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
317
(memcmp((o1)->elements, (o2)->elements, (o2)->length) == 0))
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
638
memcmp(sasl_mech_name->value,
crypto/krb5/src/lib/gssapi/krb5/gssapi_krb5.c
644
memcmp(sasl_mech_name->value,
crypto/krb5/src/lib/gssapi/krb5/import_name.c
266
if (memcmp(cp, gss_mech_krb5->elements, length) != 0)
crypto/krb5/src/lib/gssapi/krb5/import_sec_context.c
42
(memcmp(oid->elements, p->elements, p->length) == 0)) {
crypto/krb5/src/lib/gssapi/krb5/k5sealv3iov.c
406
|| memcmp(althdr + 8, ptr + 8, 8) != 0) {
crypto/krb5/src/lib/gssapi/mechglue/g_accept_sec_context.c
302
(memcmp((o1)->elements, (o2)->elements, (o2)->length) == 0))
crypto/krb5/src/lib/gssapi/mechglue/g_authorize_localname.c
115
memcmp(value.value, externalName->value, externalName->length) == 0)
crypto/krb5/src/lib/gssapi/mechglue/g_compare_name.c
161
(memcmp(union_name1->external_name->value,
crypto/krb5/src/lib/gssapi/mechglue/g_glue.c
65
memcmp(token->value, NTLMSSP_SIGNATURE,
crypto/krb5/src/lib/gssapi/mechglue/g_saslname.c
208
memcmp(sasl_mech_name->value, mappedName,
crypto/krb5/src/lib/gssapi/spnego/gssapiP_negoex.h
58
#define GUID_EQ(a, b) (memcmp(a, b, GUID_LENGTH) == 0)
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
2890
memcmp(sasl_mech_name->value, SPNEGO_SASL_NAME,
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
3524
!memcmp((*responseToken)->value, (*mechListMIC)->value,
crypto/krb5/src/lib/gssapi/spnego/spnego_mech.c
489
memcmp(bufs->elements[0].value, "\1", 1) == 0);
crypto/krb5/src/lib/kadm5/srv/svr_principal.c
955
memcmp(newkey.contents, histkey.contents,
crypto/krb5/src/lib/kadm5/t_kadm5.c
1207
assert(memcmp(ent.tl_data->tl_data_contents, tl2.tl_data_contents,
crypto/krb5/src/lib/kdb/kdb_convert.c
123
if ((memcmp((char *)first->tl_data_contents,
crypto/krb5/src/lib/krad/remote.c
527
if (memcmp(rr->info->ai_addr, info->ai_addr, info->ai_addrlen) != 0) {
crypto/krb5/src/lib/krad/t_attr.c
69
insist(memcmp(outbuf, decoded, len) == 0);
crypto/krb5/src/lib/krad/t_attr.c
77
insist(memcmp(outbuf, encoded, len) == 0);
crypto/krb5/src/lib/krad/t_attrset.c
82
insist(memcmp(encoded, buffer, len) == 0);
crypto/krb5/src/lib/krad/t_packet.c
98
memcmp(data->data, username->data, data->length) != 0) {
crypto/krb5/src/lib/krb5/asn.1/asn1_encode.c
255
if (memcmp(s, "19700101000000Z", 15) == 0) {
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1114
if (memcmp(on_disk, expected.data, expected.len) != 0)
crypto/krb5/src/lib/krb5/ccache/cc_mslsa.c
859
if ( memcmp(one->EncodedTicket, two->EncodedTicket, one->EncodedTicketSize) )
crypto/krb5/src/lib/krb5/ccache/cc_retr.c
91
(memcmp ((char *)mdatap->contents,
crypto/krb5/src/lib/krb5/ccache/ccfns.c
224
memcmp(realm->data, conf_realm, sizeof(conf_realm) - 1) != 0)
crypto/krb5/src/lib/krb5/ccache/ccfns.c
229
memcmp(principal->data[0].data, conf_name, sizeof(conf_name) - 1) != 0)
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
216
assert(memcmp(c->keyblock.contents,
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
228
assert(memcmp(c->addresses[0]->contents, &ipaddr, 4) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
233
assert(memcmp(c->authdata[0]->contents, "signticket", 10) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
250
assert(memcmp(c->keyblock.contents,
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
297
assert(memcmp(tests[3].cred1, alloc_data->data, alloc_data->length) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
311
assert(memcmp(t->princ, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
321
assert(memcmp(t->cred1, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
331
assert(memcmp(t->cred2, buf.data, buf.len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
357
assert(memcmp(filebuf, t->header, t->headerlen) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
360
assert(memcmp(filebuf, t->princ, t->princlen) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
363
assert(memcmp(filebuf, t->cred1, t->cred1len) == 0);
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
366
assert(memcmp(filebuf, t->cred2, t->cred2len) == 0);
crypto/krb5/src/lib/krb5/krb/addr_comp.c
40
if (memcmp((char *)addr1->contents, (char *)addr2->contents,
crypto/krb5/src/lib/krb5/krb/chk_trans.c
114
if (memcmp (p1, p2 + (len2 - len1), len1)) {
crypto/krb5/src/lib/krb5/krb/chk_trans.c
330
(memcmp(crealm->data, anonymous->data, anonymous->length) == 0))
crypto/krb5/src/lib/krb5/krb/chk_trans.c
70
if (memcmp (n1->data, n2->data, len1)) {
crypto/krb5/src/lib/krb5/krb/chk_trans.c
91
if (memcmp (p1, p2, len1)) {
crypto/krb5/src/lib/krb5/krb/conv_princ.c
172
&& memcmp(p->v5_str, compo->data, compo->length) == 0) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
189
(memcmp(expected->contents, session->contents, expected->length) != 0))
crypto/krb5/src/lib/krb5/krb/princ_comp.c
46
(memcmp(realm1->data, realm2->data, realm2->length) == 0);
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
377
if (memcmp(enc_s4u_padata->contents,
crypto/krb5/src/lib/krb5/krb/s4u_creds.c
380
memcmp(&enc_s4u_padata->contents[req_s4u_user->cksum.length],
crypto/krb5/src/lib/krb5/krb/t_authdata.c
73
assert(memcmp(adc1->contents, adc2->contents, adc1->length) == 0);
crypto/krb5/src/lib/krb5/krb/t_pac.c
765
assert(memcmp(authdata1[0]->contents, authdata2[0]->contents,
crypto/krb5/src/lib/krb5/krb/t_pac.c
908
if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0)
crypto/krb5/src/lib/krb5/krb/t_pac.c
924
if (data.length != 2 || memcmp(data.data, "\x00\x01", 2) != 0)
crypto/krb5/src/lib/krb5/krb/t_pac.c
931
if (data.length != 2 || memcmp(data.data, "\x02\x00", 2) != 0)
crypto/krb5/src/lib/krb5/krb/t_ser.c
120
assert(memcmp(erep, erep2, elen) == 0);
crypto/krb5/src/lib/krb5/krb/t_ser.c
155
assert(memcmp(erep, erep2, elen) == 0);
crypto/krb5/src/lib/krb5/krb/t_ser.c
190
assert(memcmp(erep, erep2, elen) == 0);
crypto/krb5/src/lib/krb5/krb/t_ser.c
85
assert(memcmp(erep, erep2, elen) == 0);
crypto/krb5/src/lib/krb5/os/changepw.c
141
memcmp(ss2sin6(&local_addr)->sin6_addr.s6_addr,
crypto/krb5/src/lib/krb5/os/localaddr.c
1003
&& !memcmp (&ifr2->ifr_addr.sa_data, &ifr->ifr_addr.sa_data,
crypto/krb5/src/lib/krb5/os/localaddr.c
246
return !memcmp(&sa2sin(s1)->sin_addr, &sa2sin(s2)->sin_addr,
crypto/krb5/src/lib/krb5/os/localaddr.c
249
return !memcmp(&sa2sin6(s1)->sin6_addr, &sa2sin6(s2)->sin6_addr,
crypto/krb5/src/lib/krb5/os/localaddr.c
609
&& !memcmp (&lifr2->lifr_addr, &lifr->lifr_addr,
crypto/krb5/src/lib/krb5/os/localaddr.c
782
&& !memcmp (&lifr2->iflr_addr, &lifr->iflr_addr,
crypto/krb5/src/lib/krb5/os/locate_kdc.c
248
memcmp(&server->addr, &ent->addr, server->addrlen) == 0)
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
177
if ((nread >= 1 && r1stamp && memcmp(r1tag, tag, TAG_LEN) == 0) ||
crypto/krb5/src/lib/krb5/rcache/rc_file2.c
178
(nread == 2 && r2stamp && memcmp(r2tag, tag, TAG_LEN) == 0))
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
235
if (props[i].len == len && memcmp(props[i].name, name, len) == 0)
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
326
if ((len == 2 && memcmp(name, "BN", 2) == 0) ||
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
328
(memcmp(name, "NSM", 3) == 0 || memcmp(name, "PDF", 3) == 0 ||
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
329
memcmp(name, "LRE", 3) == 0 || memcmp(name, "LRO", 3) == 0 ||
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
330
memcmp(name, "RLE", 3) == 0 || memcmp(name, "RLO", 3) == 0))) {
crypto/krb5/src/lib/krb5/unicode/ucdata/ucgendat.c
340
if (props[i].len == len && memcmp(props[i].name, name, len) == 0)
crypto/krb5/src/lib/rpc/svc_auth_gss.c
58
(memcmp((o1)->elements,(o2)->elements,(int) (o1)->length) == 0))
crypto/krb5/src/lib/rpc/svc_udp.c
523
# define EQADDR(a1, a2) (memcmp((char*)&a1, (char*)&a2, sizeof(a1)) == 0)
crypto/krb5/src/plugins/certauth/test/main.c
121
if (memcmp(c, buf.data, buf.len) == 0) {
crypto/krb5/src/plugins/gssapi/negoextest/main.c
286
assert(meta_data->length == 1 && memcmp(meta_data->value, "X", 1) == 0);
crypto/krb5/src/plugins/gssapi/negoextest/main.c
74
memcmp(input_token->value, "fail", 4) == 0) {
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash.c
695
!memcmp(key->data, page_key.data, key->size))
crypto/krb5/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
222
memcmp(BIGKEY(pagep), kkey, BIGKEYLEN(pagep))) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash1.tests/tverify.c
101
if ( memcmp ( res.data, wp2, res.size ) ) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
168
if (memcmp(val.data, (void *)get_val, val.size)) {
crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/passtest.c
82
if (memcmp(val.data, (void *)get_val, val.size)) {
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c
1312
!memcmp(pdata->data, "history", strlen("history"))) {
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
451
if (memcmp(buf, zbuf, len) != 0) {
crypto/krb5/src/plugins/kdb/test/kdb_test.c
625
if (inds[i]->length == 7 && memcmp(inds[i]->data, "dbincr", 6) == 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3589
memcmp(cctx->token_label, tinfo.label, label_len) == 0))
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
140
(0 == memcmp(key_block.contents, key1_hex, key_block.length))) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
168
(0 == memcmp(key_block.contents, key2_hex, key_block.length))) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_kdf_test.c
196
(0 == memcmp(key_block.contents, key3_hex, key_block.length))) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_srv.c
704
(0 == memcmp(req_oid->data, supp_oid->data, req_oid->length))) {
crypto/krb5/src/plugins/preauth/securid_sam2/securid2.c
435
(memcmp(passcode, trackp->passcode, pin1_len) != 0)) {
crypto/krb5/src/plugins/preauth/spake/t_vectors.c
346
assert(memcmp(kb1->contents, kb2->contents, kb1->length) == 0);
crypto/krb5/src/plugins/preauth/test/cltest.c
156
memcmp(pa_data->contents, "no key", 6) == 0) {
crypto/krb5/src/util/support/hashtab.c
230
if (ent->klen == klen && memcmp(ent->key, key, klen) == 0) {
crypto/krb5/src/util/support/hashtab.c
248
if (ent->klen == klen && memcmp(ent->key, key, klen) == 0)
crypto/krb5/src/util/support/t_base64.c
91
} else if (memcmp(data, t->data, t->len) != 0) {
crypto/krb5/src/util/support/t_hex.c
159
assert(memcmp(bytes, tests[i].binary, len) == 0);
crypto/krb5/src/util/support/t_json.c
198
if (len != 5 || memcmp(data, "55555", 5) != 0)
crypto/krb5/src/util/support/t_k5buf.c
102
fail_if(memcmp(buf.data, data, buf.len) != 0, "realloc 2");
crypto/krb5/src/util/support/t_k5buf.c
112
fail_if(memcmp(buf.data, data, buf.len) != 0, "realloc 3");
crypto/krb5/src/util/support/t_k5buf.c
122
fail_if(memcmp(buf.data, data, buf.len) != 0, "realloc 4");
crypto/krb5/src/util/support/t_k5buf.c
186
fail_if(memcmp(buf.data, "abcdefg", 7) != 0, "truncate");
crypto/krb5/src/util/support/t_k5buf.c
224
fail_if(memcmp(buf.data, "foo 3 ", 6) != 0, "fmt 1");
crypto/krb5/src/util/support/t_k5buf.c
237
fail_if(memcmp(buf.data, "foo 3 ", 6) != 0, "fmt 3");
crypto/krb5/src/util/support/t_k5buf.c
244
fail_if(memcmp((char *)buf.data + 6, data, 1023) != 0, "fmt 4");
crypto/krb5/src/util/support/t_k5buf.c
67
fail_if(memcmp(buf.data, "Hello world", 11) != 0, "basic fixed");
crypto/krb5/src/util/support/t_k5buf.c
74
fail_if(memcmp(buf.data, "Hello world", 11) != 0, "basic dynamic");
crypto/krb5/src/util/support/t_k5buf.c
95
fail_if(memcmp(buf.data, data, buf.len) != 0, "realloc 1");
crypto/krb5/src/util/support/t_unal.c
26
assert((store_64_be(0x0102030405060708LL, u.b+1), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_unal.c
28
assert((store_64_le(0x0807060504030201LL, u.b+1), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_unal.c
30
assert((store_32_be(0x02030405, u.b+2), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_unal.c
32
assert((store_32_le(0x05040302, u.b+2), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_unal.c
34
assert((store_16_be(0x0304, u.b+3), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_unal.c
36
assert((store_16_le(0x0403, u.b+3), !memcmp(buf, u.b, 9)));
crypto/krb5/src/util/support/t_utf16.c
100
assert(memcmp(t->utf16, utf16, utf16len) == 0);
crypto/krb5/src/wconfig.c
220
if (memcmp (*cpp, buf+2, len) == 0) {
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
134
while(memcmp(dt->magic, DISPATCH_TABLE_MAGIC, sizeof(DISPATCH_TABLE_MAGIC)) != 0){\
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
518
assert(memcmp(operation, op, sizeof(operation)) == 0);\
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
521
if(memcmp(global_parameters, parameters_types, LOCAL_MIN(MAX_PARAMS, strlen(parameters_types))) != 0){\
crypto/libecc/src/arithmetic_tests/arithmetic_tests.c
941
if (memcmp(argv[1], "-info", sizeof("-info")) == 0){
crypto/openssh/channels.c
1348
memcmp(ucp + 12, sc->x11_saved_proto, proto_len) != 0) {
crypto/openssh/gss-genr.c
282
(memcmp(oid->elements, spnego_oid.elements, oid->length) == 0))
crypto/openssh/gss-genr.c
69
memcmp(ctx->oid->elements, data, len) == 0);
crypto/openssh/gss-serv.c
230
if (ename->length < 6 || memcmp(tok, "\x04\x01", 2) != 0)
crypto/openssh/gss-serv.c
287
(memcmp(supported_mechs[i]->oid.elements,
crypto/openssh/hmac.c
156
if (memcmp(e, digest, elen)) {
crypto/openssh/kex.c
1349
memcmp(sshbuf_ptr(peer_version), "SSH-", 4) == 0)
crypto/openssh/krl.c
125
if ((r = memcmp(a->blob, b->blob, MINIMUM(a->len, b->len))) != 0)
crypto/openssh/krl.c
129
return memcmp(a->blob, b->blob, a->len);
crypto/openssh/libcrux_mlkem768_sha3.h
130
(memcmp(a1, a2, sz * sizeof(t)) == 0)
crypto/openssh/monitor.c
1855
if (memcmp(sshbuf_ptr(ssh->kex->session_id), session_id2,
crypto/openssh/monitor.c
760
memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0)
crypto/openssh/openbsd-compat/memmem.c
132
if (memcmp(n, n+p, ms+1)) {
crypto/openssh/openbsd-compat/readpassphrase.c
151
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
crypto/openssh/packet.c
459
if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0)
crypto/openssh/regress/unittests/test_helper/fuzz.c
385
return memcmp(fuzz_ptr(fuzz), fuzz->seed, fuzz->slen) == 0;
crypto/openssh/regress/unittests/test_helper/test_helper.c
416
r = memcmp(aa1, aa2, l);
crypto/openssh/sk-usbhid.c
820
memcmp(fido_assert_user_id_ptr(assert, i), user_id,
crypto/openssh/ssh-ed25519.c
49
if (memcmp(a->ed25519_pk, b->ed25519_pk, ED25519_PK_SZ) != 0)
crypto/openssh/ssh-xmss.c
63
if (memcmp(a->xmss_pk, b->xmss_pk, sshkey_xmss_pklen(a)) != 0)
crypto/openssh/ssh_api.c
373
memcmp(sshbuf_ptr(banner), "SSH-", 4) == 0)
crypto/openssh/sshconnect2.c
1304
memcmp(id->filename, private_id->filename, plen) == 0)
crypto/openssh/sshkey-xmss.c
1021
memcmp(sshbuf_ptr(encoded), XMSS_MAGIC, sizeof(XMSS_MAGIC))) {
crypto/openssh/sshkey.c
1299
if (memcmp(s, impl->name, l) == 0) {
crypto/openssh/sshkey.c
2674
memcmp(expect_ed25519_pk, k->ed25519_pk, ED25519_PK_SZ) != 0))) {
crypto/openssh/sshkey.c
2989
memcmp(cp, MARK_BEGIN, MARK_BEGIN_LEN) != 0) {
crypto/openssh/sshkey.c
3007
memcmp(cp, MARK_END, MARK_END_LEN) == 0) {
crypto/openssh/sshkey.c
3026
memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) {
crypto/openssl/apps/enc.c
586
if (memcmp(mbuf, magic, sizeof(mbuf)) == 0) { /* file IS salted */
crypto/openssl/apps/fipsinstall.c
586
|| memcmp(module_mac, buf1, module_mac_len) != 0) {
crypto/openssl/apps/fipsinstall.c
604
|| memcmp(install_mac, buf2, install_mac_len) != 0) {
crypto/openssl/apps/lib/s_cb.c
1215
} else if (memcmp(rlist, scsv_id, num) == 0) {
crypto/openssl/apps/lib/s_cb.c
914
&& memcmp(result, cookie, resultlength) == 0)
crypto/openssl/apps/rehash.c
143
if (digest && memcmp(digest, ep->digest, (size_t)evpmdsize) == 0) {
crypto/openssl/apps/s_client.c
2597
if (bytes != 3 || memcmp(mbuf, tls_do, 3) != 0)
crypto/openssl/apps/s_client.c
2605
if (bytes != 6 || memcmp(mbuf, tls_follows, 6) != 0)
crypto/openssl/apps/s_server.c
207
|| memcmp(psk_identity, identity, identity_len) != 0) {
crypto/openssl/apps/s_server.c
3980
if (idlen == (int)sess->idlen && !memcmp(sess->id, id, idlen)) {
crypto/openssl/apps/s_server.c
3998
if (idlen == sess->idlen && !memcmp(sess->id, id, idlen)) {
crypto/openssl/apps/speed.c
4246
|| memcmp(send_secret, rcv_secret, send_secret_len)) {
crypto/openssl/crypto/asn1/asn1_lib.c
395
i = memcmp(a->data, b->data, a->length);
crypto/openssl/crypto/asn1/tasn_enc.c
390
i = memcmp(d1->data, d2->data, cmplen);
crypto/openssl/crypto/cms/cms_dd.c
87
if (memcmp(md, dd->digest->data, mdlen))
crypto/openssl/crypto/cms/cms_ess.c
332
if (memcmp(dig, msig->data, diglen)) {
crypto/openssl/crypto/cms/cms_sd.c
1082
if (memcmp(mval, os->data, mlen)) {
crypto/openssl/crypto/conf/conf_def.c
271
if (i >= 3 && memcmp(p, utf8_bom, 3) == 0) {
crypto/openssl/crypto/ct/ct_log.c
330
if (memcmp(log->log_id, log_id, log_id_len) == 0)
crypto/openssl/crypto/ct/ct_vfy.c
109
if (sct->log_id_len != sctx->pkeyhashlen || memcmp(sct->log_id, sctx->pkeyhash, sctx->pkeyhashlen) != 0) {
crypto/openssl/crypto/dsa/dsa_sign.c
210
if (derlen != siglen || memcmp(sigbuf, der, derlen))
crypto/openssl/crypto/ec/curve25519.c
5760
if (memcmp(s + 16, allzeroes, sizeof(allzeroes)) != 0)
crypto/openssl/crypto/ec/ec_curve.c
3334
&& memcmp(params_seed, seed, seed_len) == 0))
crypto/openssl/crypto/ec/ec_curve.c
3336
&& memcmp(param_bytes, params, param_len * NUM_BN_FIELDS)
crypto/openssl/crypto/ec/ecdsa_ossl.c
435
if (derlen != sig_len || memcmp(sigbuf, der, derlen) != 0)
crypto/openssl/crypto/ess/ess_lib.c
317
if (memcmp(cid != NULL ? cid->hash->data : cid_v2->hash->data,
crypto/openssl/crypto/evp/bio_ok.c
506
ret = memcmp(&(ctx->buf[ctx->buf_off]), tmp, md_size) == 0;
crypto/openssl/crypto/evp/bio_ok.c
592
if (memcmp(&(ctx->buf[tl + OK_BLOCK_BLOCK]), tmp, (size_t)md_size) == 0) {
crypto/openssl/crypto/hashtable/hashtable.c
525
return !memcmp(a->keybuf, b->keybuf, a->keysize);
crypto/openssl/crypto/ml_dsa/ml_dsa_encoders.c
816
|| memcmp(input_tr, key->tr, sizeof(input_tr)) != 0) {
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
267
if (memcmp(key1->pub_encoding, key2->pub_encoding,
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
277
if (memcmp(key1->priv_encoding, key2->priv_encoding,
crypto/openssl/crypto/ml_dsa/ml_dsa_key.c
485
&& memcmp(out->priv_encoding, sk, out->params->sk_len) != 0) {
crypto/openssl/crypto/ml_dsa/ml_dsa_sign.c
296
&& memcmp(c_tilde, sig.c_tilde, c_tilde_len) == 0;
crypto/openssl/crypto/ml_kem/ml_kem.c
1644
if (memcmp(key->pkhash, in, ML_KEM_PKHASH_BYTES) != 0) {
crypto/openssl/crypto/ml_kem/ml_kem.c
2354
return memcmp(key1->pkhash, key2->pkhash, ML_KEM_PKHASH_BYTES) == 0;
crypto/openssl/crypto/objects/obj_dat.c
169
return memcmp(a->data, b->data, (size_t)a->length);
crypto/openssl/crypto/objects/obj_dat.c
378
return memcmp(a->data, b->data, a->length);
crypto/openssl/crypto/objects/obj_lib.c
61
return memcmp(a->data, b->data, a->length);
crypto/openssl/crypto/ocsp/ocsp_srv.c
304
&& (memcmp(ASN1_STRING_get0_data(respid->value.byKey), md,
crypto/openssl/crypto/ocsp/ocsp_vfy.c
214
if (memcmp(keyhash, tmphash, SHA_DIGEST_LENGTH) == 0)
crypto/openssl/crypto/ocsp/ocsp_vfy.c
341
if (memcmp(md, cid->issuerNameHash.data, mdlen) != 0) {
crypto/openssl/crypto/ocsp/ocsp_vfy.c
349
ret = memcmp(md, cid->issuerKeyHash.data, mdlen) == 0;
crypto/openssl/crypto/pem/pem_lib.c
728
if (len > 3 && memcmp(linebuf, utf8_bom, 3) == 0) {
crypto/openssl/crypto/pkcs7/pk7_doit.c
1144
if ((message_digest->length != (int)md_len) || (memcmp(message_digest->data, md_dat, md_len))) {
crypto/openssl/crypto/property/property_parse.c
491
&& memcmp(&q[i].v, &d[j].v, sizeof(q[i].v)) == 0;
crypto/openssl/crypto/rsa/rsa_gen.c
728
|| memcmp(decoded, plaintxt, decoded_len) != 0)
crypto/openssl/crypto/rsa/rsa_pmeth.c
319
if ((rslen != tbslen) || memcmp(tbs, rctx->tbuf, rslen))
crypto/openssl/crypto/rsa/rsa_pss.c
143
if (memcmp(H_, H, hLen)) {
crypto/openssl/crypto/rsa/rsa_pss.c
339
|| memcmp(rsa_pss_params, &pss_params_cmp,
crypto/openssl/crypto/rsa/rsa_saos.c
85
if (((unsigned int)sig->length != m_len) || (memcmp(m, sig->data, m_len) != 0)) {
crypto/openssl/crypto/rsa/rsa_sign.c
389
if (memcmp(decrypt_buf, m, SSL_SIG_LENGTH) != 0) {
crypto/openssl/crypto/rsa/rsa_sign.c
409
if (memcmp(m, decrypt_buf + 2, 16) != 0) {
crypto/openssl/crypto/rsa/rsa_sign.c
440
|| memcmp(encoded, decrypt_buf, encoded_len) != 0) {
crypto/openssl/crypto/sha/keccak1600.c
1277
if (memcmp(out, result, sizeof(out))) {
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
201
if (memcmp(key1->pub, key2->pub, key1->params->pk_len) != 0)
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
209
if (memcmp(key1->priv, key2->priv,
crypto/openssl/crypto/slh_dsa/slh_dsa_key.c
350
&& (validate == 0 || memcmp(dst, SLH_DSA_PK_ROOT(out), n) == 0);
crypto/openssl/crypto/slh_dsa/slh_hypertree.c
134
return (memcmp(node, pk_root, n) == 0);
crypto/openssl/crypto/sm2/sm2_sign.c
522
if (derlen != sig_len || memcmp(sig, der, derlen) != 0) {
crypto/openssl/crypto/ts/ts_rsp_verify.c
505
ret = len_a == (unsigned)ASN1_STRING_length(b->hashed_msg) && memcmp(imprint_a, ASN1_STRING_get0_data(b->hashed_msg), len_a) == 0;
crypto/openssl/crypto/x509/v3_addr.c
1045
if (memcmp(min, max, length_from_afi(afi)) > 0) {
crypto/openssl/crypto/x509/v3_addr.c
1145
if (memcmp(p_max, c_max, length) < 0)
crypto/openssl/crypto/x509/v3_addr.c
1147
if (memcmp(p_min, c_min, length) > 0)
crypto/openssl/crypto/x509/v3_addr.c
321
if ((r = memcmp(addr_a, addr_b, length)) != 0)
crypto/openssl/crypto/x509/v3_addr.c
362
assert(memcmp(min, max, length) <= 0);
crypto/openssl/crypto/x509/v3_addr.c
446
if (memcmp(min, max, length) > 0)
crypto/openssl/crypto/x509/v3_addr.c
521
if (f->addressFamily->length == keylen && !memcmp(f->addressFamily->data, key, keylen))
crypto/openssl/crypto/x509/v3_addr.c
683
int cmp = memcmp(a->data, b->data, len);
crypto/openssl/crypto/x509/v3_addr.c
767
if (memcmp(a_min, b_min, length) >= 0 || memcmp(a_min, a_max, length) > 0 || memcmp(b_min, b_max, length) > 0)
crypto/openssl/crypto/x509/v3_addr.c
776
if (memcmp(a_max, b_min, length) >= 0)
crypto/openssl/crypto/x509/v3_addr.c
797
if (memcmp(a_min, a_max, length) > 0 || range_should_be_prefix(a_min, a_max, length) >= 0)
crypto/openssl/crypto/x509/v3_addr.c
837
if (memcmp(a_min, a_max, length) > 0 || memcmp(b_min, b_max, length) > 0)
crypto/openssl/crypto/x509/v3_addr.c
843
if (memcmp(a_max, b_min, length) >= 0)
crypto/openssl/crypto/x509/v3_addr.c
852
if (memcmp(a_max, b_min, length) == 0) {
crypto/openssl/crypto/x509/v3_addr.c
878
if (memcmp(a_min, a_max, length) > 0)
crypto/openssl/crypto/x509/v3_ncons.c
616
if (memcmp(base->canon_enc, nm->canon_enc, base->canon_enclen))
crypto/openssl/crypto/x509/v3_utl.c
645
return !memcmp(pattern, subject, pattern_len);
crypto/openssl/crypto/x509/v3_utl.c
837
else if (a->length == (int)blen && !memcmp(a->data, b, blen))
crypto/openssl/crypto/x509/x509_cmp.c
165
rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH);
crypto/openssl/crypto/x509/x509_cmp.c
175
rv = memcmp(a->cert_info.enc.enc,
crypto/openssl/crypto/x509/x509_cmp.c
284
ret = memcmp(a->canon_enc, b->canon_enc, a->canon_enclen);
crypto/openssl/crypto/x509/x509_cmp.c
93
rv = memcmp(a->sha1_hash, b->sha1_hash, SHA_DIGEST_LENGTH);
crypto/openssl/crypto/x509/x509_vfy.c
3012
if (cmplen == t->dlen && memcmp(cmpbuf, t->data, cmplen) == 0) {
crypto/openssl/crypto/x509/x509_vfy.c
3140
if (cmplen == t->dlen && memcmp(cmpbuf, t->data, cmplen) == 0) {
crypto/openssl/demos/digest/EVP_MD_demo.c
209
} else if (memcmp(digest_value, known_answer, digest_length) != 0) {
crypto/openssl/fuzz/ml-kem.c
319
if (memcmp(unwrappedkey, genkey, genkey_len))
crypto/openssl/include/internal/e_os.h
319
#define CRYPTO_memcmp memcmp
crypto/openssl/include/internal/quic_types.h
87
return memcmp(a->id, b->id, a->id_len) == 0;
crypto/openssl/providers/fips/self_test.c
232
|| memcmp(out, hmac_kat_digest, out_len) != 0)
crypto/openssl/providers/fips/self_test.c
290
|| memcmp(expected, out, out_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
125
|| memcmp(t->base.expected, ct_buf, ct_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
134
|| memcmp(tag, t->tag, t->tag_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
149
|| memcmp(pt_buf, t->base.pt, pt_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
279
if (memcmp(out, t->expected, t->expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
377
if (memcmp(out, t->expected, t->expectedlen) != 0)
crypto/openssl/providers/fips/self_test_kats.c
445
|| memcmp(secret, t->expected, t->expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
52
|| memcmp(out, t->expected, out_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
563
|| memcmp(digested_sig, t->sig_expected, t->sig_expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
567
|| memcmp(psig, t->sig_expected, t->sig_expected_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
642
|| memcmp(out, expected->data, expected->data_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
695
|| memcmp(wrapped, t->cipher_text, t->cipher_text_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
700
|| memcmp(secret, t->secret, t->secret_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
759
|| memcmp(secret, test_secret, t->secret_len) != 0)
crypto/openssl/providers/fips/self_test_kats.c
885
|| memcmp(out, t->expected, t->expected_len) != 0)
crypto/openssl/providers/implementations/encode_decode/ml_dsa_codecs.c
380
|| memcmp(pk, codec->spkifmt->asn1_prefix, ML_COMMON_SPKI_OVERHEAD) != 0)
crypto/openssl/providers/implementations/encode_decode/ml_kem_codecs.c
249
|| memcmp(pubenc, vspki->asn1_prefix, ML_COMMON_SPKI_OVERHEAD) != 0)
crypto/openssl/providers/implementations/kdfs/tls1_prf.c
191
|| memcmp(ctx->seed, TLS_MD_MASTER_SECRET_CONST,
crypto/openssl/providers/implementations/keymgmt/ml_dsa_kmgmt.c
260
|| memcmp(ossl_ml_dsa_key_get_pub(key), pk, pk_len) == 0)
crypto/openssl/providers/implementations/keymgmt/ml_kem_kmgmt.c
134
if (operation_result != 1 || memcmp(out, secret, sizeof(out)) != 0)
crypto/openssl/providers/implementations/keymgmt/ml_kem_kmgmt.c
347
if (memcmp(seed + ML_KEM_SEED_BYTES - zlen,
crypto/openssl/providers/implementations/keymgmt/ml_kem_kmgmt.c
366
ret = memcmp(buf, prvenc, len) == 0;
crypto/openssl/providers/implementations/keymgmt/ml_kem_kmgmt.c
441
if (memcmp(pubenc, (unsigned char *)prvenc + puboff, publen) != 0) {
crypto/openssl/providers/implementations/signature/rsa_sig.c
1106
if ((rslen != tbslen) || memcmp(tbs, prsactx->tbuf, rslen))
crypto/openssl/ssl/pqueue.c
108
if (memcmp(next->priority, prio64be, 8) == 0) {
crypto/openssl/ssl/pqueue.c
115
if (memcmp(next->priority, prio64be, 8) == 0)
crypto/openssl/ssl/pqueue.c
62
int cmp = memcmp(next->priority, item->priority, 8);
crypto/openssl/ssl/quic/qlog.c
587
if (memcmp(lex->p, s, s_len))
crypto/openssl/ssl/quic/qlog.c
625
|| (cat != NULL && memcmp(cat, expect_cat, expect_cat_l))
crypto/openssl/ssl/quic/qlog.c
626
|| (event != NULL && memcmp(event, expect_event, expect_event_l)))
crypto/openssl/ssl/quic/quic_channel.c
2281
return !memcmp(&a->s_in.sin_addr,
crypto/openssl/ssl/quic/quic_channel.c
2287
return !memcmp(&a->s_in6.sin6_addr,
crypto/openssl/ssl/quic/quic_impl.c
4751
return memcmp(a->hashkey, b->hashkey, a->hashkey_len);
crypto/openssl/ssl/quic/quic_port.c
1372
|| memcmp(remote_addr, token.remote_addr, remote_addr_len) != 0)
crypto/openssl/ssl/quic/quic_port.c
1391
|| memcmp(&token.rscid.id, &hdr->dst_conn_id.id,
crypto/openssl/ssl/quic/quic_record_tx.c
792
|| (a != NULL && b != NULL && memcmp(a, b, sizeof(*a)) == 0);
crypto/openssl/ssl/quic/quic_srtm.c
97
return memcmp(a->srt_blinded, b->srt_blinded, sizeof(a->srt_blinded));
crypto/openssl/ssl/ssl_cert.c
729
ret = memcmp(abuf, bbuf, alen);
crypto/openssl/ssl/ssl_lib.c
3876
return memcmp(a->session_id, b->session_id, a->session_id_length);
crypto/openssl/ssl/ssl_lib.c
5496
if ((ssl->ctx != NULL) && (sc->sid_ctx_length == ssl->ctx->sid_ctx_length) && (memcmp(sc->sid_ctx, ssl->ctx->sid_ctx, sc->sid_ctx_length) == 0)) {
crypto/openssl/ssl/ssl_sess.c
645
|| memcmp(ret->sid_ctx, s->sid_ctx, ret->sid_ctx_length)) {
crypto/openssl/ssl/statem/extensions_clnt.c
1338
|| memcmp(data, s->s3.previous_client_finished,
crypto/openssl/ssl/statem/extensions_clnt.c
1346
|| memcmp(data, s->s3.previous_server_finished,
crypto/openssl/ssl/statem/extensions_clnt.c
1704
if (memcmp(PACKET_data(pkt), PACKET_data(&protpkt), len) == 0) {
crypto/openssl/ssl/statem/extensions_clnt.c
1732
|| memcmp(s->session->ext.alpn_selected, s->s3.alpn_selected, len)
crypto/openssl/ssl/statem/extensions_srvr.c
63
ok = memcmp(data, s->s3.previous_client_finished,
crypto/openssl/ssl/statem/statem_clnt.c
1491
&& memcmp(hrrrandom, PACKET_data(pkt), SSL3_RANDOM_SIZE) == 0) {
crypto/openssl/ssl/statem/statem_clnt.c
1568
|| memcmp(PACKET_data(&session_id), s->tmp_session_id,
crypto/openssl/ssl/statem/statem_clnt.c
1654
&& memcmp(PACKET_data(&session_id), s->session->session_id,
crypto/openssl/ssl/statem/statem_clnt.c
1662
|| memcmp(s->session->sid_ctx, s->sid_ctx, s->sid_ctx_length)) {
crypto/openssl/ssl/statem/statem_lib.c
1727
|| memcmp(hrrrandom,
crypto/openssl/ssl/statem/statem_lib.c
2390
if (memcmp(tls11downgrade,
crypto/openssl/ssl/statem/statem_lib.c
2402
&& memcmp(tls12downgrade,
crypto/openssl/ssl/statem/statem_srvr.c
1805
|| memcmp(clienthello->dtls_cookie, s->d1->cookie,
crypto/openssl/ssl/statem/statem_srvr.c
2260
|| memcmp(selected, s->session->ext.alpn_selected,
crypto/openssl/ssl/t1_enc.c
487
if (memcmp(val, TLS_MD_CLIENT_FINISH_CONST,
crypto/openssl/ssl/t1_enc.c
491
if (memcmp(val, TLS_MD_SERVER_FINISH_CONST,
crypto/openssl/ssl/t1_enc.c
495
if (memcmp(val, TLS_MD_MASTER_SECRET_CONST,
crypto/openssl/ssl/t1_enc.c
499
if (memcmp(val, TLS_MD_EXTENDED_MASTER_SECRET_CONST,
crypto/openssl/ssl/t1_enc.c
503
if (memcmp(val, TLS_MD_KEY_EXPANSION_CONST,
crypto/openssl/ssl/t1_lib.c
3156
if (memcmp(etick, tctx->ext.tick_key_name,
crypto/openssl/test/asn1_encode_test.c
509
&& memcmp(enctst, expected, expected_size) == 0)
crypto/openssl/test/asn1_encode_test.c
539
|| memcmp(data, expected, expected_len) != 0) {
crypto/openssl/test/bio_addr_test.c
124
ret = (memcmp(adata, bdata, alen) == 0);
crypto/openssl/test/bio_base64_test.c
294
|| (n > 0 && memcmp(raw, out, n) != 0)) {
crypto/openssl/test/byteorder_test.c
21
&& memcmp(in, out, (size_t)2) == 0
crypto/openssl/test/byteorder_test.c
32
&& memcmp(in, out, (size_t)2) == 0
crypto/openssl/test/byteorder_test.c
43
&& memcmp(in, out, (size_t)4) == 0
crypto/openssl/test/byteorder_test.c
54
&& memcmp(in, out, (size_t)4) == 0
crypto/openssl/test/byteorder_test.c
65
&& memcmp(in, out, (size_t)8) == 0
crypto/openssl/test/byteorder_test.c
76
&& memcmp(in, out, (size_t)8) == 0
crypto/openssl/test/cmp_hdr_test.c
376
if (!TEST_int_eq(memcmp(oid, buf, sizeof(oid)), 0))
crypto/openssl/test/curve448_internal_test.c
602
|| !TEST_int_eq(memcmp(sig1, outsig, sizeof(sig1)), 0)
crypto/openssl/test/curve448_internal_test.c
605
|| !TEST_int_eq(memcmp(sig2, outsig, sizeof(sig2)), 0)
crypto/openssl/test/curve448_internal_test.c
609
|| !TEST_int_eq(memcmp(sig3, outsig, sizeof(sig3)), 0)
crypto/openssl/test/curve448_internal_test.c
612
|| !TEST_int_eq(memcmp(sig4, outsig, sizeof(sig4)), 0)
crypto/openssl/test/curve448_internal_test.c
615
|| !TEST_int_eq(memcmp(sig5, outsig, sizeof(sig5)), 0)
crypto/openssl/test/curve448_internal_test.c
618
|| !TEST_int_eq(memcmp(sig6, outsig, sizeof(sig6)), 0)
crypto/openssl/test/curve448_internal_test.c
621
|| !TEST_int_eq(memcmp(sig7, outsig, sizeof(sig7)), 0)
crypto/openssl/test/curve448_internal_test.c
624
|| !TEST_int_eq(memcmp(sig8, outsig, sizeof(sig8)), 0)
crypto/openssl/test/curve448_internal_test.c
627
|| !TEST_int_eq(memcmp(sig9, outsig, sizeof(sig9)), 0)
crypto/openssl/test/curve448_internal_test.c
633
|| !TEST_int_eq(memcmp(phsig1, outsig, sizeof(phsig1)), 0)
crypto/openssl/test/curve448_internal_test.c
640
|| !TEST_int_eq(memcmp(phsig2, outsig, sizeof(phsig2)), 0)) {
crypto/openssl/test/curve448_internal_test.c
658
|| !TEST_int_eq(memcmp(out, out_u1, sizeof(out)), 0)
crypto/openssl/test/curve448_internal_test.c
660
|| !TEST_int_eq(memcmp(out, out_u2, sizeof(out)), 0))
crypto/openssl/test/curve448_internal_test.c
676
if (!TEST_int_eq(memcmp(out, out_u3[j], sizeof(out)), 0)) {
crypto/openssl/test/d2i_test.c
89
if (derlen != len || memcmp(der, buf, derlen) != 0) {
crypto/openssl/test/drbgtest.c
304
result = memcmp(l->random, r->random, RANDOM_SIZE);
crypto/openssl/test/drbgtest.c
319
return memcmp(left, right, 2);
crypto/openssl/test/evp_extra_test.c
1481
if (!TEST_true(memcmp(ec_pub, pad, sizeof(ec_pub)) == 0))
crypto/openssl/test/evp_extra_test.c
1618
if (!TEST_true(memcmp(ec_pub, pad, sizeof(ec_pub)) == 0))
crypto/openssl/test/evp_extra_test.c
2761
if (!TEST_true(memcmp(plaintext, kMsg, sizeof(kMsg)) == 0))
crypto/openssl/test/pemtest.c
50
if (!TEST_int_eq(memcmp(pemtype, name, strlen(pemtype)), 0)
crypto/openssl/test/pemtest.c
52
|| !TEST_int_eq(memcmp(data, raw, strlen(raw)), 0))
crypto/openssl/test/quic_stream_test.c
26
if (memcmp(cur, iov[i].buf, iov[i].buf_len))
crypto/openssl/test/rdcpu_sanitytest.c
68
if (!TEST_false(!memcmp(prior, buf, sizeof(buf))))
crypto/openssl/test/rdcpu_sanitytest.c
74
if (!TEST_false(!memcmp(check, tail, sizeof(check))))
crypto/openssl/test/ssl_old_test.c
169
if (client_len && (client_len != sizeof(NEXT_PROTO_STRING) - 2 || memcmp(client_s, NEXT_PROTO_STRING + 1, client_len)))
crypto/openssl/test/ssl_old_test.c
171
if (server_len && (server_len != sizeof(NEXT_PROTO_STRING) - 2 || memcmp(server_s, NEXT_PROTO_STRING + 1, server_len)))
crypto/openssl/test/ssl_old_test.c
349
if (client_proto != NULL && memcmp(client_proto, server_proto, client_proto_len) != 0) {
crypto/openssl/test/ssl_old_test.c
359
if (alpn_expected != NULL && (client_proto_len != strlen(alpn_expected) || memcmp(client_proto, alpn_expected, client_proto_len) != 0)) {
crypto/openssl/test/ssl_old_test.c
523
if (memcmp(custom_ext_srv_string, in, inlen) != 0)
crypto/openssl/test/ssl_old_test.c
559
if (memcmp(in, custom_ext_cli_string, inlen) != 0)
crypto/openssl/test/ssl_old_test.c
580
if (memcmp(in, custom_ext_cli_string, inlen) != 0)
crypto/openssl/test/ssl_old_test.c
603
if (memcmp(in, custom_ext_cli_string, inlen) != 0)
crypto/openssl/test/sslapitest.c
4256
&& memcmp(prot, servalpn, protlen) == 0) {
crypto/openssl/test/sslapitest.c
5965
&& memcmp(cookie, cookie_magic_value, cookie_len) == 0)
crypto/openssl/test/sslapitest.c
752
if (len != OSSL_NELEM(expected_extensions) || memcmp(exts, expected_extensions, len * sizeof(*exts)) != 0) {
crypto/openssl/test/sslapitest.c
8509
|| !TEST_int_eq(memcmp(tickdata, appdata, tickdlen), 0))
crypto/openssl/test/sslapitest.c
8939
|| !TEST_int_eq(memcmp(msg, buf, readbytes), 0)
crypto/openssl/test/sslapitest.c
8943
|| !TEST_int_eq(memcmp(msg, buf, readbytes), 0))
crypto/openssl/test/testutil/format_output.c
452
if (l1 != l2 || (m1 != m2 && memcmp(m1, m2, l1) != 0))
crypto/openssl/test/testutil/tests.c
337
if (n1 != n2 || s1 == NULL || s2 == NULL || memcmp(s1, s2, n1) != 0) {
crypto/openssl/test/testutil/tests.c
352
if (s1 == NULL || memcmp(s1, s2, n1) == 0) {
crypto/openssl/test/tls-provider.c
2792
if (siglen != resiglen || memcmp(resignature, sig, siglen) != 0) {
crypto/openssl/test/tls13ccstest.c
144
&& memcmp(chsessid, PACKET_data(&sessionid),
crypto/openssl/test/tls13ccstest.c
165
&& memcmp(chsessid, PACKET_data(&sessionid),
crypto/openssl/test/tls13groupselection_test.c
356
if (memcmp((void *)incoming_random, (void *)magic_HRR_random, 32) == 0)
crypto/openssl/test/v3ext.c
202
if (!TEST_true(memcmp(ip1->data, ip2->data, ip1->length) <= 0))
crypto/openssl/test/x509aux.c
117
if (memcmp(buf, data, len) != 0) {
crypto/openssl/test/x509aux.c
136
if (memcmp(buf, data, enclen) != 0) {
crypto/openssl/test/x509aux.c
88
if (memcmp(buf, data, len) != 0) {
include/string.h
64
int memcmp(const void *, const void *, size_t) __pure;
lib/geom/multipath/geom_multipath.c
269
if (memcmp(sector, rsector, secsize)) {
lib/libbluetooth/bluetooth.h
62
#define bacmp(ba1, ba2) memcmp((ba1), (ba2), sizeof(bdaddr_t))
lib/libc/db/hash/hash.c
600
memcmp(kp, rbufp->page + *bp, size) == 0)
lib/libc/db/hash/hash_bigkey.c
285
if (memcmp(p + bp[ndx], kkey, bytes))
lib/libc/db/hash/hash_bigkey.c
297
if (bytes != ksize || memcmp(p + bp[ndx], kkey, bytes)) {
lib/libc/db/test/hash.tests/tverify.c
89
if ( memcmp ( res.data, wp2, res.size ) ) {
lib/libc/gen/fmtmsg.c
214
if (len1 == len2 && memcmp(msgcomp, p, len1) == 0)
lib/libc/gen/getgrent.c
1517
memcmp(line, name, namesize) == 0)
lib/libc/gen/getpwent.c
1973
if (len == (p - entry) && memcmp(name, entry, len) == 0)
lib/libc/gen/getutxent.c
180
if (memcmp(fu.fu_id, id->ut_id,
lib/libc/gen/pututxline.c
158
if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) != 0)
lib/libc/gen/pututxline.c
96
if (memcmp(fu->fu_id, fe.fu_id, sizeof(fe.fu_id)) ==
lib/libc/gen/readpassphrase.c
146
if (memcmp(&term, &oterm, sizeof(term)) != 0) {
lib/libc/iconv/bsd_iconv.c
214
for (; (i < sz) && (memcmp(curkey, list[i], strlen(curkey)) == 0); i++) {
lib/libc/iconv/bsd_iconv.c
273
*i = (srclen == strlen(dst)) && !memcmp(convname, dst, srclen);
lib/libc/iconv/citrus_db.c
161
if (memcmp(_region_head(&r), _region_head(key),
lib/libc/iconv/citrus_lookup.c
197
memcmp(p, cl->cl_key, (size_t)(q - p)) != 0))
lib/libc/iconv/citrus_memstream.c
97
if (memcmp(key, p, keylen) == 0)
lib/libc/locale/rune.c
101
if (memcmp(frl->magic, _FILE_RUNE_MAGIC_1, sizeof (frl->magic))) {
lib/libc/locale/wctype.c
103
if (len1 == len2 && memcmp(property, p, len1) == 0)
lib/libc/net/gethostbydns.c
681
if (!memcmp(*haddr, addr, NS_INADDRSZ))
lib/libc/regex/engine.c
259
memcmp(dp, g->must, (size_t)g->mlen) == 0)
lib/libc/regex/engine.c
758
if (memcmp(sp, ssp, len) != 0)
lib/libc/regex/regexec.c
151
#define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
lib/libc/rpc/rpcb_clnt.c
170
if (!memcmp(cptr->ac_taddr->buf, addr->buf, addr->len)) {
lib/libc/rpc/svc_dg.c
677
(memcmp(ent->cache_addr.buf, xprt->xp_rtaddr.buf,
lib/libc/string/memmem.c
136
if (memcmp(n, n + p, ms + 1)) {
lib/libc/string/strstr.c
135
if (memcmp(n, n + p, ms + 1)) {
lib/libc/tests/gen/arc4random_test.c
78
ATF_CHECK_MSG(memcmp(page->parentbuf, page->childbuf, BUFSIZE) != 0,
lib/libc/tests/locale/wcsnrtombs_test.c
181
ATF_REQUIRE(memcmp(dstbuf, "\xA3\xC1 B ", 5) == 0);
lib/libc/tests/locale/wcsnrtombs_test.c
74
ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0);
lib/libc/tests/locale/wcsnrtombs_test.c
86
ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0);
lib/libc/tests/locale/wcsrtombs_test.c
75
ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0);
lib/libc/tests/locale/wcstombs_test.c
66
ATF_REQUIRE(memcmp(dstbuf, "hell", 4) == 0);
lib/libc/tests/net/eui64_aton_test.c
47
rc = memcmp(&e, eui, sizeof(e));
lib/libc/tests/nss/getaddrinfo_test.c
115
memcmp(ai1->ai_addr, ai2->ai_addr, ai1->ai_addrlen) != 0)
lib/libc/tests/nss/gethostby_test.c
283
if (memcmp(*c1, *ct, ht1->h_length) == 0) {
lib/libc/tests/nss/gethostby_test.c
299
if (memcmp(*c2, *ct, ht1->h_length) == 0) {
lib/libc/tests/nss/gethostby_test.c
349
if (memcmp(addr,
lib/libc/tests/nss/gethostby_test.c
355
if (memcmp(addr,
lib/libc/tests/stdio/fmemopen2_test.c
295
ATF_REQUIRE(memcmp(buf, buf_orig, sizeof(buf)) == 0);
lib/libc/tests/stdio/getdelim_test.c
216
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libc/tests/stdio/getdelim_test.c
222
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libc/tests/stdio/getdelim_test.c
98
ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
lib/libc/tests/stdio/mkostemp_test.c
63
if (memcmp(tmpf, template, sizeof(tmpf) - 8 - 1) != 0) {
lib/libc/tests/stdio/open_memstream2_test.c
122
else if (memcmp(buf, zerobuf, sizeof(zerobuf)) != 0)
lib/libc/tests/stdio/open_wmemstream_test.c
122
else if (memcmp(buf, zerobuf, sizeof(zerobuf)) != 0)
lib/libc/tests/stdlib/system_test.c
98
return (memcmp(a, b, sizeof(sigset_t)));
lib/libc/tests/string/memccpy_test.c
102
assert(memcmp(src, dst, MIN(bufsize, size)) == 0);
lib/libc/tests/string/memccpy_test.c
146
else if (destlen > 0 && memcmp(src, dest, effective_len) != 0)
lib/libc/tests/string/memccpy_test.c
179
ATF_CHECK_EQ(memcmp(buf, "foobar", sizeof("foobar") - 1), 0);
lib/libc/tests/string/memccpy_test.c
183
ATF_CHECK_EQ(memcmp(buf, "foobar", sizeof("foobar") - 1), 0);
lib/libc/tests/string/memcmp_test.c
40
#define MEMCMP memcmp
lib/libc/tests/string/stpncpy_test.c
100
assert(memcmp(src, dst, MIN(bufsize, size)) == 0);
lib/libc/tests/sys/sendfile_test.c
322
ATF_REQUIRE_EQ_MSG(0, memcmp(src_pointer, dest_pointer, length),
lib/libc/tests/sys/sendfile_test.c
425
memcmp(shm_pointer, DETERMINISTIC_PATTERN, pattern_size),
lib/libc/uuid/uuid_compare.c
70
res = memcmp(a->node, b->node, sizeof(a->node));
lib/libc/uuid/uuid_equal.c
54
return ((memcmp(a, b, sizeof(uuid_t))) ? 0 : 1);
lib/libcasper/services/cap_dns/tests/dns_test.c
148
if (memcmp(addr_list0[i0], addr_list1[i1], length) == 0)
lib/libcasper/services/cap_dns/tests/dns_test.c
78
(memcmp(at0->ai_addr, at1->ai_addr,
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
139
equals &= (memcmp(&origsb.st_ctim, &fasb.st_ctim,
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
141
equals &= (memcmp(&origsb.st_birthtim, &fasb.st_birthtim,
lib/libcasper/services/cap_net/cap_net.c
569
if (memcmp(data, sa, size) == 0)
lib/libcasper/services/cap_net/cap_net.c
656
if (memcmp(limit, saddr, limitsize) == 0) {
lib/libcasper/services/cap_net/cap_net.c
678
if (memcmp(&sockaddr, saddr, saddrsize) == 0) {
lib/libcasper/services/cap_net/cap_net.c
689
if (memcmp(&sockaddr, saddr, saddrsize) == 0) {
lib/libcasper/services/cap_net/tests/net_test.c
212
memcmp(res1->ai_addr, res0->ai_addr,
lib/libcasper/services/cap_sysctl/cap_sysctl.c
388
if (memcmp(lmib, reqmib, lsize) != 0)
lib/libcrypt/crypt-sha256.c
363
if (memcmp(tests[cnt].result, sum, 32) != 0) {
lib/libcrypt/crypt-sha256.c
378
if (memcmp(tests[cnt].result, sum, 32) != 0) {
lib/libcrypt/crypt-sha256.c
402
if (memcmp(expected, sum, 32) != 0) {
lib/libcrypt/crypt-sha512.c
396
if (memcmp(tests[cnt].result, sum, 64) != 0) {
lib/libcrypt/crypt-sha512.c
405
if (memcmp(tests[cnt].result, sum, 64) != 0) {
lib/libcrypt/crypt-sha512.c
425
if (memcmp(expected, sum, 64) != 0) {
lib/libefivar/efivar.c
297
return (memcmp(guid1, guid2, sizeof(*guid1)));
lib/libefivar/efivar.c
303
return (memcmp(guid, &efi_guid_empty, sizeof(*guid)) == 0);
lib/libefivar/efivar.c
313
if (memcmp(guid, &guid_tbl[i].guid, sizeof(*guid)) == 0) {
lib/libfetch/common.c
908
return (!memcmp(left, (const void *)rhost, rhostlen) ? 1 : 0);
lib/libgssapi/gss_accept_sec_context.c
126
memcmp((const char *)input->value, "NTLMSSP\x00", 8) == 0)
lib/libgssapi/gss_compare_name.c
55
memcmp(name1->gn_value.value, name1->gn_value.value,
lib/libgssapi/gss_utils.c
46
if (memcmp(oid1->elements, oid2->elements, oid1->length))
lib/libiscsiutil/chap.c
313
if (memcmp(chap->chap_response,
lib/libjail/jail.c
1179
memcmp(SJPARAM ".", desc.s, sizeof(SJPARAM)) == 0 &&
lib/libjail/jail.c
1180
memcmp(name, desc.s + sizeof(SJPARAM),
lib/libkvm/kvm_private.c
145
memcmp(&minihdr, "minidump", 8) == 0)
lib/libmd/amd64/md5dispatch.c
33
if (memcmp(cpu_vendor, AMD_VENDOR_ID, sizeof(cpu_vendor)) != 0)
lib/libnv/tests/cnv_tests.cc
1023
ATF_REQUIRE_EQ(memcmp(in_binary, out_binary, out_size), 0);
lib/libnv/tests/cnv_tests.cc
278
ATF_REQUIRE_EQ(memcmp(in_binary, out_binary, out_size), 0);
lib/libnv/tests/dnv_tests.cc
220
ATF_REQUIRE_EQ(memcmp(actual_value, value, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
240
ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
246
ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
254
ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
261
ATF_REQUIRE_EQ(memcmp(actual_value, default_value, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
493
ATF_REQUIRE_EQ(memcmp(actual_val, value, value_size), 0);
lib/libnv/tests/dnv_tests.cc
515
ATF_REQUIRE_EQ(memcmp(actual_val, default_val, actual_size), 0);
lib/libnv/tests/dnv_tests.cc
536
ATF_REQUIRE_EQ(memcmp(actual_val, default_val, default_size), 0);
lib/libnv/tests/nv_tests.cc
1018
ATF_REQUIRE_EQ(memcmp(actual_value, testval, testsize), 0);
lib/libnv/tests/nv_tests.cc
1023
ATF_REQUIRE_EQ(memcmp(actual_value, otherval1, othersize), 0);
lib/libnv/tests/nv_tests.cc
282
ATF_REQUIRE_EQ(memcmp(value, ret_value, ret_size), 0);
lib/libnv/tests/nv_tests.cc
528
ATF_REQUIRE_EQ(memcmp(value, actual_value, size), 0);
lib/libnv/tests/nv_tests.cc
984
ATF_REQUIRE_EQ(memcmp(actual_val, testval, testsize), 0);
lib/libnv/tests/nvlist_get_test.c
122
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", NULL), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
123
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", &size), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
129
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", NULL), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_get_test.c
130
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", &size), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_get_test.c
149
CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/x", NULL), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
150
CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/x", &size), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
152
CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", NULL), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_get_test.c
153
CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", &size), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_get_test.c
168
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", NULL), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
169
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", &size), "x", 1) == 0);
lib/libnv/tests/nvlist_get_test.c
171
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", NULL), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_get_test.c
172
CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", &size), "abcdefghijklmnopqrstuvwxyz", sizeof("abcdefghijklmnopqrstuvwxyz")) == 0);
lib/libnv/tests/nvlist_send_recv_test.c
198
ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, NULL), "x", 1) == 0);
lib/libnv/tests/nvlist_send_recv_test.c
199
ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, &size), "x", 1) == 0);
lib/libnv/tests/nvlist_send_recv_test.c
206
ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, NULL), ALPHABET,
lib/libnv/tests/nvlist_send_recv_test.c
208
ATF_REQUIRE(memcmp(nvlist_get_binary(nvl, name, &size), ALPHABET,
lib/libnv/tests/nvlist_send_recv_test.c
309
ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, NULL), "x", 1) == 0);
lib/libnv/tests/nvlist_send_recv_test.c
310
ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, &size), "x", 1) == 0);
lib/libnv/tests/nvlist_send_recv_test.c
317
ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, NULL), ALPHABET,
lib/libnv/tests/nvlist_send_recv_test.c
319
ATF_REQUIRE(memcmp(nvlist_get_binary(cnvl, cname, &size), ALPHABET,
lib/libnvmf/nvmf_controller.c
309
if (memcmp(data->hostid, hostid_zero, sizeof(hostid_zero)) == 0) {
lib/libnvmf/nvmf_controller.c
39
if (memcmp("nqn.", nqn, strlen("nqn.")) != 0)
lib/libopenbsd/ohash.c
290
memcmp(h->t[i].p+h->info.key_offset, k, size) == 0) {
lib/libpfctl/libpfctl.c
838
addr->isset = memcmp(addr->addr, EMPTY_MAC, ETHER_ADDR_LEN) != 0;
lib/libproc/tests/proc_test.c
140
ATF_REQUIRE_EQ(memcmp(sym, &tsym, sizeof(*sym)), 0);
lib/libproc/tests/proc_test.c
246
ATF_CHECK_EQ(memcmp(&sym1, &sym2, sizeof(sym1)), 0);
lib/libradius/radlib.c
219
if (memcmp(&h->in[POS_AUTH], md5, sizeof md5) != 0)
lib/libradius/radlib.c
257
if (memcmp(md, &h->in[pos + 2],
lib/libradius/radlib.c
313
if (memcmp(&h->in[POS_AUTH], md5, sizeof md5) != 0)
lib/libradius/radlib.c
348
if (memcmp(md, &h->in[pos + 2],
lib/librpcsec_gss/rpcsec_gss_conf.c
319
&& !memcmp(oid->elements, info->oid.elements,
lib/librpcsvc/secretkey.c
73
if (memcmp(p, p + HEXKEYBYTES, KEYCHECKSUMSIZE) != 0) {
lib/libsbuf/tests/sbuf_string_test.c
52
if (memcmp(sb_buf, test_buf, len) != 0) {
lib/libsecureboot/efi/efi_variables.c
122
if (memcmp(&efiCertX509GUID,
lib/libsecureboot/efi/efi_variables.c
204
if (memcmp(&efiCertX509Sha256GUID, &list->SignatureType,
lib/libsecureboot/efi/efi_variables.c
207
} else if (memcmp(&efiCertX509Sha384GUID, &list->SignatureType,
lib/libsecureboot/efi/efi_variables.c
210
} else if (memcmp(&efiCertX509Sha5122UID, &list->SignatureType,
lib/libsecureboot/vets.c
644
if (!memcmp(sha256_digest,
lib/libsecureboot/vets.c
658
if (!memcmp(sha384_digest,
lib/libsecureboot/vets.c
672
if (!memcmp(sha512_digest,
lib/libsecureboot/vets.c
848
memcmp(vhbuf, mdata, mlen) != 0) {
lib/libsys/x86/__vdso_gettc.c
190
amd_cpu = memcmp(v, amd_id, sizeof(amd_id) - 1) == 0 ||
lib/libsys/x86/__vdso_gettc.c
191
memcmp(v, hygon_id, sizeof(hygon_id) - 1) == 0;
lib/libtacplus/taclib.c
554
if (memcmp(msg->session_id, h->request.session_id,
lib/libunbound/config.h
1487
int memcmp(const void *x, const void *y, size_t n);
lib/libusb/libusb10_hotplug.c
171
if (memcmp(&adev->ddesc, &bdev->ddesc, sizeof(adev->ddesc)))
lib/libusb/libusb10_hotplug.c
173
if (memcmp(&adev->session_data, &bdev->session_data, sizeof(adev->session_data)))
lib/libutil/realhostname.c
169
if (!memcmp(sa, addr, sa->sa_len)) {
lib/libutil/realhostname.c
72
if (!memcmp(*hp->h_addr_list, ip, sizeof(*ip))) {
lib/msun/tests/fenv_test.c
193
ATF_CHECK(memcmp(&env.__mxcsr, &FE_DFL_ENV->__mxcsr,
lib/msun/tests/fenv_test.c
195
ATF_CHECK(memcmp(&env.__x87.__control, &FE_DFL_ENV->__x87.__control,
lib/msun/tests/fenv_test.c
197
ATF_CHECK(memcmp(&env.__x87.__status, &FE_DFL_ENV->__x87.__status,
lib/msun/tests/fenv_test.c
199
ATF_CHECK(memcmp(&env.__x87.__tag, &FE_DFL_ENV->__x87.__tag,
lib/msun/tests/fenv_test.c
202
ATF_CHECK_EQ(0, memcmp(&env, FE_DFL_ENV, sizeof(env)));
lib/msun/tests/nan_test.c
101
ATF_REQUIRE(memcmp(&ald[2], &ald[3], sizeof(long double)) == 0);
lib/msun/tests/nan_test.c
70
ATF_REQUIRE(memcmp(&af[0], &af[1], sizeof(float)) == 0);
lib/msun/tests/nan_test.c
71
ATF_REQUIRE(memcmp(&af[1], &af[2], sizeof(float)) == 0);
lib/msun/tests/nan_test.c
75
ATF_REQUIRE(memcmp(&af[2], &af[3], sizeof(float)) == 0);
lib/msun/tests/nan_test.c
83
ATF_REQUIRE(memcmp(&ad[0], &ad[1], sizeof(double)) == 0);
lib/msun/tests/nan_test.c
84
ATF_REQUIRE(memcmp(&ad[1], &ad[2], sizeof(double)) == 0);
lib/msun/tests/nan_test.c
88
ATF_REQUIRE(memcmp(&ad[2], &ad[3], sizeof(double)) == 0);
lib/msun/tests/nan_test.c
96
ATF_REQUIRE(memcmp(&ald[0], &ald[1], sizeof(long double)) == 0);
lib/msun/tests/nan_test.c
97
ATF_REQUIRE(memcmp(&ald[1], &ald[2], sizeof(long double)) == 0);
libexec/getty/chat.c
354
while (j < i && memcmp(got + j, str, i - j) != 0)
sbin/conscontrol/conscontrol.c
113
if (memcmp (devnam, DEVDIR, strlen(DEVDIR)) == 0)
sbin/dhclient/clparse.c
555
!memcmp(lp->address.iabuf, lease->address.iabuf,
sbin/dhclient/clparse.c
595
!memcmp(ip->client->active->address.iabuf,
sbin/dhclient/dhclient.c
1045
(memcmp(packet->interface->hw_address.haddr,
sbin/dhclient/dhclient.c
1065
!memcmp(lease->address.iabuf,
sbin/dhclient/dhclient.c
1104
!memcmp(lease->address.iabuf,
sbin/dhclient/dhclient.c
1257
(memcmp(packet->interface->hw_address.haddr,
sbin/dhclient/dhclient.c
2024
0 != memcmp(lease->nextserver.iabuf, &inaddr_any,
sbin/dhclient/dhclient.c
334
if (memcmp(curbssid, jev->iev_addr, 6)) {
sbin/dhclient/dhclient.c
778
(memcmp(packet->interface->hw_address.haddr,
sbin/dhclient/hash.c
118
if (len == bp->len && !memcmp(bp->name, name, len))
sbin/dhclient/inet.c
99
return (memcmp(addr1.iabuf, addr2.iabuf, addr1.len) == 0);
sbin/dhclient/options.c
74
if (memcmp(packet->raw->options, DHCP_OPTIONS_COOKIE, 4)) {
sbin/fsck_ffs/dir.c
555
if (memcmp(dirp->d_name, idesc->id_name, (int)dirp->d_namlen + 1))
sbin/fsck_ffs/inode.c
595
if (memcmp(dp->dp2.di_db, zino.dp2.di_db,
sbin/fsck_ffs/inode.c
597
memcmp(dp->dp2.di_ib, zino.dp2.di_ib,
sbin/fsck_ffs/pass1.c
263
(memcmp(dp->dp1.di_db, zino.dp1.di_db,
sbin/fsck_ffs/pass1.c
265
memcmp(dp->dp1.di_ib, zino.dp1.di_ib,
sbin/fsck_ffs/pass1.c
269
(memcmp(dp->dp2.di_db, zino.dp2.di_db,
sbin/fsck_ffs/pass1.c
271
memcmp(dp->dp2.di_ib, zino.dp2.di_ib,
sbin/fsck_ffs/pass5.c
340
memcmp(&newcg->cg_cs, cs, sizeof *cs) != 0 &&
sbin/fsck_ffs/pass5.c
351
memcmp(newcg, cg, basesize) != 0 &&
sbin/fsck_ffs/pass5.c
359
memcmp(cg_inosused(newcg), cg_inosused(cg), mapsize) != 0 &&
sbin/fsck_ffs/pass5.c
367
memcmp(&cstotal, &fs->fs_cstotal, sizeof cstotal) != 0
sbin/fsck_msdosfs/boot.c
155
if (!memcmp(&block[3], "EXFAT ", 8)) {
sbin/fsck_msdosfs/boot.c
206
if (memcmp(fsinfo, "RRaA", 4)
sbin/fsck_msdosfs/boot.c
207
|| memcmp(fsinfo + 0x1e4, "rrAa", 4)
sbin/fsck_msdosfs/dir.c
524
if (memcmp(cp, dot_name, sizeof(dot_name)) != 0 ||
sbin/fsck_msdosfs/dir.c
530
if (memcmp(cp, dotdot_name, sizeof(dotdot_name)) != 0 ||
sbin/ggate/ggated/ggated.c
938
if (memcmp(ver.gv_magic, GGATE_MAGIC, strlen(GGATE_MAGIC)) != 0) {
sbin/hastd/activemap.c
412
return (memcmp(amp->am_diskmap, amp->am_memmap,
sbin/hastd/hastd.c
863
if (token != NULL && memcmp(token, res->hr_token,
sbin/hastd/proto_tcp.c
546
return (memcmp(&sin1->sin_addr, &sin2->sin_addr,
sbin/hastd/proto_tcp.c
556
return (memcmp(&sin1->sin6_addr, &sin2->sin6_addr,
sbin/ifconfig/af_inet6.c
191
if (memcmp(&in6addr_any.s6_addr[8], &in6->s6_addr[8], 8) != 0)
sbin/ifconfig/af_link.c
153
if (memcmp(ifr.ifr_addr.sa_data, laggaddr, sdl->sdl_alen) == 0 ||
sbin/ifconfig/af_link.c
154
memcmp(ifr.ifr_addr.sa_data, LLADDR(sdl), sdl->sdl_alen) == 0)
sbin/ifconfig/af_link.c
180
if (memcmp(NLA_DATA(hwaddr), NLA_DATA(link->ifla_address), sdl.sdl_alen))
sbin/ifconfig/ifieee80211.c
5052
(memcmp(ik->ik_keydata, zerodata, keylen) != 0 || verbose);
sbin/ifconfig/ifieee80211.c
5220
(memcmp(bssid, zerobssid, sizeof(zerobssid)) != 0 || verbose)) {
sbin/ifconfig/ifieee80211.c
6090
memcmp(params.icp_bssid, zerobssid, sizeof(zerobssid)) == 0)
sbin/ipf/libipf/save_v1trap.c
61
if (memcmp(&s1->sin6, &s2->sin6, sizeof(s1->sin6)))
sbin/ipf/libipf/save_v1trap.c
66
if (memcmp(&s1->sin, &s2->sin, sizeof(s1->sin)))
sbin/ipf/libipf/save_v2trap.c
65
if (memcmp(&s1->sin6, &s2->sin6, sizeof(s1->sin6)))
sbin/ipf/libipf/save_v2trap.c
70
if (memcmp(&s1->sin, &s2->sin, sizeof(s1->sin)))
sbin/nvmecontrol/modules/wdc/wdc.c
181
if (memcmp("E6LG", hdr, 4) == 0) {
sbin/pfctl/pfctl.c
743
if (memcmp(&last_src, resp[0]->ai_addr, sizeof(last_src)) == 0)
sbin/pfctl/pfctl.c
767
if (memcmp(&last_dst, resp[1]->ai_addr,
sbin/pfctl/pfctl.c
832
if (memcmp(&last_src, resp[0]->ai_addr, sizeof(last_src)) == 0)
sbin/pfctl/pfctl.c
856
if (memcmp(&last_dst, resp[1]->ai_addr,
sbin/pfctl/pfctl.c
917
if (memcmp(&last_src, resp->ai_addr, sizeof(last_src)) == 0)
sbin/pfctl/pfctl_optimize.c
1090
if (memcmp(&a->dst.addr.v.a.addr, &b->dst.addr.v.a.addr,
sbin/pfctl/pfctl_optimize.c
1092
memcmp(&a->dst.addr.v.a.mask, &b->dst.addr.v.a.mask,
sbin/pfctl/pfctl_optimize.c
1103
memcmp(&a->dst.addr.v.a.mask, &b->dst.addr.v.a.mask,
sbin/pfctl/pfctl_optimize.c
1162
if (memcmp(&a->src.addr.v.a.addr, &b->src.addr.v.a.addr,
sbin/pfctl/pfctl_optimize.c
1164
memcmp(&a->src.addr.v.a.mask, &b->src.addr.v.a.mask,
sbin/pfctl/pfctl_optimize.c
1175
memcmp(&a->src.addr.v.a.mask, &b->src.addr.v.a.mask,
sbin/pfctl/pfctl_optimize.c
1382
return (memcmp(&a->addr, &b->addr, sizeof(a->addr)) == 0);
sbin/pfctl/pfctl_optimize.c
1412
return (memcmp(&a, &b, sizeof(a)) == 0);
sbin/pfctl/pfctl_optimize.c
1462
if (memcmp(&a, &b, sizeof(a)) == 0)
sbin/pfctl/pfctl_optimize.c
478
if (memcmp(&a, &b, sizeof(a)) == 0) {
sbin/pfctl/pfctl_optimize.c
485
} else if (memcmp(&a2, &b2, sizeof(a2)) == 0) {
sbin/pfctl/pfctl_optimize.c
841
if (memcmp(&a, &b, sizeof(a)) == 0) {
sbin/pfctl/pfctl_optimize.c
952
if (memcmp(&a, &b, sizeof(a)) == 0) {
sbin/ping/ping6.c
1435
if (memcmp(nip->icmp6_ni_nonce + sizeof(u_int16_t),
sbin/routed/input.c
1016
if (!memcmp(hash, na2->au.au_pw, sizeof(hash)))
sbin/routed/input.c
962
if (!memcmp(NA->au.au_pw, ap->key, RIP_AUTH_PW_LEN))
sbin/routed/radix.c
51
: memcmp((caddr_t)(a), (caddr_t)(b), (size_t)l))
sbin/routed/rtquery/rtquery.c
733
memcmp(hash, na->au.au_pw,
sbin/savecore/savecore.c
1116
if (memcmp(&kdhl, &kdhf, sizeof(kdhl))) {
sbin/sysctl/sysctl.c
1135
memcmp(skip_oid, oid, skip_len) == 0)
sbin/sysctl/sysctl.c
1358
if (memcmp(name2, oid, len * sizeof(int)) != 0)
sbin/umount/umount.c
568
return memcmp(p1, p2, len);
stand/common/gfx_fb.c
2505
if (memcmp(fh.fh_magic, FONT_HEADER_MAGIC, sizeof(fh.fh_magic)) != 0) {
stand/common/gfx_fb.c
2686
if (memcmp(fh.fh_magic, FONT_HEADER_MAGIC,
stand/common/part.c
152
if (memcmp(hdr->hdr_sig, GPT_HDR_SIG, sizeof(hdr->hdr_sig)) != 0) {
stand/efi/libefi/devpath.c
646
if (memcmp(devpath1, devpath2, len) != 0)
stand/efi/libefi/devpath.c
713
if (memcmp(prefix, path, len) != 0)
stand/efi/libefi/libefi.c
45
if (!memcmp(id, tbl, sizeof(EFI_GUID)))
stand/efi/loader/framebuffer.c
545
if (memcmp(edid_infop, magic, sizeof (magic)) != 0)
stand/efi/loader/main.c
1181
is_smbios_v2 = memcmp(guid, &smbios, sizeof(*guid)) == 0;
stand/efi/loader/main.c
1182
is_smbios_v3 = memcmp(guid, &smbios3, sizeof(*guid)) == 0;
stand/efi/loader/main.c
828
if (memcmp(sig, sdp->Signature, 4) == 0)
stand/i386/libi386/biosmemdisk.c
104
if (memcmp(mbft->Signature, "mBFT", sizeof(mbft->Signature)) != 0)
stand/i386/libi386/biosmemdisk.c
91
if (memcmp(probe->sh_id, "$INT13SF", sizeof(probe->sh_id)) != 0) {
stand/i386/libi386/biosmemdisk.c
96
if (memcmp(probe->sh_vendor, "MEMDISK ", sizeof(probe->sh_vendor)) != 0)
stand/i386/libi386/vbe.c
314
if (memcmp(rvbe->VbeSignature, "VESA", 4) != 0) {
stand/i386/libi386/vbe.c
867
if (memcmp(edidp, magic, sizeof(magic)) != 0)
stand/i386/libi386/vbe.c
999
if (memcmp(vbe->VbeSignature, "VESA", 4) != 0)
stand/kshim/bsd_kernel.h
528
int memcmp(const void *, const void *, size_t len);
stand/libsa/zfs/nvlist.c
1551
memcmp(nvp_name->nv_data, name, nvp_name->nv_size) == 0)
stand/libsa/zfs/nvlist.c
829
memcmp(nvp_name->nv_data, name, nvp_name->nv_size) == 0 &&
stand/libsa/zfs/nvlist.c
924
memcmp(nvp_name->nv_data, name, nvp_name->nv_size) == 0 &&
stand/libsa/zfs/zfsimpl.c
1015
if (len < pathlen && memcmp(path, prefix, len) == 0) {
stand/libsa/zfs/zfsimpl.c
1025
if (memcmp(type, VDEV_TYPE_RAIDZ, len) == 0) {
stand/libsa/zfs/zfsimpl.c
1937
if (memcmp(type, VDEV_TYPE_MIRROR, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
1938
memcmp(type, VDEV_TYPE_DISK, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
1939
memcmp(type, VDEV_TYPE_RAIDZ, len) != 0)
stand/libsa/zfs/zfsimpl.c
1946
if (memcmp(type, VDEV_TYPE_RAIDZ, len) == 0) {
stand/libsa/zfs/zfsimpl.c
210
if (memcmp(nvp_name->nv_data, features_for_read[i],
stand/libsa/zfs/zfsimpl.c
2582
if (memcmp(p, nc->l_array.la_array, len))
stand/libsa/zfs/zfsimpl.c
944
if (memcmp(type, VDEV_TYPE_MIRROR, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
945
memcmp(type, VDEV_TYPE_DISK, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
947
memcmp(type, VDEV_TYPE_FILE, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
949
memcmp(type, VDEV_TYPE_RAIDZ, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
950
memcmp(type, VDEV_TYPE_INDIRECT, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
951
memcmp(type, VDEV_TYPE_REPLACING, len) != 0 &&
stand/libsa/zfs/zfsimpl.c
952
memcmp(type, VDEV_TYPE_HOLE, len) != 0) {
stand/libsa/zfs/zfsimpl.c
958
if (memcmp(type, VDEV_TYPE_MIRROR, len) == 0)
stand/libsa/zfs/zfsimpl.c
960
else if (memcmp(type, VDEV_TYPE_RAIDZ, len) == 0)
stand/libsa/zfs/zfsimpl.c
962
else if (memcmp(type, VDEV_TYPE_REPLACING, len) == 0)
stand/libsa/zfs/zfsimpl.c
964
else if (memcmp(type, VDEV_TYPE_INDIRECT, len) == 0) {
stand/libsa/zfs/zfsimpl.c
985
} else if (memcmp(type, VDEV_TYPE_HOLE, len) == 0) {
stand/uboot/net.c
200
if (memcmp("net", *a, 3) == 0)
stand/uboot/net.c
330
if (memcmp (desc->myea, "\0\0\0\0\0\0", 6) == 0) {
sys/arm64/arm64/machdep.c
582
if (memcmp(&cfgtbl->ct_guid, &efi_memreserve, sizeof(efi_guid_t)) != 0)
sys/arm64/coresight/coresight_acpi.c
112
if (memcmp(u1, u2, 16) == 0)
sys/cam/ctl/ctl.c
1145
memcmp(&msg->lun.data[0], lun->lun_devid->data, i) != 0)) {
sys/cam/ctl/ctl.c
5918
if (memcmp(current_cp, page_ptr, page_index->page_len)) {
sys/cam/ctl/ctl_tpc.c
2300
if (memcmp(token->token, data->rod_token,
sys/cam/scsi/scsi_all.c
9406
&& memcmp(rhs_id->identifier, lhs_id->identifier,
sys/cam/scsi/scsi_xpt.c
1893
if (memcmp(nl, ol, 8) == 0) {
sys/compat/linuxkpi/common/include/linux/etherdevice.h
103
return (memcmp(pa, pb, 6) == 0);
sys/compat/linuxkpi/common/include/linux/etherdevice.h
96
return (memcmp(pa, pb, 6) == 0);
sys/compat/linuxkpi/common/include/net/cfg80211.h
1570
memcmp(elem->data, pattern, plen) == 0)
sys/compat/linuxkpi/common/include/net/cfg80211.h
2142
error = memcmp(ssid1->ssid, ssid2->ssid, ssid2->ssid_len);
sys/compat/linuxkpi/common/include/net/ipv6.h
114
return memcmp(a1, a2, sizeof(struct in6_addr));
sys/compat/linuxkpi/common/src/linux_80211.c
1904
if (!memcmp(addr->addr, LLADDR(sdl), sdl->sdl_alen))
sys/compat/linuxkpi/common/src/linux_80211.c
8894
if (memcmp(lookup->ssid, se->se_ssid+2, lookup->ssid_len) != 0)
sys/crypto/des/des_setkey.c
128
if (memcmp(weak_keys[i],key,sizeof(des_cblock)) == 0) return(1);
sys/crypto/siphash/siphash_test.c
127
if (memcmp(out, vectors[i], 8)) {
sys/dev/acpi_support/acpi_wmi.c
900
if (!memcmp(winfo->ginfo.guid, guid, 16)) {
sys/dev/acpica/acpi.c
2023
if (memcmp(guid->Buffer.Pointer, &acpi_dsd_uuid,
sys/dev/acpica/acpi_apei.c
342
if (memcmp(mem_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) {
sys/dev/acpica/acpi_apei.c
344
} else if (memcmp(pcie_uuid, ged->SectionType, ACPI_UUID_LENGTH) == 0) {
sys/dev/arcmsr/arcmsr.c
2559
if(memcmp(pcmdmessagefld->cmdmessage.Signature, "ARCMSR", 6)!=0) {
sys/dev/ath/ah_osdep.h
72
#define OS_MEMCMP(_a, _b, _l) memcmp((_a), (_b), (_l))
sys/dev/atopcase/atopcase.c
127
if (memcmp(status_buffer, status_ok, sizeof(status_ok)) == 0) {
sys/dev/atopcase/atopcase.c
268
memcmp(pkt.data, booted, length) == 0) {
sys/dev/axgbe/xgbe-phy-v2.c
1438
if (memcmp(&phy_data->sfp_eeprom, &sfp_eeprom, sizeof(sfp_eeprom))) {
sys/dev/axgbe/xgbe-phy-v2.c
980
if (memcmp(&sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_NAME],
sys/dev/axgbe/xgbe-phy-v2.c
987
if (memcmp(&sfp_eeprom->base[XGBE_SFP_BASE_VENDOR_PN],
sys/dev/bhnd/nvram/bhnd_nvram_data_bcm.c
697
} else if (memcmp(&hval, &hvar->value, hval_len) != 0) {
sys/dev/bnxt/bnxt_re/main.c
2660
if (!memcmp(&sgid_tbl->tbl[index], &bnxt_qplib_gid_zero,
sys/dev/bnxt/bnxt_re/qplib_res.c
750
if (memcmp(&sgid_tbl->tbl[i], &bnxt_qplib_gid_zero,
sys/dev/bnxt/bnxt_re/qplib_sp.c
325
if (!memcmp(&sgid_tbl->tbl[index].gid, gid, sizeof(*gid)) &&
sys/dev/bnxt/bnxt_re/qplib_sp.c
388
if (!memcmp(&sgid_tbl->tbl[i], gid, sizeof(*gid)) &&
sys/dev/bnxt/bnxt_re/qplib_sp.c
395
} else if (!memcmp(&sgid_tbl->tbl[i], &bnxt_qplib_gid_zero,
sys/dev/bxe/bxe.c
11782
if (!memcmp(&cur_data, &sc->last_reported_link, sizeof(cur_data)) ||
sys/dev/bxe/ecore_sp.h
140
#define ECORE_MEMCMP(_a, _b, _s) memcmp(_a, _b, _s)
sys/dev/cxgb/common/cxgb_t3_hw.c
1109
if (memcmp(data - n, (u8 *)buf + offset, n))
sys/dev/cxgbe/common/t4_hw.c
3670
if (memcmp(vpd + i , kw , 2) == 0){
sys/dev/cxgbe/common/t4_hw.c
4013
if (memcmp(data - n, (u8 *)buf + offset, n)) {
sys/dev/cxgbe/crypto/t6_kern_tls.c
2001
memcmp(tlsp->l2te->dmac, eh->ether_dhost, ETHER_ADDR_LEN) != 0) {
sys/dev/cxgbe/iw_cxgbe/cm.c
1951
if (memcmp(mpa->key, MPA_KEY_REP, sizeof(mpa->key))) {
sys/dev/cxgbe/iw_cxgbe/cm.c
2260
if (memcmp(mpa->key, MPA_KEY_REQ, sizeof(mpa->key)))
sys/dev/cxgbe/t4_l2t.c
121
memcmp(e->dmac, dmac, ETHER_ADDR_LEN) == 0 &&
sys/dev/cxgbe/t4_l2t.c
232
memcmp(e->dmac, eth_addr, ETHER_ADDR_LEN) == 0) {
sys/dev/cxgbe/t4_sge.c
5891
return (memcmp(m->m_data, &txp->ethmacdst[0], len) != 0);
sys/dev/cxgbe/t4_smt.c
87
if (memcmp(e->smac, smac, ETHER_ADDR_LEN) == 0)
sys/dev/cxgbe/tom/t4_tom_l2t.c
117
return (memcmp(&e->addr[0], &sin6->sin6_addr, sizeof(e->addr)));
sys/dev/cxgbe/tom/t4_tom_l2t.c
217
memcmp(e->dmac, lladdr, ETHER_ADDR_LEN)) {
sys/dev/drm2/drm_edid.c
1389
if (!memcmp(cvt->code, empty, 3))
sys/dev/ena/ena.c
3606
if (memcmp(get_feat_ctx->dev_attr.mac_addr, adapter->mac_addr,
sys/dev/hdmi/dwc_hdmi.c
786
memcmp(&edid[p + 1], HDMI_OUI, HDMI_OUI_LEN) == 0)
sys/dev/hid/hms.c
155
if (len == sc->last_irsize && memcmp(buf, sc->last_ir, len) == 0 &&
sys/dev/hid/hms.c
267
memcmp(d_ptr, hms_boot_desc, sizeof(hms_boot_desc)) == 0);
sys/dev/hptmv/mv.c
87
return memcmp(cs, ct, len);
sys/dev/hyperv/hvsock/hv_sock.c
160
return !memcmp(&id->hv_guid[4],
sys/dev/hyperv/vmbus/vmbus.c
1135
if (memcmp(&chan->ch_guid_type, guid, sizeof(struct hyperv_guid)) == 0)
sys/dev/hyperv/vmbus/vmbus_chan.c
1714
if (memcmp(&prichan->ch_guid_type, &newchan->ch_guid_type,
sys/dev/hyperv/vmbus/vmbus_chan.c
1716
memcmp(&prichan->ch_guid_inst, &newchan->ch_guid_inst,
sys/dev/ice/ice_ddp_common.c
1268
!memcmp(hw->pkg_name, hw->active_pkg_name, sizeof(hw->pkg_name))) {
sys/dev/ice/ice_flex_pipe.c
1367
if (memcmp(&es->t[off], fv, es->fvw * sizeof(*fv)))
sys/dev/ice/ice_iov.c
792
if (memcmp(addr, vf->mac, ETHER_ADDR_LEN))
sys/dev/ice/ice_iov.c
833
if (memcmp(addr_list->list[i].addr, vf->mac, ETHER_ADDR_LEN))
sys/dev/ice/ice_lib.c
8052
if (!memcmp(lladdr, hw->port_info->mac.lan_addr, ETHER_ADDR_LEN))
sys/dev/ice/ice_lib.c
8686
if (!memcmp(old_cfg, new_cfg, sizeof(*old_cfg))) {
sys/dev/ice/ice_lib.c
8693
if (memcmp(&new_cfg->etscfg, &old_cfg->etscfg,
sys/dev/ice/ice_lib.c
8696
if (memcmp(&new_cfg->etscfg.prio_table,
sys/dev/ice/ice_lib.c
8704
if (memcmp(&new_cfg->etscfg.tcbwtable,
sys/dev/ice/ice_lib.c
8711
if (memcmp(&new_cfg->etscfg.tsatable,
sys/dev/ice/ice_lib.c
8720
if (memcmp(&new_cfg->pfc, &old_cfg->pfc, sizeof(new_cfg->pfc))) {
sys/dev/ice/ice_lib.c
8726
if (memcmp(&new_cfg->app, &old_cfg->app, sizeof(new_cfg->app)))
sys/dev/ice/ice_nvm.c
1025
if (memcmp("$CIV", &tmp, sizeof(tmp)) != 0)
sys/dev/ice/ice_sched.c
1735
if (memcmp(&buf, &node->info, sizeof(buf))) {
sys/dev/ice/ice_switch.c
1949
if (!memcmp(&f_info->l_data, &list_itr->fltr_info.l_data,
sys/dev/ice/ice_switch.c
3042
if (!memcmp(&f_info->l_data, &list_itr->fltr_info.l_data,
sys/dev/iicbus/iichid.c
551
memcmp(sc->dup_buf, sc->intr_buf, actual) != 0) {
sys/dev/ioat/ioat_test.c
154
if (memcmp(src, &dst[j],
sys/dev/ioat/ioat_test.c
160
if (memcmp(src, dst, tx->length) != 0)
sys/dev/irdma/fbsd_kcompat.c
339
if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) {
sys/dev/irdma/irdma_cm.c
1205
if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REQ,
sys/dev/irdma/irdma_cm.c
1212
if (memcmp(mpa_frame->key, IEFT_MPA_KEY_REP,
sys/dev/irdma/irdma_cm.c
1658
if (!memcmp(listen_addr, ip_zero, sizeof(listen_addr)) ||
sys/dev/irdma/irdma_cm.c
1659
(!memcmp(listen_addr, dst_addr, sizeof(listen_addr)) &&
sys/dev/irdma/irdma_cm.c
2084
!memcmp(cm_node->loc_addr, loc_addr, sizeof(cm_node->loc_addr)) &&
sys/dev/irdma/irdma_cm.c
2085
!memcmp(cm_node->rem_addr, rem_addr, sizeof(cm_node->rem_addr))) {
sys/dev/irdma/irdma_cm.c
2140
return !memcmp(loc_addr, rem_addr, 16) || ipv6_addr_loopback(&raddr6);
sys/dev/irdma/irdma_cm.c
4182
!memcmp(cm_node->loc_addr, ipaddr, nfo->ipv4 ? 4 : 16))) &&
sys/dev/irdma/irdma_cm.c
4194
!memcmp(ip1, ip2, ipv4 ? 4 : 16);
sys/dev/irdma/irdma_utils.c
224
if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip)) &&
sys/dev/irdma/irdma_utils.c
286
if (!memcmp(rf->arp_table[arp_index].ip_addr, ip_zero, sizeof(ip_zero))) {
sys/dev/irdma/irdma_verbs.c
2976
if (!memcmp(mc_qht_el->mc_info.dest_ip, ip_mcast,
sys/dev/iwx/if_iwx.c
3599
return (memcmp(reserved_mac, addr, ETHER_ADDR_LEN) != 0 &&
sys/dev/iwx/if_iwx.c
3600
memcmp(etherbroadcastaddr, addr, sizeof(etherbroadcastaddr)) != 0 &&
sys/dev/iwx/if_iwx.c
3601
memcmp(etheranyaddr, addr, sizeof(etheranyaddr)) != 0 &&
sys/dev/liquidio/base/lio_console.c
885
if (memcmp(LIO_BASE_VERSION, h->version,
sys/dev/mge/if_mge.c
2013
if (memcmp(mac, special, sizeof(special)) == 0) {
sys/dev/mlx4/mlx4_core/mlx4_mcg.c
740
if (!memcmp(mgm->gid, gid, 16) &&
sys/dev/mlx4/mlx4_core/mlx4_port.c
1349
if (!memcmp(gid_entry_mbox->raw, zgid_entry.raw,
sys/dev/mlx4/mlx4_core/mlx4_port.c
1354
if (!memcmp(gid_entry_mb1->raw,
sys/dev/mlx4/mlx4_core/mlx4_port.c
1357
if (!memcmp(gid_entry_mb1->raw, gid_entry_mbox->raw,
sys/dev/mlx4/mlx4_core/mlx4_port.c
1374
if (!memcmp(gid_entry_tbl->raw, zgid_entry.raw, sizeof(zgid_entry)))
sys/dev/mlx4/mlx4_core/mlx4_port.c
1378
if (!memcmp(gid_entry_mbox->raw, zgid_entry.raw,
sys/dev/mlx4/mlx4_core/mlx4_port.c
1381
if (!memcmp(gid_entry_mbox->raw, gid_entry_tbl->raw,
sys/dev/mlx4/mlx4_core/mlx4_port.c
1763
if (!memcmp(priv->port[port].gid_table.roce_gids[i].raw, gid,
sys/dev/mlx4/mlx4_core/mlx4_resource_tracker.c
3967
if (!memcmp(res->gid, gid, 16))
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
695
if (!memcmp(dst_tmp->addr, src_tmp->addr, ETH_ALEN)) {
sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
710
if (!memcmp(dst_tmp->addr, src_tmp->addr, ETH_ALEN)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1856
if (!memcmp(raw, ge->gid.raw, 16)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
1882
if (!memcmp(ib_steering->gid.raw, gid->raw, 16)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
283
if (!memcmp(&port_gid_table->gids[i].gid, gid, sizeof(*gid)) &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
288
if (free < 0 && !memcmp(&port_gid_table->gids[i].gid, &zgid, sizeof(*gid)))
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
420
if (!memcmp(&gid, &zgid, sizeof(gid)))
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
427
if (!memcmp(&port_gid_table->gids[i].gid, &gid, sizeof(gid)) &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
171
ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
195
ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
455
nzgroup = memcmp(&group->rec.mgid, &mgid0, sizeof mgid0);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
556
if (memcmp(&group->rec.mgid, &mgid0, sizeof mgid0)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
758
if (memcmp(new_mgid, &mgid0, sizeof mgid0)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
819
is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0);
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
1789
if (!status && !memcmp(&gid, &zgid, sizeof(gid)))
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2475
if (!memcmp(&sgid, &zgid, sizeof(sgid)))
sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
2602
if (!memcmp(sqp->ud_header.eth.smac_h, sqp->ud_header.eth.dmac_h, 6))
sys/dev/mlx5/fs.h
247
return outer_headers_c[0] == 0 && !memcmp(outer_headers_c,
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1774
if (memcmp(&g->mask, spec, sizeof_field(struct mlx5_flow_group,
sys/dev/mlx5/mlx5_core/mlx5_fs_core.c
1820
if (!memcmp(match_value, fte_tmp->val, sizeof_field(struct fs_fte, val)))
sys/dev/mlxfw/mlxfw_mfa2.c
118
return memcmp(fw->data, mlxfw_mfa2_fingerprint,
sys/dev/mlxfw/mlxfw_mfa2.c
389
if (memcmp(psid, tlv_psid->psid, psid_size) == 0)
sys/dev/mlxfw/mlxfw_mfa2.c
592
if (memcmp(comp_data->buff, mlxfw_mfa2_comp_magic,
sys/dev/mmc/mmc.c
1036
if (err == MMC_ERR_NONE && memcmp(buf, p8ok, 8) == 0)
sys/dev/mmc/mmc.c
1073
if (err == MMC_ERR_NONE && memcmp(buf, p4ok, 4) == 0)
sys/dev/mmc/mmc.c
1621
if (memcmp(ivar->raw_cid, raw_cid, sizeof(raw_cid)) ==
sys/dev/mpt/mpt_debug.c
750
if (memcmp(se, allfox, 4) == 0) {
sys/dev/mthca/mthca_mcg.c
106
if (!memcmp(mgm->gid, gid, 16))
sys/dev/mthca/mthca_mcg.c
143
if (!memcmp(mgm->gid, zero_gid, 16))
sys/dev/mthca/mthca_mcg.c
98
if (!memcmp(mgm->gid, zero_gid, 16)) {
sys/dev/mwl/mwlhal.c
95
(memcmp(_dst, _src, IEEE80211_ADDR_LEN) == 0)
sys/dev/neta/if_mvneta_fdt.c
250
if (memcmp(lmac, zeromac, ETHER_ADDR_LEN) == 0) {
sys/dev/nvmf/controller/nvmft_controller.c
238
if (memcmp(ctrlr->hostid, data->hostid, sizeof(ctrlr->hostid)) != 0) {
sys/dev/nvmf/controller/nvmft_controller.c
248
if (memcmp(ctrlr->hostnqn, data->hostnqn, sizeof(ctrlr->hostnqn)) != 0) {
sys/dev/nvmf/host/nvmf.c
263
if (memcmp(dle->subnqn, cdata->subnqn, sizeof(cdata->subnqn)) != 0)
sys/dev/nvmf/host/nvmf.c
803
if (memcmp(sc->cdata->subnqn, cdata->subnqn,
sys/dev/oce/oce_if.c
2244
if (memcmp(cookie, IOCTL_COOKIE, strlen(IOCTL_COOKIE)))
sys/dev/oce/oce_sysctl.c
406
if (!memcmp(cookie, fsec->cookie, sizeof(cookie)))
sys/dev/otus/if_otus.c
1559
memcmp(buf, AR_PLCP_HDR_INTR, AR_PLCP_HDR_LEN) == 0) {
sys/dev/pci/controller/pci_n1sdp.c
184
if (memcmp(hdr->OemId, "ARMLTD", ACPI_OEM_ID_SIZE) != 0 ||
sys/dev/pci/controller/pci_n1sdp.c
185
memcmp(hdr->OemTableId, "ARMN1SDP", ACPI_OEM_TABLE_ID_SIZE) != 0 ||
sys/dev/pci/pci.c
1434
if (memcmp(kw, cfg->vpd.vpd_ros[i].keyword,
sys/dev/pci/pci_host_generic_acpi.c
208
if (memcmp(hdr->OemId, pci_acpi_quirks[i].oem_id,
sys/dev/pci/pci_host_generic_acpi.c
211
if (memcmp(hdr->OemTableId, pci_acpi_quirks[i].oem_table_id,
sys/dev/pms/freebsd/driver/common/osstring.h
62
#define osti_memcmp(s1, s2, n) memcmp((void *)s1, (void *)s2, (size_t)n)
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
5393
memcmp( pWWNList[lDevIndex].targetName, pDevice->targetName,
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
5395
memcmp( pSLRList[pWWNList[lDevIndex].sasLrIdx].localeName,
sys/dev/pms/freebsd/driver/ini/src/agtiapi.c
5398
memcmp( pSLRList[pWWNList[lDevIndex].sasLrIdx].remoteName,
sys/dev/qlnx/qlnxe/bcm_osal.h
462
#define OSAL_MEMCMP memcmp
sys/dev/qlnx/qlnxe/qlnx_os.c
2469
if (memcmp(ha->ecore_mcast_bins, mcast.bins, sizeof(mcast.bins)) == 0)
sys/dev/qlnx/qlnxr/qlnxr_cm.c
642
if (memcmp(udh.eth.smac_h, udh.eth.dmac_h, ETH_ALEN))
sys/dev/qlnx/qlnxr/qlnxr_def.h
840
if (!memcmp(&ah_attr->grh.dgid, &zero_sgid, sizeof(union ib_gid))) {
sys/dev/qlnx/qlnxr/qlnxr_os.c
897
if (!memcmp(&dev->sgid_tbl[i], &zero_sgid,
sys/dev/qlnx/qlnxr/qlnxr_os.c
907
} else if (!memcmp(&dev->sgid_tbl[i], new_sgid,
sys/dev/qlnx/qlnxr/qlnxr_os.c
935
if (!memcmp(&dev->sgid_tbl[i], gid, sizeof(union ib_gid))) {
sys/dev/random/random_harvestq.c
381
if (memcmp(val, ht->ht_rct_value, sizeof(ht->ht_rct_value)) != 0) {
sys/dev/random/random_harvestq.c
412
if (memcmp(val, ht->ht_apt_value, sizeof(ht->ht_apt_value)) == 0) {
sys/dev/sfxge/common/ef10_filter.c
468
if (memcmp(left->efs_rem_mac, right->efs_rem_mac, EFX_MAC_ADDR_LEN))
sys/dev/sfxge/common/ef10_filter.c
470
if (memcmp(left->efs_loc_mac, right->efs_loc_mac, EFX_MAC_ADDR_LEN))
sys/dev/sfxge/common/ef10_filter.c
486
if (memcmp(left->efs_vni_or_vsid, right->efs_vni_or_vsid,
sys/dev/sfxge/common/ef10_filter.c
489
if (memcmp(left->efs_ifrm_loc_mac, right->efs_ifrm_loc_mac,
sys/dev/sfxge/common/ef10_image.c
219
if (memcmp(cursor->buffer + cursor->hdr_size, valp, val_size) != 0) {
sys/dev/sfxge/common/ef10_mac.c
1045
if (memcmp(&generation_start, &generation_end,
sys/dev/sfxge/common/efx_filter.c
1185
if (memcmp(left->sfs_dword, right->sfs_dword,
sys/dev/sfxge/common/siena_mac.c
470
if (memcmp(&generation_start, &generation_end,
sys/dev/sfxge/common/siena_nic.c
652
if (memcmp(®, &buf, sizeof (reg))) {
sys/dev/sfxge/common/siena_nic.c
667
if (memcmp(®, &buf, sizeof (reg))) {
sys/dev/sfxge/common/siena_nic.c
730
if (memcmp(®, &buf, sizeof (reg))) {
sys/dev/sfxge/common/siena_nvram.c
555
if (memcmp(version, temp, sizeof (temp)) < 0)
sys/dev/smartpqi/smartpqi_discovery.c
1187
memcmp(&inq_buff[OBDR_SIG_OFFSET], OBDR_TAPE_SIG,
sys/dev/smartpqi/smartpqi_discovery.c
1599
if(memcmp(addr1, addr2, 8) == 0) {
sys/dev/smartpqi/smartpqi_discovery.c
265
if(memcmp(addr1, addr2, 8) == 0) {
sys/dev/smartpqi/smartpqi_features.c
474
if (memcmp(conf_table->sign, PQI_CONF_TABLE_SIGNATURE,
sys/dev/smartpqi/smartpqi_helper.c
198
return memcmp(scsi3addr1, scsi3addr2, 8) == 0;
sys/dev/smartpqi/smartpqi_init.c
359
if (memcmp(&signature, PQISRC_PQI_DEVICE_SIGNATURE,
sys/dev/smbios/smbios.c
127
if (memcmp(eps3->anchor_string, SMBIOS3_SIG, SMBIOS3_LEN) != 0)
sys/dev/smbios/smbios.c
132
if (memcmp(eps->anchor_string, SMBIOS_SIG, SMBIOS_LEN) != 0)
sys/dev/smbios/smbios.c
335
return (memcmp(e->anchor_string, SMBIOS3_SIG, SMBIOS3_LEN) == 0);
sys/dev/sound/pci/hda/hdaa.c
3652
if (memcmp(&w1->param, &w2->param, sizeof(w1->param)))
sys/dev/sound/pci/hda/hdaa.c
3691
if (memcmp(&w1->param, &w2->param, sizeof(w1->param)))
sys/dev/sound/pci/hda/hdaa.c
3709
if (memcmp(&w3->param, &w4->param, sizeof(w3->param)))
sys/dev/usb/net/if_cdceem.c
382
if (memcmp(sc->sc_echo_buffer, CDCEEM_ECHO_PAYLOAD,
sys/dev/usb/net/if_umb.c
1313
if (memcmp(m->devid, umb_uuid_basic_connect, sizeof (m->devid))) {
sys/dev/usb/net/if_umb.c
1699
if (memcmp(ci->context, umb_uuid_context_internet,
sys/dev/usb/net/if_umb.c
2574
if (memcmp(cmd->devid, umb_uuid_basic_connect, sizeof (cmd->devid))) {
sys/dev/usb/net/if_umb.c
2575
if (memcmp(cmd->devid, umb_uuid_qmi_mbim,
sys/dev/usb/wlan/if_upgt.c
1357
(memcmp(data->buf, "OK", 2) == 0)) {
sys/dev/usb/wlan/if_upgt.c
1794
if (memcmp(UPGT_BRA_FWTYPE_LM86, bra_opt->data,
sys/dev/usb/wlan/if_upgt.c
1799
if (memcmp(UPGT_BRA_FWTYPE_LM87, bra_opt->data,
sys/dev/videomode/edid.c
104
memcmp(edid_products[n].vendor, vendor, 3) == 0)
sys/dev/videomode/edid.c
133
if (memcmp(d, sig, 8) != 0)
sys/dev/videomode/edid.c
90
if (memcmp(edid_vendors[n].vendor, vendor, 3) == 0)
sys/dev/virtio/network/if_vtnet.c
3762
if (memcmp(LLADDR(sdl), sc->vtnet_hwaddr, ETHER_ADDR_LEN) == 0)
sys/dev/vmgenc/vmgenc_acpi.c
108
if (memcmp(guid, sc->vmg_cache_guid, GUID_BYTES) == 0)
sys/dev/vnic/nicvf_main.c
233
if (memcmp(nic->hwaddr, zeromac, ETHER_ADDR_LEN) == 0) {
sys/dev/vnic/nicvf_main.c
579
if (memcmp(nic->hwaddr, if_addr, ETHER_ADDR_LEN) != 0) {
sys/dev/wg/if_wg.c
508
if (memcmp(e, &peer->p_endpoint, sizeof(*e)) == 0)
sys/dev/wg/wg_noise.c
1049
if (memcmp(timestamp, r->r_timestamp, NOISE_TIMESTAMP_LEN) > 0)
sys/dev/xen/netback/netback_unit_tests.c
1760
memcmp(&rxb_backup, &xnb_unit_pvt.rxb, sizeof(rxb_backup)) == 0);
sys/dev/xen/netback/netback_unit_tests.c
1762
memcmp(&rxs_backup, xnb_unit_pvt.rxs, sizeof(rxs_backup)) == 0);
sys/dev/xen/netback/netback_unit_tests.c
659
memcmp(&txb_backup, &xnb_unit_pvt.txb, sizeof(txb_backup)) == 0);
sys/dev/xen/netback/netback_unit_tests.c
661
memcmp(&txs_backup, xnb_unit_pvt.txs, sizeof(txs_backup)) == 0);
sys/fs/cd9660/cd9660_rrip.c
449
if ((len == 10 && memcmp(data, "RRIP_1991A", len) == 0) ||
sys/fs/cd9660/cd9660_rrip.c
450
(len == 10 && memcmp(data, "IEEE_P1282", len) == 0) ||
sys/fs/cd9660/cd9660_rrip.c
451
(len == 9 && memcmp(data, "IEEE_1282", len) == 0)) {
sys/fs/cd9660/cd9660_rrip.c
679
if (memcmp(p, "SP\7\1\276\357", 6) != 0) {
sys/fs/cd9660/cd9660_rrip.c
683
if (memcmp(p, "SP\7\1\276\357", 6) != 0)
sys/fs/ext2fs/ext2_csum.c
642
if (!memcmp(ei, &ei_zero, sizeof(struct ext2fs_dinode)))
sys/fs/ext2fs/ext2_extattr.c
876
if (memcmp(name, entry->e_name, name_len) <= 0)
sys/fs/tarfs/tarfs_io.c
662
if (memcmp(block, XZ_MAGIC, sizeof(XZ_MAGIC)) == 0) {
sys/fs/tarfs/tarfs_io.c
666
} else if (memcmp(block, ZLIB_MAGIC, sizeof(ZLIB_MAGIC)) == 0) {
sys/fs/tarfs/tarfs_io.c
670
} else if (memcmp(block, ZSTD_MAGIC, sizeof(ZSTD_MAGIC)) == 0) {
sys/fs/tarfs/tarfs_vfsops.c
469
if (memcmp(block, zero_region, TARFS_BLOCKSIZE) == 0) {
sys/fs/tarfs/tarfs_vfsops.c
486
if (memcmp(hdrp->magic, USTAR_MAGIC, sizeof(USTAR_MAGIC)) == 0 &&
sys/fs/tarfs/tarfs_vfsops.c
487
memcmp(hdrp->version, USTAR_VERSION, sizeof(USTAR_VERSION)) == 0) {
sys/fs/tarfs/tarfs_vfsops.c
489
} else if (memcmp(hdrp->magic, GNUTAR_MAGIC, sizeof(GNUTAR_MAGIC)) == 0 &&
sys/fs/tarfs/tarfs_vfsops.c
490
memcmp(hdrp->magic, GNUTAR_MAGIC, sizeof(GNUTAR_MAGIC)) == 0) {
sys/fs/tarfs/tarfs_vnops.c
265
memcmp(cnp->cn_nameptr, TARFS_ZIO_NAME, TARFS_ZIO_NAMELEN) == 0) {
sys/fs/tmpfs/tmpfs_vnops.c
1943
memcmp(ap->a_name, ea->ea_name, namelen) == 0)
sys/fs/tmpfs/tmpfs_vnops.c
1981
memcmp(ap->a_name, ea->ea_name, namelen) == 0)
sys/fs/tmpfs/tmpfs_vnops.c
2062
memcmp(ap->a_name, ea->ea_name, namelen) == 0) {
sys/geom/label/g_label_swaplinux.c
68
!memcmp(hdr->sw_signature, SWAP_SIGNATURE, SWAP_SIGNATURE_SZ))
sys/geom/multipath/g_multipath.c
310
(memcmp(md.md_uuid, sc->sc_uuid, sizeof(sc->sc_uuid)) != 0) ||
sys/geom/part/g_part_bsd64.c
169
#define EQUUID(a, b) (memcmp(a, b, sizeof(struct uuid)) == 0)
sys/geom/part/g_part_gpt.c
467
if (memcmp(buf->hdr_sig, GPT_HDR_SIG, sizeof(buf->hdr_sig)) != 0)
sys/geom/part/g_part_gpt.c
68
#define EQUUID(a,b) (memcmp(a, b, sizeof(struct uuid)) == 0)
sys/geom/part/g_part_gpt.c
912
res = memcmp(buf, GPT_HDR_SIG, 8);
sys/geom/part/g_part_gpt.c
924
res = memcmp(buf, GPT_HDR_SIG, 8);
sys/geom/part/g_part_ldm.c
1034
if (memcmp(p, LDM_VBLK_SIGN,
sys/geom/part/g_part_ldm.c
1233
if (memcmp(&part->ent_type,
sys/geom/part/g_part_ldm.c
1399
if (memcmp(&disk->guid, &db.ph.disk_guid,
sys/geom/part/g_part_ldm.c
392
if (memcmp(buf, LDM_PH_SIGN, strlen(LDM_PH_SIGN)) != 0) {
sys/geom/part/g_part_ldm.c
508
if (found != 0 && memcmp(&db->ph, &hdr, sizeof(hdr)) != 0) {
sys/geom/part/g_part_ldm.c
594
if (memcmp(buf, LDM_TH_SIGN, strlen(LDM_TH_SIGN)) != 0 ||
sys/geom/part/g_part_ldm.c
595
memcmp(buf + LDM_TH_NAME1_OFF, LDM_TH_NAME1,
sys/geom/part/g_part_ldm.c
597
memcmp(buf + LDM_TH_NAME2_OFF, LDM_TH_NAME2,
sys/geom/part/g_part_ldm.c
652
if (memcmp(buf, LDM_VMDB_SIGN, strlen(LDM_VMDB_SIGN)) != 0) {
sys/geom/part/g_part_ldm.c
685
memcmp(&dg_guid, &db->ph.dg_guid, sizeof(dg_guid)) != 0 ||
sys/geom/raid/md_ddf.c
1123
memcmp(hdr->DDF_Header_GUID, ahdr->DDF_Header_GUID, 24) ||
sys/geom/raid/md_ddf.c
1396
if (memcmp(pv->pv_meta.vde->VD_GUID, GUID, 24) == 0)
sys/geom/raid/md_ddf.c
1413
if (memcmp(meta->pdd->PD_GUID, GUID, 24) == 0)
sys/geom/raid/md_ddf.c
434
if (memcmp(meta->pdr->entry[i].PD_GUID, GUID, 24) == 0)
sys/geom/raid/md_ddf.c
459
if (memcmp(meta->vdr->entry[i].VD_GUID, GUID, 24) == 0)
sys/geom/raid/md_ddf.c
485
memcmp(vdc->VD_GUID, GUID, 24) == 0)
sys/geom/raid/md_ddf.c
507
if (GUID == NULL || memcmp(vdc->VD_GUID, GUID, 24) == 0)
sys/geom/raid/md_nvidia.c
889
if (memcmp(&mdi1->mdio_volume_id,
sys/geom/raid/md_sii.c
221
if (memcmp(&meta->timestamp, &pdmeta->timestamp, 6) != 0)
sys/geom/raid/md_sii.c
986
memcmp(&mdi1->mdio_timestamp,
sys/geom/uzip/g_uzip.c
344
return (*mm == val) && memcmp(mm, mm + 1, size - 1) == 0;
sys/kern/kern_sysctl.c
3021
if (memcmp(&oid[0], &next[0], len * sizeof(int)) != 0)
sys/kern/kern_uuid.c
451
return (memcmp(uuid1, uuid2, sizeof(struct uuid)));
sys/kern/tty.c
1641
if (memcmp(&tp->t_winsize, wsz, sizeof(*wsz)) == 0)
sys/kern/vfs_inotify.c
553
memcmp(prev->ev.name, evp->name, evp->len) == 0);
sys/kgssapi/gss_impl.c
112
if (memcmp(oid1->elements, oid2->elements, oid1->length))
sys/libkern/memcmp.c
42
(memcmp)(const void *s1, const void *s2, size_t n)
sys/libkern/memmem.c
56
if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
sys/net/debugnet.c
583
if (memcmp(ifr.ifr_addr.sa_data, eh->ether_dhost,
sys/net/debugnet_inet.c
326
if (memcmp(ar_sha(ah), enaddr, ifp->if_addrlen) == 0) {
sys/net/debugnet_inet.c
338
if (memcmp(ar_sha(ah), ifp->if_broadcastaddr, ifp->if_addrlen) == 0) {
sys/net/ieee8023ad_lacp.c
1419
if (memcmp(&a->lip_systemid, &b->lip_systemid,
sys/net/ieee8023ad_lacp.c
1424
if (memcmp(&a->lip_key, &b->lip_key, sizeof(a->lip_key)) != 0)
sys/net/ieee8023ad_lacp.c
2020
if (memcmp(&mdu->mdu_eh.ether_dhost,
sys/net/ieee8023ad_lacp.c
2053
if (memcmp(&mdu->mdu_info, &lp->lp_marker,
sys/net/ieee8023ad_lacp.c
291
if (memcmp(&du->ldu_eh.ether_dhost,
sys/net/ieee8023ad_lacp.c
932
return (memcmp(a, b, offsetof(struct lacp_peerinfo, lip_state)));
sys/net/ieee8023ad_lacp.c
939
return (memcmp(a, b, sizeof(*a)));
sys/net/ieee8023ad_lacp.c
947
return (memcmp(a, b, sizeof(*a)));
sys/net/if_bridge.c
1512
!memcmp(IF_LLADDR(sc->sc_ifp), sc->sc_defaddr.octet, ETHER_ADDR_LEN)) {
sys/net/if_bridge.c
2934
if (memcmp(eh->ether_dhost, bstp_etheraddr,
sys/net/if_bridge.c
3025
if (memcmp(IF_LLADDR(iface), eh->ether_dhost, ETHER_ADDR_LEN) == 0 || \
sys/net/if_bridge.c
3068
if (memcmp(IF_LLADDR(iface), eh->ether_shost, ETHER_ADDR_LEN) == 0 || \
sys/net/if_bridge.c
3377
memcmp(eh->ether_dhost, bstp_etheraddr, ETHER_ADDR_LEN) == 0)
sys/net/if_ethersubr.c
657
memcmp(IF_LLADDR(ifp), eh->ether_dhost, ETHER_ADDR_LEN) != 0)
sys/net/if_infiniband.c
510
if (memcmp(ibh->ib_hwaddr, ifp->if_broadcastaddr,
sys/net/if_lagg.c
1245
(memcmp(IF_LLADDR(ifp), IF_LLADDR(lp_ifp), ifp->if_addrlen) != 0 ||
sys/net/if_lagg.c
1246
memcmp(sc->sc_bcast_addr, lp_ifp->if_broadcastaddr, ifp->if_addrlen) != 0)) {
sys/net/if_lagg.c
1305
if (memcmp(IF_LLADDR(ifp), IF_LLADDR(lp->lp_ifp),
sys/net/if_ovpn.c
1942
if (memcmp(addr, &peer->vpn6, sizeof(*addr)) == 0)
sys/net/if_ovpn.c
329
return (memcmp(&a6->sin6_addr, &b6->sin6_addr,
sys/net/if_vlan.c
1821
if (memcmp(IF_LLADDR(p), IF_LLADDR(ifp), p->if_addrlen) != 0) {
sys/net/route/nhgrp.c
116
return !memcmp(a->nhg_nh_weights, b->nhg_nh_weights,
sys/net/route/nhop_ctl.c
155
if (memcmp(_one->nh, _two->nh, NHOP_END_CMP) != 0)
sys/net/route/nhop_ctl.c
158
if (memcmp(_one, _two, NH_PRIV_END_CMP) != 0)
sys/net/route/route_ctl.c
268
return (memcmp(&nh->gw_sa, gw, nh->gw_sa.sa_len) == 0);
sys/net80211/ieee80211_crypto_ccmp.c
793
if (memcmp(mic, a, ccmp_get_trailer_len(key)) != 0) {
sys/net80211/ieee80211_crypto_gcm.c
358
if (memcmp(tag, T, 16) != 0) {
sys/net80211/ieee80211_crypto_tkip.c
425
if (memcmp(mic, mic0, tkip.ic_miclen)) {
sys/net80211/ieee80211_ddb.c
958
if (memcmp(wk->wk_key, zerodata, keylen) != 0) {
sys/net80211/ieee80211_hostap.c
1144
if (memcmp(ni->ni_challenge, &challenge[2],
sys/net80211/ieee80211_input.c
407
if (memcmp(eh->ether_dhost, llc_hdr_mac, ETHER_ADDR_LEN) == 0)
sys/net80211/ieee80211_input.h
62
memcmp((_ssid) + 2, (_ni)->ni_essid, (_ssid)[1]) != 0)) { \
sys/net80211/ieee80211_input.h
75
memcmp((_ssid) + 2, (_ni)->ni_essid, (_ssid)[1]) != 0)) { \
sys/net80211/ieee80211_ioctl.c
1556
if (memcmp(look->essid, se->se_ssid+2, look->esslen))
sys/net80211/ieee80211_mesh.c
1906
if (memcmp(scan.meshid+2, ms->ms_id, ms->ms_idlen) != 0 ||
sys/net80211/ieee80211_mesh.c
3088
return memcmp(ms->ms_id, ie + 2, ms->ms_idlen);
sys/net80211/ieee80211_node.c
496
memcmp(ni->ni_essid, ssids[i].ssid, ni->ni_esslen) == 0)
sys/net80211/ieee80211_node.c
670
if (memcmp(vap->iv_des_ssid[i].ssid, scan->ssid + 2,
sys/net80211/ieee80211_scan_sta.c
979
return (ie[1] == len && memcmp(ie+2, val, len) == 0);
sys/net80211/ieee80211_var.h
624
#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0)
sys/netgraph/ng_tag.c
538
if (memcmp((void *)(tag + 1),
sys/netinet/if_ether.c
1224
if (memcmp(la->r_linkdata, linkhdr, linkhdrsize) != 0 ||
sys/netinet/in.c
1618
memcmp(nh->gw_sa.sa_data, l3addr->sa_data,
sys/netinet/in_fib_dxr.c
408
memcmp(&da->range_tbl[base], &da->range_tbl[cdp->cd_base],
sys/netinet/in_fib_dxr.c
511
memcmp(&da->range_tbl[base], &da->range_tbl[cdp->cd_base],
sys/netinet/in_fib_dxr.c
590
memcmp(&da->direct_tbl[index << dxr_x],
sys/netinet/in_pcb.c
424
memcmp(&grp->il_dependladdr,
sys/netinet/in_pcb.h
595
(memcmp((addr), &in6addr_any, sizeof(in6addr_any)) == 0 ? \
sys/netinet/ip_carp.c
434
memcmp(&in6, &last6, sizeof(in6)) > 0 &&
sys/netinet/ip_carp.c
435
memcmp(&in6, &cur6, sizeof(in6)) < 0) {
sys/netinet/ip_carp.c
759
return (memcmp(&in6, &ip6->ip6_src, sizeof(in6)) == 0);
sys/netinet/libalias/alias_smedia.c
489
memcmp(data, setup, strlen(setup)) == 0) {
sys/netinet/libalias/alias_smedia.c
495
memcmp(data, pna, strlen(pna)) == 0)
sys/netinet/libalias/alias_smedia.c
507
if (memcmp(&data[i], str200, strlen(str200)) == 0) {
sys/netinet/libalias/alias_smedia.c
518
if (memcmp(&data[i], okstr, strlen(okstr)) == 0)
sys/netinet/sctp_asconf.c
2968
if (memcmp(&sin6->sin6_addr, a6p->addr,
sys/netinet/sctp_asconf.c
854
(memcmp(&aa->ap.addrp.addr, &sin6->sin6_addr,
sys/netinet/sctp_asconf.c
867
(memcmp(&aa->ap.addrp.addr, &sin->sin_addr,
sys/netinet/sctp_asconf.c
903
(memcmp(&v6addr->addr, &sin6->sin6_addr,
sys/netinet/sctp_asconf.c
919
(memcmp(&v4addr->addr, &sin->sin_addr,
sys/netinet/sctp_input.c
3112
if (memcmp(mtod(tp1->data, caddr_t)+SCTP_DATA_CHUNK_OVERHEAD(stcb),
sys/netinet/tcp_fastopen.c
586
if (memcmp(wire_cookie, &psk_cookie,
sys/netinet/tcp_fastopen.c
595
} else if (memcmp(wire_cookie, cur_cookie, TCP_FASTOPEN_COOKIE_LEN) == 0)
sys/netinet/tcp_hostcache.c
319
if (memcmp(&inc->inc6_faddr, &hc_entry->ip6,
sys/netinet/tcp_hostcache.c
323
if (memcmp(&inc->inc_faddr, &hc_entry->ip4,
sys/netinet6/in6.h
228
(memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
sys/netinet6/in6_ifattach.c
227
if (memcmp(addr, allzero, *len) == 0 || memcmp(addr, allone, *len) == 0)
sys/netinet6/in6_ifattach.c
318
if (memcmp(iid, allzero, 8) == 0)
sys/netinet6/in6_ifattach.c
326
if (memcmp(iid, reserved_eth, 5) == 0)
sys/netinet6/in6_ifattach.c
330
if (memcmp(iid, reserved_anycast, 7) == 0 && iid[7] >= 0x80)
sys/netinet6/in6_var.h
618
return (memcmp(&a->im6s_addr, &b->im6s_addr, sizeof(struct in6_addr)));
sys/netinet6/nd6_nbr.c
1237
memcmp(&n->nd_opt_nonce[0], &dp->dad_nonce[0],
sys/netipsec/key.c
6090
if (memcmp(&((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr,
sys/netipsec/key.c
6147
if (memcmp(&((struct sockaddr_in6 *)sa)->sin6_addr.s6_addr,
sys/netpfil/ipfilter/netinet/fil.c
4341
(memcmp(&fr1->_a.fd_addr, &fr2->_a.fd_addr, \
sys/netpfil/ipfilter/netinet/ip_compat.h
33
# define bcmp memcmp
sys/netpfil/ipfw/ip_fw2.c
1342
return (0 == memcmp(&TARG_VAL(ch, tablearg, nh6),
sys/netpfil/ipfw/ip_fw_dynamic.c
831
ret = memcmp(&id->src_ip6, &id->dst_ip6, sizeof(struct in6_addr));
sys/netpfil/ipfw/ip_fw_table_algo.c
1094
if (memcmp(&ent->a.a6, &addr6, 16) == 0) {
sys/netpfil/ipfw/ip_fw_table_algo.c
1507
if (memcmp(&tmp->a.a6, &ent.a.a6, 16) != 0)
sys/netpfil/ipfw/ip_fw_table_algo.c
1599
if (memcmp(&tmp->a.a6, &ent->a.a6, 16) == 0) {
sys/netpfil/ipfw/ip_fw_table_algo.c
1681
if (memcmp(&tmp->a.a6, &ent->a.a6, 16) != 0)
sys/netpfil/ipfw/ip_fw_table_algo.c
3148
if (*ka == *kb && (memcmp(a + 1, b + 1, sz) == 0))
sys/netpfil/ipfw/ip_fw_table_value.c
101
return (memcmp(((struct table_val_link *)no)->pval, key, 56));
sys/netpfil/ipfw/nat64/nat64clat.c
126
if (memcmp(&ip6->ip6_dst, &cfg->base.clat_prefix,
sys/netpfil/ipfw/nat64/nat64clat.c
130
if (memcmp(&ip6->ip6_src, &cfg->base.plat_prefix,
sys/netpfil/ipfw/nat64/nat64lsn.c
1748
memcmp(&args->f_id.dst_ip6, &i->cfg->base.plat_prefix,
sys/netpfil/ipfw/nat64/nat64stl.c
132
if (memcmp(&ip6->ip6_dst, &cfg->base.plat_prefix,
sys/netpfil/pf/pf.c
8470
if (memcmp(&t, &pd->src->v6, sizeof(t)) == 0)
sys/netpfil/pf/pf.c
8472
if (memcmp(&t, &in6addr_any, sizeof(t)) == 0)
sys/netpfil/pf/pf.h
418
memcmp((a)->fp_class_nm, (b)->fp_class_nm, PF_OSFP_LEN) == 0 && \
sys/netpfil/pf/pf.h
419
memcmp((a)->fp_version_nm, (b)->fp_version_nm, PF_OSFP_LEN) == 0 && \
sys/netpfil/pf/pf.h
420
memcmp((a)->fp_subtype_nm, (b)->fp_subtype_nm, PF_OSFP_LEN) == 0)
sys/netpfil/pf/pf_ioctl.c
1524
return (memcmp(a->md5sum, b->md5sum, PF_MD5_DIGEST_LENGTH));
sys/netpfil/pf/pf_ioctl.c
926
if (memcmp(&cur->src, &prev->src, sizeof(cur->src)) != 0)
sys/netpfil/pf/pf_ioctl.c
928
if (memcmp(&cur->dst, &prev->dst, sizeof(cur->dst)) != 0)
sys/netpfil/pf/pf_nv.c
1028
if (memcmp(krule->addr, EMPTY_MAC, ETHER_ADDR_LEN) != 0)
sys/netpfil/pf/pflow.c
985
return (memcmp(st->key[PF_SK_WIRE], st->key[PF_SK_STACK],
sys/nlm/nlm_prot_impl.c
2321
&& !memcmp(argp->alock.fh.n_bytes, nw->nw_lock.fh.n_bytes,
sys/nlm/nlm_prot_impl.c
926
return !memcmp(&a4->sin_addr, &b4->sin_addr,
sys/nlm/nlm_prot_impl.c
932
return !memcmp(&a6->sin6_addr, &b6->sin6_addr,
sys/ofed/drivers/infiniband/core/ib_addr.c
338
if (memcmp(&src_in->sin_addr, &dst_in->sin_addr,
sys/ofed/drivers/infiniband/core/ib_addr.c
536
if (memcmp(&src_in->sin6_addr, &dst_in->sin6_addr,
sys/ofed/drivers/infiniband/core/ib_cache.c
278
if (!memcmp(&data->gid, &zgid, sizeof(*gid)) &&
sys/ofed/drivers/infiniband/core/ib_cache.c
279
!memcmp(attr, &zattr, sizeof(*attr)) &&
sys/ofed/drivers/infiniband/core/ib_cache.c
291
memcmp(gid, &data->gid, sizeof(*gid)))
sys/ofed/drivers/infiniband/core/ib_cache.c
343
if (!memcmp(gid, &zgid, sizeof(*gid)))
sys/ofed/drivers/infiniband/core/ib_cache.c
594
if (memcmp(gid, &table->data_vec[i].gid, sizeof(*gid)))
sys/ofed/drivers/infiniband/core/ib_cache.c
659
if (memcmp(&table->data_vec[i].gid, &zgid,
sys/ofed/drivers/infiniband/core/ib_cache.c
726
!memcmp(&gid, ¤t_gid, sizeof(gid)) &&
sys/ofed/drivers/infiniband/core/ib_cache.c
727
!memcmp(&gid_attr, ¤t_gid_attr, sizeof(gid_attr)))
sys/ofed/drivers/infiniband/core/ib_cache.c
730
if (memcmp(¤t_gid, &zgid, sizeof(current_gid)) ||
sys/ofed/drivers/infiniband/core/ib_cache.c
731
memcmp(¤t_gid_attr, &zattr_type,
sys/ofed/drivers/infiniband/core/ib_cm.c
787
cmp = memcmp(port_gid, &cur_cm_id_priv->av.dgid,
sys/ofed/drivers/infiniband/core/ib_cma.c
1474
if (memcmp(&src_tmp.sin6_addr, &dst_tmp.sin6_addr,
sys/ofed/drivers/infiniband/core/ib_cma.c
1602
memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr)))
sys/ofed/drivers/infiniband/core/ib_cma.c
1644
memcmp(&hdr->dst_addr.ip6, &ip6_addr, sizeof(ip6_addr)))
sys/ofed/drivers/infiniband/core/ib_cma.c
4440
if (!memcmp(&mc->addr, addr, rdma_addr_size(addr))) {
sys/ofed/drivers/infiniband/core/ib_cma.c
726
if (!memcmp(&gid, dgid, sizeof(gid))) {
sys/ofed/drivers/infiniband/core/ib_device.c
898
if (!memcmp(&tmp_gid, gid, sizeof *gid)) {
sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
133
!memcmp(page_list, fmr->page_list,
sys/ofed/drivers/infiniband/core/ib_iwpm_util.c
55
if (!memcmp(&a4_sockaddr->sin_addr,
sys/ofed/drivers/infiniband/core/ib_iwpm_util.c
65
if (!memcmp(&a6_sockaddr->sin6_addr,
sys/ofed/drivers/infiniband/core/ib_mad.c
1415
if (!memcmp(vendor_class->oui[i], oui, 3))
sys/ofed/drivers/infiniband/core/ib_mad.c
1539
if (!memcmp((*vendor_table)->vendor_class[vclass]->oui[i],
sys/ofed/drivers/infiniband/core/ib_mad.c
173
if (!memcmp(vendor_class->oui[i], mad_reg_req->oui, 3)) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1882
return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw,
sys/ofed/drivers/infiniband/core/ib_mad.c
1890
return !memcmp(attr.grh.dgid.raw, rwc->recv_buf.grh->sgid.raw,
sys/ofed/drivers/infiniband/core/ib_multicast.c
143
ret = memcmp(mgid->raw, group->rec.mgid.raw, sizeof *mgid);
sys/ofed/drivers/infiniband/core/ib_multicast.c
168
ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw,
sys/ofed/drivers/infiniband/core/ib_multicast.c
294
memcmp(&src->port_gid, &dst->port_gid, sizeof src->port_gid))
sys/ofed/drivers/infiniband/core/ib_multicast.c
534
mgids_changed = memcmp(&rec->mgid, &group->rec.mgid,
sys/ofed/drivers/infiniband/core/ib_multicast.c
539
is_mgid0 = !memcmp(&mgid0, &group->rec.mgid,
sys/ofed/drivers/infiniband/core/ib_multicast.c
567
is_mgid0 = !memcmp(&mgid0, mgid, sizeof mgid0);
sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
289
if (memcmp(&gid, &zgid, sizeof(zgid)) == 0)
sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
299
memcmp(&entry->ipx_addr, &ipx, sizeof(ipx)) == 0)
sys/ofed/drivers/infiniband/core/ib_user_mad.c
413
return !memcmp(hdr1->gid, hdr2->gid, 16);
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2509
!memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
sys/ofed/drivers/infiniband/core/ib_uverbs_cmd.c
2559
!memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1133
if (memcmp(ifa->ifa_addr, addr, addr->sa_len) == 0)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
1170
(!gid || !memcmp(gid, &priv->local_gid, sizeof(*gid)))) {
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
346
ret = memcmp(gid, path->pathrec.dgid.raw,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
372
ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
441
if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
111
ret = memcmp(mgid, mcast->mcmember.mgid.raw,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
136
ret = memcmp(mcast->mcmember.mgid.raw, tmcast->mcmember.mgid.raw,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
165
if (!memcmp(mcast->mcmember.mgid.raw, if_getbroadcastaddr(dev) + 4,
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
724
if (memcmp(addr, broadcast, 6))
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
727
if (memcmp(addr + 7, broadcast + 7, 3))
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_multicast.c
897
if (memcmp(iter->mgid.raw, mcast->mcmember.mgid.raw,
sys/ofed/include/rdma/ib.h
86
return memcmp(a1, a2, sizeof(struct ib_addr));
sys/rpc/auth_unix.c
157
if (!memcmp(&xcr, &au->au_xcred, sizeof(xcr))) {
sys/rpc/auth_unix.c
214
if (!memcmp(&xcr, &tau->au_xcred, sizeof(xcr))) {
sys/rpc/rpcsec_tls/auth_tls.c
147
(opaque->oa_length != strsiz || memcmp(opaque->oa_base,
sys/security/mac_veriexec/veriexec_fingerprint.c
198
return memcmp(ip->fingerprint, digest, ip->ops->digest_len);
sys/security/mac_veriexec_parser/mac_veriexec_parser.c
230
return (memcmp(expected_hash, hash, SHA256_DIGEST_LENGTH));
sys/sys/systm.h
258
int memcmp(const void *b1, const void *b2, size_t len);
sys/sys/systm.h
266
int SAN_INTERCEPTOR(memcmp)(const void *, const void *, size_t);
sys/sys/systm.h
270
#define bcmp(b1, b2, len) SAN_INTERCEPTOR(memcmp)((b1), (b2), (len))
sys/sys/systm.h
274
#define memcmp(b1, b2, len) SAN_INTERCEPTOR(memcmp)((b1), (b2), (len))
sys/ufs/ffs/ffs_vnops.c
1322
|| memcmp(eap->ea_name, name, nlen) != 0)
sys/x86/xen/pv.c
224
if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) ||
tests/sys/aio/aio_test.c
1231
ATF_REQUIRE(memcmp(buffer[0], buffer[1], buffer_size) == 0);
tests/sys/aio/aio_test.c
1390
ATF_REQUIRE(memcmp(buffer[0], buffer[1], buffer_size) == 0);
tests/sys/aio/lio_test.c
283
ATF_CHECK_EQ(0, memcmp(buffer, "a2cd65", 6));
tests/sys/aio/lio_test.c
285
ATF_CHECK_EQ(0, memcmp(buffer, "a2dc56", 6));
tests/sys/capsicum/linux.cc
1409
EXPECT_NE(0, memcmp(buffer, buffer2, sizeof(buffer)));
tests/sys/cddl/zfs/bin/file_trunc.c
204
if (memcmp(buf, rbuf, bsize) != 0) {
tests/sys/file/fspacectl_test.c
120
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/file/fspacectl_test.c
141
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/file/fspacectl_test.c
160
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/fs/fusefs/cache.cc
173
ASSERT_EQ(0, memcmp(buf, CONTENTS, osize));
tests/sys/fs/fusefs/cache.cc
193
ASSERT_EQ(0, memcmp(buf, CONTENTS, nsize));
tests/sys/fs/fusefs/copy_file_range.cc
246
EXPECT_EQ(0, memcmp(buf0, buf, m_maxbcachebuf));
tests/sys/fs/fusefs/copy_file_range.cc
259
EXPECT_EQ(0, memcmp(buf1, buf, m_maxbcachebuf));
tests/sys/fs/fusefs/fallocate.cc
49
return buf[0] == 0 && !memcmp(buf, buf + 1, size - 1);
tests/sys/fs/fusefs/fallocate.cc
528
ASSERT_EQ(0, memcmp(buf, CONTENTS, fsize));
tests/sys/fs/fusefs/fallocate.cc
540
ASSERT_EQ(0, memcmp(buf, zbuf, fsize));
tests/sys/fs/fusefs/ioctl.cc
133
EXPECT_EQ(0, memcmp(buf, OUTPUT_DATA, sizeof(OUTPUT_DATA)));
tests/sys/fs/fusefs/ioctl.cc
190
EXPECT_EQ(0, memcmp(buf, OUTPUT_DATA, sizeof(OUTPUT_DATA)));
tests/sys/fs/fusefs/notify.cc
370
EXPECT_EQ(0, memcmp(buf, CONTENTS0, size0));
tests/sys/fs/fusefs/notify.cc
390
EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1));
tests/sys/fs/fusefs/notify.cc
470
EXPECT_EQ(0, memcmp(buf, CONTENTS1, size1));
tests/sys/fs/fusefs/read.cc
1036
ASSERT_EQ(0, memcmp(p, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1075
ASSERT_EQ(0, memcmp(rbuf, frag0, fragsize));
tests/sys/fs/fusefs/read.cc
1076
ASSERT_EQ(0, memcmp(rbuf + fragsize, frag1, fragsize));
tests/sys/fs/fusefs/read.cc
1077
ASSERT_EQ(0, memcmp(rbuf + 2 * fragsize, frag2, fragsize));
tests/sys/fs/fusefs/read.cc
1078
ASSERT_EQ(0, memcmp(rbuf + 3 * fragsize, frag3, fragsize));
tests/sys/fs/fusefs/read.cc
1254
ASSERT_EQ(0, memcmp(p, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1362
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1369
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1397
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1419
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1442
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1476
ASSERT_EQ(0, memcmp(buf, CONTENTS0, bufsize));
tests/sys/fs/fusefs/read.cc
1480
ASSERT_EQ(0, memcmp(buf, contents1, bufsize));
tests/sys/fs/fusefs/read.cc
1523
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
1600
ASSERT_EQ(0, memcmp(rbuf, contents, bufsize));
tests/sys/fs/fusefs/read.cc
203
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
445
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
536
ASSERT_EQ(0, memcmp(buf, CONTENTS, size1));
tests/sys/fs/fusefs/read.cc
541
ASSERT_EQ(0, memcmp(buf, CONTENTS, size2));
tests/sys/fs/fusefs/read.cc
795
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
801
ASSERT_EQ(0, memcmp(buf, CONTENTS, bufsize));
tests/sys/fs/fusefs/read.cc
830
ASSERT_EQ(0, memcmp(buf, CONTENTS, halfbufsize));
tests/sys/fs/fusefs/setattr.cc
553
r = memcmp(expected, r1buf, r1_size);
tests/sys/fs/fusefs/write.cc
1336
EXPECT_EQ(0, memcmp(zeros, readbuf, bs / 2));
tests/sys/fs/fusefs/write.cc
1339
EXPECT_EQ(0, memcmp(zeros, readbuf, bs / 2));
tests/sys/fs/fusefs/write.cc
1342
EXPECT_EQ(0, memcmp(ones, readbuf, bs / 2));
tests/sys/fs/fusefs/write.cc
1345
EXPECT_EQ(0, memcmp(ones, readbuf, bs / 2));
tests/sys/fs/fusefs/write.cc
1393
EXPECT_EQ(0, memcmp(CONTENTS0, readbuf, old_filesize));
tests/sys/fs/fusefs/write.cc
1395
EXPECT_EQ(0, memcmp(hole, readbuf + old_filesize, holesize));
tests/sys/fs/fusefs/xattr.cc
422
ASSERT_EQ(0, memcmp(expected, buf, sizeof(buf)));
tests/sys/fs/fusefs/xattr.cc
680
ASSERT_EQ(0, memcmp(expected, data, sizeof(expected)));
tests/sys/fs/fusefs/xattr.cc
712
ASSERT_EQ(0, memcmp(expected, data, sizeof(expected)));
tests/sys/geom/class/eli/unaligned_io.c
110
if (memcmp(buf1, buf2 + i, iosz) != 0)
tests/sys/geom/class/eli/unaligned_io.c
126
if (memcmp(buf1 + i, buf2, iosz) != 0)
tests/sys/kern/copy_file_range.c
77
res = memcmp(addr1, addr2, sz);
tests/sys/kern/inotify_test.c
466
ATF_REQUIRE(memcmp(buf, "test", 4) == 0);
tests/sys/kern/ktls_test.c
1288
ATF_REQUIRE(memcmp(plaintext, decrypted, len) == 0);
tests/sys/kern/ktls_test.c
1375
ATF_REQUIRE(memcmp(plaintext, decrypted, len) == 0);
tests/sys/kern/ktls_test.c
1580
ATF_REQUIRE(memcmp(plaintext, received, len) == 0);
tests/sys/kern/ktls_test.c
415
if (memcmp(digest, digest2, digest_len) != 0) {
tests/sys/kern/pipe/pipe_reverse_test.c
129
if (memcmp(buffer, buffer2, total) != 0) {
tests/sys/kern/pipe/pipe_wraparound_test.c
121
if (memcmp(buffer, buffer2, total) != 0) {
tests/sys/kern/socket_accept.c
105
ATF_REQUIRE(memcmp(&ret, &sin, sizeof(sin)) == 0);
tests/sys/kern/socket_accept.c
83
ATF_REQUIRE(memcmp(&ret, &canary, sizeof(ret)) == 0);
tests/sys/kern/ssl_sendfile.c
309
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
338
ATF_REQUIRE(memcmp((char *)c.mfd + offset + nread, buf,
tests/sys/kern/ssl_sendfile.c
374
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
416
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
423
ATF_REQUIRE(memcmp((char *)map + nread, buf, n) == 0);
tests/sys/kern/ssl_sendfile.c
488
ATF_REQUIRE(memcmp((char *)c.mfd + nread, buf, n) == 0);
tests/sys/kern/sys_getrandom.c
105
ATF_REQUIRE_EQ(memcmp(&buf[1], reference, sizeof(reference) - 1), 0);
tests/sys/kern/sys_getrandom.c
109
ATF_REQUIRE_EQ(memcmp(&buf[15], reference, sizeof(reference) - 15), 0);
tests/sys/kern/sys_getrandom.c
113
ATF_REQUIRE_EQ(memcmp(&buf[255], reference, sizeof(reference) - 255), 0);
tests/sys/kern/sys_getrandom.c
117
ATF_REQUIRE_EQ(memcmp(&buf[4095], reference, sizeof(reference) - 4095), 0);
tests/sys/kern/sysctl_kern_proc.c
117
if (memcmp(&kfile, &pkfile, sizeof(kfile)) != 0)
tests/sys/kern/tty/test_sti.c
178
if (memcmp(readbuf, sending, readsz) != 0)
tests/sys/kern/tty/test_sti.c
218
if (memcmp(readbuf, sending, readsz - 1) != 0)
tests/sys/kern/unix_seqpacket_test.c
1043
ATF_CHECK_EQ_MSG(0, memcmp(sndbuf, recv_buf, pktsize),
tests/sys/kern/unix_seqpacket_test.c
1300
ATF_REQUIRE_MSG(0 == memcmp(params.sendbuf + off, recvbuf, len),
tests/sys/kern/unix_seqpacket_test.c
293
ATF_CHECK_EQ_MSG(0, memcmp(comparebuf, rcvbuf,
tests/sys/kern/unix_seqpacket_test.c
351
d = memcmp(comparebuf, rcvbuf, td->pktsize);
tests/sys/net/bpf/pcap-test.c
223
if (memcmp(p1->data, p2->data, p1->caplen) != 0) {
tests/sys/net/routing/rtsock_common.h
473
if ((al->sdl_alen != bl->sdl_alen) || (memcmp(LLADDR(al), LLADDR(bl), al->sdl_alen) != 0)) {
tests/sys/net/routing/rtsock_common.h
488
(memcmp(al->sdl_data, bl->sdl_data, al->sdl_nlen) != 0))) {
tests/sys/net/routing/rtsock_common.h
504
if (memcmp(a, b, a->sa_len)) {
tests/sys/netinet/broadcast.c
67
ATF_REQUIRE_MSG(memcmp(buf, rbuf, sizeof(buf)) == 0,
tests/sys/netinet/raw.c
208
ss == sizeof(buf) && memcmp(buf + sizeof(struct ip),
tests/sys/netinet/raw.c
291
memcmp(buf + sizeof(struct ip),
tests/sys/netinet/raw.c
297
ss == sizeof(buf) && memcmp(buf + sizeof(struct ip),
tests/sys/netlink/netlink_socket.c
345
ATF_REQUIRE(memcmp(&msg.dst, (char *)nla + sizeof(struct nlattr),
tests/sys/netlink/netlink_socket.c
356
ATF_REQUIRE(memcmp(&msg.dst, (char *)nla + sizeof(struct nlattr),
tests/sys/netlink/test_snl.c
130
ATF_CHECK(!memcmp(hdr, e.orig_hdr, sizeof(struct nlmsghdr)));
tests/sys/netlink/test_snl.c
169
ATF_CHECK(!memcmp(hdr, e.orig_hdr, hdr->nlmsg_len));
tests/sys/netlink/test_snl.c
90
ATF_CHECK(!memcmp(hdr, e.orig_hdr, sizeof(struct nlmsghdr)));
tests/sys/netmap/ctrl-api-test.c
1867
if (memcmp(&orig_hdr, hdr, sizeof(*hdr))) {
tests/sys/netmap/ctrl-api-test.c
1917
if (memcmp(&orig_reg, reg, sizeof(*reg))) {
tests/sys/opencrypto/blake2_test.c
143
memcmp(hash, blake2b_keyed_kat[i], sizeof(hash)),
tests/sys/opencrypto/blake2_test.c
164
memcmp(hash, blake2s_keyed_kat[i], sizeof(hash)),
tests/sys/opencrypto/poly1305_test.c
371
ATF_CHECK_EQ_MSG(memcmp(comptag, exptag, sizeof(exptag)), 0,
tests/sys/posixshm/posixshm_test.c
1286
ATF_REQUIRE_MSG(memcmp(addr + p * ps[0], zeroes,
tests/sys/posixshm/posixshm_test.c
243
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/posixshm/posixshm_test.c
264
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/posixshm/posixshm_test.c
283
if (memcmp(buf, sblk, blen) != 0) {
tests/sys/ses/nondestructive.c
626
ATF_CHECK_EQ(0, memcmp(sg_ses_buf, ses_buf, str_in.bufsiz));
tests/sys/sound/pcm_read_write.c
189
ATF_CHECK_MSG(memcmp(dst, expected, sizeof(dst)) == 0,
tests/sys/sound/pcm_read_write.c
211
ATF_CHECK_MSG(memcmp(dst, expected, sizeof(dst)) == 0,
tests/sys/sound/pcm_read_write.c
223
ATF_CHECK_MSG(memcmp(dst, expected, sizeof(dst)) == 0,
tests/sys/vm/mmap_test.c
223
ATF_REQUIRE(memcmp(p1, p2, pagesize) == 0);
tests/sys/vm/mmap_test.c
262
ATF_REQUIRE(memcmp(p1, p2, pagesize) == 0);
tools/regression/fsx/fsx.c
362
if (memcmp(good_buf + offset, temp_buf, size) != 0) {
tools/regression/include/stdatomic/logic.c
105
assert(memcmp(&list, &cmp, sizeof(list)) == 0); \
tools/regression/net80211/ccmp/test_ccmp.c
651
} else if (memcmp(mtod(m, const void *), t->encrypted, t->encrypted_len)) {
tools/regression/net80211/ccmp/test_ccmp.c
679
} else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/tkip/test_tkip.c
240
if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/tkip/test_tkip.c
257
if (memcmp(ctx->tx_ttak, t->phase1, t->phase1_len)) {
tools/regression/net80211/tkip/test_tkip.c
262
} else if (memcmp(ctx->tx_rc4key, t->phase2, t->phase2_len)) {
tools/regression/net80211/tkip/test_tkip.c
272
} else if (memcmp(mtod(m, const void *), t->encrypted, m->m_pkthdr.len)) {
tools/regression/net80211/tkip/test_tkip.c
288
if (memcmp(ctx->rx_ttak, t->phase1, t->phase1_len)) {
tools/regression/net80211/tkip/test_tkip.c
292
} else if (memcmp(ctx->rx_rc4key, t->phase2, t->phase2_len)) {
tools/regression/net80211/tkip/test_tkip.c
312
if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/wep/test_wep.c
242
} else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) {
tools/regression/net80211/wep/test_wep.c
268
} else if (memcmp(mtod(m, const void *), t->encrypted, m->m_pkthdr.len)) {
tools/regression/netinet/msocket/msocket.c
157
if (memcmp(&ia, &defaultv, sizeof(struct in_addr)))
tools/regression/netinet/msocket/msocket.c
183
if (memcmp(&ia, &modifiedv, sizeof(struct in_addr)))
tools/regression/netinet6/icmp6_filter/icmp6_filter.c
105
if (memcmp(&ic6f, &ic6f_blockall, sizeof(ic6f)) != 0)
tools/regression/netinet6/icmp6_filter/icmp6_filter.c
122
if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)
tools/regression/netinet6/icmp6_filter/icmp6_filter.c
71
if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)
tools/regression/netinet6/icmp6_filter/icmp6_filter.c
88
if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)
tools/regression/rpcsec_gss/rpctest.c
271
|| memcmp(rcred->client_principal->name, server_acl->name,
tools/regression/sockets/sendfile/sendfile.c
178
memcmp(th.th_md5, rxmd5, 33) != 0)
tools/regression/sockets/udp_pingpong/udp_pingpong.c
459
memcmp(recv_buf.data, PDATA(tcp, recv_buf.pnum), PKT_SIZE) != 0) {
tools/regression/sockets/unix_cmsg/uc_common.c
343
if (memcmp(uc_cfg.ipc_msg.buf_recv, uc_cfg.ipc_msg.buf_send, size) != 0) {
tools/regression/sockets/unix_cmsg/uc_common.c
605
if (memcmp(gid_arr, uc_cfg.proc_cred.gid_arr,
tools/test/xregs_sig/xregs_sig.c
188
if (memcmp(xregs, xregs_cpu, sz) != 0) {
tools/test/xregs_sig/xregs_sig.c
198
if (memcmp(zero_xregs, xregs_cpu, sz) != 0) {
tools/tools/bhyve/fwctl_fetch.c
37
if (memcmp(buf, "BHYV", 4) != 0)
tools/tools/crypto/cryptocheck.c
1006
if (size > 0 && memcmp(cleartext + aad_len, ciphertext + aad_len,
tools/tools/crypto/cryptocheck.c
1033
if (memcmp(ciphertext + aad_len, buffer + aad_len, size) != 0) {
tools/tools/crypto/cryptocheck.c
1042
if (memcmp(control_digest, test_digest, sizeof(control_digest)) != 0) {
tools/tools/crypto/cryptocheck.c
1043
if (memcmp(control_digest, test_digest, EVP_MD_size(md)) == 0)
tools/tools/crypto/cryptocheck.c
1065
if (memcmp(cleartext + aad_len, buffer + aad_len, size) != 0) {
tools/tools/crypto/cryptocheck.c
1214
if (memcmp(control_tag, test_tag, sizeof(control_tag)) != 0) {
tools/tools/crypto/cryptocheck.c
1304
if (memcmp(control_tag, test_tag, sizeof(control_tag)) != 0) {
tools/tools/crypto/cryptocheck.c
1668
if (memcmp(ciphertext, buffer, size) != 0) {
tools/tools/crypto/cryptocheck.c
1677
if (memcmp(control_tag, test_tag, sizeof(control_tag)) != 0) {
tools/tools/crypto/cryptocheck.c
1695
if (memcmp(cleartext, buffer, size) != 0) {
tools/tools/crypto/cryptocheck.c
1871
memcmp(algs[i].name, prefix, prefix_len) == 0)
tools/tools/crypto/cryptocheck.c
605
if (memcmp(control_digest, test_digest, sizeof(control_digest)) != 0) {
tools/tools/crypto/cryptocheck.c
606
if (memcmp(control_digest, test_digest, EVP_MD_size(md)) == 0)
tools/tools/crypto/cryptocheck.c
690
if (memcmp(control_digest, test_digest, sizeof(control_digest)) != 0) {
tools/tools/crypto/cryptocheck.c
691
if (memcmp(control_digest, test_digest, EVP_MD_size(md)) == 0)
tools/tools/crypto/cryptocheck.c
838
if (size > 0 && memcmp(cleartext, ciphertext, size) == 0) {
tools/tools/crypto/cryptocheck.c
845
if (memcmp(cleartext, buffer, size) != 0) {
tools/tools/crypto/cryptocheck.c
860
if (memcmp(ciphertext, buffer, size) != 0) {
tools/tools/crypto/cryptocheck.c
872
if (memcmp(cleartext, buffer, size) != 0) {
tools/tools/dmardump/dmardump.c
258
if (memcmp(rsdp->Signature, "RSDT", 4) != 0)
tools/tools/dmardump/dmardump.c
276
if (!memcmp(sdp->Signature, ACPI_SIG_DMAR, 4))
tools/tools/ncpus/acpi.c
150
if (!memcmp(sdp->signature, "APIC", 4))
tools/tools/ncpus/acpi.c
223
if (memcmp(rsdp.signature, "RSD PTR ", 8))
tools/tools/ncpus/acpi.c
316
if (memcmp(rsdp->signature, "RSDT", 4) != 0 ||
tools/tools/ncpus/acpi.c
322
if (memcmp(rsdp->signature, "XSDT", 4) != 0 ||
tools/tools/net80211/stumbler/stumbler.c
472
if (memcmp(node->mac, data->mac, 6) == 0)
tools/tools/net80211/stumbler/stumbler.c
595
if (!memcmp(wpa->wpa_oui, "\x00\x50\xf2", 3)) {
tools/tools/net80211/stumbler/stumbler.c
653
if (!memcmp(ptr, "\x00\x0f\xac\x02", 4)) {
tools/tools/net80211/stumbler/stumbler.c
666
if (!memcmp(ptr,"\x00\x0f\xac\x02", 4)) {
tools/tools/net80211/w00t/ap/ap.c
265
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
325
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
398
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
406
if (memcmp(wh->i_addr1, p->mac, 6) == 0)
tools/tools/net80211/w00t/ap/ap.c
439
if (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0)
tools/tools/net80211/w00t/ap/ap.c
500
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
504
if (memcmp(wh->i_addr3, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
569
if (memcmp(c->mac, mac, 6) == 0)
tools/tools/net80211/w00t/ap/ap.c
642
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/ap/ap.c
666
if (memcmp(wh->i_addr2, p->mac, 6) == 0) {
tools/tools/net80211/w00t/assoc/assoc.c
236
return memcmp(wh->i_addr1, mac, 6) == 0;
tools/tools/net80211/w00t/assoc/assoc.c
241
return memcmp(wh->i_addr2, mac, 6) == 0;
tools/tools/net80211/w00t/assoc/assoc.c
246
if (memcmp(wh->i_addr1, p->mac, 6) != 0)
tools/tools/net80211/w00t/assoc/assoc.c
269
if (memcmp(wh->i_addr2, p->mac, 6) == 0) {
tools/tools/net80211/w00t/assoc/assoc.c
341
if (memcmp(wh->i_addr2, p->ap, 6) != 0)
tools/tools/net80211/w00t/assoc/assoc.c
344
if (memcmp(wh->i_addr1, p->ap, 6) != 0)
tools/tools/net80211/w00t/expand/expand.c
106
if (memcmp(p->mac, sa, 6) == 0)
tools/tools/net80211/w00t/expand/expand.c
347
(memcmp(wh->i_addr2, p->ap, 6) == 0) &&
tools/tools/net80211/w00t/expand/expand.c
348
(memcmp(wh->i_addr1, p->mcast, 5) == 0) &&
tools/tools/net80211/w00t/expand/expand.c
349
(memcmp(p->mac, wh->i_addr3, 6) == 0)) {
tools/tools/net80211/w00t/expand/expand.c
97
if (memcmp(bssid, p->ap, 6) != 0)
tools/tools/net80211/w00t/prga/prga.c
188
if (memcmp(p->ap, bssid, 6) != 0)
tools/tools/net80211/w00t/prga/prga.c
385
if (memcmp(p->mac, wh->i_addr1, 6) != 0)
tools/tools/net80211/w00t/prga/prga.c
447
if (memcmp(wh->i_addr2, p->ap, 6) != 0)
tools/tools/net80211/w00t/prga/prga.c
450
if (memcmp(wh->i_addr3, p->mac, 6) != 0)
tools/tools/net80211/w00t/prga/prga.c
453
if (memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) != 0)
tools/tools/net80211/w00t/redir/redir.c
138
if (memcmp(bssid, p->ap, 6) != 0)
tools/tools/net80211/w00t/redir/redir.c
147
if (memcmp(p->mac, sa, 6) == 0)
tools/tools/net80211/w00t/redir/redir.c
405
(memcmp(p->mac, wh->i_addr1, 6) == 0)) {
tools/tools/net80211/wesside/dics/dics.c
149
if (memcmp(buf, "sorbo", 5) != 0)
tools/tools/net80211/wesside/dics/dics.c
174
got_it = memcmp(&buf[rd-5], "sorbo", 5) == 0;
tools/tools/net80211/wesside/udps/udps.c
174
if(rd == 5 && memcmp(buf, "sorbo", 5) == 0) {
tools/tools/net80211/wesside/wesside/wesside.c
1399
if (memcmp(get_da(wh), "\xff\xff\xff\xff\xff\xff", 6) == 0)
tools/tools/net80211/wesside/wesside/wesside.c
1448
memcmp(wh->i_addr2, mymac, 6) != 0) ) {
tools/tools/net80211/wesside/wesside/wesside.c
1463
(memcmp(wh->i_addr3, mymac, 6) != 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1464
(memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1475
(memcmp(wh->i_addr3, mymac, 6) == 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1476
(memcmp(wh->i_addr1, "\xff\xff\xff\xff\xff\xff", 6) == 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1488
(memcmp(wh->i_addr3, mymac, 6) == 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1489
(memcmp(wh->i_addr1, MCAST_PREF, 5) == 0) &&
tools/tools/net80211/wesside/wesside/wesside.c
1605
if (memcmp(wh->i_addr1, mymac, 6) == 0) {
tools/tools/net80211/wesside/wesside/wesside.c
1644
(memcmp(victim.bss, wh->i_addr1, 6) == 0)) ||
tools/tools/net80211/wesside/wesside/wesside.c
1647
(memcmp(victim.bss, wh->i_addr2, 6) == 0))
tools/tools/net80211/wesside/wesside/wesside.c
692
if (memcmp(wh->i_addr3, victim_mac, 6) != 0)
tools/tools/net80211/wlaninject/wlaninject.c
443
if (memcmp(sent->i_addr1, got->i_addr1, 6) != 0)
tools/tools/net80211/wlaninject/wlaninject.c
458
if (memcmp(sent->i_addr2, got->i_addr2, 6) == 0 &&
tools/tools/net80211/wlaninject/wlaninject.c
459
memcmp(sent->i_addr3, got->i_addr3, 6) == 0)
tools/tools/net80211/wlaninject/wlaninject.c
506
if (memcmp(sent, wh, slen) == 0) {
tools/tools/net80211/wlanwds/wlanwds.c
73
#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0)
tools/tools/nvmf/nvmfd/discovery.c
83
wildcard = (memcmp(&sin6->sin6_addr, &in6addr_any,
tools/tools/nvmf/nvmfd/io.c
542
if (memcmp(io_controller->hostid, data->hostid,
tools/tools/nvmf/nvmfd/io.c
557
if (memcmp(io_controller->hostnqn, data->hostnqn,
tools/tools/vt/mkkfont/mkkfont.c
147
if (memcmp(fh.fh_magic, "VFNT0002", 8) != 0) {
usr.bin/bluetooth/btsockstat/btsockstat.c
559
if (memcmp(ba, NG_HCI_BDADDR_ANY, sizeof(*ba)) == 0) {
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
155
if (!doserver && memcmp(&addr, NG_HCI_BDADDR_ANY, sizeof(addr)) == 0)
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
249
if (memcmp(&addr, NG_HCI_BDADDR_ANY, sizeof(addr)) &&
usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
250
memcmp(&addr, &ra.rfcomm_bdaddr, sizeof(addr))) {
usr.bin/bsdiff/bsdiff/bsdiff.c
82
if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) {
usr.bin/bsdiff/bspatch/bspatch.c
192
if (memcmp(header, "BSDIFF40", 8) != 0)
usr.bin/compress/zopen.c
478
memcmp(header, magic_header, sizeof(magic_header)) != 0) {
usr.bin/ctags/C.c
209
!memcmp(tok, "typedef",8)) {
usr.bin/ctags/C.c
216
&& (!memcmp(tok, "struct", 7)
usr.bin/ctags/C.c
217
|| !memcmp(tok, "union", 6)
usr.bin/ctags/C.c
218
|| !memcmp(tok, "enum", 5))) {
usr.bin/ctags/C.c
372
if (memcmp(tok, "define", 6)) /* only interested in #define's */
usr.bin/diff/diffreg.c
514
if (memcmp(buf1, buf2, i) != 0)
usr.bin/etdump/etdump.c
168
if (memcmp(bvd->identifier, ISO_VOLUME_DESCRIPTOR_STANDARD_ID, 5) != 0)
usr.bin/etdump/etdump.c
171
memcmp(bvd->boot_system_identifier, ET_ID, 23) != 0)
usr.bin/gzip/gzip.c
1111
else if (memcmp(buf, BZIP2_MAGIC, 3) == 0 &&
usr.bin/gzip/gzip.c
1116
else if (memcmp(buf, Z_MAGIC, 2) == 0)
usr.bin/gzip/gzip.c
1120
else if (memcmp(buf, PACK_MAGIC, 2) == 0)
usr.bin/gzip/gzip.c
1124
else if (memcmp(buf, XZ_MAGIC, 4) == 0) /* XXX: We only have 4 bytes */
usr.bin/gzip/gzip.c
1128
else if (memcmp(buf, LZ_MAGIC, 4) == 0)
usr.bin/gzip/gzip.c
1132
else if (memcmp(buf, ZSTD_MAGIC, 4) == 0)
usr.bin/gzip/unlz.c
634
if (memcmp(header, hdrmagic, sizeof(hdrmagic)) != 0)
usr.bin/gzip/zuncompress.c
241
memcmp(header, magic_header, sizeof(magic_header)) != 0) {
usr.bin/last/last.c
308
if (!memcmp(tt->id, bp->ut_id, sizeof bp->ut_id))
usr.bin/limits/limits.c
740
if (stat(path, &st1) != -1 && memcmp(&st, &st1, sizeof st) == 0)
usr.bin/mkuzip/mkuz_blockcache.c
112
if (memcmp(bp->info.digest, bcep->hit.digest,
usr.bin/mkuzip/mkuz_blockcache.c
70
rval = (memcmp(cbp->data, vbuf, cbp->info.len) == 0) ? 1 : 0;
usr.bin/mkuzip/mkuzip.c
501
return (*mm == val) && memcmp(mm, mm + 1, size - 1) == 0;
usr.bin/nl/nl.c
294
if (memcmp(buffer + delimlen * idx, delim,
usr.bin/printenv/printenv.c
76
if (!memcmp(*ep, *argv, len)) {
usr.bin/sed/process.c
521
memcmp(p, y->multis[i].from,
usr.bin/sort/bwstring.c
508
res = memcmp(s1, s2, cmp_len);
usr.bin/sort/bwstring.c
516
res = memcmp(s1, s2, SIZEOF_WCHAR_STRING(cmp_len));
usr.bin/sort/bwstring.c
605
res = memcmp(s1, s2, len2);
usr.bin/sort/bwstring.c
609
res = memcmp(s1, s2, len1);
usr.bin/sort/bwstring.c
613
res = memcmp(s1, s2, len1);
usr.bin/sort/coll.c
1013
cmp = memcmp(kv1->hint->v.Rh.cached,
usr.bin/sort/coll.c
1033
return (memcmp(hash1, hash2, sizeof(hash1)));
usr.bin/systat/ifcmds.c
60
if (args != NULL && *args != '\0' && memcmp(args, "*", 2) != 0) {
usr.bin/systat/iolat.c
258
memcmp(oid, base_oid, len * sizeof(int)) != 0)
usr.bin/systat/main.c
89
if (memcmp(argv[0], "--", 3) == 0) {
usr.bin/systat/netstat.c
206
if (memcmp(&xip->in6p_laddr,
usr.bin/systat/netstat.c
285
memcmp(&p->ni_lsa, &lsa, lsa.ss_len) != 0)
usr.bin/systat/netstat.c
288
memcmp(&p->ni_fsa, &fsa, fsa.ss_len) == 0)
usr.bin/systat/netstat.c
463
if (memcmp(&((struct sockaddr_in6 *)sa)->sin6_addr,
usr.bin/talk/io.c
81
if (memcmp(*addr, &his_machine_addr,
usr.bin/tcopy/tcopy.cc
688
if (nread1 > 0 && memcmp(buf1, buf2, (size_t)nread1)) {
usr.bin/top/display.c
406
if (memcmp(lprocstates, brkdn, num_procstates * sizeof(int)) != 0)
usr.bin/top/machine.c
720
if (memcmp(&oldp->ki_start, &pp->ki_start, sizeof(pp->ki_start)) != 0) {
usr.bin/vtfontcvt/vtfontcvt.c
268
if (memcmp(gl->g_data, bytes, wbytes * height) == 0) {
usr.bin/xinstall/xinstall.c
1129
rv = memcmp(buf1, buf2, n1);
usr.sbin/ac/ac.c
324
memcmp(lp->id, up->ut_id, sizeof(up->ut_id)) == 0)) {
usr.sbin/acpi/acpidump/acpi.c
2763
if (memcmp(sdp->Signature, known[i].sig, ACPI_NAMESEG_SIZE)
usr.sbin/acpi/acpidump/acpi.c
278
if (memcmp(facs->Signature, ACPI_SIG_FACS, ACPI_NAMESEG_SIZE) != 0 ||
usr.sbin/acpi/acpidump/acpi.c
2790
if (memcmp(tbl, rsdp->Signature, ACPI_NAMESEG_SIZE) == 0) {
usr.sbin/acpi/acpidump/acpi.c
2811
if (tbl != NULL && memcmp(sdp->Signature, tbl, ACPI_NAMESEG_SIZE) != 0)
usr.sbin/acpi/acpidump/acpi.c
2831
if (memcmp(rsdp->Signature, "RSDT", ACPI_NAMESEG_SIZE) != 0 ||
usr.sbin/acpi/acpidump/acpi.c
2837
if (memcmp(rsdp->Signature, "XSDT", ACPI_NAMESEG_SIZE) != 0 ||
usr.sbin/acpi/acpidump/acpi.c
3032
if (memcmp(sdt->Signature, sig, strlen(sig)))
usr.sbin/acpi/acpidump/acpi_user.c
105
if (memcmp(rsdp.Signature, "RSD PTR ", 8))
usr.sbin/bhyve/amd64/pci_gvt-d.c
447
if (memcmp(header->sign, IGD_OPREGION_HEADER_SIGN,
usr.sbin/bhyve/gdb.c
1654
return (memcmp(data, cmd, strlen(cmd)) == 0);
usr.sbin/bhyve/gdb.c
769
if (len == 2 && memcmp(data, "-1", 2) == 0)
usr.sbin/bhyve/net_utils.c
56
memcmp(ea->octet, zero_addr, ETHER_ADDR_LEN) == 0) {
usr.sbin/bhyve/rfb.c
1173
if (memcmp(crypt_expected, buf, AUTH_LENGTH) != 0) {
usr.sbin/bhyve/snapshot.c
1586
ret = memcmp(data, buffer->buf, data_size);
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
175
if (memcmp(v, "GenuineIntel", sizeof(v)) == 0)
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
177
if (memcmp(v, "AuthenticAMD", sizeof(v)) == 0 ||
usr.sbin/bhyvectl/amd64/bhyvectl_machdep.c
178
memcmp(v, "HygonGenuine", sizeof(v)) == 0)
usr.sbin/bluetooth/bthidd/parser.y
328
if (memcmp(&d->bdaddr, bdaddr, sizeof(bdaddr_t)) == 0)
usr.sbin/bluetooth/bthidd/session.c
167
if (memcmp(&s->bdaddr, bdaddr, sizeof(s->bdaddr)) == 0)
usr.sbin/bluetooth/btpand/bnep.c
334
if (memcmp(ptr, NAP_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
336
else if (memcmp(ptr, GN_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
338
else if (memcmp(ptr, PANU_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
350
if (memcmp(ptr, NAP_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
352
else if (memcmp(ptr, GN_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
354
else if (memcmp(ptr, PANU_UUID + off, len) == 0)
usr.sbin/bluetooth/btpand/bnep.c
525
if (memcmp(mf[i].start, mf[i].end, ETHER_ADDR_LEN) > 0) {
usr.sbin/bluetooth/btpand/bnep.c
651
dst = (memcmp(pkt->dst, chan->raddr, ETHER_ADDR_LEN) != 0);
usr.sbin/bluetooth/btpand/bnep.c
652
src = (memcmp(pkt->src, chan->laddr, ETHER_ADDR_LEN) != 0);
usr.sbin/bluetooth/btpand/bnep.c
751
if (memcmp(pkt->dst, chan->mfilter[i].start, ETHER_ADDR_LEN) >= 0
usr.sbin/bluetooth/btpand/bnep.c
752
&& memcmp(pkt->dst, chan->mfilter[i].end, ETHER_ADDR_LEN) <= 0)
usr.sbin/bluetooth/btpand/channel.c
251
if (memcmp(pkt->dst, chan->raddr, ETHER_ADDR_LEN) == 0) {
usr.sbin/bluetooth/hccontrol/util.c
3264
if (memcmp(ba, NG_HCI_BDADDR_ANY, sizeof(*ba)) == 0) {
usr.sbin/bluetooth/hcsecd/parser.y
246
if (memcmp(bdaddr, &key->bdaddr, sizeof(key->bdaddr)) == 0)
usr.sbin/bluetooth/hcsecd/parser.y
250
if (memcmp(NG_HCI_BDADDR_ANY, &key->bdaddr,
usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c
291
memcmp(evt_buf + 2, fw_job.buf, evt_length) != 0) {
usr.sbin/bluetooth/l2control/l2cap.c
52
if (memcmp(ba, NG_HCI_BDADDR_ANY, sizeof(*ba)) == 0) {
usr.sbin/bluetooth/l2control/l2control.c
131
if (memcmp(bdaddr, NG_HCI_BDADDR_ANY, sizeof(*bdaddr)) == 0)
usr.sbin/bluetooth/l2ping/l2ping.c
149
if (memcmp(&dst, NG_HCI_BDADDR_ANY, sizeof(dst)) == 0)
usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
155
if (memcmp(&addr, NG_HCI_BDADDR_ANY, sizeof(addr)) == 0)
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
270
if (memcmp(fw->buf, fw_header_sig_v1, sizeof(fw_header_sig_v1)) == 0) {
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
274
if (memcmp(fw->buf, fw_header_sig_v2, sizeof(fw_header_sig_v2)) == 0) {
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
286
if (memcmp(ptr, fw_ext_sig, sizeof(fw_ext_sig)) != 0) {
usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
138
if (memcmp(bdaddr, NG_HCI_BDADDR_ANY, sizeof(*bdaddr)) == 0)
usr.sbin/bluetooth/sdpd/provider.h
56
(memcmp(b, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0 || \
usr.sbin/bluetooth/sdpd/provider.h
57
memcmp(&(p)->bdaddr, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0 || \
usr.sbin/bluetooth/sdpd/provider.h
58
memcmp(&(p)->bdaddr, b, sizeof(bdaddr_t)) == 0)
usr.sbin/bluetooth/sdpd/ssar.c
351
if (memcmp(&uuid, &puuid, sizeof(uuid)) != 0 &&
usr.sbin/bluetooth/sdpd/ssar.c
352
memcmp(&uuid, &uuid_public_browse_group, sizeof(uuid)) != 0 &&
usr.sbin/bluetooth/sdpd/ssar.c
72
if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
usr.sbin/bluetooth/sdpd/ssar.c
85
if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
usr.sbin/bluetooth/sdpd/ssar.c
93
if (memcmp(&duuid, uuid, sizeof(duuid)) == 0)
usr.sbin/bluetooth/sdpd/ssr.c
195
if (memcmp(&uuid, &puuid, sizeof(uuid)) == 0 ||
usr.sbin/bluetooth/sdpd/ssr.c
196
memcmp(&uuid, &uuid_public_browse_group, sizeof(uuid)) == 0) {
usr.sbin/boot0cfg/boot0cfg.c
533
if (!memcmp(bs + p->off, p->key, p->len)) /* match */
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3247
if (memcmp(wip->pmac, peermac, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3279
if (memcmp(temp->pmac, wip->pmac, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3283
memcmp(wip->pmac, prev->pmac, IEEE80211_ADDR_LEN) < 0) {
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3289
if (memcmp(wip->pmac, temp->pmac, IEEE80211_ADDR_LEN) < 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3670
memcmp(sr->bssid, bssid, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3735
memcmp(sr->bssid, temp->bssid, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3895
if (memcmp(wmm->mac, mac, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3928
if (memcmp(temp->mac, wmm->mac, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3932
memcmp(wmm->mac, prev->mac,IEEE80211_ADDR_LEN) < 0) {
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
3938
if (memcmp(wmm->mac, temp->mac, IEEE80211_ADDR_LEN) < 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
4232
if (memcmp(wmr->imroute.imr_dest, dstmac,
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
4266
if (memcmp(temp->imroute.imr_dest, wmr->imroute.imr_dest,
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
4271
memcmp(wmr->imroute.imr_dest, prev->imroute.imr_dest,
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
4278
if (memcmp(wmr->imroute.imr_dest, temp->imroute.imr_dest,
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
730
memcmp(wif->dbssid, zerobssid, IEEE80211_ADDR_LEN) == 0)
usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
771
if (memcmp(wif->dlmac, zerobssid, IEEE80211_ADDR_LEN) != 0) {
usr.sbin/config/main.cc
622
changed = memcmp(p, q, tsize);
usr.sbin/ctld/nvmf_discovery.cc
137
return memcmp(&sin6->sin6_addr, &in6addr_any,
usr.sbin/devinfo/devinfo.c
297
return (strlen(name) == len && memcmp(name, cp, len) == 0);
usr.sbin/efitable/efitable.c
111
if (!memcmp(&uuid, &efi_table_ops[n].guid,
usr.sbin/fdwrite/fdwrite.c
176
if (memcmp(trackbuf,vrfybuf,bpt)) err(1, "compare");
usr.sbin/fifolog/lib/fifolog_int.c
97
if (memcmp(f->recbuf, FIFOLOG_FMT_MAGIC, strlen(FIFOLOG_FMT_MAGIC) + 1))
usr.sbin/fstyp/hammer.c
87
if (memcmp(&ondisk->vol_fsid, &fsid, sizeof(fsid)))
usr.sbin/fstyp/hammer.c
89
if (memcmp(&ondisk->vol_fstype, &fstype, sizeof(fstype)))
usr.sbin/fstyp/hammer2.c
144
!memcmp(ipdata.filename, pfs,
usr.sbin/fwcontrol/fwcontrol.c
154
if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) {
usr.sbin/i2c/i2c.c
608
if (memcmp(cmd, widths[u], length))
usr.sbin/jail/jail.c
841
: memcmp(rtjp->jp_value, jp_value,
usr.sbin/makefs/msdos/msdosfs_vfsops.c
272
if (!memcmp(fp->fsisig1, "RRaA", 4)
usr.sbin/makefs/msdos/msdosfs_vfsops.c
273
&& !memcmp(fp->fsisig2, "rrAa", 4)
usr.sbin/makefs/msdos/msdosfs_vfsops.c
274
&& !memcmp(fp->fsisig3, "\0\0\125\252", 4))
usr.sbin/makefs/msdos/msdosfs_vnops.c
280
&& (!olddos || memcmp(dosfilename, dep->deName, 11))) {
usr.sbin/mountd/mountd.c
4051
return (memcmp(p1, p2, len));
usr.sbin/mtest/mtest.c
134
return (memcmp(&sua->sin6.sin6_addr, &sub->sin6.sin6_addr,
usr.sbin/mtest/mtest.c
143
return (memcmp(sua, sub, sua->sa.sa_len));
usr.sbin/ndp/ndp.c
1100
if (memcmp(nullbuf, ND.randomid, sizeof(nullbuf)) != 0) {
usr.sbin/nscd/cachelib.c
115
result = memcmp(hp1->key, hp2->key, min_size);
usr.sbin/nscd/cachelib.c
125
return (memcmp(hp1->key, hp2->key, hp1->key_size));
usr.sbin/nscd/cachelib.c
836
(memcmp(find_res->value, value, value_size) == 0)) {
usr.sbin/nscd/cachelib.c
89
result = memcmp(hp1->key, hp2->key, min_size);
usr.sbin/nscd/cachelib.c
96
return (memcmp(hp1->key, hp2->key, hp1->key_size));
usr.sbin/pciconf/pciconf.c
893
memcmp(vpd->pve_keyword, "RV", 2) == 0)
usr.sbin/pciconf/pciconf.c
898
memcmp(vpd->pve_keyword, "RW", 2) == 0)
usr.sbin/pciconf/pciconf.c
903
memcmp(vpd->pve_keyword, "CP", 2) == 0) {
usr.sbin/pkg/ecc.c
114
if (memcmp(curve, entry->name, curvesz) == 0)
usr.sbin/pkg/ecc.c
140
memcmp(data, pkgkey_app, datasz) != 0)
usr.sbin/pkg/ecc.c
157
memcmp(data, pkgkey_signer, datasz) != 0)
usr.sbin/pkg/ecc.c
302
memcmp(oid, oid_secp, sizeof(oid_secp)) >= 0) {
usr.sbin/pkg/ecc.c
330
memcmp(oid, oid_brainpoolP, sizeof(oid_brainpoolP)) >= 0) {
usr.sbin/pkg/ecc.c
434
memcmp(oidp, oid_ecpubkey, oidsz) != 0)
usr.sbin/ppp/hdlc.c
372
if (memcmp(*cp, h, cmp) == 0)
usr.sbin/ppp/hdlc.c
407
if (memcmp(&hdlc->laststats, &hdlc->stats, sizeof hdlc->stats)) {
usr.sbin/ppp/iface.c
320
else if (memcmp(&((struct sockaddr_in6 *)&ssmsk)->sin6_addr, &in6mask128,
usr.sbin/ppp/ipv6cp.c
282
} while (memcmp(ipv6cp->his_ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) == 0);
usr.sbin/ppp/ipv6cp.c
292
&& memcmp(ipv6cp->his_ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) == 0);
usr.sbin/ppp/ipv6cp.c
668
if (memcmp(ifid, zero, IPV6CP_IFIDLEN) != 0
usr.sbin/ppp/ipv6cp.c
669
&& memcmp(ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) != 0)
usr.sbin/ppp/ipv6cp.c
675
if (memcmp(ifid, ipv6cp->his_ifid, IPV6CP_IFIDLEN) == 0)
usr.sbin/ppp/ipv6cp.c
714
if (memcmp(ifid, zero, IPV6CP_IFIDLEN) == 0) {
usr.sbin/ppp/ipv6cp.c
718
} else if (memcmp(ifid, ipv6cp->his_ifid, IPV6CP_IFIDLEN) == 0) {
usr.sbin/ppp/ipv6cp.c
724
} else if (memcmp(ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) != 0) {
usr.sbin/ppp/ipv6cp.c
730
} while (n && memcmp(ifid, ipv6cp->his_ifid, IPV6CP_IFIDLEN) == 0);
usr.sbin/ppp/lcp.c
614
if (sz == len && !memcmp(list, req, sz))
usr.sbin/ppp/mp.c
106
!memcmp(p1->enddisc.address, p2->enddisc.address, p1->enddisc.len);
usr.sbin/ppp/ncpaddr.c
224
return !memcmp(&addr->ncpaddr_ip6addr, &cmp->ncpaddr_ip6addr,
usr.sbin/ppp/ncpaddr.c
475
return !memcmp(&range->ncprange_ip6addr, &cmp->ncprange_ip6addr,
usr.sbin/ppp/slcompress.c
275
memcmp(ip + 1, &cs->cs_ip + 1, (deltaS - 5) << 2)) ||
usr.sbin/ppp/slcompress.c
277
memcmp(th + 1, oth + 1, (THOFFSET(th) - 5) << 2))) {
usr.sbin/prometheus_sysctl_exporter/prometheus_sysctl_exporter.c
81
memcmp(oa->id, ob->id, ob->len * sizeof(oa->id[0])) == 0);
usr.sbin/rpc.lockd/lock_proc.c
185
return memcmp(p1, p2, len);
usr.sbin/rpc.statd/file.c
107
&& !memcmp(p1->ai_addr, p2->ai_addr, p1->ai_addrlen))
usr.sbin/rpc.tlsservd/rpc.tlsservd.c
921
if (slen != strlen(rpctls_cnuseroid) || memcmp(usern,
usr.sbin/rpcbind/rpcb_svc_com.c
1028
return ((n1->len != n2->len) || memcmp(n1->buf, n2->buf, n1->len));
usr.sbin/rpcbind/rpcbind.c
764
if (memcmp(&SA2SINADDR(sa), &SA2SINADDR(bound_sa[i]),
usr.sbin/rpcbind/rpcbind.c
770
if (memcmp(&SA2SIN6ADDR(sa), &SA2SIN6ADDR(bound_sa[i]),
usr.sbin/rpcbind/tests/addrmerge_test.c
288
if (0 == memcmp(bind_addresses[i]->sa_data, sa->sa_data,
usr.sbin/rpcbind/util.c
214
(0 == memcmp(&((struct sockaddr_in6*)hint_sa)->sin6_addr,
usr.sbin/rtadvd/rtadvd.c
1353
if (memcmp((void *)prefix, (void *)&pfx->pfx_prefix, bytelen))
usr.sbin/rtadvd/rtadvd.c
1381
if (memcmp((void *)p0, (void *)p1, bytelen))
usr.sbin/rtsold/rtsol.c
732
memcmp(rao->rao_msg, msg, len) == 0)
usr.sbin/rtsold/rtsold.c
492
if (memcmp(&rai->rai_saddr.sin6_addr, &sin6->sin6_addr,
usr.sbin/rwhod/rwhod.c
658
if (memcmp(sdl->sdl_data, np->n_name,
usr.sbin/sa/db.c
110
memcmp(key.data, VERSION_KEY, sizeof(VERSION_KEY)) == 0)
usr.sbin/syslogd/syslogd.c
3000
if (memcmp(&forw[j].raddr, rsa, rsa->sa_len) != 0 ||
usr.sbin/syslogd/syslogd.c
3001
memcmp(&forw[j].laddr, lsa, lsa->sa_len) != 0)
usr.sbin/vidcontrol/vidcontrol.c
427
if (memcmp(fh.fh_magic, "VFNT0002", 8) != 0) {
usr.sbin/wlanstat/wlanstat.c
59
#define IEEE80211_ADDR_EQ(a1,a2) (memcmp(a1,a2,IEEE80211_ADDR_LEN) == 0)