Searched refs:addr2 (Results 1 – 4 of 4) sorted by relevance
/system/extras/tests/memtest/ |
D | memtest.cpp | 158 void* addr2 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in madvise_test() local 159 printf("%p (%s)\n", addr2, addr2==(void*)-1 ? "failed" : "OK"); fflush(stdout); in madvise_test() 161 printf("touching %p...\n", addr2); fflush(stdout); in madvise_test() 162 memset(addr2, 0xAA, size); in madvise_test() 164 printf("unmap %p ...\n", addr2); fflush(stdout); in madvise_test() 165 munmap(addr2, size); in madvise_test()
|
/system/connectivity/shill/net/ |
D | ip_address_unittest.cc | 112 auto addr2 = reinterpret_cast<sockaddr*>(&storage2); in TestAddress() local 113 EXPECT_FALSE(from_short_sockaddr.IntoSockAddr(addr2, addr_size)); in TestAddress() 115 EXPECT_FALSE(from_sockaddr.IntoSockAddr(addr2, addr_size - 1)); in TestAddress() 117 EXPECT_TRUE(from_sockaddr.IntoSockAddr(addr2, addr_size)); in TestAddress()
|
/system/extras/showmap/ |
D | showmap.cpp | 220 const char *addr2 = addresses ? " addr addr " : ""; in print_header() local 223 printf("%s size RSS PSS clean dirty clean dirty swap ", addr2); in print_header()
|
/system/bt/btif/src/ |
D | btif_rc.c | 480 bdstr_t addr1, addr2; in handle_rc_features() local 483 bdaddr_to_string(&rc_addr, addr2, sizeof(addr2))); in handle_rc_features()
|