Home
last modified time | relevance | path

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

12345

/bionic/tests/
Dsys_random_test.cpp44 ASSERT_TRUE(memcmp(buf1, buf2, sizeof(buf1)) != 0); in TEST()
80 ASSERT_TRUE(memcmp(buf1, buf2, sizeof(buf1)) != 0); in TEST()
Dstring_test.cpp275 EXPECT_TRUE(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN) == 0); in TEST()
532 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
533 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
556 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
557 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
582 ASSERT_TRUE(memcmp(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]) == 0); in TEST()
614 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN) != 0) || in TEST()
615 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
641 ASSERT_EQ(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN), 0); in TEST()
710 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr, state.MAX_LEN)); in TEST()
[all …]
Dnetinet_in_test.cpp47 ASSERT_EQ(0, memcmp(&any, &in6addr_any, sizeof(in6addr_any))); in TEST()
52 ASSERT_EQ(0, memcmp(&loopback, &in6addr_loopback, sizeof(in6addr_loopback))); in TEST()
Dbionic_allocator_test.cpp97 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size) == 0); in TEST()
113 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size * 2) == 0); in TEST()
125 ASSERT_TRUE(memcmp(reallocated_ptr, model, 4000) == 0); in TEST()
147 ASSERT_TRUE(memcmp(ptr1, zeros, 16) == 0); in TEST()
Dsys_uio_test.cpp82 ASSERT_EQ(0, memcmp(src, dst, sizeof src)); in TEST()
101 ASSERT_EQ(0, memcmp(src, dst, sizeof src)); in TEST()
Dpidfd_test.cpp82 ASSERT_EQ(0, memcmp(buf, "foo", 3)); in TEST()
Dsystem_properties_test.cpp202 ASSERT_EQ(0, memcmp(prop_value, prop_value_ret, PROP_VALUE_MAX)); in TEST()
293 ASSERT_EQ(0, memcmp(prop_value, prop_value_ret, PROP_VALUE_MAX)); in TEST()
/bionic/libc/arch-x86/
Dstatic_function_dispatch.S36 FUNCTION_DELEGATE(memcmp, memcmp_generic)
Ddynamic_function_dispatch.cpp36 DEFINE_IFUNC_FOR(memcmp) { in DEFINE_IFUNC_FOR() argument
/bionic/libc/malloc_debug/
DGuardData.h50 bool Valid(void* data) { return memcmp(data, cmp_mem_.data(), cmp_mem_.size()) == 0; } in Valid()
DMapData.cpp100 return memcmp(reinterpret_cast<void*>(addr), ELFMAG, SELFMAG) == 0; in valid_elf()
/bionic/docs/
Dlibc_assembler.md20 Benchmark 64 bit memcmp:
22 …nchmarktest64/bionic-benchmarks/bionic-benchmarks --bionic_xml=string.xml --benchmark_filter=memcmp
24 Benchmark 32 bit memcmp:
26 …benchmarktest/bionic-benchmarks/bionic-benchmarks --bionic_xml=string.xml --benchmark_filter=memcmp
30 …ionic-benchmarks/bionic-benchmarks --bionic_cpu=2 --bionic_xml=string.xml --benchmark_filter=memcmp
60 bionic-benchmarks --bionic_xml=string.xml --benchmark_filter=memcmp
/bionic/libc/include/netinet/
Din6.h92 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
/bionic/tests/headers/posix/
Dstring_h.c40 FUNCTION(memcmp, int (*f)(const void*, const void*, size_t)); in string_h()
/bionic/libc/bionic/
Dmntent.cpp86 if (memcmp(token, opt, optLen) == 0 && in hasmntopt()
Ddl_iterate_phdr_static.cpp45 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
Dbionic_allocator.cpp336 if (memcmp(info->signature, kSignature, sizeof(kSignature)) != 0) { in get_page_info()
401 if (memcmp(info->signature, kSignature, sizeof(kSignature)) != 0) { in get_chunk_size()
/bionic/libc/arch-arm/generic/bionic/
Dmemcmp.S44 ENTRY(memcmp)
343 END(memcmp)
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_010.S159 CALL(memcmp)
Dliblinker_reloc_bench_032.S200 CALL(memcmp)
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregexec.c163 #define EQ(a, b) (memcmp(a, b, (size_t)m->g->nstates) == 0) in __weak_alias()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c119 if (memcmp(n, n+p, ms+1)) { in twoway_strstr()
Dmemmem.c121 if (memcmp(n, n+p, ms+1)) { in twoway_memmem()
/bionic/libc/include/
Dstring.h52 int memcmp(const void* __lhs, const void* __rhs, size_t __n) __attribute_pure__;
/bionic/libc/dns/net/
Dsethostent.c272 if (!memcmp(hp->h_addr_list[0], addr, (size_t)hp->h_length)) in _hf_gethtbyaddr()

12345