Searched defs:nBytes (Results 1 - 24 of 24) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dpipepong.c63 size_t nBytes; local
68 nBytes = fread(buf, 1, 5, stdin);
70 if (nBytes != 5) {
72 nBytes);
83 nBytes = fwrite(buf, 1, 5, stdout);
84 if (nBytes != 5) {
H A Dsockpong.c66 PRInt32 nBytes; local
82 nBytes = PR_Read(sock, buf, sizeof(buf));
83 if (nBytes == -1) {
89 if (nBytes != 5) {
91 nBytes);
102 nBytes = PR_Write(sock, buf, 5);
103 if (nBytes == -1) {
H A Dpipepong2.c66 PRInt32 nBytes; local
92 nBytes = PR_Read(pipe_read, buf, sizeof(buf));
93 if (nBytes == -1) {
99 if (nBytes != 5) {
101 nBytes);
112 nBytes = PR_Write(pipe_write, buf, 5);
113 if (nBytes == -1) {
H A Dpipeping.c77 PRInt32 nBytes; local
142 nBytes = PR_Write(out_pipe[1], buf, 5);
143 if (nBytes == -1) {
149 nBytes = PR_Read(in_pipe[0], buf, sizeof(buf));
150 if (nBytes == -1) {
156 if (nBytes != 5) {
158 nBytes);
H A Dpipeping2.c72 PRInt32 nBytes; local
145 nBytes = PR_Write(out_pipe[1], buf, 5);
146 if (nBytes == -1) {
152 nBytes = PR_Read(in_pipe[0], buf, sizeof(buf));
153 if (nBytes == -1) {
158 if (nBytes != 5) {
160 nBytes);
H A Dpipeself.c66 PRInt32 nBytes; local
71 nBytes = PR_Read(pong_in, buf, sizeof(buf));
72 if (nBytes == -1) {
77 if (nBytes != 5) {
79 nBytes);
89 nBytes = PR_Write(pong_out, buf, 5);
90 if (nBytes == -1) {
114 PRInt32 nBytes; local
138 nBytes = PR_Write(ping_out, buf, 5);
139 if (nBytes
[all...]
H A Dsockping.c71 PRInt32 nBytes; local
121 nBytes = PR_Write(sock[0], buf, 5);
122 if (nBytes == -1) {
128 nBytes = PR_Read(sock[0], buf, sizeof(buf));
129 if (nBytes == -1) {
135 if (nBytes != 5) {
137 nBytes);
H A Dforktest.c146 PRInt32 nBytes; local
195 nBytes = PR_Recv(sock, buf, sizeof(buf), 0, PR_INTERVAL_NO_TIMEOUT);
196 if (nBytes == -1) {
H A Dnonblock.c94 PRInt32 nBytes; local
138 nBytes = PR_Write(sock, buf, sizeof(buf));
139 if (nBytes == -1) {
147 printf("client sent %d bytes\n", nBytes);
H A Dprpoll.c318 PRInt32 nBytes; local
323 nBytes = recv(PR_FileDesc2NativeHandle(pds[j].fd), buf,
325 if (nBytes == -1) {
329 printf("Server read %d bytes from native fd %d\n",nBytes,
338 nBytes = PR_Read(pds[j].fd, buf, sizeof(buf));
339 if (nBytes == -1) {
H A Dprselect.c340 PRInt32 nBytes; local
344 nBytes = PR_Read(fds[j], buf, sizeof(buf));
345 if (nBytes == -1) {
H A Dselct_nm.c281 PRInt32 nBytes; local
285 nBytes = PR_Read(fds[j], buf, sizeof(buf));
286 if (nBytes == -1) {
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2rng.c68 int nBytes = 0; local
77 nBytes = sizeof(low) > size ? size : sizeof(low);
78 memcpy(buf, &low, nBytes);
79 n += nBytes;
80 size -= nBytes;
85 nBytes = sizeof(high) > size ? size : sizeof(high);
86 memcpy(((char *)buf) + n, &high, nBytes);
87 n += nBytes;
88 size -= nBytes;
96 nBytes
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw32rng.c63 int nBytes; local
72 nBytes = sizeof(dwLow) > size ? size : sizeof(dwLow);
73 memcpy((char *)buf, &dwLow, nBytes);
74 n += nBytes;
75 size -= nBytes;
80 nBytes = sizeof(dwHigh) > size ? size : sizeof(dwHigh);
81 memcpy(((char *)buf) + n, &dwHigh, nBytes);
82 n += nBytes;
83 size -= nBytes;
91 nBytes
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprpolevt.c507 PRInt32 nBytes; local
512 nBytes = PR_Read(event->lower, buf, sizeof(buf));
513 if (nBytes == -1) {
522 for (i = 0; i < nBytes; i++) {
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dicd_drv.c192 int iLayerPlane, UINT nBytes,
211 int APIENTRY DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd) argument
218 if ( nBytes != sizeof(*pfd) ) {
219 crWarning( "DrvDescribePixelFormat: nBytes=%u?", nBytes );
191 DrvDescribeLayerPlane(HDC hdc,int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd) argument
H A Dwgl.c237 DECLEXPORT(int) WINAPI wglDescribePixelFormat_prox( HDC hdc, int pixelFormat, UINT nBytes, argument
252 if ( nBytes != sizeof(*pfd) ) {
253 crWarning( "wglDescribePixelFormat: nBytes=%u?\n", nBytes );
519 UINT nBytes, LPLAYERPLANEDESCRIPTOR lpd )
/vbox/src/libs/xpcom18a4/nsprpub/tools/
H A Dhttpget.c144 PRInt32 nBytes = inputTail - inputHead; local
146 if (nBytes == 0) {
153 if ((PRInt32) bufSize < nBytes) {
154 nBytes = bufSize;
156 memcpy(buf, inputHead, nBytes);
157 inputHead += nBytes;
158 return nBytes;
164 PRInt32 nBytes; local
166 while ((nBytes = DrainInputBuffer(buf, sizeof(buf))) > 0) {
167 if (PR_Write(out, buf, nBytes) !
191 PRInt32 nBytes; local
[all...]
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dgdiplusmetaheader.h39 DWORD nBytes; member in struct:__anon13581
H A Dwingdi.h2154 DWORD nBytes; member in struct:__anon14346
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dgdiplusmetaheader.h39 DWORD nBytes; member in struct:__anon977
H A Dwingdi.h2089 DWORD nBytes; member in struct:__anon1666
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsFileSpecOS2.cpp766 PRInt64 nBytes = 0; local
775 nBytes = fsAllocate.cUnitAvail;
776 nBytes *= fsAllocate.cSectorUnit;
777 nBytes *= fsAllocate.cbSector;
780 return nBytes;
H A DnsFileSpecWin.cpp676 double nBytes = 0; local
700 nBytes = (double)(signed __int64)liFreeBytesAvailableToCaller.QuadPart;
704 nBytes = (double)dwFreeClus*(double)dwSecPerClus*(double) dwBytesPerSec;
706 return (PRInt64)nBytes;

Completed in 95 milliseconds