Searched refs:select_data (Results 1 – 3 of 3) sorted by relevance
/external/adhd/cras/src/tests/ |
D | system_state_unittest.cc | 74 void* select_data) { in add_stub() argument 76 select_data_value = select_data; in add_stub() 80 static void rm_stub(int fd, void* select_data) { in rm_stub() argument 82 select_data_value = select_data; in rm_stub() 328 void* select_data = reinterpret_cast<void*>(33); in TEST() local 337 rc = cras_system_set_select_handler(add_stub, rm_stub, select_data); in TEST() 341 rc = cras_system_set_select_handler(add_stub, rm_stub, select_data); in TEST() 348 EXPECT_EQ(select_data, select_data_value); in TEST() 352 EXPECT_EQ(select_data, select_data_value); in TEST()
|
/external/adhd/cras/src/server/ |
D | cras_system_state.c | 77 int events, void *select_data); 78 void (*fd_rm)(int fd, void *select_data); 79 void *select_data; member 504 void *callback_data, int events, void *select_data), in cras_system_set_select_handler() argument 505 void (*rm)(int fd, void *select_data), void *select_data) in cras_system_set_select_handler() 511 state.select_data = select_data; in cras_system_set_select_handler() 521 state.select_data); in cras_system_add_select_fd() 548 state.fd_rm(fd, state.select_data); in cras_system_rm_select_fd()
|
D | cras_system_state.h | 196 void *callback_data, int events, void *select_data), 197 void (*rm)(int fd, void *select_data), void *select_data);
|