Lines Matching defs:this
5 /* This is a grep program that uses the PCRE regular expression library to do
22 this list of conditions and the following disclaimer.
25 notice, this list of conditions and the following disclaimer in the
30 this software without specific prior written permission.
32 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
41 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
121 this, we use a macro that compiles a fudge. Oddly, this does not also seem to
137 static unsigned int jfriedl_XR = 0; /* repeat regex attempt this many times */
138 static unsigned int jfriedl_XT = 0; /* replicate text this many times */
303 /* Options without a single-letter equivalent get a negative value. This can be
330 { OP_NODATA, N_HELP, NULL, "help", "display this help and exit" },
354 { OP_NODATA, N_NOJIT, NULL, "no-jit", "ignored: this pcregrep does not support JIT" },
379 hyphens in the option names. As this was not discovered for several releases,
555 /* However, z/OS needs the #include statements in this header */
651 /* I (Philip Hazel) have no means of testing this code. It was contributed by
754 /* I don't know how to do this, or if it can be done; assume all paths are
765 /* I don't know how to do this; assume never */
828 in their libraries, but can provide the same facility by this simple
903 few releases. When fixing this, I left the underscored versions in the list
980 because SunOS4 doesn't have it. This is used only for unpicking arguments, so
1073 be read at once. However, doing this for tty input means that no output appears
1075 line. We cannot use fgets() for this, because it does not stop at a binary
1106 /* The length of the endline sequence that is found is set via lenptr. This may
1270 /* This is called when looking back for before lines to print.
1376 /* This is called if we are about to lose said lines because of buffer filling,
1416 /* This function is called to run through all patterns, looking for a match. It
1440 const char *msg = "this text:\n\n";
1478 /* This is called from grep_or_recurse() below. It uses a buffer that is three
1564 /* Unless binary-files=text, see if we have a binary file. This uses the same
1591 /* At this point, ptr is at the start of a line. We need to find the length
1604 of the buffer without a line terminator. This means the line is too long to
1668 to find any further matches in the same line. This applies to
1674 than NOMATCH. This code is in a subroutine so that it can be re-used for
1677 this line. */
1697 variable will be set true (it's false in all other cases). In this
1725 in invert mode, however, nothing is printed and we do not restart - this
1785 /* This is the default case when none of the above options is set. We print
1806 /* It is important to advance lastmatchrestart during this printing so
1831 /* See if there is a requirement to print some "before" lines for this
1891 /* This extra option, for Jeffrey Friedl's debugging requirements,
1893 with X. When this happens, colouring is ignored. */
1993 1/3 and refill it. Before we do this, if some unprinted "after" lines are
2047 were none. If we found a match, we won't have got this far. */
2230 skipping was not requested. The scan proceeds. If this is the first and only
2400 /* This turns a number into "1st", "3rd", etc. */
2425 /* Do nothing if the pattern has already been compiled. This is the case for
2439 count 0 if this is the only command line pattern, or
2504 /* This is used for --filelist, --include-from, and --exclude-from.
2547 /* Note: this call to add_pattern() puts a pointer to the local variable
2560 /* This loop is needed because compiling a "pattern" when -F is set may add
2780 /* Break out if this is the last character in the string; it's handled
2806 /* At this point we should have op pointing to a matched option. If the type
3102 multiple uses of -e or as a single unkeyed pattern. We cannot do this until
3244 that there is only one argument at top level - this suppresses the file name if
3278 omstr *this = only_matching;
3279 only_matching = this->next;
3280 free(this);