Home
last modified time | relevance | path

Searched refs:written (Results 1 – 25 of 67) sorted by relevance

123

/device/google/fuchsia/bioniccompat/src/
Dsendfile.cc52 int written = write(out_fd, data, bytes); in sendfile() local
53 if (written < 0) { in sendfile()
54 return written; in sendfile()
58 bytes -= written; in sendfile()
59 data += written; in sendfile()
60 total += written; in sendfile()
/device/generic/goldfish/radio/ril/
Datchannel.c482 ssize_t written; in writeline() local
495 written = write (s_fd, s + cur, len - cur); in writeline()
496 } while (written < 0 && errno == EINTR); in writeline()
498 if (written < 0) { in writeline()
502 cur += written; in writeline()
508 written = write (s_fd, "\r" , 1); in writeline()
509 } while ((written < 0 && errno == EINTR) || (written == 0)); in writeline()
511 if (written < 0) { in writeline()
521 ssize_t written; in writeCtrlZ() local
534 written = write (s_fd, s + cur, len - cur); in writeCtrlZ()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Datchannel.c481 ssize_t written; in writeline() local
494 written = write (s_fd, s + cur, len - cur); in writeline()
495 } while (written < 0 && errno == EINTR); in writeline()
497 if (written < 0) { in writeline()
501 cur += written; in writeline()
507 written = write (s_fd, "\r" , 1); in writeline()
508 } while ((written < 0 && errno == EINTR) || (written == 0)); in writeline()
510 if (written < 0) { in writeline()
520 ssize_t written; in writeCtrlZ() local
533 written = write (s_fd, s + cur, len - cur); in writeCtrlZ()
[all …]
/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc35 ssize_t written = 0; in WriteAll() local
36 while ((written = fd->Write((void*)&(buf[total_written]), size - total_written)) > 0) { in WriteAll()
37 if (written < 0) { in WriteAll()
39 return written; in WriteAll()
41 total_written += written; in WriteAll()
/device/google/cuttlefish/common/libs/tcp_socket/
Dtcp_socket.cpp70 ssize_t written{}; in SendNoSignal() local
71 while (written < static_cast<ssize_t>(size)) { in SendNoSignal()
75 auto just_written = fd_->Send(data + written, size - written, MSG_NOSIGNAL); in SendNoSignal()
84 written += just_written; in SendNoSignal()
86 return written; in SendNoSignal()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
Dvsocket_screen_view.cpp108 auto written = screen_server_->Write(buff, size); in BroadcastLoop() local
109 if (written == -1) { in BroadcastLoop()
113 size -= written; in BroadcastLoop()
114 buff += written; in BroadcastLoop()
/device/generic/goldfish/network/wifi_forwarder/
Dremote_connection.cpp276 ssize_t written = ::writev(mPipeFd, iov + current, count - current); in sendFrame() local
277 if (written < 0) { in sendFrame()
282 if (static_cast<size_t>(written) == totalSize) { in sendFrame()
286 totalSize -= written; in sendFrame()
288 while (current < count && written >= iov[current].iov_len) { in sendFrame()
289 written -= iov[current++].iov_len; in sendFrame()
295 reinterpret_cast<char*>(iov[current].iov_base) + written; in sendFrame()
296 iov[current].iov_len -= written; in sendFrame()
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp57 ssize_t written{}; in SendAll() local
58 while (written < length) { in SendAll()
63 socket_->Send(packet + written, in SendAll()
64 length - written, MSG_NOSIGNAL); in SendAll()
70 written += just_written; in SendAll()
72 return written; in SendAll()
/device/google/cuttlefish/common/libs/security/
Dgatekeeper_channel.cpp68 auto written = WriteAll(channel_, to_send_bytes, write_size); in SendMessage() local
69 if (written == -1) { in SendMessage()
72 return written == write_size; in SendMessage()
Dkeymaster_channel.cpp66 auto written = WriteAll(channel_, to_send_bytes, write_size); in SendMessage() local
67 if (written == -1) { in SendMessage()
70 return written == write_size; in SendMessage()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp74 auto written = cuttlefish::WriteAll(logcat_file, buff, read); in main() local
75 CHECK(written == read) in main()
/device/google/coral/usb/
DUsb.cpp84 std::string written; in writeFile() local
91 if ((ret != EOF) && !readFile(filename, &written) && written == contents) in writeFile()
226 std::string written; in switchMode() local
303 std::string written; in switchRole() local
323 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole()
324 extractRole(&written); in switchRole()
325 ALOGI("written: %s", written.c_str()); in switchRole()
326 if (written == convertRoletoString(newRole)) { in switchRole()
/device/google/bonito/usb/
DUsb.cpp138 std::string written; in switchMode() local
218 std::string written; in switchRole() local
239 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole()
240 extractRole(&written); in switchRole()
241 ALOGI("written: %s", written.c_str()); in switchRole()
242 if (written == convertRoletoString(newRole)) { in switchRole()
/device/google/wahoo/usb/
DUsb.cpp164 std::string written; in switchMode() local
244 std::string written; in switchRole() local
265 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole()
266 extractRole(&written); in switchRole()
267 ALOGI("written: %s", written.c_str()); in switchRole()
268 if (written == convertRoletoString(newRole)) { in switchRole()
/device/google/crosshatch/usb/
DUsb.cpp140 std::string written; in switchMode() local
220 std::string written; in switchRole() local
241 if ((ret != EOF) && !readFile(filename, &written)) { in switchRole()
242 extractRole(&written); in switchRole()
243 ALOGI("written: %s", written.c_str()); in switchRole()
244 if (written == convertRoletoString(newRole)) { in switchRole()
/device/google/cuttlefish/host/commands/launch/
Dlaunch_cvd.cc89 int written = cuttlefish::WriteAll(out, output_string); in WriteFiles() local
90 if (written < 0) { in WriteFiles()
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/
Dmin-rt.parm10 // the prior written consent of Tensilica Inc.
Dspecs6 # the prior written consent of Tensilica Inc.
/device/linaro/dragonboard/qcom/pd-mapper/
DLICENSE17 * specific prior written permission.
47 * specific prior written permission.
/device/linaro/dragonboard/db845c/firmware/qca/
DNOTICE11 may be granted by separate express written agreement, this file provides no
43 * without specific prior written permission.
79 * without specific prior written permission.
121 without specific prior written permission.
163 * prior written permission. For written permission, please contact
167 * nor may "OpenSSL" appear in their names without prior written
390 * without specific prior written permission.
/device/linaro/hikey/audio/
Daudio_hw.c118 unsigned int written; member
195 out->written += out_frames; in xa_device_run()
212 out->written += out_frames; in xa_device_run()
450 out->written += out_frames; in out_write()
484 int64_t signed_frames = out->written - kernel_buffer_size + avail; in out_get_presentation_position()
/device/linaro/hikey/mali/bifrost/
DEND_USER_LICENCE_AGREEMENT.txt144 this Licence immediately upon giving written notice to you or on
145 thirty (30) days written notice without cause. You may terminate this
155 otherwise in: (i) a written contract signed by you and ARM; or (ii) a
156 written contract provided by ARM and accepted by you, this is the only
158 be modified by written agreement between you and ARM. Except as
/device/amlogic/yukawa/binaries/gpu/
DEND_USER_LICENCE_AGREEMENT.txt144 this Licence immediately upon giving written notice to you or on
145 thirty (30) days written notice without cause. You may terminate this
155 otherwise in: (i) a written contract signed by you and ARM; or (ii) a
156 written contract provided by ARM and accepted by you, this is the only
158 be modified by written agreement between you and ARM. Except as
/device/linaro/hikey/mali/utgard/
DEND_USER_LICENCE_AGREEMENT.txt144 this Licence immediately upon giving written notice to you or on
145 thirty (30) days written notice without cause. You may terminate this
155 otherwise in: (i) a written contract signed by you and ARM; or (ii) a
156 written contract provided by ARM and accepted by you, this is the only
158 be modified by written agreement between you and ARM. Except as
/device/google/contexthub/firmware/lib/builtins/
DLICENSE.TXT46 prior written permission.
81 The LLVM software contains code written by third parties. Such software will

123