/vbox/src/libs/xpcom18a4/ipc/ipcd/shared/src/ |
H A D | ipcMessage.cpp | 194 PRUint32 *bytesRead, 197 *bytesRead = 0; 212 *bytesRead = bufLen; 223 *bytesRead = count; 250 *bytesRead = bufLen; 276 *bytesRead += count; 192 ReadFrom(const char *buf, PRUint32 bufLen, PRUint32 *bytesRead, PRBool *complete) argument
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/client/src/ |
H A D | ipcConnectionWin.cpp | 93 PRUint32 bytesRead; local 96 &bytesRead, &complete);
|
H A D | ipcConnectionUnix.cpp | 227 PRUint32 bytesRead; local 240 if (s->in_msg->ReadFrom(pdata, n, &bytesRead, &complete) != PR_SUCCESS) 247 PR_ASSERT(PRUint32(n) >= bytesRead); 248 n -= bytesRead; 249 pdata += bytesRead;
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ |
H A D | ipcdWin.cpp | 240 PRUint32 bytesRead; local 244 &bytesRead, &complete);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | select2.c | 159 PRInt32 bytesRead; local 194 bytesRead = PR_Recv(newSock, buf, 10, 0, PR_INTERVAL_NO_TIMEOUT); 197 if (debug_mode) printf("Recv completed with %d bytes, %s\n", bytesRead, buf); 241 PRInt32 bytesRead, rv, loops = 0; local 277 bytesRead = PR_Recv(newSock, buf, 10, 0, PR_INTERVAL_NO_TIMEOUT); 280 if (debug_mode) printf("Recv completed with %d bytes, %s\n", bytesRead, buf);
|
H A D | ntioto.c | 127 PRIntn bytesRead; local 132 bytesRead = PR_AcceptRead( listenSock, 139 if ( bytesRead == -1 && PR_GetError() == PR_IO_TIMEOUT_ERROR ) 142 if ( debug ) printf("Oops! read: %d, error: %d\n", bytesRead, PR_GetError());
|
H A D | accept.c | 108 static PRInt32 bytesRead; variable 273 bytesRead = PR_Recv(clientSock, 275 TEST_ASSERT(bytesRead == CLIENT_DATA); 279 bytesRead = PR_Recv(clientSock, 281 TEST_ASSERT(bytesRead == -1); 317 bytesRead = PR_Recv(clientSock, 319 TEST_ASSERT(bytesRead == CLIENT_DATA); 323 bytesRead = PR_Recv(clientSock, 325 TEST_ASSERT(bytesRead == -1);
|
H A D | server_test.c | 176 PRInt32 bytesRead; local 203 bytesRead = PR_AcceptRead(listenSock, 210 if (bytesRead < 0) { 211 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead); 215 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead); 243 bytesToRead -= bytesRead; 245 bytesRead = PR_Recv(newSock, 250 if (bytesRead < 0) { 251 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead); 254 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead); [all...] |
H A D | servr_kk.c | 142 PRInt32 bytesRead; local 169 bytesRead = PR_AcceptRead(listenSock, 176 if (bytesRead < 0) { 177 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead); 181 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead); 209 bytesToRead -= bytesRead; 211 bytesRead = PR_Recv(newSock, 216 if (bytesRead < 0) { 217 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead); 220 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead); [all...] |
H A D | servr_ku.c | 143 PRInt32 bytesRead; local 170 bytesRead = PR_AcceptRead(listenSock, 177 if (bytesRead < 0) { 178 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead); 182 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead); 210 bytesToRead -= bytesRead; 212 bytesRead = PR_Recv(newSock, 217 if (bytesRead < 0) { 218 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead); 221 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead); [all...] |
H A D | servr_uk.c | 145 PRInt32 bytesRead; local 172 bytesRead = PR_AcceptRead(listenSock, 179 if (bytesRead < 0) { 180 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead); 184 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead); 212 bytesToRead -= bytesRead; 214 bytesRead = PR_Recv(newSock, 219 if (bytesRead < 0) { 220 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead); 223 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead); [all...] |
H A D | servr_uu.c | 143 PRInt32 bytesRead; local 170 bytesRead = PR_AcceptRead(listenSock, 177 if (bytesRead < 0) { 178 if (debug_mode) printf("\tServer error in accept (%d)\n", bytesRead); 182 if (debug_mode) DPRINTF("\tServer accepted connection (%d bytes)\n", bytesRead); 210 bytesToRead -= bytesRead; 212 bytesRead = PR_Recv(newSock, 217 if (bytesRead < 0) { 218 if (debug_mode) printf("\tServer error receiving data (%d)\n", bytesRead); 221 if (debug_mode) DPRINTF("\tServer received %d bytes\n", bytesRead); [all...] |
/vbox/src/libs/xpcom18a4/xpcom/io/ |
H A D | nsInputStreamTee.cpp | 134 nsInputStreamTee::Read(char *buf, PRUint32 count, PRUint32 *bytesRead) argument 138 nsresult rv = mSource->Read(buf, count, bytesRead); 139 if (NS_FAILED(rv) || (*bytesRead == 0)) 142 return TeeSegment(buf, *bytesRead); 149 PRUint32 *bytesRead) 156 return mSource->ReadSegments(WriteSegmentFun, this, count, bytesRead); 146 ReadSegments(nsWriteSegmentFun writer, void *closure, PRUint32 count, PRUint32 *bytesRead) argument
|
H A D | nsBinaryStream.cpp | 377 PRUint32 bytesRead; local 379 rv = Read(NS_REINTERPRET_CAST(char*, aByte), sizeof(*aByte), &bytesRead); 381 if (bytesRead != 1) 390 PRUint32 bytesRead; local 392 rv = Read(NS_REINTERPRET_CAST(char*, a16), sizeof *a16, &bytesRead); 394 if (bytesRead != sizeof *a16) 404 PRUint32 bytesRead; local 406 rv = Read(NS_REINTERPRET_CAST(char*, a32), sizeof *a32, &bytesRead); 408 if (bytesRead != sizeof *a32) 418 PRUint32 bytesRead; local 465 PRUint32 length, bytesRead; local 578 PRUint32 length, bytesRead; local 608 PRUint32 bytesRead; local [all...] |
H A D | nsNativeCharsetUtils.cpp | 1112 UInt32 bytesRead = 0, bytesWritten = 0; local 1119 &bytesRead, 1125 bytesLeft -= bytesRead; 1126 iter.advance(bytesRead / sizeof(UniChar)); 1153 UInt32 bytesRead = 0, bytesWritten = 0; local 1160 &bytesRead, 1166 bytesLeft -= bytesRead; 1167 iter.advance(bytesRead);
|
H A D | nsPipe3.cpp | 414 nsPipe::AdvanceReadCursor(PRUint32 bytesRead) argument 416 NS_ASSERTION(bytesRead, "dont call if no bytes read"); 422 LOG(("III advancing read cursor by %u\n", bytesRead)); 423 NS_ASSERTION(bytesRead <= mBuffer.GetSegmentSize(), "read too much"); 425 mReadCursor += bytesRead; 428 mInput.ReduceAvailable(bytesRead);
|
H A D | nsFastLoadFile.cpp | 275 PRUint32 bytesRead; local 277 rv = Read(NS_REINTERPRET_CAST(char*, aHeader), sizeof *aHeader, &bytesRead); 281 if (bytesRead != sizeof *aHeader || 872 PRUint32 bytesRead; 873 rv = Read(NS_REINTERPRET_CAST(char*, aID->m3), sizeof aID->m3, &bytesRead); 877 if (bytesRead != sizeof aID->m3)
|
H A D | nsLocalFileUnix.cpp | 819 PRInt32 bytesRead; local 821 while ((bytesRead = PR_Read(oldFD, buf, BUFSIZ)) > 0) { 823 totalRead += bytesRead; 827 PRInt32 bytesWritten = PR_Write(newFD, buf, bytesRead); 829 bytesRead = -1; 832 NS_ASSERTION(bytesWritten == bytesRead, "short PR_Write?"); 849 if (bytesRead < 0)
|
/vbox/src/libs/xpcom18a4/java/src/ |
H A D | nsFileStreams.cpp | 317 PRInt32 bytesRead = PR_Read(mFD, aBuf, aCount); local 318 if (bytesRead == -1) { 323 if (bytesRead == 0) { 328 *aResult = bytesRead;
|