Home
last modified time | relevance | path

Searched refs:memcmp (Results 1 – 25 of 68) sorted by relevance

123

/xen/xen/common/
A Ddecompress.c15 (!memcmp(inbuf, "\037\213", 2) || !memcmp(inbuf, "\037\236", 2)) ) in decompress()
19 if ( len >= 3 && !memcmp(inbuf, "\x42\x5a\x68", 3) ) in decompress()
22 if ( len >= 6 && !memcmp(inbuf, "\3757zXZ", 6) ) in decompress()
25 if ( len >= 2 && !memcmp(inbuf, "\135\000", 2) ) in decompress()
28 if ( len >= 5 && !memcmp(inbuf, "\x89LZO", 5) ) in decompress()
31 if ( len >= 2 && !memcmp(inbuf, "\x02\x21", 2) ) in decompress()
A Dstring.c307 if (!memcmp(s1, s2, l2))
392 int (memcmp)(const void *cs, const void *ct, size_t count)
A Dearlycpio.c131 !memcmp(p, path, mypathsize)) { in find_cpio_data()
/xen/stubdom/
A Dvtpm_TPM_ChangeAuthAsymFinish.patch1 error: 'memcmp' reading 20 bytes from a region of size 8 [-Werror=stringop-overflow=]
8 - if (memcmp(&b1, &newAuthLink, sizeof(TPM_HMAC))) {
9 + if (memcmp(&b1, newAuthLink, sizeof(TPM_HMAC))) {
/xen/xen/arch/x86/
A Ddmi_scan.c214 if (eps3 && memcmp(eps3->anchor, "_SM3_", 5) == 0 && in dmi_efi_get_table()
222 if (eps && memcmp(eps->anchor, "_SM_", 4) == 0 && in dmi_efi_get_table()
228 if (memcmp(eps->dmi.anchor, "_DMI_", 5) == 0 && in dmi_efi_get_table()
269 memcmp(eps.dmi.anchor, "_DMI_", 5) == 0 && in dmi_get_table()
283 if (!memcmp(eps.smbios3.anchor, "_SM3_", 5) && in dmi_get_table()
351 if (memcmp(dmi.anchor, "_DMI_", 5) || in dmi_iterate()
358 if (memcmp(smbios3.anchor, "_SM3_", 5) || in dmi_iterate()
387 if (memcmp(eps.anchor, "_SM3_", 5) || in dmi_efi_iterate()
410 if (memcmp(eps.anchor, "_SM_", 4) || in dmi_efi_iterate()
418 memcmp(eps.dmi.anchor, "_DMI_", 5) == 0 && in dmi_efi_iterate()
A Dbzimage.c61 if ( memcmp(&hdr->header, HDR_MAGIC, HDR_MAGIC_SZ) != 0 ) in bzimage_check()
/xen/xen/arch/x86/pv/
A Demul-inv-op.c41 if ( memcmp(sig, "\xf\xbxen", sizeof(sig)) ) in emulate_forced_invalid_op()
51 if ( memcmp(instr, "\xf\xa2", sizeof(instr)) ) in emulate_forced_invalid_op()
/xen/tools/tests/x86_emulator/
A Dtest_x86_emulator.c2676 memcmp(res, res + 6, 8) ) in main()
2723 memcmp(res, res + 6, 8) ) in main()
2770 memcmp(res, res + 6, 8) ) in main()
3195 memcmp(res, res + 6, 8) ) in main()
3246 memcmp(res, res + 6, 8) ) in main()
3298 memcmp(res, res + 6, 8) ) in main()
3351 memcmp(res, res + 6, 8) ) in main()
3617 memcmp(res, res + 6, 8) ) in main()
3641 memcmp(res, res + 6, 8) ) in main()
3669 memcmp(res, res + 6, 8) ) in main()
[all …]
A Dwrappers.c20 rc = memcmp(p1, p2, sz); in emul_memcmp()
/xen/xen/arch/x86/efi/
A Dmkreloc.c331 if ( memcmp(sec1[i].name, sec2[i].name, sizeof(sec1[i].name)) || in main()
349 if ( memcmp(sec1[i].name, ".initcal", sizeof(sec1[i].name)) == 0 || in main()
350 memcmp(sec1[i].name, ".init.se", sizeof(sec1[i].name)) == 0 || in main()
351 memcmp(sec1[i].name, ".buildid", sizeof(sec1[i].name)) == 0 || in main()
352 memcmp(sec1[i].name, ".lockpro", sizeof(sec1[i].name)) == 0 ) in main()
/xen/xen/include/xen/
A Dstring.h100 int memcmp(const void *, const void *, size_t);
101 #define memcmp(s1, s2, n) __builtin_memcmp(s1, s2, n) macro
A Dcper.h35 return memcmp(&u1, &u2, sizeof(uuid_le)); in uuid_le_cmp()
/xen/stubdom/vtpmmgr/
A Dtpmrsa.c109 if (memcmp(tmp + 220, rsa_der_header, sizeof(rsa_der_header))) in tpmrsa_sigcheck()
111 if (memcmp(tmp + 236, sha1, 20)) in tpmrsa_sigcheck()
A Ddisk_read.c90 if (memcmp(&buf, &cfg->digest_release, 20)) in find_group_key()
101 if (memcmp(&sealed.magic, DISK_GROUP_BOUND_MAGIC, 4)) in find_group_key()
103 if (memcmp(sealed.tpm_manager_uuid, parent->uuid, 16)) in find_group_key()
134 if (memcmp(&sealed.magic, DISK_ROOT_BOUND_MAGIC, 4)) in parse_root_key()
167 if (memcmp(seal->hdr.magic, TPM_MGR_MAGIC, 12)) in find_root_key()
185 if (memcmp(&buf, &src->digest_release, 20)) in find_root_key()
/xen/tools/fuzz/cpu-policy/
A Dafl-policy-fuzzer.c62 if ( memcmp(cp, &new, sizeof(*cp)) != 0 ) in check_cpuid()
97 assert(memcmp(mp, &new, sizeof(*mp)) == 0); in check_msr()
/xen/xen/arch/arm/arm64/lib/
A DMakefile1 obj-y += memcpy.o memcmp.o memmove.o memset.o memchr.o
A Dmemcmp.S60 ENTRY(memcmp)
257 ENDPROC(memcmp)
/xen/xen/common/libfdt/
A Dfdt_ro.c65 if (memcmp(p, s, len) != 0) in _fdt_nodename_eq()
86 return (strlen(p) == len) && (memcmp(p, s, len) == 0); in _fdt_string_eq()
484 && (memcmp(val, propval, len) == 0)) in fdt_node_offset_by_prop_value()
522 if (memcmp(str, strlist, len+1) == 0) in fdt_stringlist_contains()
/xen/xen/include/asm-arm/
A Dstring.h35 int memcmp(const void *, const void *, size_t);
/xen/tools/firmware/rombios/32bit/
A Dutil.h23 int memcmp(const void *s1, const void *s2, unsigned n);
/xen/xen/arch/arm/
A DREADME.LinuxPrimitives34 linux/arch/arm64/lib/memcmp.S xen/arch/arm/arm64/lib/memcmp.S
39 for i in memchr.S memcmp.S memcpy.S memmove.S memset.S ; do
/xen/tools/libxl/
A Dlibxl_genid.c51 return memcmp(id->bytes, zero.bytes, LIBXL_MS_VM_GENID_LEN) == 0; in libxl_ms_vm_genid_is_zero()
/xen/stubdom/vtpm/
A Dvtpmblk.c303 if(!memcmp(hash0, hashkey, HASHSZ)) in read_vtpmblk()
317 if(!memcmp(hash1, hashkey, HASHSZ)) in read_vtpmblk()
/xen/tools/libxc/
A Dxc_dom_bzimageloader.c432 if ( left < 16 || memcmp(cur, magic, 9) ) in xc_try_lzo1x_decode()
647 return (memcmp(dom->kernel_blob, magic, len) == 0); in check_magic()
671 if ( memcmp(&hdr->header, HDR_MAGIC, HDR_MAGIC_SZ) != 0 ) in xc_dom_probe_bzimage_kernel()
/xen/tools/libfsimage/iso9660/
A Dfsys_iso9660.c129 && !memcmp(PRIMDESC->id, ISO_STANDARD_ID, sizeof(PRIMDESC->id))) in iso9660_mount()
355 && !memcmp(name, dirname, pathlen)) in iso9660_dir()

Completed in 44 milliseconds

123