Searched refs:push_index (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/contrib/libreadline/
H A Dinput.c102 static int pop_index, push_index; variable
106 #define any_typein (push_index != pop_index)
119 if (pop_index > push_index)
120 return (pop_index - push_index - 1);
122 return (ibuffer_len - (push_index - pop_index));
132 if (push_index == pop_index)
167 return (push_index != pop_index);
379 ibuffer[push_index++] = key;
381 if (push_index >= ibuffer_len)
383 if (push_index > ibuffer_le
[all...]
/freebsd-10.1-release/contrib/texinfo/info/
H A Dsession.c4856 static int pop_index = 0, push_index = 0;
4866 push_index = pop_index;
4871 info_input_buffer[push_index++] = key;
4872 if ((unsigned int) push_index >= sizeof (info_input_buffer))
4873 push_index = 0;
4881 if (pop_index > push_index)
4882 return (pop_index - push_index);
4884 return (sizeof (info_input_buffer) - (push_index - pop_index));
4893 if (push_index == pop_index)
4908 return (push_index !
4841 static int pop_index = 0, push_index = 0; variable
[all...]

Completed in 111 milliseconds