Lines Matching refs:size1

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)
388 (size1 && string1 <= (ptr) && (ptr) <= string1 + size1)
415 const char *string1, int size1,
421 const char *string1, int size1,
439 wchar_t *string1, int size1,
443 const char *string1, int size1,
1175 int size1, const CHAR_T *string2, int size2) in PREFIX()
1187 for (this_char = where - string1; this_char < size1; this_char++) in PREFIX()
1662 DEBUG_PRINT_DOUBLE_STRING (string_place, string1, size1, string2, \
1738 DEBUG_PRINT_DOUBLE_STRING (str, string1, size1, string2, size2); \
4951 re_search_2 (struct re_pattern_buffer *bufp, const char *string1, int size1, 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()
4983 if (size1 > MAX_ALLOCA_SIZE) \
5010 int size1, const char *string2, int size2,
5017 int total_size = size1 + size2;
5075 if (size1 != 0)
5077 if (size1 > MAX_ALLOCA_SIZE)
5079 wcs_string1 = TALLOC (size1 + 1, CHAR_T);
5080 mbs_offset1 = TALLOC (size1 + 1, int);
5081 is_binary = TALLOC (size1 + 1, char);
5085 wcs_string1 = REGEX_TALLOC (size1 + 1, CHAR_T);
5086 mbs_offset1 = REGEX_TALLOC (size1 + 1, int);
5087 is_binary = REGEX_TALLOC (size1 + 1, char);
5091 if (size1 > MAX_ALLOCA_SIZE)
5105 wcs_size1 = convert_mbs_to_wcs(wcs_string1, string1, size1,
5108 if (size1 > MAX_ALLOCA_SIZE)
5162 if (startpos < size1 && startpos + range >= size1)
5163 lim = range - (size1 - startpos);
5165 d = (startpos >= size1 ? string2 - size1 : string1) + startpos;
5182 register CHAR_T c = (size1 == 0 || startpos >= size1
5183 ? string2[startpos - size1]
5202 val = wcs_re_match_2_internal (bufp, string1, size1, string2,
5208 val = byte_re_match_2_internal (bufp, string1, size1, string2,
5270 : ((regoff_t) ((ptr) - string2 + size1)))
5292 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5450 re_match_2 (struct re_pattern_buffer *bufp, const char *string1, int size1, 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()
5539 wchar_t *string1, int size1, in wcs_re_match_2_internal() argument
5546 const char *string1, int size1, in wcs_re_match_2_internal()
5726 if (pos < 0 || pos > size1 + size2) in wcs_re_match_2_internal()
5803 size2 = size1; in wcs_re_match_2_internal()
5805 size1 = 0; in wcs_re_match_2_internal()
5813 end1 = string1 + size1; in wcs_re_match_2_internal()
5838 if (stop <= size1) in wcs_re_match_2_internal()
5846 end_match_2 = string2 + stop - size1; in wcs_re_match_2_internal()
5857 if (size1 > 0 && pos <= csize1) in wcs_re_match_2_internal()
5876 if (size1 > 0 && pos <= size1) in wcs_re_match_2_internal()
5883 d = string2 + pos - size1; in wcs_re_match_2_internal()
5891 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2); in wcs_re_match_2_internal()
6036 : ((regoff_t) (d - string2 + size1))); in wcs_re_match_2_internal()
6080 : string2 - size1); in wcs_re_match_2_internal()