Lines Matching refs:size2
75 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
76 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
419 const char *string2, int size2,
425 const char *string2, int size2,
443 wchar_t *string2, int size2,
447 const char *string2, int size2,
1181 int size1, const CHAR_T *string2, int size2)
1200 for (this_char = where - string2; this_char < size2; this_char++)
1673 size2); \
1721 `pend', `string1', `size1', `string2', and `size2'. */
1748 DEBUG_PRINT_DOUBLE_STRING (str, string1, size1, string2, size2); \
4949 STRING1 and STRING2 have length SIZE1 and SIZE2, respectively.
4968 const char *string2, int size2, int startpos, int range,
4973 return wcs_re_search_2 (bufp, string1, size1, string2, size2, startpos,
4977 return byte_re_search_2 (bufp, string1, size1, string2, size2, startpos,
5009 if (size2 > MAX_ALLOCA_SIZE) \
5026 int size1, const char *string2, int size2,
5033 int total_size = size1 + size2;
5129 if (size2 != 0)
5131 if (size2 > MAX_ALLOCA_SIZE)
5133 wcs_string2 = TALLOC (size2 + 1, CHAR_T);
5134 mbs_offset2 = TALLOC (size2 + 1, int);
5135 is_binary = TALLOC (size2 + 1, char);
5139 wcs_string2 = REGEX_TALLOC (size2
5140 mbs_offset2 = REGEX_TALLOC (size2 + 1, int);
5141 is_binary = REGEX_TALLOC (size2 + 1, char);
5146 if (size2 > MAX_ALLOCA_SIZE)
5152 wcs_size2 = convert_mbs_to_wcs(wcs_string2, string2, size2,
5155 if (size2 > MAX_ALLOCA_SIZE)
5219 size2, startpos, regs, stop,
5225 size2, startpos, regs, stop);
5308 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5455 and SIZE2, respectively). We start matching at POS, and stop
5468 const char *string2, int size2, int pos,
5474 result = wcs_re_match_2_internal (bufp, string1, size1, string2, size2,
5479 result = byte_re_match_2_internal (bufp, string1, size1, string2, size2,
5557 wchar_t *string2, int size2,
5564 const char *string2, int size2,
5743 if (pos < 0 || pos > size1 + size2)
5787 size2 = convert_mbs_to_wcs(string2, cstring2, csize2,
5789 string2[size2] = L'\0'; /* for a sentinel */
5817 if (size2 == 0 && string1 != NULL)
5820 size2 = size1;
5831 end2 = string2 + size2;
5908 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2);