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

1234567891011>>

/freebsd-11-stable/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-11-stable/contrib/gcclibs/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
H A Dvsnprintf.c113 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0);
117 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0);
121 VERIFY (status==8 && memcmp (buf, "foobar:\0XXXXXX\0", 15) == 0);
125 VERIFY (status==8 && memcmp (buf, "foobar\0XXXXXXX\0", 15) == 0);
129 VERIFY (status==8 && memcmp (buf, "fooba\0XXXXXXXX\0", 15) == 0);
133 VERIFY (status==8 && memcmp (buf, "f\0XXXXXXXXXXXX\0", 15) == 0);
137 VERIFY (status==8 && memcmp (buf, "\0XXXXXXXXXXXXX\0", 15) == 0);
141 VERIFY (status==8 && memcmp (buf, "XXXXXXXXXXXXXX\0", 15) == 0);
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/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-11-stable/contrib/gcc/config/
H A Dmemcmp.c5 memcmp (const void *str1, const void *str2, size_t count) function
/freebsd-11-stable/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-11-stable/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-11-stable/lib/libc/amd64/string/
H A DMakefile.inc7 memcmp.S \
H A Dmemcmp.S11 RCSID("$NetBSD: memcmp.S,v 1.2 2003/07/26 19:24:39 salo Exp $")
14 ENTRY(memcmp)
42 END(memcmp)
/freebsd-11-stable/lib/libc/arm/string/
H A DMakefile.inc7 memcmp.S \
/freebsd-11-stable/contrib/gdb/gdb/
H A Dgdb_string.h51 extern int memcmp ();
/freebsd-11-stable/lib/libc/string/
H A Dmemcmp.c34 static char sccsid[] = "@(#)memcmp.c 8.1 (Berkeley) 6/4/93";
45 memcmp(const void *s1, const void *s2, size_t n) function
/freebsd-11-stable/lib/libc/uuid/
H A Duuid_equal.c54 return ((memcmp(a, b, sizeof(uuid_t))) ? 0 : 1);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_oid_equal.c57 return memcmp(a->elements, b->elements, a->length) == 0;
/freebsd-11-stable/sys/libkern/
H A Dmemcmp.c42 memcmp(const void *s1, const void *s2, size_t n) function
/freebsd-11-stable/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-11-stable/contrib/apr-util/test/
H A Dtestuuid.c32 memcmp(&uuid, &uuid2, sizeof(uuid)) == 0);
45 memcmp(&uuid, &uuid2, sizeof(uuid)) != 0);
/freebsd-11-stable/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-11-stable/lib/libc/i386/string/
H A Dmemcmp.S35 * memcmp (void *b1, void *b2, size_t len)
41 ENTRY(memcmp)
76 END(memcmp)

Completed in 171 milliseconds

1234567891011>>