/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/ |
H A D | os2rng.c | 68 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 D | w32rng.c | 63 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/tests/ |
H A D | pipeself.c | 66 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 D | pipepong.c | 63 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 D | pipepong2.c | 66 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 D | sockpong.c | 66 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 D | sockping.c | 71 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 D | pipeping.c | 77 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 D | pipeping2.c | 72 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 D | forktest.c | 146 PRInt32 nBytes; local 195 nBytes = PR_Recv(sock, buf, sizeof(buf), 0, PR_INTERVAL_NO_TIMEOUT); 196 if (nBytes == -1) {
|
H A D | prpoll.c | 318 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 D | nonblock.c | 94 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 D | prselect.c | 340 PRInt32 nBytes; local 344 nBytes = PR_Read(fds[j], buf, sizeof(buf)); 345 if (nBytes == -1) {
|
H A D | selct_nm.c | 281 PRInt32 nBytes; local 285 nBytes = PR_Read(fds[j], buf, sizeof(buf)); 286 if (nBytes == -1) {
|
/vbox/src/libs/xpcom18a4/nsprpub/tools/ |
H A D | httpget.c | 144 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/Additions/common/crOpenGL/ |
H A D | icd_drv.h | 38 int iLayerPlane, UINT nBytes, 43 int APIENTRY DrvDescribePixelFormat(HDC hdc, int iPixelFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd);
|
H A D | icd_drv.c | 192 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 D | wgl.c | 237 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/xpcom/obsolete/ |
H A D | nsFileSpecOS2.cpp | 766 PRInt64 nBytes = 0; local 775 nBytes = fsAllocate.cUnitAvail; 776 nBytes *= fsAllocate.cSectorUnit; 777 nBytes *= fsAllocate.cbSector; 780 return nBytes;
|
H A D | nsFileSpecWin.cpp | 676 double nBytes = 0; local 700 nBytes = (double)(signed __int64)liFreeBytesAvailableToCaller.QuadPart; 704 nBytes = (double)dwFreeClus*(double)dwSecPerClus*(double) dwBytesPerSec; 706 return (PRInt64)nBytes;
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | gdiplusmetaheader.h | 39 DWORD nBytes; member in struct:__anon13581
|
H A D | snmp.h | 284 LPVOID WINAPI SnmpUtilMemAlloc(UINT nBytes) __WINE_ALLOC_SIZE(1); 285 LPVOID WINAPI SnmpUtilMemReAlloc(LPVOID pMem, UINT nBytes) __WINE_ALLOC_SIZE(2);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | gdiplusmetaheader.h | 39 DWORD nBytes; member in struct:__anon977
|
H A D | snmp.h | 288 LPVOID WINAPI SnmpUtilMemAlloc(UINT nBytes) __WINE_ALLOC_SIZE(1); 289 LPVOID WINAPI SnmpUtilMemReAlloc(LPVOID pMem, UINT nBytes) __WINE_ALLOC_SIZE(2);
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/ |
H A D | prpolevt.c | 507 PRInt32 nBytes; local 512 nBytes = PR_Read(event->lower, buf, sizeof(buf)); 513 if (nBytes == -1) { 522 for (i = 0; i < nBytes; i++) {
|