Lines Matching refs:string1
308 `string1' or just past its end. This works if PTR is NULL, which is
311 (size1 && string1 <= (ptr) && (ptr) <= string1 + size1)
871 print_double_string (where, string1, size1, string2, size2)
873 const char *string1;
886 for (this_char = where - string1; this_char < size1; this_char++)
887 putchar (string1[this_char]);
1216 DEBUG_PRINT_DOUBLE_STRING (string_place, string1, size1, string2, \
1263 `pend', `string1', `size1', `string2', and `size2'. */
1291 DEBUG_PRINT_DOUBLE_STRING (str, string1, size1, string2, size2); \
3278 virtual concatenation of STRING1 and STRING2, starting first at index
3281 STRING1 and STRING2 have length SIZE1 and SIZE2, respectively.
3287 In REGS, return the indices of the virtual concatenation of STRING1
3292 concatenation of STRING1 and STRING2.
3299 re_search_2 (bufp, string1, size1, string2, size2, startpos, range, regs, stop)
3301 const char *string1, *string2;
3320 the virtual concatenation of STRING1 and STRING2.
3367 && ((startpos <= size1 ? string1[startpos - 1]
3388 d = (startpos >= size1 ? string2 - size1 : string1) + startpos;
3407 : string1[startpos]);
3419 val = re_match_2_internal (bufp, string1, size1, string2, size2,
3458 /* This converts PTR, a pointer into one of the search strings `string1'
3462 ? ((regoff_t) ((ptr) - string1)) \
3477 /* End of string1 => advance to string2. */ \
3484 of `string1' and `string2'. If only one string, it's `string2'. */
3485 #define AT_STRINGS_BEG(d) ((d) == (size1 ? string1 : string2) || !size2)
3490 two special cases to check for: if past the end of string1, look at
3492 string2, look at the last character in string1. */
3559 the (virtual) concatenation of STRING1 and STRING2 (of length SIZE1
3572 re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop)
3574 const char *string1, *string2;
3580 int result = re_match_2_internal (bufp, string1, size1, string2, size2,
3589 re_match_2_internal (bufp, string1, size1, string2, size2, pos, regs, stop)
3591 const char *string1, *string2;
3604 /* Pointers into string1 and string2, just past the last characters in
3777 /* We move `string1' into `string2' if the latter's empty -- but not if
3778 `string1' is null. */
3779 if (size2 == 0 && string1 != NULL)
3781 string2 = string1;
3783 string1 = 0;
3786 end1 = string1 + size1;
3792 end_match_1 = string1 + stop;
3809 d = string1 + pos;
3821 DEBUG_PRINT_DOUBLE_STRING (d, string1, size1, string2, size2);
3839 /* 1 if this match ends in the same string (string1 or string2)
3889 dend = ((d >= string1 && d <= end1)
3951 ? ((regoff_t) (d - string1))
3985 ? string1
4301 /* End of string1 => advance to string2. */
4915 if (d >= string1 && d <= end1)