Lines Matching refs:buffer_index
47 int *buffer_index; variable
58 buffer_index = malloc(number_nodes * sizeof(int)); in alloc_size()
88 free(buffer_index); in dealloc_size()
161 buffer[pos][buffer_index[pos]] = *buf; in fifo_handler()
162 buffer_index[pos] += 1; in fifo_handler()
167 if (buffer_index[pos] == 0) { in fifo_handler()
204 buffer[pos][buffer_index[pos]] = *buf; in fifo_handler()
205 buffer_index[pos] += 1; in fifo_handler()
207 for (int i = 0; i < buffer_index[pos]; ++i) { in fifo_handler()
242 buffer_index[pos] = 0; in fifo_handler()
308 buffer_index[i] = 0; in main()