Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 3 of 3) sorted by relevance

/test/vts/drivers/libdrivercomm/
DVtsDriverCommUtil.cpp143 int bytes_read = 0; in VtsSocketRecvBytes() local
144 while (bytes_read < msg_len) { in VtsSocketRecvBytes()
145 int result = read(sockfd_, &msg[bytes_read], msg_len - bytes_read); in VtsSocketRecvBytes()
150 bytes_read += result; in VtsSocketRecvBytes()
/test/vts/drivers/shell/
DShellDriver.cpp70 int bytes_read; in ExecShellCommandPopen() local
72 bytes_read = fread(buff, 1, sizeof(buff) - 1, output_fp); in ExecShellCommandPopen()
80 buff[bytes_read] = '\0'; in ExecShellCommandPopen()
/test/vts/runners/target/gtest/
Dgtest_main.cpp753 ssize_t bytes_read = TEMP_FAILURE_RETRY( in ReadChildProcOutput() local
755 if (bytes_read > 0) { in ReadChildProcOutput()
756 buf[bytes_read] = '\0'; in ReadChildProcOutput()
758 } else if (bytes_read == 0) { in ReadChildProcOutput()