Lines Matching refs:input

62 static int fetch_number (re_string_t *input, re_token_t *token,
64 static void fetch_token (re_token_t *result, re_string_t *input,
66 static int peek_token (re_token_t *token, re_string_t *input,
68 static int peek_token_bracket (re_token_t *token, re_string_t *input,
1778 fetch_token (result, input, syntax)
1780 re_string_t *input;
1783 re_string_skip_bytes (input, peek_token (result, input, syntax));
1790 peek_token (token, input, syntax)
1792 re_string_t *input;
1797 if (re_string_eoi (input))
1803 c = re_string_peek_byte (input, 0);
1809 if (input->mb_cur_max > 1 &&
1810 !re_string_first_byte (input, re_string_cur_idx (input)))
1820 if (re_string_cur_idx (input) + 1 >= re_string_length (input))
1826 c2 = re_string_peek_byte_case (input, 1);
1830 if (input->mb_cur_max > 1)
1832 wint_t wc = re_string_wchar_at (input,
1833 re_string_cur_idx (input) + 1);
1944 if (input->mb_cur_max > 1)
1946 wint_t wc = re_string_wchar_at (input, re_string_cur_idx (input));
1998 re_string_cur_idx (input) != 0)
2000 char prev = re_string_peek_byte (input, -1);
2009 re_string_cur_idx (input) + 1 != re_string_length (input))
2012 re_string_skip_bytes (input, 1);
2013 peek_token (&next, input, syntax);
2014 re_string_skip_bytes (input, -1);
2031 peek_token_bracket (token, input, syntax)
2033 re_string_t *input;
2037 if (re_string_eoi (input))
2042 c = re_string_peek_byte (input, 0);
2046 if (input->mb_cur_max > 1 &&
2047 !re_string_first_byte (input, re_string_cur_idx (input)))
2055 && re_string_cur_idx (input) + 1 < re_string_length (input))
2059 re_string_skip_bytes (input, 1);
2060 c2 = re_string_peek_byte (input, 0);
2069 if (re_string_cur_idx (input) + 1 < re_string_length (input))
2070 c2 = re_string_peek_byte (input, 1);
3752 Fetch a number from `input', and return the number.
3757 fetch_number (input, token, syntax)
3758 re_string_t *input;
3766 fetch_token (token, input, syntax);