Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.c114 int null_fd, out_fd, err_fd; in stdio_disable() local
116 out_fd = _fileno(stdout); in stdio_disable()
118 stdio_save_out_fd = _dup(out_fd); in stdio_disable()
121 _dup2(null_fd, out_fd); in stdio_disable()
131 int out_fd, err_fd; in stdio_enable() local
133 out_fd = _fileno(stdout); in stdio_enable()
135 _dup2(stdio_save_out_fd, out_fd); in stdio_enable()
146 int null_fd, out_fd, err_fd; in stdio_disable() local
148 out_fd = fileno(stdout); in stdio_disable()
150 stdio_save_out_fd = dup(out_fd); in stdio_disable()
[all …]
/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp44 bool ReadResponseLoop(cuttlefish::SharedFD in_fd, cuttlefish::SharedFD out_fd) { in ReadResponseLoop() argument
62 CHECK(cuttlefish::WriteAll(out_fd, message) == message.size()) in ReadResponseLoop()
67 void SendCommand(cuttlefish::SharedFD out_fd, std::vector<char> command) { in SendCommand() argument
71 CHECK(cuttlefish::WriteAllBinary(out_fd, &command_num) == 4) in SendCommand()
73 CHECK(cuttlefish::WriteAllBinary(out_fd, (char*)&locality) == 1) in SendCommand()
76 CHECK(cuttlefish::WriteAllBinary(out_fd, &length) == 4) in SendCommand()
78 CHECK(cuttlefish::WriteAll(out_fd, command) == command.size()) in SendCommand()
82 bool SendCommandLoop(cuttlefish::SharedFD in_fd, cuttlefish::SharedFD out_fd) { in SendCommandLoop() argument
106 SendCommand(out_fd, message); in SendCommandLoop()
/device/google/fuchsia/bioniccompat/src/
Dsendfile.cc29 ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) { in sendfile() argument
52 int written = write(out_fd, data, bytes); in sendfile()
/device/google/fuchsia/bioniccompat/include/sys/
Dsendfile.h31 ssize_t sendfile(int out_fd, int in_fd, off_t* offset, size_t count);