Searched refs:supply (Results 1 - 4 of 4) sorted by relevance

/haiku/src/bin/network/telnet/
H A Dring.c43 * full: [consume, supply)
44 * empty: [supply, consume)
92 #define ring_empty(d) (((d)->consume == (d)->supply) && \
94 #define ring_full(d) (((d)->supply == (d)->consume) && \
106 ring->supply = ring->consume = ring->bottom = buffer;
126 ring->mark = ring_decrement(ring, ring->supply, 1);
159 ring->supply = ring_increment(ring, ring->supply, count);
191 ring->consume = ring->supply = ring->bottom;
207 return ring_subtract(ring, ring->consume, ring->supply);
[all...]
H A Ddefines.h35 #define NETADD(c) { *netoring.supply = c; ring_supplied(&netoring, 1); }
41 *ttyoring.supply = c; \
H A Dring.h48 * full: [consume, supply)
49 * empty: [supply, consume)
55 *supply, /* where data comes in to */ member in struct:__anon3
H A Dsys_bsd.c969 c = recv(net, netiring.supply, canread, MSG_OOB);
971 c = recv(net, netiring.supply, canread, 0);
988 i = recv(net, netiring.supply + c, canread - c, MSG_OOB);
990 memcmp(netiring.supply, netiring.supply + c, i) == 0) {
1006 i = read(net, netiring.supply + c, canread - c);
1011 c = recv(net, netiring.supply, canread, 0);
1014 c = recv(net, netiring.supply, canread, 0);
1018 c = recv(net, (char *)netiring.supply, canread, 0);
1026 Dump('<', netiring.supply,
[all...]

Completed in 39 milliseconds