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

/haiku/src/bin/network/telnet/
H A Dring.c47 * full: [consume, supply)
48 * empty: [supply, consume)
96 #define ring_empty(d) (((d)->consume == (d)->supply) && \
98 #define ring_full(d) (((d)->supply == (d)->consume) && \
110 ring->supply = ring->consume = ring->bottom = buffer;
130 ring->mark = ring_decrement(ring, ring->supply, 1);
163 ring->supply = ring_increment(ring, ring->supply, count);
195 ring->consume = ring->supply = ring->bottom;
211 return ring_subtract(ring, ring->consume, ring->supply);
[all...]
H A Ddefines.h39 #define NETADD(c) { *netoring.supply = c; ring_supplied(&netoring, 1); }
45 *ttyoring.supply = c; \
H A Dring.h52 * full: [consume, supply)
53 * empty: [supply, consume)
59 *supply, /* where data comes in to */ member in struct:__anon4448
H A Dsys_bsd.c1045 c = recv(net, netiring.supply, canread, MSG_OOB);
1047 c = recv(net, netiring.supply, canread, 0);
1064 i = recv(net, netiring.supply + c, canread - c, MSG_OOB);
1066 memcmp(netiring.supply, netiring.supply + c, i) == 0) {
1082 i = read(net, netiring.supply + c, canread - c);
1087 c = recv(net, netiring.supply, canread, 0);
1090 c = recv(net, netiring.supply, canread, 0);
1094 c = recv(net, (char *)netiring.supply, canread, 0);
1102 Dump('<', netiring.supply,
[all...]

Completed in 35 milliseconds