Lines Matching defs:size1

73 #  define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
74 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
385 /* True if `size1' is non-NULL and PTR is pointing anywhere inside
389 (size1 && string1 <= (ptr) && (ptr) <= string1 + size1)
416 const char *string1, int size1,
422 const char *string1, int size1,
440 wchar_t *string1, int size1,
444 const char *string1, int size1,
1179 int size1, const CHAR_T *string2, int size2)
1191 for (this_char = where - string1; this_char < size1; this_char++)
1670 DEBUG_PRINT_DOUBLE_STRING (string_place, string1, size1, string2, \
1719 `pend', `string1', `size1', `string2', and `size2'. */
1746 DEBUG_PRINT_DOUBLE_STRING (str, string1, size1, string2, size2); \
4965 re_search_2 (struct re_pattern_buffer *bufp, const char *string1, int size1,
4971 return wcs_re_search_2 (bufp, string1, size1, string2, size2, startpos,
4975 return byte_re_search_2 (bufp, string1, size1, string2, size2, startpos,
4997 if (size1 > MAX_ALLOCA_SIZE) \
5024 int size1, const char *string2, int size2,
5031 int total_size = size1 + size2;
5089 if (size1 != 0)
5091 if (size1 > MAX_ALLOCA_SIZE)
5093 wcs_string1 = TALLOC (size1 + 1, CHAR_T);
5094 mbs_offset1 = TALLOC (size1 + 1, int);
5095 is_binary = TALLOC (size1 + 1, char);
5099 wcs_string1 = REGEX_TALLOC (size1 + 1, CHAR_T);
5100 mbs_offset1 = REGEX_TALLOC (size1 + 1, int);
5101 is_binary = REGEX_TALLOC (size1 + 1, char);
5105 if (size1 > MAX_ALLOCA_SIZE)
5119 wcs_size1 = convert_mbs_to_wcs(wcs_string1, string1, size1,
5122 if (size1 > MAX_ALLOCA_SIZE)
5176 if (startpos < size1 && startpos + range >= size1)
5177 lim = range - (size1 - startpos);
5179 d = (startpos >= size1 ? string2 - size1 : string1) + startpos;
5196 register CHAR_T c = (size1 == 0 || startpos >= size1
5197 ? string2[startpos - size1]
5216 val = wcs_re_match_2_internal (bufp, string1, size1, string2,
5222 val = byte_re_match_2_internal (bufp, string1, size1, string2,
5284 : ((regoff_t) ((ptr) - string2 + size1)))
5306 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5465 re_match_2 (struct re_pattern_buffer *bufp, const char *string1, int size1,
5472 result = wcs_re_match_2_internal (bufp, string1, size1, string2, size2,
5477 result = byte_re_match_2_internal (bufp, string1, size1, string2, size2,
5551 /* string1 == string2 == NULL means string1/2, size1/2 and
5554 wchar_t *string1, int size1,
5561 const char *string1, int size1,
5741 if (pos < 0 || pos > size1 + size2)
5818 size2 = size1;
5820 size1 = 0;
5828 end1 = string1 + size1;
5853 if (stop <= size1)
5861 end_match_2 = string2 + stop - size1;
5872 if (size1 > 0 && pos <= csize1)
5891 if (size1 > 0 && pos <= size1)
5898 d = string2 + pos - size1;
5906 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2);
6048 : ((regoff_t) (d - string2 + size1)));
6092 : string2 - size1);