Home | History | Annotate | Download | only in tests

Lines Matching defs:out

42   int out;
45 /* Mutex that protects 'out'. */
99 b->out = 0;
104 int out;
108 out = fetch_and_add(&b->out, 1);
109 if (out >= BUFFER_MAX)
111 fetch_and_add(&b->out, -BUFFER_MAX);
112 out -= BUFFER_MAX;
114 *d = b->buffer[out];
119 printf("received %d from buffer[%d]\n", *d, out);