Lines Matching refs:string1

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,
1174 PREFIX(print_double_string) (const CHAR_T *where, const CHAR_T *string1, in PREFIX()
1187 for (this_char = where - string1; this_char < size1; this_char++) in PREFIX()
1188 PUT_CHAR (string1[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()
5009 PREFIX(re_search_2) (struct re_pattern_buffer *bufp, const char *string1,
5105 wcs_size1 = convert_mbs_to_wcs(wcs_string1, string1, size1,
5165 d = (startpos >= size1 ? string2 - size1 : string1) + startpos;
5184 : string1[startpos]);
5202 val = wcs_re_match_2_internal (bufp, string1, size1, string2,
5208 val = byte_re_match_2_internal (bufp, string1, size1, string2,
5261 ? ((regoff_t)(mbs_offset1 != NULL? mbs_offset1[(ptr)-string1] : 0)) \
5269 ? ((regoff_t) ((ptr) - string1)) \
5292 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5340 FREE_VAR (string1); \
5367 FREE_VAR (string1); \
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()
5736 if (string1 == NULL && string2 == NULL) in wcs_re_match_2_internal()
5745 string1 = REGEX_TALLOC (csize1 + 1, CHAR_T); in wcs_re_match_2_internal()
5748 if (!string1 || !mbs_offset1 || !is_binary) in wcs_re_match_2_internal()
5750 FREE_VAR (string1); in wcs_re_match_2_internal()
5763 FREE_VAR (string1); in wcs_re_match_2_internal()
5800 if (size2 == 0 && string1 != NULL) in wcs_re_match_2_internal()
5802 string2 = string1; in wcs_re_match_2_internal()
5804 string1 = 0; in wcs_re_match_2_internal()
5813 end1 = string1 + size1; in wcs_re_match_2_internal()
5821 end_match_1 = string1 + mcnt; in wcs_re_match_2_internal()
5840 end_match_1 = string1 + stop; in wcs_re_match_2_internal()
5860 d = string1 + mcnt; in wcs_re_match_2_internal()
5878 d = string1 + pos; in wcs_re_match_2_internal()
5891 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2); in wcs_re_match_2_internal()
5966 dend = ((d >= string1 && d <= end1) in wcs_re_match_2_internal()
6029 mbs_offset1[d-string1] : 0; in wcs_re_match_2_internal()
6035 ? ((regoff_t) (d - string1)) in wcs_re_match_2_internal()
6072 mcnt = mbs_offset1 != NULL ? mbs_offset1[d-string1] : 0; in wcs_re_match_2_internal()
6079 ? string1 in wcs_re_match_2_internal()
7473 if (d >= string1 && d <= end1) in wcs_re_match_2_internal()