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

/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/
H A Dinput.c139 static int pop_index, push_index; variable
143 #define any_typein (push_index != pop_index)
154 return (push_index != pop_index);
162 if (pop_index > push_index)
163 return (pop_index - push_index - 1);
165 return (ibuffer_len - (push_index - pop_index));
174 if (push_index == pop_index)
418 ibuffer[push_index++] = key;
420 if (push_index >= ibuffer_len)
422 if (push_index > ibuffer_le
[all...]
/netbsd-current/external/gpl3/gdb/dist/readline/readline/
H A Dinput.c141 static int pop_index, push_index; variable
145 #define any_typein (push_index != pop_index)
156 return (push_index != pop_index);
164 if (pop_index > push_index)
165 return (pop_index - push_index - 1);
167 return (ibuffer_len - (push_index - pop_index));
176 if (push_index == pop_index)
437 ibuffer[push_index++] = key;
439 if (push_index >= ibuffer_len)
441 if (push_index > ibuffer_le
[all...]
/netbsd-current/external/gpl2/texinfo/dist/info/
H A Dsession.c4858 static int pop_index = 0, push_index = 0;
4868 push_index = pop_index;
4873 info_input_buffer[push_index++] = key;
4874 if ((unsigned int) push_index >= sizeof (info_input_buffer))
4875 push_index = 0;
4883 if (pop_index > push_index)
4884 return (pop_index - push_index);
4886 return (sizeof (info_input_buffer) - (push_index - pop_index));
4895 if (push_index == pop_index)
4910 return (push_index !
4843 static int pop_index = 0, push_index = 0; variable
[all...]

Completed in 171 milliseconds