Searched defs:amount (Results 1 - 25 of 25) sorted by relevance

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcfileio.cpp73 PRInt32 RCFileIO::Read(void *buf, PRSize amount) argument
74 { return fd->methods->read(fd, buf, amount); }
89 PRInt32 RCFileIO::Write(const void *buf, PRSize amount) argument
90 { return fd->methods->write(fd, buf, amount); }
H A Drcnetio.cpp76 PRSize amount, const RCInterval& timeout)
81 fd, &accepted, &from, buf, amount, timeout);
126 PRInt32 RCNetStreamIO::Read(void *buf, PRSize amount) argument
127 { return (fd->methods->read)(fd, buf, amount); }
130 void *buf, PRSize amount, PRIntn flags, const RCInterval& timeout)
131 { return (fd->methods->recv)(fd, buf, amount, flags, timeout); }
134 void *buf, PRSize amount, PRIntn flags,
139 fd, buf, amount, flags, &peer, timeout);
145 const void *buf, PRSize amount, PRIntn flags, const RCInterval& timeout)
146 { return (fd->methods->send)(fd, buf, amount, flag
74 AcceptRead( RCIO **nd, RCNetAddr **raddr, void *buf, PRSize amount, const RCInterval& timeout) argument
129 Recv( void *buf, PRSize amount, PRIntn flags, const RCInterval& timeout) argument
133 Recvfrom( void *buf, PRSize amount, PRIntn flags, RCNetAddr* addr, const RCInterval& timeout) argument
144 Send( const void *buf, PRSize amount, PRIntn flags, const RCInterval& timeout) argument
148 Sendto( const void *buf, PRSize amount, PRIntn flags, const RCNetAddr& addr, const RCInterval& timeout) argument
167 Write(const void *buf, PRSize amount) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprfile.c57 static PRInt32 PR_CALLBACK FileRead(PRFileDesc *fd, void *buf, PRInt32 amount) argument
75 ("read: fd=%p osfd=%d buf=%p amount=%d",
76 fd, fd ? fd->secret->md.osfd : 0, buf, amount));
78 rv = _PR_MD_READ(fd, buf, amount);
86 static PRInt32 PR_CALLBACK FileWrite(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
113 while (amount > 0) {
115 ("write: fd=%p osfd=%d buf=%p amount=%d",
116 fd, fd ? fd->secret->md.osfd : 0, buf, amount));
117 temp = _PR_MD_WRITE(fd, buf, amount);
127 amount
[all...]
H A Dpripv6.c142 PRFileDesc *fd, const void *buf, PRInt32 amount,
161 fd->lower, buf, amount, flags, tmp_addrp, timeout);
201 PRFileDesc **nd, PRNetAddr **ipv6_raddr, void *buf, PRInt32 amount,
221 sd->lower, nd, ipv6_raddr, buf, amount, timeout);
265 PRInt32 amount, PRIntn flags, PRNetAddr *ipv6addr,
272 fd->lower, buf, amount, flags, &tmp_ipv4addr, timeout);
141 Ipv6ToIpv4SocketSendTo( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
200 Ipv6ToIpv4SocketAcceptRead(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **ipv6_raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) argument
264 Ipv6ToIpv4SocketRecvFrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *ipv6addr, PRIntervalTime timeout) argument
H A Dprlayer.c104 static PRInt32 PR_CALLBACK pl_DefRead (PRFileDesc *fd, void *buf, PRInt32 amount) argument
109 return (fd->lower->methods->read)(fd->lower, buf, amount);
113 PRFileDesc *fd, const void *buf, PRInt32 amount)
118 return (fd->lower->methods->write)(fd->lower, buf, amount);
273 PRFileDesc *fd, void *buf, PRInt32 amount,
280 fd->lower, buf, amount, flags, timeout);
285 PRInt32 amount, PRIntn flags, PRIntervalTime timeout)
290 return (fd->lower->methods->send)(fd->lower, buf, amount, flags, timeout);
294 PRFileDesc *fd, void *buf, PRInt32 amount,
301 fd->lower, buf, amount, flag
112 pl_DefWrite( PRFileDesc *fd, const void *buf, PRInt32 amount) argument
272 pl_DefRecv( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
283 pl_DefSend( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
293 pl_DefRecvfrom( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
304 pl_DefSendto( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
324 pl_DefAcceptread( PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime t) argument
[all...]
H A Dprprf.c339 int amount = fmt1 - fmt0; local
341 if (amount <= 0 || amount >= sizeof(fin)) {
345 memcpy(fin, fmt0, amount);
346 fin[amount] = 0;
H A Dprsocket.c579 static PRInt32 PR_CALLBACK SocketRecv(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
599 PR_LOG(_pr_io_lm, PR_LOG_MAX, ("recv: fd=%p osfd=%d buf=%p amount=%d flags=%d",
600 fd, fd->secret->md.osfd, buf, amount, flags));
604 rv = (amount < fd->secret->peekBytes) ?
605 amount : fd->secret->peekBytes;
623 if (amount > _PR_PEEK_BUFFER_MAX) {
624 amount = _PR_PEEK_BUFFER_MAX;
626 if (fd->secret->peekBufSize < amount) {
630 fd->secret->peekBufSize = amount;
631 fd->secret->peekBuffer = PR_Malloc(amount);
657 SocketRead(PRFileDesc *fd, void *buf, PRInt32 amount) argument
662 SocketSend(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
701 SocketWrite(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
769 SocketSendTo( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
817 SocketRecvFrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
843 SocketAcceptRead(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2sock.c423 _PR_MD_RECV(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
430 while ((rv = recv(osfd,buf,amount,flags)) == -1)
453 _PR_MD_SEND(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, argument
460 while ((rv = send(osfd,buf,amount,flags)) == -1)
477 * optimization; if bytes sent is less than "amount" call
481 if ((!fd->secret->nonblocking) && (rv > 0) && (rv < amount)
497 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, argument
509 while ((rv = sendto(osfd, buf, amount, flags,
534 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
542 ((rv = recvfrom(osfd, buf, amount, flag
575 PRInt32 index, amount = 0; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dw95sock.c201 _PR_MD_RECV(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
214 while ((rv = recv( osfd, buf, amount, osflags)) == -1)
235 _PR_MD_SEND(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, argument
242 while(bytesSent < amount )
244 while ((rv = send( osfd, buf, amount, 0 )) == -1)
266 if (bytesSent < amount)
279 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, argument
286 while(bytesSent < amount)
288 while ((rv = sendto( osfd, buf, amount, 0, (struct sockaddr *) addr,
311 if (bytesSent < amount)
324 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument
[all...]
H A Dw16sock.c291 _PR_MD_RECV(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
298 while ((rv = recv(osfd,buf,amount,flags)) == -1) {
335 _PR_MD_SEND(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, argument
342 while ((rv = send(osfd,buf,amount,flags)) == -1) {
379 _PR_MD_SENDTO(PRFileDesc*fd, const void *buf, PRInt32 amount, PRIntn flags, argument
386 while ((rv = sendto(osfd, buf, amount, flags,
424 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
432 ((rv = recvfrom(osfd, buf, amount, flags,
H A Dntio.c178 union { PRIntn amount; } arg3; /* #3 - size of 'buffer' */ member in union:pt_Continuation::__anon17233
223 PRInt32 amount, PRInt32 flags, const PRNetAddr *addr,
225 static PRInt32 pt_RecvFrom(SOCKET osfd, void *buf, PRInt32 amount,
1424 void *buf, PRInt32 amount, PRIntervalTime timeout,
1472 amount,
1590 amount,
1707 _PR_MD_RECV(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
1721 return _nt_nonblock_recv(fd, buf, amount, flags, timeout);
1753 amount,
1806 _PR_MD_SEND(PRFileDesc *fd, const void *buf, PRInt32 amount, PRInt argument
1423 _PR_MD_FAST_ACCEPT_READ(PRFileDesc *sd, PRInt32 *newSock, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout, PRBool fast, _PR_AcceptTimeoutCallback callback, void *callbackArg) argument
1901 _PR_MD_SENDTO(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument
1919 _PR_MD_RECVFROM(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument
4612 pt_SendTo( SOCKET osfd, const void *buf, PRInt32 amount, PRInt32 flags, const PRNetAddr *addr, PRIntn addrlen, PRIntervalTime timeout) argument
4650 pt_RecvFrom(SOCKET osfd, void *buf, PRInt32 amount, PRInt32 flags, PRNetAddr *addr, PRIntn *addr_len, PRIntervalTime timeout) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dacceptreademu.c64 PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout)
66 return PR_EmulateAcceptRead(sd, nd, raddr, buf, amount, timeout);
63 emu_AcceptRead(PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) argument
H A Dlayer.c205 PRFileDesc *fd, void *buf, PRInt32 amount,
227 lo, b + readin, amount - readin, flags, timeout);
240 PRFileDesc *fd, const void *buf, PRInt32 amount,
247 logFile, "MySend asking permission to send %d bytes\n", amount);
248 rv = lo->methods->send(lo, &amount, sizeof(amount), flags, timeout);
255 PR_ASSERT(request == amount);
267 rv = amount;
204 MyRecv( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
239 MySend( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
H A Dnblayer.c416 PRFileDesc *fd, void *buf, PRInt32 amount,
430 mine->rcvreq = amount;
458 if (mine->rcvinprogress < amount) break; /* loop */
474 PRFileDesc *fd, const void *buf, PRInt32 amount,
488 mine->xmtreq = amount;
514 if (mine->xmtinprogress < amount) break;
415 MyRecv( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
473 MySend( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsUnicharInputStream.cpp100 PRUint32 amount = mLen - mPos; local
101 if (amount > aCount) {
102 amount = aCount;
104 memcpy(aBuf, us + mPos, sizeof(PRUnichar) * amount);
105 mPos += amount;
106 *aReadCount = amount;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbnet.c212 _MD_recv (PRFileDesc *fd, void *buf, PRInt32 amount, PRInt32 flags, argument
228 ** Gah, stupid hack. If reading a zero amount, instantly return success.
233 if( 0 == amount ) return(0);
236 while ((rv = recv(osfd, buf, amount, flags)) == -1) {
264 _MD_recvfrom (PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, argument
272 ((rv = recvfrom(osfd, buf, amount, flags,
308 _MD_send (PRFileDesc *fd, const void *buf, PRInt32 amount, PRInt32 flags, argument
323 while ((rv = send(osfd, buf, amount, flags)) == -1) {
360 * optimization; if bytes sent is less than "amount" call
364 if ((!fd->secret->nonblocking) && (rv > 0) && (rv < amount)
384 _MD_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument
440 PRInt32 index, amount = 0; local
826 _MD_accept_read(PRFileDesc *sd, PRInt32 *newSock, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) argument
[all...]
H A Dbfile.c224 _MD_read (PRFileDesc *fd, void *buf, PRInt32 amount) argument
229 rv = read( osfd, buf, amount );
238 _MD_write (PRFileDesc *fd, const void *buf, PRInt32 amount) argument
243 rv = write( osfd, buf, amount );
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsTimelineService.cpp318 int amount = indent; local
319 if (amount > MAXINDENT) {
320 amount = MAXINDENT;
322 if (amount < 0) {
323 amount = 0;
327 while (amount--) {
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprnetdb.c461 static char *Alloc(PRIntn amount, char **bufp, PRIntn *buflenp, PRIntn align) argument
474 if (buflen < amount) {
477 *bufp = buf + amount;
478 *buflenp = buflen - amount;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmacsockotpt.c1397 static PRInt32 SendReceiveStream(PRFileDesc *fd, void *buf, PRInt32 amount, argument
1404 PRInt32 bytesLeft = amount;
1472 // to tell us whether there is a nonzero amount of data pending.
1515 amount = result;
1530 if (bytesLeft == amount) { // no data was sent
1536 amount -= bytesLeft;
1548 amount = 0;
1562 return amount;
1572 PRInt32 _MD_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
1575 return (SendReceiveStream(fd, buf, amount, flag
1579 _MD_send(PRFileDesc *fd,const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
1589 SendReceiveDgram(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout, SndRcvOpCode opCode) argument
1667 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout) argument
1676 _MD_sendto(PRFileDesc *fd,const void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dunix.c312 PRInt32 _MD_read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
330 while ((rv = read(osfd,buf,amount)) == -1) {
376 PRInt32 _MD_write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
394 while ((rv = write(osfd,buf,amount)) == -1) {
787 PRInt32 _MD_recv(PRFileDesc *fd, void *buf, PRInt32 amount, argument
800 while ((rv = read(osfd,buf,amount)) == -1) {
802 while ((rv = recv(osfd,buf,amount,flags)) == -1) {
829 PRInt32 _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, argument
838 ((rv = recvfrom(osfd, buf, amount, flags,
873 PRInt32 _MD_send(PRFileDesc *fd, const void *buf, PRInt32 amount, argument
951 _MD_sendto( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout) argument
1002 PRInt32 index, amount = 0; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c106 size_t sfv_len; /* amount of data */
293 * The polling interval defines the maximum amount of time that a thread
336 PRSize amount; /* #3 - size of 'buffer', or */ member in union:pt_Continuation::__anon17248
781 op->arg1.osfd, op->arg2.buffer, op->arg3.amount);
798 op->arg1.osfd, op->arg2.buffer, op->arg3.amount);
801 op->arg1.osfd, op->arg2.buffer, op->arg3.amount, op->arg4.flags);
804 op->arg1.osfd, op->arg2.buffer, op->arg3.amount, op->arg4.flags);
816 PRInt32 tmp_amount = op->arg3.amount;
819 * We want to write the entire amount out, no matter how many
821 * the amount unti
1306 pt_Read(PRFileDesc *fd, void *buf, PRInt32 amount) argument
1333 pt_Write(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
1834 pt_Recv( PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
1887 pt_SocketRead(PRFileDesc *fd, void *buf, PRInt32 amount) argument
1892 pt_Send( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) argument
1990 pt_SocketWrite(PRFileDesc *fd, const void *buf, PRInt32 amount) argument
1995 pt_SendTo( PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) argument
2067 pt_RecvFrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) argument
2752 pt_AcceptRead( PRFileDesc *sd, PRFileDesc **nd, PRNetAddr **raddr, void *buf, PRInt32 amount, PRIntervalTime timeout) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Ddirectx.c433 /* Adjust the amount of used texture memory */
435 unsigned int adapter_adjust_memory(struct wined3d_adapter *adapter, int amount) argument
437 adapter->UsedTextureRam += amount;
438 TRACE("Adjusted adapter memory by %d to %d.\n", amount, adapter->UsedTextureRam);
1300 /* The amount of video memory stored in the gpu description table is the minimum amount of video memory
1497 /* Set a default amount of video memory (64MB). In general this code isn't used unless the user
1576 TRACE("Overriding amount of video memory with %u bytes.\n", wined3d_settings.emulated_textureram);
2499 * the amount of code might be 'small' but there are quite a number of
2504 * well in, let's say, a remote X situation in which the amount o
[all...]
/vbox/src/libs/libxml2-2.6.31/
H A Dtrio.c5663 int amount = 0; local
5702 amount += size;
5705 return amount;
6347 /* Whitespaces may match any amount of whitespaces */
/vbox/src/VBox/Main/webservice/jaxlibs/
H A Djaxb-xjc.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/com. ...

Completed in 217 milliseconds