Lines Matching refs:nBytes
1405 int nBytes = 0, nRead; in ReadN() local
1464 nBytes = nRead; in ReadN()
1473 fwrite(ptr, 1, nBytes, netstackdump_read); in ReadN()
1476 if (nBytes == 0) in ReadN()
1485 r->m_resplen -= nBytes; in ReadN()
1490 RC4_encrypt(r->Link.rc4keyIn, nBytes, ptr); in ReadN()
1494 n -= nBytes; in ReadN()
1495 ptr += nBytes; in ReadN()
1522 int nBytes; in WriteN() local
1525 nBytes = HTTP_Post(r, RTMPT_SEND, ptr, n); in WriteN()
1527 nBytes = RTMPSockBuf_Send(&r->m_sb, ptr, n); in WriteN()
1530 if (nBytes < 0) in WriteN()
1544 if (nBytes == 0) in WriteN()
1547 n -= nBytes; in WriteN()
1548 ptr += nBytes; in WriteN()
4254 int nBytes; in RTMPSockBuf_Fill() local
4261 nBytes = sizeof(sb->sb_buf) - 1 - sb->sb_size - (sb->sb_start - sb->sb_buf); in RTMPSockBuf_Fill()
4265 nBytes = TLS_read(sb->sb_ssl, sb->sb_start + sb->sb_size, nBytes); in RTMPSockBuf_Fill()
4270 nBytes = recv(sb->sb_socket, sb->sb_start + sb->sb_size, nBytes, 0); in RTMPSockBuf_Fill()
4272 if (nBytes != -1) in RTMPSockBuf_Fill()
4274 sb->sb_size += nBytes; in RTMPSockBuf_Fill()
4280 __FUNCTION__, nBytes, sockerr, strerror(sockerr)); in RTMPSockBuf_Fill()
4287 nBytes = 0; in RTMPSockBuf_Fill()
4293 return nBytes; in RTMPSockBuf_Fill()