Lines Matching refs:out
385 convert_glob_write(pcre2_output_context *out, PCRE2_UCHAR chr) in convert_glob_write() argument
387 out->output_size++; in convert_glob_write()
389 if (out->output < out->output_end) in convert_glob_write()
390 *out->output++ = chr; in convert_glob_write()
402 convert_glob_write_str(pcre2_output_context *out, PCRE2_SIZE length) in convert_glob_write_str() argument
404 uint8_t *out_str = out->out_str; in convert_glob_write_str()
405 PCRE2_UCHAR *output = out->output; in convert_glob_write_str()
406 PCRE2_SPTR output_end = out->output_end; in convert_glob_write_str()
407 PCRE2_SIZE output_size = out->output_size; in convert_glob_write_str()
418 out->output = output; in convert_glob_write_str()
419 out->output_size = output_size; in convert_glob_write_str()
432 convert_glob_print_separator(pcre2_output_context *out, in convert_glob_print_separator() argument
436 convert_glob_write(out, CHAR_BACKSLASH); in convert_glob_print_separator()
438 convert_glob_write(out, separator); in convert_glob_print_separator()
451 convert_glob_print_wildcard(pcre2_output_context *out, in convert_glob_print_wildcard() argument
454 out->out_str[0] = CHAR_LEFT_SQUARE_BRACKET; in convert_glob_print_wildcard()
455 out->out_str[1] = CHAR_CIRCUMFLEX_ACCENT; in convert_glob_print_wildcard()
456 convert_glob_write_str(out, 2); in convert_glob_print_wildcard()
458 convert_glob_print_separator(out, separator, with_escape); in convert_glob_print_wildcard()
460 convert_glob_write(out, CHAR_RIGHT_SQUARE_BRACKET); in convert_glob_print_wildcard()
477 pcre2_output_context *out) in convert_glob_parse_class() argument
516 do convert_glob_write(out, *start++); while (start < pattern); in convert_glob_parse_class()
578 pcre2_output_context *out, BOOL utf, PCRE2_UCHAR separator, in convert_glob_parse_range() argument
610 out->out_str[0] = CHAR_LEFT_SQUARE_BRACKET; in convert_glob_parse_range()
611 out->out_str[1] = CHAR_CIRCUMFLEX_ACCENT; in convert_glob_parse_range()
618 out->out_str[len] = CHAR_BACKSLASH; in convert_glob_parse_range()
621 out->out_str[len] = (uint8_t) separator; in convert_glob_parse_range()
624 convert_glob_write_str(out, len + 1); in convert_glob_parse_range()
627 convert_glob_write(out, CHAR_LEFT_SQUARE_BRACKET); in convert_glob_parse_range()
634 out->out_str[0] = CHAR_BACKSLASH; in convert_glob_parse_range()
635 out->out_str[1] = CHAR_RIGHT_SQUARE_BRACKET; in convert_glob_parse_range()
636 convert_glob_write_str(out, 2); in convert_glob_parse_range()
649 convert_glob_write(out, c); in convert_glob_parse_range()
653 out->out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob_parse_range()
654 out->out_str[1] = CHAR_QUESTION_MARK; in convert_glob_parse_range()
655 out->out_str[2] = CHAR_LESS_THAN_SIGN; in convert_glob_parse_range()
656 out->out_str[3] = CHAR_EXCLAMATION_MARK; in convert_glob_parse_range()
657 convert_glob_write_str(out, 4); in convert_glob_parse_range()
659 convert_glob_print_separator(out, separator, with_escape); in convert_glob_parse_range()
660 convert_glob_write(out, CHAR_RIGHT_PARENTHESIS); in convert_glob_parse_range()
672 class_index = convert_glob_parse_class(from, pattern_end, out); in convert_glob_parse_range()
690 convert_glob_write(out, CHAR_MINUS); in convert_glob_parse_range()
735 convert_glob_write(out, CHAR_BACKSLASH); in convert_glob_parse_range()
739 do convert_glob_write(out, *char_start++); while (char_start < pattern); in convert_glob_parse_range()
754 convert_glob_print_commit(pcre2_output_context *out) in convert_glob_print_commit() argument
756 out->out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob_print_commit()
757 out->out_str[1] = CHAR_ASTERISK; in convert_glob_print_commit()
758 out->out_str[2] = CHAR_C; in convert_glob_print_commit()
759 out->out_str[3] = CHAR_O; in convert_glob_print_commit()
760 out->out_str[4] = CHAR_M; in convert_glob_print_commit()
761 out->out_str[5] = CHAR_M; in convert_glob_print_commit()
762 out->out_str[6] = CHAR_I; in convert_glob_print_commit()
763 out->out_str[7] = CHAR_T; in convert_glob_print_commit()
764 convert_glob_write_str(out, 8); in convert_glob_print_commit()
765 convert_glob_write(out, CHAR_RIGHT_PARENTHESIS); in convert_glob_print_commit()
791 pcre2_output_context out; in convert_glob() local
819 out.output = use_buffer; in convert_glob()
820 out.output_end = use_buffer + use_length; in convert_glob()
821 out.output_size = 0; in convert_glob()
823 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
824 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
825 out.out_str[2] = CHAR_s; in convert_glob()
826 out.out_str[3] = CHAR_RIGHT_PARENTHESIS; in convert_glob()
827 convert_glob_write_str(&out, 4); in convert_glob()
842 out.out_str[0] = CHAR_BACKSLASH; in convert_glob()
843 out.out_str[1] = CHAR_A; in convert_glob()
844 convert_glob_write_str(&out, 2); in convert_glob()
857 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
884 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
885 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
886 out.out_str[2] = CHAR_COLON; in convert_glob()
887 out.out_str[3] = CHAR_BACKSLASH; in convert_glob()
888 out.out_str[4] = CHAR_A; in convert_glob()
889 out.out_str[5] = CHAR_VERTICAL_LINE; in convert_glob()
890 convert_glob_write_str(&out, 6); in convert_glob()
892 convert_glob_print_separator(&out, separator, with_escape); in convert_glob()
893 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
899 convert_glob_print_commit(&out); in convert_glob()
903 out.out_str[0] = CHAR_DOT; in convert_glob()
904 out.out_str[1] = CHAR_ASTERISK; in convert_glob()
905 out.out_str[2] = CHAR_QUESTION_MARK; in convert_glob()
906 convert_glob_write_str(&out, 3); in convert_glob()
910 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
911 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
912 out.out_str[2] = CHAR_COLON; in convert_glob()
913 out.out_str[3] = CHAR_DOT; in convert_glob()
914 out.out_str[4] = CHAR_ASTERISK; in convert_glob()
915 out.out_str[5] = CHAR_QUESTION_MARK; in convert_glob()
917 convert_glob_write_str(&out, 6); in convert_glob()
919 convert_glob_print_separator(&out, separator, with_escape); in convert_glob()
921 out.out_str[0] = CHAR_RIGHT_PARENTHESIS; in convert_glob()
922 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
923 out.out_str[2] = CHAR_QUESTION_MARK; in convert_glob()
924 convert_glob_write_str(&out, 3); in convert_glob()
952 out.out_str[0] = CHAR_LEFT_PARENTHESIS; in convert_glob()
953 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
954 out.out_str[2] = CHAR_GREATER_THAN_SIGN; in convert_glob()
955 convert_glob_write_str(&out, 3); in convert_glob()
959 convert_glob_print_commit(&out); in convert_glob()
963 convert_glob_write(&out, CHAR_DOT); in convert_glob()
965 convert_glob_print_wildcard(&out, separator, with_escape); in convert_glob()
967 out.out_str[0] = CHAR_ASTERISK; in convert_glob()
968 out.out_str[1] = CHAR_QUESTION_MARK; in convert_glob()
970 out.out_str[1] = CHAR_PLUS; in convert_glob()
971 convert_glob_write_str(&out, 2); in convert_glob()
978 convert_glob_write(&out, CHAR_DOT); in convert_glob()
980 convert_glob_print_wildcard(&out, separator, with_escape); in convert_glob()
987 &out, utf, separator, with_escape, escape, no_wildsep); in convert_glob()
1003 convert_glob_write(&out, CHAR_BACKSLASH); in convert_glob()
1005 convert_glob_write(&out, c); in convert_glob()
1012 out.out_str[0] = CHAR_BACKSLASH; in convert_glob()
1013 out.out_str[1] = CHAR_z; in convert_glob()
1014 convert_glob_write_str(&out, 2); in convert_glob()
1018 convert_glob_write(&out, CHAR_RIGHT_PARENTHESIS); in convert_glob()
1020 convert_glob_write(&out, CHAR_NUL); in convert_glob()
1022 if (!dummyrun && out.output_size != (PCRE2_SIZE) (out.output - use_buffer)) in convert_glob()
1032 *bufflenptr = out.output_size - 1; in convert_glob()