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

123456789

/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_address.h23 return !memcmp(&a1, &a2, sizeof(in6_addr));
/haiku/src/system/libroot/posix/string/
H A Dmemcmp.c11 memcmp(const void *_a, const void *_b, size_t count) function
H A Dbcmp.c20 return memcmp(a, b, bytes);
/haiku/src/bin/mail_utils/
H A Dmail2mbox.cpp89 if (memcmp("From ", lineString, 5) != 0)
106 if (memcmp(string, "Mon", 3) != 0 && memcmp(string, "Tue", 3) != 0
107 && memcmp(string, "Wed", 3) != 0 && memcmp(string, "Thu", 3) != 0
108 && memcmp(string, "Fri", 3) != 0 && memcmp(string, "Sat", 3) != 0
109 && memcmp(string, "Sun", 3) != 0) {
120 if (memcmp(string, "Jan", 3) != 0 && memcmp(strin
[all...]
H A Dmbox2mail.cpp136 if (memcmp ("From ", LineString, 5) != 0)
151 if (memcmp (StringPntr, "Mon", 3) != 0 &&
152 memcmp (StringPntr, "Tue", 3) != 0 &&
153 memcmp (StringPntr, "Wed", 3) != 0 &&
154 memcmp (StringPntr, "Thu", 3) != 0 &&
155 memcmp (StringPntr, "Fri", 3) != 0 &&
156 memcmp (StringPntr, "Sat", 3) != 0 &&
157 memcmp (StringPntr, "Sun", 3) != 0)
169 if (memcmp (StringPntr, "Jan", 3) != 0 &&
170 memcmp (StringPnt
[all...]
/haiku/src/apps/packageinstaller/
H A DPackageInfo.cpp173 if (!memcmp(buffer, "PhIn", 5)) {
174 } else if (!memcmp(buffer, "FVer", 5)) {
178 } else if (!memcmp(buffer, "AFla", 5)) {
182 } else if (!memcmp(buffer, "FSiz", 5)) {
187 } else if (!memcmp(buffer, "COff", 5)) {
192 } else if (!memcmp(buffer, "AOff", 5)) {
197 } else if (!memcmp(buffer, padding, 7)) {
211 if (memcmp(buffer, "PkgA", 5) || !groupsOffset || !infoOffset) {
249 if (!memcmp(buffer, groupsMarker, 7)) {
253 } else if (!memcmp(buffe
[all...]
H A DPackageItem.cpp276 if (fPackage->Read(buffer, 7) != 7 || memcmp(buffer, header, 5))
292 if (!memcmp(buffer, "FBeA", 5))
324 if (!memcmp(buffer, "BeAI", 5)) {
332 } else if (!memcmp(buffer, "BeAN", 5)) {
352 } else if (!memcmp(buffer, "BeAT", 5)) {
362 } else if (!memcmp(buffer, "BeAD", 5)) {
400 } else if (!memcmp(buffer, padding, 7)) {
436 if (!memcmp(buffer, "BeAI", 5)) {
439 } else if (!memcmp(buffer, "BeAN", 5)) {
451 } else if (!memcmp(buffe
[all...]
/haiku/src/tests/system/libroot/posix/string/
H A Dcompare_test.cpp18 printf("memcmp(): %d\n", memcmp(a, b, 1));
/haiku/src/libs/compat/openbsd_network/compat/netinet/
H A Dif_ether.h20 #define ETHER_IS_EQ(a1, a2) (memcmp((a1), (a2), ETHER_ADDR_LEN) == 0)
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/tables/
H A Dtbfind.c219 if (memcmp (&(AcpiGbl_RootTableList.Tables[i].Signature),
247 if (!memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->Signature,
250 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemId,
253 !memcmp (AcpiGbl_RootTableList.Tables[i].Pointer->OemTableId,
/haiku/src/system/runtime_loader/
H A Dpe.cpp22 if (memcmp(&mzHeader->magic, MZ_MAGIC, 2) != 0)
33 if (memcmp(&peHeader->magic, PE_MAGIC, 2) != 0)
/haiku/src/tests/kits/app/bpropertyinfo/
H A DPropertyFlattenTest.cpp67 assert(memcmp(buffer, bflat_data, propTest->FlattenedSize()) == 0);
69 assert(memcmp(buffer, lflat_data, propTest->FlattenedSize()) == 0);
/haiku/src/tests/system/kernel/file_corruption/
H A DCheckSum.h44 return memcmp(fData, buffer, sizeof(fData)) == 0;
/haiku/src/libs/uuid/
H A Dcompare.c53 return memcmp(uuid1.node, uuid2.node, 6);
/haiku/src/libs/gnu/
H A Dmemmem.c60 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DFileInfo.h122 return memcmp(fData, handle.fData, fSize) == 0;
138 return memcmp(fData, handle.fData, fSize) > 0;
147 return memcmp(fData, handle.fData, fSize) < 0;
H A DMetadataCache.cpp168 if (memcmp(&oldStat->st_atim, &newStat->st_atim,
172 if (memcmp(&oldStat->st_ctim, &newStat->st_ctim,
176 if (memcmp(&oldStat->st_crtim, &newStat->st_crtim,
180 if (memcmp(&oldStat->st_mtim, &newStat->st_mtim,
/haiku/headers/posix/
H A Dstrings.h28 #define bcmp(a, b, length) memcmp((a), (b), (length))
/haiku/src/tests/kits/storage/
H A DDataIOTest.cpp44 CPPUNIT_ASSERT(memcmp(mallocIO.Buffer(), "test test test longer-test", 27) == 0);
/haiku/src/servers/app/drawing/
H A DAlphaMaskCache.h68 int diff = memcmp(fShape->ptList, other.fShape->ptList,
72 diff = memcmp(fShape->opList, other.fShape->opList,
/haiku/src/tests/system/libroot/posix/
H A Dfseek_test.cpp114 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
132 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
150 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
168 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
186 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
204 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
283 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0
284 || memcmp(&buf[sizeof(outstr) - 1], outstr, sizeof(outstr) - 1) != 0
299 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0
300 || memcmp(
[all...]
H A Dgnulib-test-wcsrtombs.c72 assert(memcmp (buf, original, ret) == 0);
114 assert(memcmp (buf, original, ret) == 0);
156 assert(memcmp (buf, original, ret) == 0);
206 assert(memcmp (buf, original, ret) == 0);
249 assert(memcmp (buf, original, ret) == 0);
/haiku/src/tests/kits/support/
H A DByteOrderTest.cpp276 CHK(!memcmp(target, source, sizeof(source))); \
278 CHK(!memcmp(target, source, sizeof(source))); \
281 CHK(memcmp(target, source, sizeof(source))); \
283 CHK(!memcmp(target, source, sizeof(source))); \
286 CHK(!memcmp(target, source, sizeof(source))); \
288 CHK(!memcmp(target, source, sizeof(source))); \
291 CHK(memcmp(target, source, sizeof(source))); \
293 CHK(!memcmp(target, source, sizeof(source))); \
297 CHK(memcmp(target, source, sizeof(source))); \
299 CHK(!memcmp(targe
[all...]
/haiku/headers/posix/netinet6/
H A Din6.h81 (!memcmp((a)->s6_addr, in6addr_any.s6_addr, sizeof(struct in6_addr)))
84 (!memcmp((a)->s6_addr, in6addr_loopback.s6_addr, sizeof(struct in6_addr)))
133 (!memcmp((a)->s6_addr, (b)->s6_addr, sizeof(struct in6_addr)))
/haiku/src/system/libnetwork/netresolv/net/
H A Dgetservbyname_r.c97 if (memcmp(data + 3, proto, protolen + 1))
109 memcmp(data + 1, name, namelen + 1) == 0)

Completed in 158 milliseconds

123456789