Searched refs:bytes_read (Results 1 – 3 of 3) sorted by relevance
143 int bytes_read = 0; in VtsSocketRecvBytes() local144 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()
70 int bytes_read; in ExecShellCommandPopen() local72 bytes_read = fread(buff, 1, sizeof(buff) - 1, output_fp); in ExecShellCommandPopen()80 buff[bytes_read] = '\0'; in ExecShellCommandPopen()
753 ssize_t bytes_read = TEMP_FAILURE_RETRY( in ReadChildProcOutput() local755 if (bytes_read > 0) { in ReadChildProcOutput()756 buf[bytes_read] = '\0'; in ReadChildProcOutput()758 } else if (bytes_read == 0) { in ReadChildProcOutput()