/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_address.h | 23 return !memcmp(&a1, &a2, sizeof(in6_addr));
|
/haiku/src/system/libroot/posix/string/ |
H A D | memcmp.c | 11 memcmp(const void *_a, const void *_b, size_t count) function
|
H A D | bcmp.c | 20 return memcmp(a, b, bytes);
|
/haiku/src/bin/mail_utils/ |
H A D | mail2mbox.cpp | 89 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 D | mbox2mail.cpp | 136 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 D | PackageInfo.cpp | 173 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 D | PackageItem.cpp | 276 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 D | compare_test.cpp | 18 printf("memcmp(): %d\n", memcmp(a, b, 1));
|
/haiku/src/libs/compat/openbsd_network/compat/netinet/ |
H A D | if_ether.h | 20 #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 D | tbfind.c | 219 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 D | pe.cpp | 22 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 D | PropertyFlattenTest.cpp | 67 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 D | CheckSum.h | 44 return memcmp(fData, buffer, sizeof(fData)) == 0;
|
/haiku/src/libs/uuid/ |
H A D | compare.c | 53 return memcmp(uuid1.node, uuid2.node, 6);
|
/haiku/src/libs/gnu/ |
H A D | memmem.c | 60 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | FileInfo.h | 122 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 D | MetadataCache.cpp | 168 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 D | strings.h | 28 #define bcmp(a, b, length) memcmp((a), (b), (length))
|
/haiku/src/tests/kits/storage/ |
H A D | DataIOTest.cpp | 44 CPPUNIT_ASSERT(memcmp(mallocIO.Buffer(), "test test test longer-test", 27) == 0);
|
/haiku/src/servers/app/drawing/ |
H A D | AlphaMaskCache.h | 68 int diff = memcmp(fShape->ptList, other.fShape->ptList, 72 diff = memcmp(fShape->opList, other.fShape->opList,
|
/haiku/src/tests/system/libroot/posix/ |
H A D | fseek_test.cpp | 114 } 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 D | gnulib-test-wcsrtombs.c | 72 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 D | ByteOrderTest.cpp | 276 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 D | in6.h | 81 (!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 D | getservbyname_r.c | 97 if (memcmp(data + 3, proto, protolen + 1)) 109 memcmp(data + 1, name, namelen + 1) == 0)
|