Searched refs:memcmp (Results 1 - 25 of 1069) sorted by relevance

1234567891011>>

/freebsd-head/contrib/unbound/compat/
H A Dmemcmp.h2 * memcmp.h: undef memcmp for compat.
11 #ifdef memcmp
13 # undef memcmp macro
H A Dmemcmp.c2 * memcmp.c: memcmp compat implementation.
11 int memcmp(const void *x, const void *y, size_t n);
13 int memcmp(const void *x, const void *y, size_t n) function
/freebsd-head/contrib/binutils/libiberty/
H A Dbcmp.c20 extern int memcmp(const void *, const void *, size_t);
25 return memcmp (s1, s2, count);
H A Dmemcmp.c0 /* memcmp -- compare two memory regions.
6 @deftypefn Supplemental int memcmp (const void *@var{x}, const void *@var{y}, size_t @var{count})
22 memcmp (const PTR str1, const PTR str2, size_t count) function
/freebsd-head/lib/libc/tests/string/
H A Dmemcmp_test.c41 assert(memcmp("a", "b", 0) == 0);
42 assert(memcmp("", "", 0) == 0);
54 assert(memcmp(data1, data2, i) == 0);
56 assert(memcmp(data1 + i, data2 + i, 256 - i) == 0);
70 assert(memcmp(data1, data2, i) != 0);
72 assert(memcmp(data1 + i, data2 + i, 256 - i) != 0);
86 assert(memcmp(data1 + 128, data2 + 128, i) == 255);
87 assert(memcmp(data2 + 128, data1 + 128, i) == -255);
88 assert(memcmp(data1 + 129 - i, data2 + 129 - i, i) == 255);
89 assert(memcmp(data
[all...]
/freebsd-head/lib/libc/amd64/string/
H A DMakefile.inc5 memcmp.S \
/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/arm/
H A Daeabi_memcmp.S1 //===-- aeabi_memcmp.S - EABI memcmp implementation -----------------------===//
11 // void __aeabi_memcmp(void *dest, void *src, size_t n) { memcmp(dest, src, n); }
18 bl memcmp
21 b memcmp
/freebsd-head/lib/msun/tests/
H A Dnan_test.c59 * so we need to initialize the memory for the memcmp()
72 assert(memcmp(&af[0], &af[1], sizeof(float)) == 0);
73 assert(memcmp(&af[1], &af[2], sizeof(float)) == 0);
77 assert(memcmp(&af[2], &af[3], sizeof(float)) == 0);
85 assert(memcmp(&ad[0], &ad[1], sizeof(double)) == 0);
86 assert(memcmp(&ad[1], &ad[2], sizeof(double)) == 0);
90 assert(memcmp(&ad[2], &ad[3], sizeof(double)) == 0);
98 assert(memcmp(&ald[0], &ald[1], sizeof(long double)) == 0);
99 assert(memcmp(&ald[1], &ald[2], sizeof(long double)) == 0);
103 assert(memcmp(
[all...]
/freebsd-head/lib/libc/arm/string/
H A DMakefile.inc7 memcmp.S \
/freebsd-head/usr.sbin/bluetooth/sdpd/
H A Dprovider.h57 (memcmp(b, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0 || \
58 memcmp(&(p)->bdaddr, NG_HCI_BDADDR_ANY, sizeof(bdaddr_t)) == 0 || \
59 memcmp(&(p)->bdaddr, b, sizeof(bdaddr_t)) == 0)
/freebsd-head/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DGUID.h26 return 0 == ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid));
30 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) < 0;
34 return ::memcmp(LHS.Guid, RHS.Guid, sizeof(LHS.Guid)) <= 0;
/freebsd-head/lib/libc/aarch64/string/
H A DMakefile.inc11 memcmp.S \
/freebsd-head/contrib/gdb/gdb/
H A Dgdb_string.h51 extern int memcmp ();
/freebsd-head/crypto/heimdal/lib/gssapi/mech/
H A Dgss_oid_equal.c57 return memcmp(a->elements, b->elements, a->length) == 0;
/freebsd-head/lib/libc/string/
H A Dmemcmp.c36 static char sccsid[] = "@(#)memcmp.c 8.1 (Berkeley) 6/4/93";
47 memcmp(const void *s1, const void *s2, size_t n) function
/freebsd-head/lib/libc/uuid/
H A Duuid_equal.c56 return ((memcmp(a, b, sizeof(uuid_t))) ? 0 : 1);
/freebsd-head/sys/libkern/
H A Dmemcmp.c44 (memcmp)(const void *s1, const void *s2, size_t n) function
/freebsd-head/sys/contrib/libsodium/test/default/
H A Dsecretbox_easy2.c33 printf("%d\n", memcmp(m, m2, mlen));
51 printf("%d\n", memcmp(m, m2, mlen));
55 printf("%d\n", memcmp(m, c, mlen) == 0);
56 printf("%d\n", memcmp(m, c + crypto_secretbox_MACBYTES, mlen) == 0);
62 printf("%d\n", memcmp(m, c, mlen));
H A Dkx.c60 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) != 0 ||
61 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) != 0) {
70 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 &&
71 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) == 0) {
80 if (memcmp(server_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0 ||
81 memcmp(server_tx, client_rx, crypto_kx_SESSIONKEYBYTES) == 0) {
120 assert(memcmp(client_rx, client_tx, crypto_kx_SESSIONKEYBYTES) == 0);
121 assert(memcmp(client_tx, server_rx, crypto_kx_SESSIONKEYBYTES) == 0);
122 assert(memcmp(server_rx, server_tx, crypto_kx_SESSIONKEYBYTES) == 0);
/freebsd-head/crypto/heimdal/lib/asn1/
H A Dder_cmp.c41 return memcmp(p->components,
52 return memcmp(p->data, q->data, p->length);
76 i = memcmp(p->data, q->data, p->length / 8);
98 return memcmp(p->data, q->data, p->length);
106 return memcmp(p->data, q->data, q->length * sizeof(q->data[0]));
115 return memcmp(p->data, q->data, q->length * sizeof(q->data[0]));
/freebsd-head/contrib/opie/
H A Dopietest.c44 if (memcmp(&key, testout, sizeof(testout)))
61 if (memcmp(buffer, testout, sizeof(testout)))
78 if (memcmp(buffer, testout, sizeof(testout)))
93 if (memcmp(&key, testout, sizeof(testout)))
109 if (memcmp(buffer, testout, sizeof(testout)))
136 if (memcmp(&testin_aligned, testout, sizeof(struct opie_otpkey)))
152 if (memcmp(&testin_aligned, testout, sizeof(struct opie_otpkey)))
175 if (memcmp(&opie_otpkey, testout, sizeof(struct opie_otpkey)))
/freebsd-head/lib/libc/i386/string/
H A Dmemcmp.S35 * memcmp (void *b1, void *b2, size_t len)
41 ENTRY(memcmp) function
76 END(memcmp)
H A DMakefile.inc8 memcmp.S \
/freebsd-head/contrib/apr-util/test/
H A Dtestuuid.c32 memcmp(&uuid, &uuid2, sizeof(uuid)) == 0);
45 memcmp(&uuid, &uuid2, sizeof(uuid)) != 0);
/freebsd-head/tools/regression/netinet6/icmp6_filter/
H A Dicmp6_filter.c73 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)
90 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)
107 if (memcmp(&ic6f, &ic6f_blockall, sizeof(ic6f)) != 0)
124 if (memcmp(&ic6f, &ic6f_passall, sizeof(ic6f)) != 0)

Completed in 125 milliseconds

1234567891011>>