Lines Matching refs:out
384 convert_glob_write(pcre2_output_context *out, PCRE2_UCHAR chr) in convert_glob_write() argument
386 out->output_size++; in convert_glob_write()
388 if (out->output < out->output_end) in convert_glob_write()
389 *out->output++ = chr; in convert_glob_write()
401 convert_glob_write_str(pcre2_output_context *out, PCRE2_SIZE length) in convert_glob_write_str() argument
403 uint8_t *out_str = out->out_str; in convert_glob_write_str()
404 PCRE2_UCHAR *output = out->output; in convert_glob_write_str()
405 PCRE2_SPTR output_end = out->output_end; in convert_glob_write_str()
406 PCRE2_SIZE output_size = out->output_size; in convert_glob_write_str()
417 out->output = output; in convert_glob_write_str()
418 out->output_size = output_size; in convert_glob_write_str()
431 convert_glob_print_separator(pcre2_output_context *out, in convert_glob_print_separator() argument
435 convert_glob_write(out, CHAR_BACKSLASH); in convert_glob_print_separator()
437 convert_glob_write(out, separator); in convert_glob_print_separator()
450 convert_glob_print_wildcard(pcre2_output_context *out, in convert_glob_print_wildcard() argument
453 out->out_str[0] = CHAR_LEFT_SQUARE_BRACKET; in convert_glob_print_wildcard()
454 out->out_str[1] = CHAR_CIRCUMFLEX_ACCENT; in convert_glob_print_wildcard()
455 convert_glob_write_str(out, 2); in convert_glob_print_wildcard()
457 convert_glob_print_separator(out, separator, with_escape); in convert_glob_print_wildcard()
459 convert_glob_write(out, CHAR_RIGHT_SQUARE_BRACKET); in convert_glob_print_wildcard()
476 pcre2_output_context *out) in convert_glob_parse_class() argument
515 do convert_glob_write(out, *start++); while (start < pattern); in convert_glob_parse_class()
585 pcre2_output_context *out, BOOL utf, PCRE2_UCHAR separator, in convert_glob_parse_range() argument
617 out->out_str[0] = CHAR_LEFT_SQUARE_BRACKET; in convert_glob_parse_range()
618 out->out_str[1] = CHAR_CIRCUMFLEX_ACCENT; in convert_glob_parse_range()
625 out->out_str[len] = CHAR_BACKSLASH; in convert_glob_parse_range()
628 out->out_str[len] = (uint8_t) separator; in convert_glob_parse_range()
631 convert_glob_write_str(out, len + 1); in convert_glob_parse_range()
634 convert_glob_write(out, CHAR_LEFT_SQUARE_BRACKET); in convert_glob_parse_range()
641 out->out_str[0] = CHAR_BACKSLASH; in convert_glob_parse_range()
642 out->out_str[1] = CHAR_RIGHT_SQUARE_BRACKET; in convert_glob_parse_range()
643 convert_glob_write_str(out, 2); in convert_glob_parse_range()
656 convert_glob_write(out, c); in convert_glob_parse_range()
660 out->out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob_parse_range()
661 out->out_str[1] = CHAR_QUESTION_MARK; in convert_glob_parse_range()
662 out->out_str[2] = CHAR_LESS_THAN_SIGN; in convert_glob_parse_range()
663 out->out_str[3] = CHAR_EXCLAMATION_MARK; in convert_glob_parse_range()
664 convert_glob_write_str(out, 4); in convert_glob_parse_range()
666 convert_glob_print_separator(out, separator, with_escape); in convert_glob_parse_range()
667 convert_glob_write(out, CHAR_RIGHT_PARENTHESIS); in convert_glob_parse_range()
679 class_index = convert_glob_parse_class(from, pattern_end, out); in convert_glob_parse_range()
697 convert_glob_write(out, CHAR_MINUS); in convert_glob_parse_range()
742 convert_glob_write(out, CHAR_BACKSLASH); in convert_glob_parse_range()
746 do convert_glob_write(out, *char_start++); while (char_start < pattern); in convert_glob_parse_range()
761 convert_glob_print_commit(pcre2_output_context *out) in convert_glob_print_commit() argument
763 out->out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob_print_commit()
764 out->out_str[1] = CHAR_ASTERISK; in convert_glob_print_commit()
765 out->out_str[2] = CHAR_C; in convert_glob_print_commit()
766 out->out_str[3] = CHAR_O; in convert_glob_print_commit()
767 out->out_str[4] = CHAR_M; in convert_glob_print_commit()
768 out->out_str[5] = CHAR_M; in convert_glob_print_commit()
769 out->out_str[6] = CHAR_I; in convert_glob_print_commit()
770 out->out_str[7] = CHAR_T; in convert_glob_print_commit()
771 convert_glob_write_str(out, 8); in convert_glob_print_commit()
772 convert_glob_write(out, CHAR_RIGHT_PARENTHESIS); in convert_glob_print_commit()
798 pcre2_output_context out; in convert_glob() local
826 out.output = use_buffer; in convert_glob()
827 out.output_end = use_buffer + use_length; in convert_glob()
828 out.output_size = 0; in convert_glob()
830 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
831 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
832 out.out_str[2] = CHAR_s; in convert_glob()
833 out.out_str[3] = CHAR_RIGHT_PARENTHESIS; in convert_glob()
834 convert_glob_write_str(&out, 4); in convert_glob()
849 out.out_str[0] = CHAR_BACKSLASH; in convert_glob()
850 out.out_str[1] = CHAR_A; in convert_glob()
851 convert_glob_write_str(&out, 2); in convert_glob()
864 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
891 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
892 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
893 out.out_str[2] = CHAR_COLON; in convert_glob()
894 out.out_str[3] = CHAR_BACKSLASH; in convert_glob()
895 out.out_str[4] = CHAR_A; in convert_glob()
896 out.out_str[5] = CHAR_VERTICAL_LINE; in convert_glob()
897 convert_glob_write_str(&out, 6); in convert_glob()
899 convert_glob_print_separator(&out, separator, with_escape); in convert_glob()
900 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
906 convert_glob_print_commit(&out); in convert_glob()
910 out.out_str[0] = CHAR_DOT; in convert_glob()
911 out.out_str[1] = CHAR_ASTERISK; in convert_glob()
912 out.out_str[2] = CHAR_QUESTION_MARK; in convert_glob()
913 convert_glob_write_str(&out, 3); in convert_glob()
917 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
918 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
919 out.out_str[2] = CHAR_COLON; in convert_glob()
920 out.out_str[3] = CHAR_DOT; in convert_glob()
921 out.out_str[4] = CHAR_ASTERISK; in convert_glob()
922 out.out_str[5] = CHAR_QUESTION_MARK; in convert_glob()
924 convert_glob_write_str(&out, 6); in convert_glob()
926 convert_glob_print_separator(&out, separator, with_escape); in convert_glob()
928 out.out_str[0] = CHAR_RIGHT_PARENTHESIS; in convert_glob()
929 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
930 out.out_str[2] = CHAR_QUESTION_MARK; in convert_glob()
931 convert_glob_write_str(&out, 3); in convert_glob()
959 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
960 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
961 out.out_str[2] = CHAR_GREATER_THAN_SIGN; in convert_glob()
962 convert_glob_write_str(&out, 3); in convert_glob()
966 convert_glob_print_commit(&out); in convert_glob()
970 convert_glob_write(&out, CHAR_DOT); in convert_glob()
972 convert_glob_print_wildcard(&out, separator, with_escape); in convert_glob()
974 out.out_str[0] = CHAR_ASTERISK; in convert_glob()
975 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
977 out.out_str[1] = CHAR_PLUS; in convert_glob()
978 convert_glob_write_str(&out, 2); in convert_glob()
985 convert_glob_write(&out, CHAR_DOT); in convert_glob()
987 convert_glob_print_wildcard(&out, separator, with_escape); in convert_glob()
994 &out, utf, separator, with_escape, escape, no_wildsep); in convert_glob()
1010 convert_glob_write(&out, CHAR_BACKSLASH); in convert_glob()
1012 convert_glob_write(&out, c); in convert_glob()
1019 out.out_str[0] = CHAR_BACKSLASH; in convert_glob()
1020 out.out_str[1] = CHAR_z; in convert_glob()
1021 convert_glob_write_str(&out, 2); in convert_glob()
1025 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
1027 convert_glob_write(&out, CHAR_NUL); in convert_glob()
1029 if (!dummyrun && out.output_size != (PCRE2_SIZE) (out.output - use_buffer)) in convert_glob()
1039 *bufflenptr = out.output_size - 1; in convert_glob()