Lines Matching defs:nbytes
64 PRInt32 nbytes;
83 while ((nbytes = PR_Read(sock, bufPtr, sizeof(buf)-ntotal)) > 0) {
84 ntotal += nbytes;
85 bufPtr += nbytes;
87 if (-1 == nbytes) {
115 PRInt32 nbytes;
139 nbytes = PR_SendFile(acceptSock, &sfd, PR_TRANSMITFILE_KEEP_OPEN,
141 if (HEADER_LEN+TRAILER_LEN != nbytes) {
143 HEADER_LEN+TRAILER_LEN, nbytes);
148 nbytes = PR_SendFile(acceptSock, &sfd, PR_TRANSMITFILE_KEEP_OPEN,
150 if (TRAILER_LEN != nbytes) {
152 TRAILER_LEN, nbytes);
158 nbytes = PR_SendFile(acceptSock, &sfd, PR_TRANSMITFILE_KEEP_OPEN,
160 if (HEADER_LEN != nbytes) {
162 HEADER_LEN, nbytes);
166 nbytes = PR_TransmitFile(acceptSock, file, header, HEADER_LEN,
168 if (HEADER_LEN != nbytes) {
170 HEADER_LEN, nbytes);