Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 259) sorted by relevance

1234567891011

/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc33 ssize_t WriteAll(SharedFD fd, const char* buf, size_t size) { in WriteAll()
49 ssize_t ReadExact(SharedFD fd, char* buf, size_t size) { in ReadExact()
65 ssize_t ReadAll(SharedFD fd, std::string* buf) { in ReadAll()
81 ssize_t ReadExact(SharedFD fd, std::string* buf) { in ReadExact()
85 ssize_t ReadExact(SharedFD fd, std::vector<char>* buf) { in ReadExact()
89 ssize_t WriteAll(SharedFD fd, const std::string& buf) { in WriteAll()
93 ssize_t WriteAll(SharedFD fd, const std::vector<char>& buf) { in WriteAll()
Dshared_buf.h74 ssize_t ReadExactBinary(SharedFD fd, T* binary_data) { in ReadExactBinary()
117 ssize_t WriteAllBinary(SharedFD fd, const T* binary_data) { in WriteAllBinary()
Dshared_fd.cpp215 int fd = fcntl(unmanaged_fd, F_DUPFD_CLOEXEC, 3); in Dup() local
232 int fd = eventfd(initval, flags); in Event() local
237 int fd = memfd_create_wrapper(name.c_str(), flags); in MemfdCreate() local
255 int fd = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open() local
268 int fd = TEMP_FAILURE_RETRY(socket(domain, socket_type, protocol)); in Socket() local
/device/google/crosshatch/dumpstate/
DDumpstateDevice.cpp64 void DumpstateDevice::dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
110 void DumpstateDevice::dumpModem(int fd, int fdModem) in dumpModem()
228 static void DumpTouch(int fd) { in DumpTouch()
275 static void DumpF2FS(int fd) { in DumpF2FS()
280 static void DumpUFS(int fd) { in DumpUFS()
301 static void DumpPower(int fd) { in DumpPower()
310 static void DumpVibrator(int fd) { in DumpVibrator()
345 int fd = handle->data[0]; in dumpstateBoard() local
/device/google/coral/dumpstate/
DDumpstateDevice.cpp69 void DumpstateDevice::dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
115 void DumpstateDevice::dumpModem(int fd, int fdModem) in dumpModem()
238 static void DumpTouch(int fd) { in DumpTouch()
310 static void DumpDisplay(int fd) { in DumpDisplay()
340 static void DumpF2FS(int fd) { in DumpF2FS()
345 static void DumpUFS(int fd) { in DumpUFS()
366 static void DumpPower(int fd) { in DumpPower()
387 int fd = handle->data[0]; in dumpstateBoard() local
/device/google/bonito/dumpstate/
DDumpstateDevice.cpp64 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs()
237 static void DumpIPCTRT(int fd) { in DumpIPCTRT()
242 static void DumpTouch(int fd) { in DumpTouch()
278 static void DumpF2FS(int fd) { in DumpF2FS()
283 static void DumpPower(int fd) { in DumpPower()
292 static void DumpeMMC(int fd) { in DumpeMMC()
324 int fd = handle->data[0]; in dumpstateBoard() local
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
282 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
400 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
466 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
601 int fd = -1; in set_boot_lun() local
745 int fd = -1; in prepare_partitions() local
1126 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1147 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1189 int fd = -1; in gpt_get_header() local
1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/coral/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
282 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
400 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
466 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
601 int fd = -1; in set_boot_lun() local
745 int fd = -1; in prepare_partitions() local
1126 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1147 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1189 int fd = -1; in gpt_get_header() local
1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp145 static int blk_rw(int fd, int rw, int64_t offset, uint8_t *buf, unsigned len) in blk_rw()
282 static int gpt2_set_boot_chain(int fd, enum boot_chain boot) in gpt2_set_boot_chain()
400 static int gpt_get_state(int fd, enum gpt_instance gpt, enum gpt_state *state) in gpt_get_state()
466 static int gpt_set_state(int fd, enum gpt_instance gpt, enum gpt_state state) in gpt_set_state()
601 int fd = -1; in set_boot_lun() local
745 int fd = -1; in prepare_partitions() local
1126 static uint32_t gpt_get_block_size(int fd) in gpt_get_block_size()
1147 static int gpt_set_header(uint8_t *gpt_header, int fd, in gpt_set_header()
1189 int fd = -1; in gpt_get_header() local
1252 static uint8_t* gpt_get_pentry_arr(uint8_t *hdr, int fd) in gpt_get_pentry_arr()
[all …]
/device/generic/goldfish/sensors/
Dmultihal_sensors_epoll.cpp24 int epollCtlAdd(int epollFd, int fd) { in epollCtlAdd()
31 int qemuSensortThreadRcvCommand(const int fd) { in qemuSensortThreadRcvCommand()
67 const int fd = ev->data.fd; in qemuSensorListenerThread() local
/device/generic/goldfish/wifi/createns/
Dcreatens.cpp40 explicit Fd(int fd) : mFd(fd) { } in Fd()
105 Fd fd(::open(path.c_str(), in writeNamespacePid() local
151 static pid_t daemonize(int fd) { in daemonize()
243 Fd fd(::open(path.c_str(), O_CREAT | O_TRUNC | O_RDONLY | O_CLOEXEC, in main() local
/device/google/wahoo/dumpstate/
DDumpstateDevice.cpp57 void DumpstateDevice::dumpDiagLogs(int fd, std::string srcDir, std::string destDir) { in dumpDiagLogs()
103 void DumpstateDevice::dumpModem(int fd, int fdModem) in dumpModem()
215 static void DumpPower(int fd) { in DumpPower()
224 static void DumpTouch(int fd) { in DumpTouch()
251 int fd = handle->data[0]; in dumpstateBoard() local
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-fio.c68 int fd = ipc->fd; in xf_ipc_send() local
86 int fd = ipc->fd; in xf_ipc_wait() local
108 int fd = ipc->fd; in xf_ipc_recv() local
/device/generic/goldfish/tnc/
Dmain.cpp41 int fd = -1; in runClient() local
67 int fd = -1; in runServer() local
110 int fd = ::socket(AF_LOCAL, SOCK_STREAM, 0); in configureBridge() local
/device/amlogic/yukawa/hal/lights/
Dlights.cpp66 static int sys_write_int(int fd, int value) { in sys_write_int()
77 static int write8reg8(int fd, uint8_t regaddr, uint8_t cmd) { in write8reg8()
106 int const fd = open(path, O_RDWR); in writeLedArray() local
129 int fd = open(path, O_WRONLY); in writeLed() local
/device/linaro/dragonboard/qcom/rmtfs/
Dsharedmem.c26 int fd; member
61 int fd; in rmtfs_mem_open_rfsa() local
131 int fd; in rmtfs_mem_open_uio() local
207 int fd; in rmtfs_mem_open_rfsa() local
272 int fd; in rmtfs_mem_open() local
/device/generic/goldfish/gnss/
Dgnss_hw_conn.cpp31 int epollCtlAdd(int epollFd, int fd) { in epollCtlAdd()
121 const int fd = ev->data.fd; in workerThread() local
185 int GnssHwConn::workerThreadRcvCommand(const int fd) { in workerThreadRcvCommand()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp33 static void closeIfOpen(int* fd) { in closeIfOpen()
118 for (auto& fd : fds) { in eventLoop() local
184 bool Netlink::readNetlinkMessage(int fd) { in readNetlinkMessage()
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.h44 int fd; member
59 static inline int epoll_register(int epoll_fd, int fd) { in epoll_register()
73 static inline int epoll_deregister(int epoll_fd, int fd) { in epoll_deregister()
/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp45 auto fd = cuttlefish::SharedFD::Open(data_image, O_RDWR); in ResizeImage() local
79 auto fd = cuttlefish::SharedFD::Open(image, O_CREAT | O_TRUNC | O_RDWR, 0666); in CreateBlankImage() local
116 auto fd = cuttlefish::SharedFD::Open(image, O_RDWR); in CreateBlankImage() local
/device/linaro/dragonboard/qcom/tqftpserv/
Dtranslate.c80 int fd = -1; in translate_readonly() local
150 int fd; in translate_readwrite() local
/device/linaro/hikey/wpan/uim/
Duim.c88 int read_hci_event(int fd, unsigned char *buf, int size) in read_hci_event()
149 static int read_command_complete(int fd, unsigned short opcode) in read_command_complete()
288 int ldisc, len, fd, flow_ctrl; in st_uart_config() local
/device/generic/goldfish-opengl/shared/qemupipe/
Dqemu_pipe_guest.cpp29 const int fd = QEMU_PIPE_RETRY(open(name, flags)); in open_verbose() local
47 const int fd = open_verbose("/dev/goldfish_pipe", flags); in qemu_pipe_open_ns() local
/device/linaro/hikey/bluetooth/
Dbluetooth_hci.cc64 fd_watcher_.WatchFdForNonBlockingReads(hci_tty_fd_, [this, shim_fd](int fd) { in initialize()
80 for_hci, [this](int fd) { hci_->OnDataReady(fd); }); in initialize()
/device/google/cuttlefish/host/commands/modem_simulator/
Dmain.cpp48 auto fd = std::stoi(fd_str); in ServerFdsFromCmdline() local
95 for (auto& fd : server_fds) { in main() local

1234567891011