Lines Matching refs:size2
75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument
76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
416 const char *string2, int size2,
422 const char *string2, int size2,
440 wchar_t *string2, int size2,
444 const char *string2, int size2,
1175 int size1, const CHAR_T *string2, int size2) in PREFIX()
1194 for (this_char = where - string2; this_char < size2; this_char++) in PREFIX()
1663 size2); \
1738 DEBUG_PRINT_DOUBLE_STRING (str, string1, size1, string2, size2); \
4952 const char *string2, int size2, int startpos, int range, in weak_alias()
4957 return wcs_re_search_2 (bufp, string1, size1, string2, size2, startpos, in weak_alias()
4961 return byte_re_search_2 (bufp, string1, size1, string2, size2, startpos, in weak_alias()
4993 if (size2 > MAX_ALLOCA_SIZE) \
5010 int size1, const char *string2, int size2,
5017 int total_size = size1 + size2;
5113 if (size2 != 0)
5115 if (size2 > MAX_ALLOCA_SIZE)
5117 wcs_string2 = TALLOC (size2 + 1, CHAR_T);
5118 mbs_offset2 = TALLOC (size2 + 1, int);
5119 is_binary = TALLOC (size2 + 1, char);
5123 wcs_string2 = REGEX_TALLOC (size2 + 1, CHAR_T);
5124 mbs_offset2 = REGEX_TALLOC (size2 + 1, int);
5125 is_binary = REGEX_TALLOC (size2 + 1, char);
5130 if (size2 > MAX_ALLOCA_SIZE)
5136 wcs_size2 = convert_mbs_to_wcs(wcs_string2, string2, size2,
5139 if (size2 > MAX_ALLOCA_SIZE)
5203 size2, startpos, regs, stop,
5209 size2, startpos, regs, stop);
5292 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5451 const char *string2, int size2, int pos, in re_match_2() argument
5457 result = wcs_re_match_2_internal (bufp, string1, size1, string2, size2, in re_match_2()
5462 result = byte_re_match_2_internal (bufp, string1, size1, string2, size2, in re_match_2()
5540 wchar_t *string2, int size2, in wcs_re_match_2_internal() argument
5547 const char *string2, int size2, in wcs_re_match_2_internal()
5726 if (pos < 0 || pos > size1 + size2) in wcs_re_match_2_internal()
5770 size2 = convert_mbs_to_wcs(string2, cstring2, csize2, in wcs_re_match_2_internal()
5772 string2[size2] = L'\0'; /* for a sentinel */ in wcs_re_match_2_internal()
5800 if (size2 == 0 && string1 != NULL) in wcs_re_match_2_internal()
5803 size2 = size1; in wcs_re_match_2_internal()
5814 end2 = string2 + size2; in wcs_re_match_2_internal()
5891 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2); in wcs_re_match_2_internal()