Home
last modified time | relevance | path

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

1234

/toolchain/binutils/binutils-2.27/ld/testsuite/ld-plugin/
Dpr12365b.c15 extern int memcmp (const void *, const void *, size_t);
31 if (memcmp (b.c, x, 32) || c.c[0] != 'x' || memcmp (c.c + 1, x + 32, 31)) in main_test()
33 if (__builtin_memcpy (y, x, i) != y || memcmp (x, y, 64)) in main_test()
36 || memcmp (x, y, 6) || memcmp (x, y + 6, 58)) in main_test()
39 || memcmp (y, "foXXXXfoobar", 13)) in main_test()
42 if (memcmp (y, "fooXXXXfobar", 13)) in main_test()
45 if (memcmp (y, "fooX\0\0Xfobar", 13)) in main_test()
Dpr12758a.s4 .dc.a memcmp
Dpr12758b.c3 int memcmp(const void *cs, const void *ct, size_t count) in memcmp() function
/toolchain/binutils/binutils-2.27/libiberty/
Dvsnprintf.c114 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0); in main()
118 VERIFY (status==8 && memcmp (buf, "foobar:9\0XXXXX\0", 15) == 0); in main()
122 VERIFY (status==8 && memcmp (buf, "foobar:\0XXXXXX\0", 15) == 0); in main()
126 VERIFY (status==8 && memcmp (buf, "foobar\0XXXXXXX\0", 15) == 0); in main()
130 VERIFY (status==8 && memcmp (buf, "fooba\0XXXXXXXX\0", 15) == 0); in main()
134 VERIFY (status==8 && memcmp (buf, "f\0XXXXXXXXXXXX\0", 15) == 0); in main()
138 VERIFY (status==8 && memcmp (buf, "\0XXXXXXXXXXXXX\0", 15) == 0); in main()
142 VERIFY (status==8 && memcmp (buf, "XXXXXXXXXXXXXX\0", 15) == 0); in main()
Dbcmp.c20 extern int memcmp(const void *, const void *, size_t);
25 return memcmp (s1, s2, count); in bcmp()
Dmemcmp.c23 memcmp (const PTR str1, const PTR str2, size_t count) in memcmp() function
Dmemmem.c65 !memcmp ((const void *) &begin[1], in memmem()
Dcplus-dem.c676 && memcmp (optable[i].in, opname + 2, 2) == 0) in cplus_demangle_opname()
694 && memcmp (optable[i].in, opname + 2, 3) == 0) in cplus_demangle_opname()
712 && memcmp (opname + 3, "assign_", 7) == 0) in cplus_demangle_opname()
719 && memcmp (optable[i].in, opname + 10, len1) == 0) in cplus_demangle_opname()
736 && memcmp (optable[i].in, opname + 3, len1) == 0) in cplus_demangle_opname()
746 else if (len >= 5 && memcmp (opname, "type", 4) == 0 in cplus_demangle_opname()
781 && memcmp (optable[i].out, opname, len) == 0) in cplus_mangle_opname()
1811 && memcmp (optable[i].in, *mangled, l) == 0) in demangle_expression()
4642 && memcmp (declp->b + 3, "assign_", 7) == 0) in demangle_function_name()
4648 && memcmp (optable[i].in, declp->b + 10, len) == 0) in demangle_function_name()
[all …]
/toolchain/binutils/binutils-2.27/gold/testsuite/
Dscript_test_2.cc61 assert(memcmp(start_data, "\1\2\0\4\0\0\0\010\0\0\0\0\0\0\0", 15) == 0 in main()
62 || memcmp(start_data, "\1\0\2\0\0\0\4\0\0\0\0\0\0\0\010", 15) == 0); in main()
67 assert(memcmp(start_fill, "\x12\x34\x56\x78\x12\x34\x56\0", 8) == 0); in main()
Dbinary_unittest.cc107 CHECK(memcmp(filedata, contents, len) == 0); in Sized_binary_test()
/toolchain/binutils/binutils-2.27/bfd/
Decoffswap.h132 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_hdr_in()
174 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_hdr_out()
242 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_fdr_in()
311 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_fdr_out()
373 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_pdr_in()
433 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_pdr_out()
487 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_sym_in()
537 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_sym_out()
576 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_ext_in()
626 if (memcmp ((char *) ext, (char *) intern, sizeof (*intern)) != 0) in ecoff_swap_ext_out()
[all …]
Dmerge.c202 && memcmp (hashp->root.string, string, len) == 0) in sec_merge_hash_lookup()
606 return memcmp (A->root.string + (A->len - B->len), in is_suffix()
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/alpha/
Delf-reloc-8.d45 0*0000150 ELF_LITERAL memcmp
49 0*0000164 HINT memcmp
132 0*0000334 ELF_LITERAL memcmp
136 0*0000348 HINT memcmp
138 0*0000358 ELF_LITERAL memcmp
142 0*0000374 HINT memcmp
Delf-reloc-8.s321 ldq $27,memcmp($29) !literal!42
326 jsr $26,($27),memcmp !lituse_jsr!42
330 ldq $27,memcmp($29) !literal!38
337 jsr $26,($27),memcmp !lituse_jsr!38
1072 ldq $27,memcmp($29) !literal!102
1077 jsr $26,($27),memcmp !lituse_jsr!102
/toolchain/binutils/binutils-2.27/gold/
Dnacl.h221 if (memcmp(name, "NaCl", sizeof "NaCl") == 0 in do_recognize_nacl_file()
222 && memcmp(desc, nacl_abi_name_.c_str(), in do_recognize_nacl_file()
Dstringpool.cc129 || memcmp(h1.string, h2.string, in operator ()()
368 return memcmp(s1, s2 + len2 - len1, len1 * sizeof(Stringpool_char)) == 0; in is_suffix()
Dtarget.cc188 return memcmp(view + offset, bytes, len) == 0; in match_view()
Dreadsyms.cc297 = memcmp(ehdr, Archive::armagt, Archive::sarmag) == 0; in do_read_symbols()
299 || memcmp(ehdr, Archive::armag, Archive::sarmag) == 0) in do_read_symbols()
/toolchain/binutils/binutils-2.27/binutils/
Delfedit.c384 if (memcmp (arch.arhdr.ar_fmag, ARFMAG, 2) != 0) in process_archive()
534 if (memcmp (armag, ARMAG, SARMAG) == 0) in process_file()
536 else if (memcmp (armag, ARMAGT, SARMAG) == 0) in process_file()
Dmclex.c233 int e = memcmp (usz, c->usz, len * sizeof (unichar)); in mc_add_keyword()
314 if (! memcmp (k->usz, t, len * sizeof (unichar))) in mc_token()
Drclex.c154 if (len > mlen && memcmp (s, "pragma", mlen) == 0 && ISSPACE (s[mlen])) in cpp_line()
163 if (len <= mlen || memcmp (s, "code_page", mlen) != 0) in cpp_line()
/toolchain/binutils/binutils-2.27/opcodes/
Dcgen-bitset.c119 return memcmp (mask1->bits, mask2->bits, mask1->length); in cgen_bitset_compare()
Dopc2c.c528 if (memcmp (op->id + bit, name, n) == 0 in fieldcmp()
616 && (isdigit (line[6]) || memcmp (line + 6, "VARY", 4) == 0)) in main()
/toolchain/binutils/binutils-2.27/zlib/
Dzutil.h209 # define zmemcmp memcmp
/toolchain/binutils/binutils-2.27/zlib/contrib/testzlib/
Dtestzlib.c269 if (memcmp(FilePtr,UncprPtr,lFileSize)==0) in main()

1234