Lines Matching refs:string2

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()
1190 where = string2; in PREFIX()
1194 for (this_char = where - string2; this_char < size2; this_char++) in PREFIX()
1196 PUT_CHAR (string2[this_char]); in PREFIX()
1662 DEBUG_PRINT_DOUBLE_STRING (string_place, string1, size1, string2, \
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()
5010 int size1, const char *string2, int size2,
5136 wcs_size2 = convert_mbs_to_wcs(wcs_string2, string2, size2,
5165 d = (startpos >= size1 ? string2 - size1 : string1) + startpos;
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,
5262 : ((regoff_t)((mbs_offset2 != NULL? mbs_offset2[(ptr)-string2] : 0) \
5270 : ((regoff_t) ((ptr) - string2 + size1)))
5286 d = string2; \
5292 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
5303 (iswalnum ((wint_t)((d) == end1 ? *string2 \
5304 : (d) == string2 - 1 ? *(end1 - 1) : *(d))) != 0 \
5305 || ((d) == end1 ? *string2 \
5306 : (d) == string2 - 1 ? *(end1 - 1) : *(d)) == L'_')
5309 (SYNTAX ((d) == end1 ? *string2 \
5310 : (d) == string2 - 1 ? *(end1 - 1) : *(d)) \
5341 FREE_VAR (string2); \
5368 FREE_VAR (string2); \
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()
5736 if (string1 == NULL && string2 == NULL) in wcs_re_match_2_internal()
5758 string2 = REGEX_TALLOC (csize2 + 1, CHAR_T); in wcs_re_match_2_internal()
5761 if (!string2 || !mbs_offset2 || !is_binary) in wcs_re_match_2_internal()
5765 FREE_VAR (string2); 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()
5802 string2 = string1; in wcs_re_match_2_internal()
5814 end2 = string2 + size2; in wcs_re_match_2_internal()
5822 end_match_2 = string2; in wcs_re_match_2_internal()
5830 end_match_2 = string2 + mcnt; in wcs_re_match_2_internal()
5841 end_match_2 = string2; in wcs_re_match_2_internal()
5846 end_match_2 = string2 + stop - size1; in wcs_re_match_2_internal()
5866 d = string2 + mcnt; 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()
6032 mbs_offset2[d-string2] : 0); in wcs_re_match_2_internal()
6036 : ((regoff_t) (d - string2 + size1))); in wcs_re_match_2_internal()
6074 mcnt = (mbs_offset2 != NULL ? mbs_offset2[d-string2] : 0) + in wcs_re_match_2_internal()
6080 : string2 - size1); in wcs_re_match_2_internal()
6288 d = string2; in wcs_re_match_2_internal()
6358 d = string2; in wcs_re_match_2_internal()
6375 d = string2; in wcs_re_match_2_internal()
6441 d = string2; in wcs_re_match_2_internal()
6796 d2 = string2; in wcs_re_match_2_internal()
6856 else if ((d == end1 ? *string2 : *d) == '\n' in wcs_re_match_2_internal()