Searched refs:memcmp (Results 51 - 75 of 220) sorted by relevance

123456789

/haiku/src/system/boot/platform/efi/
H A Ddevices.cpp143 if (memcmp(deviceHeader, &header->TableHeader(),
156 if (memcmp(&entries[index], &header->EntryAt(index),
/haiku/src/kits/media/
H A DTimedEventQueue.cpp95 return (0 == memcmp(&a,&b,sizeof(media_timed_event)));
101 return (0 != memcmp(&a,&b,sizeof(media_timed_event)));
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dconsistency_check.cpp148 if (memcmp(entry.hash, gSHA.Digest(), SHA_DIGEST_LENGTH))
187 if (memcmp(buffer, "HASH", 4)) {
/haiku/src/libs/libfdt/
H A Dfdt_ro.c23 if (memcmp(p, s, len) != 0)
111 return p && (slen == len) && (memcmp(p, s, len) == 0);
674 && (memcmp(val, propval, len) == 0))
712 if (memcmp(str, strlist, len+1) == 0)
768 if (length == len && memcmp(list, string, length) == 0)
/haiku/src/kits/network/libnetapi/
H A DNetworkAddress.cpp693 return !memcmp(&((sockaddr_in6&)fAddress).sin6_addr, &in6addr_any,
1082 return memcmp(&address.sin_addr, &otherAddress.sin_addr,
1090 return memcmp(&address.sin6_addr, &otherAddress.sin6_addr,
1098 return memcmp(&fAddress, &other.fAddress, fAddress.ss_len);
1201 compare = memcmp(&address.sin_addr, &otherAddress.sin_addr,
1210 compare = memcmp(&address.sin6_addr, &otherAddress.sin6_addr,
1222 compare = memcmp(LinkLevelAddress(), other.LinkLevelAddress(),
/haiku/src/tools/restest/
H A DResourceFile.cpp574 if (!memcmp(magic, kX86ResourceFileMagic, 4)) {
579 } else if (!memcmp(magic, kPEFFileMagic1, 4)) {
583 if (!memcmp(pefHeader.tag2, kPPCResourceFileMagic, 4)) {
588 } else if (!memcmp(pefHeader.tag2, kPEFFileMagic2, 4)) {
594 } else if (!memcmp(magic, kELFFileMagic, 4)) {
598 } else if (!memcmp(magic, kX86ResourceFileMagic, 2)) {
790 if (memcmp(pefHeader.architecture, kPEFArchitecturePPC, 4))
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_address.cpp157 return !memcmp(&i6a->sin6_addr, &i6b->sin6_addr, sizeof(in6_addr));
191 && !memcmp(&i6a->sin6_addr, &i6b->sin6_addr, sizeof(in6_addr));
219 return !memcmp(i6a, i6b, sizeof(in6_addr));
/haiku/src/kits/shared/
H A DKeymap.cpp466 if (sizeIn == 0 || memcmp(in, fChars + inOffset, sizeIn) != 0) {
491 && !memcmp(&fKeys, &other.fKeys, sizeof(fKeys))
492 && !memcmp(fChars, other.fChars, fCharsSize);
/haiku/src/tests/kits/interface/bbitmap/
H A DSetBitsTester.cpp418 CHK(memcmp(bitmap.Bits(), finalData.data, finalData.length) == 0);
440 CHK(memcmp(bitmap.Bits(), finalData.data, finalData.length) == 0);
476 CHK(memcmp(bitmap.Bits(), finalData.data, finalData.length) == 0);
/haiku/headers/cpp/std/
H A Dstraits.h123 { return memcmp (s1, s2, n); }
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcollate.c62 rc = memcmp(data1, data2, min(data1_len, data2_len));
/haiku/src/tests/kits/mail/
H A Dheader_test.cpp101 if (!memcmp(&buffer[pos], gDefaultFields[i].rfc_name,
/haiku/src/tools/fs_shell/
H A Dstring.cpp24 return memcmp(buffer1, buffer2, length);
/haiku/headers/private/kernel/boot/net/
H A DNetDefs.h72 return memcmp(address, other.address, sizeof(address)) == 0;
/haiku/src/libs/bsd/
H A Dreadpassphrase.c137 if (memcmp(&term, &oterm, sizeof(term)) != 0) {
/haiku/src/system/boot/platform/bios_ia32/
H A Ddebug.cpp154 bool recover = memcmp(buffer, kDebugSyslogSignature, signatureLength) == 0;
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dbios.cpp376 if (memcmp(vbios.memory, OPREGION_SIGNATURE, 16) != 0) {
429 if (memcmp(vbios.memory + i, "$VBT", 4) == 0) {
442 if (memcmp(vbt->signature, "$VBT", 4) != 0) {
497 if (memcmp(bdb->signature, "BIOS_DATA_BLOCK ", 16) != 0) {
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dacclib.h274 memcmp (
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/executer/
H A Dexmisc.c555 * memcmp to handle nulls in buffers.
562 Compare = memcmp (Operand0->Buffer.Pointer,
/haiku/src/apps/haikudepot/tar/
H A DTarArchiveService.cpp65 if (memcmp(zero_buffer, buffer, sizeof zero_buffer) == 0) {
/haiku/src/system/boot/loader/file_systems/fat/
H A DVolume.cpp73 if (!memcmp(buf+3, "NTFS ", 8) || !memcmp(buf+3, "HPFS ", 8))
/haiku/src/tools/translation/tiffinfo/
H A Dtiffinfo.cpp560 if (memcmp(buffer, kleSig, 4) == 0) {
564 } else if (memcmp(buffer, kbeSig, 4) == 0) {
/haiku/src/system/libnetwork/netresolv/dst/
H A Dhmac_link.c185 if (memcmp(digest, signature, MD5_LEN) != 0)
410 return memcmp(hkey1->hk_ipad, hkey2->hk_ipad, HMAC_LEN);
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/components/utilities/
H A Dutclib.c179 * FUNCTION: memcmp
207 * FUNCTION: memcmp
220 memcmp ( function
776 if (memcmp (String1, String2, Length) == 0)
/haiku/src/kits/storage/
H A DResourceFile.cpp399 } else if (!memcmp(magic, kX86ResourceFileMagic, 4)) {
405 } else if (!memcmp(magic, kPEFFileMagic1, 4)) {
409 if (!memcmp(pefHeader.tag2, kPPCResourceFileMagic, 4)) {
415 } else if (!memcmp(pefHeader.tag2, kPEFFileMagic2, 4)) {
421 } else if (!memcmp(magic, kELFFileMagic, 4)) {
425 } else if (!memcmp(magic, kX86ResourceFileMagic, 2)) {
690 if (memcmp(pefHeader.architecture, kPEFArchitecturePPC, 4) != 0)

Completed in 251 milliseconds

123456789