| /trueos/tools/regression/lib/msun/ |
| HD | test-nan.c | 72 assert(memcmp(&af[0], &af[1], sizeof(float)) == 0); in testnan() 73 assert(memcmp(&af[1], &af[2], sizeof(float)) == 0); in testnan() 77 assert(memcmp(&af[2], &af[3], sizeof(float)) == 0); in testnan() 85 assert(memcmp(&ad[0], &ad[1], sizeof(double)) == 0); in testnan() 86 assert(memcmp(&ad[1], &ad[2], sizeof(double)) == 0); in testnan() 90 assert(memcmp(&ad[2], &ad[3], sizeof(double)) == 0); in testnan() 98 assert(memcmp(&ald[0], &ald[1], sizeof(long double)) == 0); in testnan() 99 assert(memcmp(&ald[1], &ald[2], sizeof(long double)) == 0); in testnan() 103 assert(memcmp(&ald[2], &ald[3], sizeof(long double)) == 0); in testnan()
|
| /trueos/crypto/openssl/crypto/whrlpool/ |
| HD | wp_test.c | 142 if (memcmp(md, iso_test_1, sizeof(iso_test_1))) { in main() 151 if (memcmp(md, iso_test_2, sizeof(iso_test_2))) { in main() 160 if (memcmp(md, iso_test_3, sizeof(iso_test_3))) { in main() 169 if (memcmp(md, iso_test_4, sizeof(iso_test_4))) { in main() 178 if (memcmp(md, iso_test_5, sizeof(iso_test_5))) { in main() 188 if (memcmp(md, iso_test_6, sizeof(iso_test_6))) { in main() 198 if (memcmp(md, iso_test_7, sizeof(iso_test_7))) { in main() 207 if (memcmp(md, iso_test_8, sizeof(iso_test_8))) { in main() 228 if (memcmp(md, iso_test_9, sizeof(iso_test_9))) { in main()
|
| /trueos/lib/libnv/tests/ |
| HD | nvlist_get_test.c | 128 CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", NULL), "x", 1) == 0); in main() 129 CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", &size), "x", 1) == 0); in main() 135 …CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", NULL), "abcdefghij… in main() 136 …CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", &size), "abcdefghi… in main() 143 CHECK(memcmp(nvlist_get_uuid(nvl, "nvlist/uuid/x"), &uuid, sizeof(uuid_t)) == 0); in main() 161 CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/x", NULL), "x", 1) == 0); in main() 162 CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/x", &size), "x", 1) == 0); in main() 164 …CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", NULL), "abcdefghi… in main() 165 …CHECK(memcmp(nvlist_get_binary(cnvl, "nvlist/binary/abcdefghijklmnopqrstuvwxyz", &size), "abcdefgh… in main() 180 CHECK(memcmp(nvlist_get_binary(nvl, "nvlist/binary/x", NULL), "x", 1) == 0); in main() [all …]
|
| /trueos/contrib/netbsd-tests/lib/libdes/ |
| HD | t_des.c | 393 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in cfb_test() 398 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0) in cfb_test() 416 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in cfb64_test() 423 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0) in cfb64_test() 443 if (memcmp(cfb_cipher, cfb_buf1, sizeof(plain)) != 0) in ede_cfb64_test() 452 if (memcmp(plain, cfb_buf2, sizeof(plain)) != 0) in ede_cfb64_test() 500 if (memcmp(cbc_in, cbc_data, strlen((char *) cbc_data) + 1) != 0) { in ATF_TC_BODY() 538 if (memcmp(out, cipher_data[i], 8) != 0) { in ATF_TC_BODY() 544 if (memcmp(in, outin, 8) != 0) { in ATF_TC_BODY() 576 if (memcmp(out, cipher_ecb2[i], 8) != 0) { in ATF_TC_BODY() [all …]
|
| /trueos/crypto/openssl/crypto/des/ |
| HD | destest.c | 418 if (memcmp(cbc_in, cbc_data, strlen((char *)cbc_data) + 1) != 0) { in main() 441 if (memcmp(out, cipher_data[i], 8) != 0) { in main() 447 if (memcmp(in, outin, 8) != 0) { in main() 466 if (memcmp(out, cipher_ecb2[i], 8) != 0) { in main() 472 if (memcmp(in, outin, 8) != 0) { in main() 490 if (memcmp(cbc_out, cbc_ok, 32) != 0) { in main() 498 if (memcmp(cbc_in, cbc_data, strlen((char *)cbc_data)) != 0) { in main() 513 if (memcmp(cbc_out, xcbc_ok, 32) != 0) { in main() 520 if (memcmp(cbc_in, cbc_data, strlen((char *)cbc_data) + 1) != 0) { in main() 549 if (memcmp in main() [all …]
|
| /trueos/contrib/gcclibs/libiberty/ |
| HD | vsnprintf.c | 113 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0); in main() 117 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0); in main() 121 VERIFY (status==8 && memcmp (buf, "foobar:\0XXXXXX\0", 15) == 0); in main() 125 VERIFY (status==8 && memcmp (buf, "foobar\0XXXXXXX\0", 15) == 0); in main() 129 VERIFY (status==8 && memcmp (buf, "fooba\0XXXXXXXX\0", 15) == 0); in main() 133 VERIFY (status==8 && memcmp (buf, "f\0XXXXXXXXXXXX\0", 15) == 0); in main() 137 VERIFY (status==8 && memcmp (buf, "\0XXXXXXXXXXXXX\0", 15) == 0); in main() 141 VERIFY (status==8 && memcmp (buf, "XXXXXXXXXXXXXX\0", 15) == 0); in main()
|
| /trueos/contrib/opie/ |
| HD | opietest.c | 44 if (memcmp(&key, testout, sizeof(testout))) in testatob8() 61 if (memcmp(buffer, testout, sizeof(testout))) in testbtoa8() 78 if (memcmp(buffer, testout, sizeof(testout))) in testbtoe() 93 if (memcmp(&key, testout, sizeof(testout))) in testetob() 109 if (memcmp(buffer, testout, sizeof(testout))) in testgenerator() 136 if (memcmp(&testin_aligned, testout, sizeof(struct opie_otpkey))) in testhashmd4() 152 if (memcmp(&testin_aligned, testout, sizeof(struct opie_otpkey))) in testhashmd5() 175 if (memcmp(&opie_otpkey, testout, sizeof(struct opie_otpkey))) in testkeycrunch()
|
| /trueos/crypto/heimdal/lib/asn1/ |
| HD | der_cmp.c | 41 return memcmp(p->components, in der_heim_oid_cmp() 52 return memcmp(p->data, q->data, p->length); in der_heim_octet_string_cmp() 76 i = memcmp(p->data, q->data, p->length / 8); in der_heim_bit_string_cmp() 98 return memcmp(p->data, q->data, p->length); in der_heim_integer_cmp() 106 return memcmp(p->data, q->data, q->length * sizeof(q->data[0])); in der_heim_bmp_string_cmp() 115 return memcmp(p->data, q->data, q->length * sizeof(q->data[0])); in der_heim_universal_string_cmp()
|
| /trueos/crypto/openssl/crypto/sha/ |
| HD | sha256t.c | 72 if (memcmp(md, app_b1, sizeof(app_b1))) { in main() 83 if (memcmp(md, app_b2, sizeof(app_b2))) { in main() 103 if (memcmp(md, app_b3, sizeof(app_b3))) { in main() 117 if (memcmp(md, addenum_1, sizeof(addenum_1))) { in main() 128 if (memcmp(md, addenum_2, sizeof(addenum_2))) { in main() 145 if (memcmp(md, addenum_3, sizeof(addenum_3))) { in main()
|
| HD | sha512t.c | 104 if (memcmp(md, app_c1, sizeof(app_c1))) { in main() 116 if (memcmp(md, app_c2, sizeof(app_c2))) { in main() 140 if (memcmp(md, app_c3, sizeof(app_c3))) { in main() 154 if (memcmp(md, app_d1, sizeof(app_d1))) { in main() 166 if (memcmp(md, app_d2, sizeof(app_d2))) { in main() 183 if (memcmp(md, app_d3, sizeof(app_d3))) { in main()
|
| /trueos/crypto/openssl/crypto/bf/ |
| HD | bftest.c | 388 if (memcmp(&(bf_cipher[n][0]), &(data[0]), 8) != 0) { in test() 402 if (memcmp(&(bf_plain[n][0]), &(data[0]), 8) != 0) { in test() 422 if (memcmp(&(cipher_data[n][0]), out, 8) != 0) { in test() 436 if (memcmp(&(plain_data[n][0]), out, 8) != 0) { in test() 455 if (memcmp(out, &(key_out[i = n - 1][0]), 8) != 0) { in test() 470 if (memcmp(cbc_out, cbc_ok, 32) != 0) { in test() 478 if (memcmp(cbc_in, cbc_data, strlen(cbc_data) + 1) != 0) { in test() 494 if (memcmp(cbc_out, cfb64_ok, (int)len) != 0) { in test() 505 if (memcmp(cbc_in, cbc_data, (int)len) != 0) { in test() 521 if (memcmp(cbc_out, ofb64_ok, (int)len) != 0) { in test() [all …]
|
| /trueos/crypto/openssl/crypto/modes/ |
| HD | cts128.c | 433 if (memcmp(ciphertext, vector, len)) in test_vector() 435 if (memcmp(iv, vector + len - tail, sizeof(iv))) in test_vector() 442 if (memcmp(cleartext, test_input, len)) in test_vector() 444 if (memcmp(iv, vector + len - tail, sizeof(iv))) in test_vector() 451 if (memcmp(ciphertext, vector, len)) in test_vector() 453 if (memcmp(iv, vector + len - tail, sizeof(iv))) in test_vector() 460 if (memcmp(cleartext, test_input, len)) in test_vector() 462 if (memcmp(iv, vector + len - tail, sizeof(iv))) in test_vector() 490 if (memcmp(ciphertext, nistvector, len)) in test_nistvector() 492 if (memcmp(iv, nistvector + len - tail, sizeof(iv))) in test_nistvector() [all …]
|
| /trueos/contrib/netbsd-tests/lib/libbluetooth/ |
| HD | t_sdp_put.c | 68 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 101 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 159 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 184 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 210 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 247 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 274 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 319 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 346 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() 377 ATF_CHECK(memcmp(expect, test.next, sizeof(expect)) == 0); in ATF_TC_BODY() [all …]
|
| /trueos/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_minherit.c | 76 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY() 82 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY() 104 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY() 110 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY() 164 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY() 170 ATF_REQUIRE(memcmp(map1, map2, page) == 0); in ATF_TC_BODY()
|
| /trueos/contrib/subversion/subversion/libsvn_subr/ |
| HD | sha1.c | 67 if (memcmp(digest, zeros_digest, APR_SHA1_DIGESTSIZE) != 0) in svn_sha1__digest_to_cstring() 79 return ((memcmp(d1, zeros, APR_SHA1_DIGESTSIZE) == 0) in svn_sha1__digests_match() 80 || (memcmp(d2, zeros, APR_SHA1_DIGESTSIZE) == 0) in svn_sha1__digests_match() 81 || (memcmp(d1, d2, APR_SHA1_DIGESTSIZE) == 0)); in svn_sha1__digests_match()
|
| HD | md5.c | 68 if (memcmp(digest, zeros_digest, APR_MD5_DIGESTSIZE) != 0) in svn_md5__digest_to_cstring() 80 return ((memcmp(d1, zeros, APR_MD5_DIGESTSIZE) == 0) in svn_md5__digests_match() 81 || (memcmp(d2, zeros, APR_MD5_DIGESTSIZE) == 0) in svn_md5__digests_match() 82 || (memcmp(d1, d2, APR_MD5_DIGESTSIZE) == 0)); in svn_md5__digests_match()
|
| /trueos/contrib/ofed/management/opensm/opensm/ |
| HD | osm_link_mgr.c | 141 if (memcmp(&p_pi->m_key, &p_old_pi->m_key, in __osm_link_mgr_set_physp_pi() 146 if (memcmp(&p_pi->subnet_prefix, in __osm_link_mgr_set_physp_pi() 152 if (memcmp(&p_pi->base_lid, &p_old_pi->base_lid, in __osm_link_mgr_set_physp_pi() 158 if (memcmp(&p_pi->master_sm_base_lid, in __osm_link_mgr_set_physp_pi() 165 if (memcmp(&p_pi->m_key_lease_period, in __osm_link_mgr_set_physp_pi() 178 if (memcmp(&p_pi->mkey_lmc, &p_old_pi->mkey_lmc, in __osm_link_mgr_set_physp_pi() 244 if (memcmp(&p_pi->error_threshold, &p_old_pi->error_threshold, in __osm_link_mgr_set_physp_pi() 253 if (memcmp(&p_pi->link_width_enabled, in __osm_link_mgr_set_physp_pi() 265 if (memcmp(&p_pi->link_speed, &p_old_pi->link_speed, in __osm_link_mgr_set_physp_pi()
|
| /trueos/crypto/openssl/crypto/rc5/ |
| HD | rc5test.c | 249 if (memcmp(&(RC5cipher[n][0]), buf, 8) != 0) { in main() 263 if (memcmp(&(RC5plain[n][0]), buf2, 8) != 0) { in main() 290 if (memcmp(&(rc5_cbc_cipher[n][0]), buf, 8) != 0) { in main() 305 if (memcmp(&(rc5_cbc_plain[n][0]), buf2, 8) != 0) { in main() 340 if (memcmp(cfb_cipher, cfb_buf1, CFB_TEST_SIZE) != 0) { in cfb64_test() 353 if (memcmp(plain, cfb_buf2, CFB_TEST_SIZE) != 0) { in cfb64_test()
|
| /trueos/tools/regression/netinet6/icmp6_filter/ |
| HD | icmp6_filter.c | 73 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0) in main() 90 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0) in main() 107 if (memcmp(&ic6f, &ic6f_blockall, sizeof(ic6f)) != 0) in main() 124 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0) in main()
|
| /trueos/crypto/openssl/crypto/idea/ |
| HD | ideatest.c | 120 if (memcmp(out, c, 8) != 0) { in main() 135 if (memcmp(out, in, 8) != 0) { in main() 158 if (memcmp(text, out, strlen(text) + 1) != 0) { in main() 193 if (memcmp(cfb_cipher, cfb_buf1, CFB_TEST_SIZE) != 0) { in cfb64_test() 206 if (memcmp(plain, cfb_buf2, CFB_TEST_SIZE) != 0) { in cfb64_test()
|
| /trueos/contrib/groff/src/libs/libgroff/ |
| HD | string.cpp | 234 ? s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) <= 0 in operator <=() 235 : s2.len != 0 && memcmp(s1.ptr, s2.ptr, s2.len) < 0); in operator <=() 241 ? s1.len == 0 || memcmp(s1.ptr, s2.ptr, s1.len) <= 0 in operator <() 242 : s2.len != 0 && memcmp(s1.ptr, s2.ptr, s2.len) < 0); in operator <() 248 ? s2.len == 0 || memcmp(s1.ptr, s2.ptr, s2.len) >= 0 in operator >=() 249 : s1.len != 0 && memcmp(s1.ptr, s2.ptr, s1.len) > 0); in operator >=() 255 ? s2.len == 0 || memcmp(s1.ptr, s2.ptr, s2.len) >= 0 in operator >() 256 : s1.len != 0 && memcmp(s1.ptr, s2.ptr, s1.len) > 0); in operator >()
|
| /trueos/contrib/llvm/tools/lldb/source/Core/ |
| HD | UUID.cpp | 248 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) == 0; in operator ==() 254 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) != 0; in operator !=() 260 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) < 0; in operator <() 266 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) <= 0; in operator <=() 272 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) > 0; in operator >() 278 return ::memcmp (lhs.GetBytes(), rhs.GetBytes(), sizeof (lldb_private::UUID::ValueType)) >= 0; in operator >=()
|
| /trueos/crypto/openssl/crypto/rc2/ |
| HD | rc2test.c | 158 if (memcmp(&(RC2cipher[n][0]), buf, 8) != 0) { in main() 172 if (memcmp(&(RC2plain[n][0]), buf2, 8) != 0) { in main() 196 if (memcmp(text, out, strlen(text) + 1) != 0) { in main() 233 if (memcmp(cfb_cipher, cfb_buf1, CFB_TEST_SIZE) != 0) { in cfb64_test() 246 if (memcmp(plain, cfb_buf2, CFB_TEST_SIZE) != 0) { in cfb64_test()
|
| /trueos/contrib/netbsd-tests/crypto/opencrypto/ |
| HD | h_gcm.c | 89 if (memcmp(co.dst, ciphertx, sizeof(ciphertx))) in main() 91 if (memcmp(macbuf, hash, sizeof(hash))) in main() 120 if (memcmp(co.dst, plaintx, sizeof(plaintx))) in main() 122 if (memcmp(macbuf, hash, sizeof(hash))) in main()
|
| /trueos/contrib/opie/libopie/ |
| HD | verify.c | 112 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 117 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 126 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 135 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)); 159 if (memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey)))
|