Home
last modified time | relevance | path

Searched refs:addr1 (Results 1 – 4 of 4) sorted by relevance

/system/extras/tests/memtest/
Dmemtest.cpp139 void* addr1 = mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in madvise_test() local
140 printf("%p (%s)\n", addr1, addr1==(void*)-1 ? "failed" : "OK"); fflush(stdout); in madvise_test()
142 printf("touching %p...\n", addr1); fflush(stdout); in madvise_test()
143 memset(addr1, 0x55, size); in madvise_test()
146 madvise(addr1, size, MADV_DONTNEED); in madvise_test()
148 printf("reading back %p...\n", addr1); fflush(stdout); in madvise_test()
149 if (*(long*)addr1 == 0) { in madvise_test()
151 } else if (*(long*)addr1 == 0x55555555) { in madvise_test()
167 printf("touching %p...\n", addr1); fflush(stdout); in madvise_test()
168 memset(addr1, 0x55, size); in madvise_test()
[all …]
/system/bt/btcore/test/
Dproperty_test.cpp42 const bt_bdaddr_t *addr1 = property_as_addr(property); in TEST_F() local
43 EXPECT_EQ(addr0.address[0], addr1->address[0]); in TEST_F()
213 bt_bdaddr_t addr1 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0xff}}; in TEST_F() local
214 bt_property_t *property1 = property_new_addr(&addr1); in TEST_F()
/system/extras/showmap/
Dshowmap.cpp219 const char *addr1 = addresses ? " start end " : ""; in print_header() local
222 printf("%s virtual shared shared private private\n", addr1); in print_header()
/system/bt/btif/src/
Dbtif_rc.c481 bdstr_t addr1, addr2; in handle_rc_features() local
483 bdaddr_to_string(&avdtp_addr, addr1, sizeof(addr1)), in handle_rc_features()