/bionic/tests/ |
D | netinet_in_test.cpp | 30 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()
|
D | string_test.cpp | 270 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 …]
|
D | system_properties_test.cpp | 214 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/ |
D | memcmp.S | 9 ENTRY(memcmp) 44 END(memcmp)
|
/bionic/libc/private/ |
D | bionic_string_utils.h | 28 return memcmp(s1 + (s1_length - s2_length), s2, s2_length) == 0; in ends_with()
|
/bionic/libc/arch-mips/string/ |
D | memcmp.c | 30 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() function
|
/bionic/linker/tests/ |
D | linker_memory_allocator_test.cpp | 85 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/ |
D | atom.mk | 6 arch-x86/atom/string/ssse3-memcmp-atom.S \ 14 arch-x86/generic/string/memcmp.S \
|
/bionic/libc/bionic/ |
D | memmem.c | 54 if (!memcmp(x+2, y+j+2, m-2) && x[0] == y[j]) in memmem()
|
D | dl_iterate_phdr_static.cpp | 41 if (memcmp(ehdr->e_ident, ELFMAG, SELFMAG) != 0) { in dl_iterate_phdr()
|
D | system_properties_compat.c | 89 if(memcmp(name, pi->name, len)) continue; in __system_property_find_compat()
|
/bionic/libc/arch-mips64/ |
D | mips64.mk | 4 arch-mips/string/memcmp.c \
|
/bionic/libc/arch-arm64/generic/bionic/ |
D | memcmp.S | 56 ENTRY(memcmp) 155 END(memcmp)
|
/bionic/libc/malloc_debug/ |
D | GuardData.h | 49 bool Valid(void* data) { return memcmp(data, cmp_mem_.data(), cmp_mem_.size()) == 0; } in Valid()
|
D | FreeTrackData.cpp | 80 if (memcmp(memory, cmp_mem_.data(), bytes_to_cmp) != 0) { in VerifyAndFree()
|
/bionic/libc/arch-mips/ |
D | mips.mk | 4 arch-mips/string/memcmp.c \
|
/bionic/libc/arch-x86/ |
D | x86.mk | 29 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/ |
D | malloc_debug_unit_tests.cpp | 314 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/ |
D | in6.h | 91 (memcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], sizeof(struct in6_addr)) == 0)
|
/bionic/libc/arch-arm/ |
D | arm.mk | 4 arch-arm/generic/bionic/memcmp.S \
|
/bionic/benchmarks/ |
D | string_benchmark.cpp | 38 c += memcmp(dst, src, nbytes); in BM_string_memcmp()
|
/bionic/libc/arch-arm64/ |
D | arm64.mk | 9 arch-arm64/generic/bionic/memcmp.S \
|
/bionic/libc/arch-x86_64/ |
D | x86_64.mk | 48 arch-x86_64/string/sse4-memcmp-slm.S \
|
/bionic/libc/arch-arm/generic/bionic/ |
D | memcmp.S | 45 ENTRY(memcmp) 344 END(memcmp)
|
/bionic/libstdc++/include/ |
D | cstring | 45 using ::memcmp;
|