Searched refs:addr1 (Results 1 – 5 of 5) sorted by relevance
/system/extras/tests/memtest/ |
D | memtest.cpp | 139 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/media/audio_utils/include/audio_utils/ |
D | futex.h | 35 int sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *addr2, in sys_futex() argument 39 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex() 42 (void) addr1; in sys_futex()
|
/system/bt/btcore/test/ |
D | property_test.cc | 40 const bt_bdaddr_t* addr1 = property_as_addr(property); in TEST_F() local 41 EXPECT_EQ(addr0.address[0], addr1->address[0]); in TEST_F() 204 bt_bdaddr_t addr1 = {{0x1, 0x2, 0x3, 0x4, 0x5, 0xff}}; in TEST_F() local 205 bt_property_t* property1 = property_new_addr(&addr1); in TEST_F()
|
/system/extras/showmap/ |
D | showmap.cpp | 219 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/ |
D | btif_rc.cc | 496 bdstr_t addr1, addr2; in handle_rc_features() local 504 bdaddr_to_string(&avdtp_addr, addr1, sizeof(addr1)), in handle_rc_features()
|