Home
last modified time | relevance | path

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

123

/bionic/tests/
Dnetinet_in_test.cpp30 ASSERT_EQ(0, memcmp(&any, &in6addr_any, sizeof(in6addr_any))); in TEST()
35 ASSERT_EQ(0, memcmp(&loopback, &in6addr_loopback, sizeof(in6addr_loopback))); in TEST()
Dstring_test.cpp270 EXPECT_TRUE(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN) == 0); in TEST()
527 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
528 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
551 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN)) != 0 || in TEST()
552 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
577 ASSERT_TRUE(memcmp(state.ptr, state.ptr2, state.MAX_LEN + state.len[i]) == 0); in TEST()
609 ASSERT_FALSE((memcmp(state.ptr1, state.ptr, state.MAX_LEN) != 0) || in TEST()
610 (memcmp(state.ptr2, state.ptr + state.MAX_LEN, state.MAX_LEN) != 0)); in TEST()
636 ASSERT_EQ(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN), 0); in TEST()
705 ASSERT_EQ(0, memcmp(state.ptr1, state.ptr, state.MAX_LEN)); in TEST()
[all …]
Dsystem_properties_test.cpp214 ASSERT_EQ(0, memcmp(prop_value, prop_value_ret, PROP_VALUE_MAX)); in TEST()
298 ASSERT_EQ(0, memcmp(prop_value, prop_value_ret, PROP_VALUE_MAX)); in TEST()
/bionic/libc/arch-x86/generic/string/
Dmemcmp.S9 ENTRY(memcmp)
44 END(memcmp)
/bionic/libc/private/
Dbionic_string_utils.h28 return memcmp(s1 + (s1_length - s2_length), s2, s2_length) == 0; in ends_with()
/bionic/libc/arch-mips/string/
Dmemcmp.c30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
/bionic/linker/tests/
Dlinker_memory_allocator_test.cpp85 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size) == 0); in TEST()
101 ASSERT_TRUE(memcmp(reallocated_ptr, model, array_size * 2) == 0); in TEST()
113 ASSERT_TRUE(memcmp(reallocated_ptr, model, 4000) == 0); in TEST()
135 ASSERT_TRUE(memcmp(ptr1, zeros, 16) == 0); in TEST()
/bionic/libc/arch-x86/atom/
Datom.mk6 arch-x86/atom/string/ssse3-memcmp-atom.S \
14 arch-x86/generic/string/memcmp.S \
/bionic/libc/bionic/
Dmemmem.c54 if (!memcmp(x+2, y+j+2, m-2) && x[0] == y[j]) in memmem()
Ddl_iterate_phdr_static.cpp41 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
Dsystem_properties_compat.c89 if(memcmp(name, pi->name, len)) continue; in __system_property_find_compat()
/bionic/libc/arch-mips64/
Dmips64.mk4 arch-mips/string/memcmp.c \
/bionic/libc/arch-arm64/generic/bionic/
Dmemcmp.S56 ENTRY(memcmp)
155 END(memcmp)
/bionic/libc/malloc_debug/
DGuardData.h49 bool Valid(void* data) { return memcmp(data, cmp_mem_.data(), cmp_mem_.size()) == 0; } in Valid()
DFreeTrackData.cpp80 if (memcmp(memory, cmp_mem_.data(), bytes_to_cmp) != 0) { in VerifyAndFree()
/bionic/libc/arch-mips/
Dmips.mk4 arch-mips/string/memcmp.c \
/bionic/libc/arch-x86/
Dx86.mk29 arch-x86/generic/string/memcmp.S \
52 arch-x86/silvermont/string/sse4-memcmp-slm.S \
55 arch-x86/generic/string/memcmp.S
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_unit_tests.cpp314 ASSERT_TRUE(memcmp(buffer.data(), &pointer[-buffer.size()], buffer.size()) == 0); in TEST_F()
322 ASSERT_TRUE(memcmp(buffer.data(), &pointer[-buffer.size()], buffer.size()) == 0); in TEST_F()
334 ASSERT_TRUE(memcmp(buffer.data(), &pointer[-buffer.size()], buffer.size()) == 0); in TEST_F()
342 ASSERT_TRUE(memcmp(buffer.data(), &pointer[-buffer.size()], buffer.size()) == 0); in TEST_F()
345 ASSERT_TRUE(memcmp(buffer.data(), &pointer[-buffer.size()], buffer.size()) == 0); in TEST_F()
406 ASSERT_TRUE(memcmp(buffer.data(), &pointer[100], buffer.size()) == 0); in TEST_F()
415 ASSERT_TRUE(memcmp(buffer.data(), &pointer[100], buffer.size()) == 0); in TEST_F()
429 ASSERT_TRUE(memcmp(buffer.data(), &pointer[100], buffer.size()) == 0); in TEST_F()
437 ASSERT_TRUE(memcmp(buffer.data(), &pointer[100], buffer.size()) == 0); in TEST_F()
440 ASSERT_TRUE(memcmp(buffer.data(), &pointer[200], buffer.size()) == 0); in TEST_F()
[all …]
/bionic/libc/include/netinet/
Din6.h91 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
/bionic/libc/arch-arm/
Darm.mk4 arch-arm/generic/bionic/memcmp.S \
/bionic/benchmarks/
Dstring_benchmark.cpp38 c += memcmp(dst, src, nbytes); in BM_string_memcmp()
/bionic/libc/arch-arm64/
Darm64.mk9 arch-arm64/generic/bionic/memcmp.S \
/bionic/libc/arch-x86_64/
Dx86_64.mk48 arch-x86_64/string/sse4-memcmp-slm.S \
/bionic/libc/arch-arm/generic/bionic/
Dmemcmp.S45 ENTRY(memcmp)
344 END(memcmp)
/bionic/libstdc++/include/
Dcstring45 using ::memcmp;

123