Searched refs:write_fn (Results 1 – 3 of 3) sorted by relevance
/system/bt/osi/src/ |
D | socket.cc | 204 void (*write_fn)(void*) = (write_cb != NULL) ? internal_write_ready : NULL; in socket_register() local 207 reactor_register(reactor, socket->fd, socket, read_fn, write_fn); in socket_register()
|
/system/core/fastboot/ |
D | fastboot_driver.cpp | 311 const std::function<RetCode(const char* data, uint64_t size)>& write_fn) { in RunAndReadBuffer() argument 335 if ((ret = write_fn(data.data(), chunk_size)) != SUCCESS) { in RunAndReadBuffer() 351 auto write_fn = [&](const char* data, uint64_t size) { in UploadInner() local 359 RetCode ret = RunAndReadBuffer(FB_CMD_UPLOAD, response, info, write_fn); in UploadInner()
|
D | fastboot_driver.h | 163 const std::function<RetCode(const char*, uint64_t)>& write_fn);
|