/aosp_15_r20/external/pcre/ |
H A D | RunGrepTest | 28 pcre2grep=$builddir/pcre2grep 31 if [ ! -x $pcre2grep ] ; then 32 echo "** $pcre2grep does not exist or is not executable." 51 pcre2grep_version=`$pcre2grep -V` 117 pcre2grep="$pcre2grep -N LF" 125 $valgrind $pcre2grep $1 >>testtrygrep 2>&1 137 (cd $srcdir; $valgrind $vjs $pcre2grep PATTERN ./testdata/grepinput) >>testtrygrep 141 (cd $srcdir; $valgrind $vjs $pcre2grep '^PATTERN' ./testdata/grepinput) >>testtrygrep 145 (cd $srcdir; $valgrind $vjs $pcre2grep -in PATTERN ./testdata/grepinput) >>testtrygrep 149 (cd $srcdir; $valgrind $vjs $pcre2grep -ic PATTERN ./testdata/grepinput) >>testtrygrep [all …]
|
H A D | RunGrepTest.bat | 3 :: Run pcre2grep tests. The assumption is that the PCRE2 tests check the library 5 :: supported by pcre2grep. This script must be run in the build directory. 22 set pcre2grep=%builddir%\pcre2grep.exe variable 25 if NOT exist %pcre2grep% ( 26 echo ** %pcre2grep% does not exist. 35 for /f "delims=" %%a in ('"%pcre2grep%" -V') do set pcre2grep_version=%%a 53 :: test data. Subsequently, we run most of the pcre2grep tests in the source 79 set pcre2grep=%pcre2grep% -N LF variable 91 echo Testing pcre2grep main features 94 (pushd %srcdir% & %pcre2grep% PATTERN ./testdata/grepinput & popd) >>testtrygrep [all …]
|
H A D | configure.ac | 215 # Handle --disable-pcre2grep-jit (enabled by default) 216 AC_ARG_ENABLE(pcre2grep-jit, 217 AS_HELP_STRING([--disable-pcre2grep-jit], 218 [disable JIT support in pcre2grep]), 221 # Handle --disable-pcre2grep-callout (enabled by default) 222 AC_ARG_ENABLE(pcre2grep-callout, 223 AS_HELP_STRING([--disable-pcre2grep-callout], 224 [disable callout script support in pcre2grep]), 227 # Handle --disable-pcre2grep-callout-fork (enabled by default) 228 AC_ARG_ENABLE(pcre2grep-callout-fork, [all …]
|
H A D | CMakeLists.txt | 258 … "Buffer starting size parameter for pcre2grep. See PCRE2GREP_BUFSIZE in config.h.in for details.") 261 …"Buffer maximum size parameter for pcre2grep. See PCRE2GREP_MAX_BUFSIZE in config.h.in for details… 280 "Enable use of Just-in-time compiling in pcre2grep.") 283 "Enable callout string support in pcre2grep.") 286 "Enable callout string fork support in pcre2grep.") 301 OPTION(PCRE2_BUILD_PCRE2GREP "Build pcre2grep" ON) 325 OPTION (PCRE2_SUPPORT_LIBBZ2 "Enable support for linking pcre2grep with libbz2." ON) 333 OPTION (PCRE2_SUPPORT_LIBZ "Enable support for linking pcre2grep with libz." ON) 388 MESSAGE(STATUS "** PCRE2_BUILD_PCRE2_8 must be enabled for the pcre2grep program") 943 ADD_EXECUTABLE(pcre2grep src/pcre2grep.c) target [all …]
|
H A D | NEWS | 55 * Make PCRE2_UCP the default in UTF mode in pcre2grep and add -no_ucp, 58 * Add --group-separator and --no-group-separator to pcre2grep. 78 significant upgrade to pcre2grep: it now behaves like GNU grep when matching 154 GNU grep's -m (aka --max-count) option to pcre2grep, and also unifying the 155 handling of substitution strings for both -O and callouts in pcre2grep, with 240 6. Some changes related to callouts in pcre2grep: 245 (b) --disable-pcre2grep-callout-fork restricts the callout support in 255 1. pcre2grep now supports the inclusion of binary zeros in patterns that are 340 benefit of pcre2grep, and pcre2grep's -F, -w, and -x options are re-implemented 370 5. pcre2grep now automatically expands its buffer up to a maximum set by [all …]
|
H A D | README | 71 1. There are files called doc/pcre2.txt, doc/pcre2grep.txt, and 75 other two are the text forms of the section 1 man pages for the pcre2grep 161 (for example, pcre2test and pcre2grep) are linked statically with one or more 341 . When JIT support is enabled, pcre2grep automatically makes use of it, unless 342 you add --disable-pcre2grep-jit to the "configure" command. 345 pcre2grep command, using PCRE2's callout facility with string arguments. This 346 support can be disabled by adding --disable-pcre2grep-callout to the 351 --disable-pcre2grep-callout-fork to the "configure" command. 353 . The pcre2grep program currently supports only 8-bit data files, and so 354 requires the 8-bit PCRE2 library. It is possible to compile pcre2grep to use [all …]
|
H A D | ChangeLog | 111 13. Made PCRE2_UCP the default in UTF mode in pcre2grep, and added new options 133 19. Add a --posix-digit to pcre2grep for compatibility with GNU grep, and 219 44. Implement --group-separator and --no-group-separator for pcre2grep. 301 1. Add fflush() before and after a fork callout in pcre2grep to get its output 318 pcre2grep to PCRE2_SIZE (aka size_t). 345 13. Implemented -Z aka --null in pcre2grep. 347 14. A minor change to pcre2test and the addition of several new pcre2grep tests 348 have improved LCOV coverage statistics. At the same time, code in pcre2grep and 352 15. Fixed a bug in pcre2grep that could cause an extra newline to be written 355 16. If a file has a .bz2 extension but is not in fact compressed, pcre2grep [all …]
|
H A D | Makefile.in | 112 @WITH_PCRE2_8_TRUE@am__append_13 = pcre2grep 170 @WITH_PCRE2_8_TRUE@am__EXEEXT_1 = pcre2grep$(EXEEXT) 460 am__pcre2grep_SOURCES_DIST = src/pcre2grep.c 462 @WITH_PCRE2_8_TRUE@ src/pcre2grep-pcre2grep.$(OBJEXT) 599 src/$(DEPDIR)/pcre2grep-pcre2grep.Po \ 1047 doc/pcre2grep.txt \ 1137 doc/html/pcre2grep.html \ 1235 doc/pcre2grep.1 \ 1462 @WITH_PCRE2_8_TRUE@pcre2grep_SOURCES = src/pcre2grep.c 1946 src/pcre2grep-pcre2grep.$(OBJEXT): src/$(am__dirstamp) \ [all …]
|
H A D | .gitignore | 55 pcre2grep 56 pcre2grep.exe
|
H A D | Makefile.am | 21 doc/pcre2grep.txt \ 112 doc/html/pcre2grep.html \ 211 doc/pcre2grep.1 \ 555 bin_PROGRAMS += pcre2grep program 556 pcre2grep_SOURCES = src/pcre2grep.c
|
H A D | NON-AUTOTOOLS-BUILD | 200 (12) If you want to use the pcre2grep command, compile and link 201 src/pcre2grep.c; it uses only the 8-bit PCRE2 library (it does not need 204 SUPPORT_PCRE2GREP_JIT, which causes pcre2grep to make use of JIT (unless 206 defining SUPPORT_JIT, pcre2grep does not try to make use of JIT. 378 of your pcre2test.exe and pcre2grep.exe programs. Call RunTest.bat with 385 1. Copy RunTest.bat into the directory where pcre2test.exe and pcre2grep.exe 425 read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
|
H A D | PrepareRelease | 59 the pcre2demo program. There are separate text files for the pcre2grep and 83 for file in pcre2test pcre2grep pcre2-config ; do 247 src/pcre2grep.c \
|
H A D | configure | 1561 --disable-pcre2grep-jit disable JIT support in pcre2grep 1562 --disable-pcre2grep-callout 1563 disable callout script support in pcre2grep 1564 --disable-pcre2grep-callout-fork 1565 disable callout script fork support in pcre2grep 1585 --enable-pcre2grep-libz link pcre2grep with libz to handle .gz files 1586 --enable-pcre2grep-libbz2 1587 link pcre2grep with libbz2 to handle .bz2 files
|
H A D | RunTest.bat | 5 @rem and requires both pcre2test and pcre2grep.
|
/aosp_15_r20/external/pcre/testdata/ |
H A D | grepoutput | 103 pcre2grep: Error in command-line regex at offset 4: quantifier does not follow a repeatable item 106 pcre2grep: Failed to open ./testdata/nonexistfile: No such file or directory 369 pcre2grep: Failed to open ./testdata/grepnonexist: No such file or directory 388 pcre2grep: pcre2_match() gave error -47 while matching this text: 392 pcre2grep: pcre2_match() gave error -47 while matching this text: 396 pcre2grep: Error -46, -47, -53 or -63 means that a resource limit was exceeded. 397 pcre2grep: Check your regex for nested unlimited loops. 438 pcre2grep: Error in 1st command-line regex at offset 8: unmatched closing parenthesis 439 pcre2grep: Error in 2nd command-line regex at offset 9: missing closing parenthesis 440 pcre2grep: Error in 3rd command-line regex at offset 9: missing terminating ] for character class [all …]
|
H A D | grepoutput8 | 23 pcre2grep: pcre2_match() gave error -22 while matching this text:
|
/aosp_15_r20/external/pcre/doc/ |
H A D | pcre2grep.txt | 6 pcre2grep - a grep with Perl-compatible regular expressions. 10 pcre2grep [options] [long options] [pattern] [path1 path2 ...] 15 pcre2grep searches files for character patterns, in the same way as 25 pcre2grep Thursday /etc/motd 40 If no files are specified, pcre2grep reads the standard input. The 44 pcre2grep some-pattern file1 - file3 52 pcre2grep behaves. For example, the -M option makes it possible to 65 pcre2grep is built; if nothing is specified, the defaults are set to 102 with GNU grep. In earlier releases, pcre2grep did not recognize matches 112 If the LC_ALL or LC_CTYPE environment variable is set, pcre2grep uses [all …]
|
/aosp_15_r20/external/pcre/doc/html/ |
H A D | README.txt | 71 1. There are files called doc/pcre2.txt, doc/pcre2grep.txt, and 75 other two are the text forms of the section 1 man pages for the pcre2grep 161 (for example, pcre2test and pcre2grep) are linked statically with one or more 341 . When JIT support is enabled, pcre2grep automatically makes use of it, unless 342 you add --disable-pcre2grep-jit to the "configure" command. 345 pcre2grep command, using PCRE2's callout facility with string arguments. This 346 support can be disabled by adding --disable-pcre2grep-callout to the 351 --disable-pcre2grep-callout-fork to the "configure" command. 353 . The pcre2grep program currently supports only 8-bit data files, and so 354 requires the 8-bit PCRE2 library. It is possible to compile pcre2grep to use [all …]
|
H A D | NON-AUTOTOOLS-BUILD.txt | 200 (12) If you want to use the pcre2grep command, compile and link 201 src/pcre2grep.c; it uses only the 8-bit PCRE2 library (it does not need 204 SUPPORT_PCRE2GREP_JIT, which causes pcre2grep to make use of JIT (unless 206 defining SUPPORT_JIT, pcre2grep does not try to make use of JIT. 378 of your pcre2test.exe and pcre2grep.exe programs. Call RunTest.bat with 385 1. Copy RunTest.bat into the directory where pcre2test.exe and pcre2grep.exe 425 read the file called vms/openvms_readme.txt. The pcre2test and pcre2grep
|
/aosp_15_r20/external/pcre/src/ |
H A D | config.h.generic | 267 pcre2grep to hold parts of the file it is searching. The buffer will be 269 very long lines. The actual amount of memory used by pcre2grep is three 277 used by pcre2grep to hold parts of the file it is searching. The actual 278 amount of memory used by pcre2grep is three times this number, because it 325 /* Define to any value to allow pcre2grep to be linked with libbz2, so that it 335 /* Define to any value to allow pcre2grep to be linked with libz, so that it 339 /* Define to any value to enable callout script support in pcre2grep. */ 342 /* Define to any value to enable fork support in pcre2grep callout scripts. 347 /* Define to any value to enable JIT support in pcre2grep. Note that this will
|
H A D | config.h.in | 246 pcre2grep to hold parts of the file it is searching. The buffer will be 248 very long lines. The actual amount of memory used by pcre2grep is three 254 used by pcre2grep to hold parts of the file it is searching. The actual 255 amount of memory used by pcre2grep is three times this number, because it 301 /* Define to any value to allow pcre2grep to be linked with libbz2, so that it 311 /* Define to any value to allow pcre2grep to be linked with libz, so that it 315 /* Define to any value to enable callout script support in pcre2grep. */ 318 /* Define to any value to enable fork support in pcre2grep callout scripts. 323 /* Define to any value to enable JIT support in pcre2grep. Note that this will
|
H A D | pcre2grep.c | 2591 pcre2grep(void *handle, int frtype, const char *filename, const char *printname) in pcre2grep() function 3289 return pcre2grep(stdin, FR_PLAIN, stdin_name, in grep_or_recurse() 3533 rc = pcre2grep(handle, frtype, pathname, (filenames > FN_DEFAULT || in grep_or_recurse() 4505 rc = pcre2grep(stdin, FR_PLAIN, stdin_name, in main()
|
/aosp_15_r20/external/pcre/maint/ |
H A D | README | 314 . pcre2grep: add -rs for a sorted recurse. Having to store file names and sort 395 . A neater way of handling recursion file names in pcre2grep, e.g. a single 399 . A user suggested that before/after parameters in pcre2grep could have 406 . There was a suggestiong for a pcre2grep colour default, or possibly a more 418 . If pcre2grep had --first-line (match only in the first line) it could be 420 There was also the suggestion of an option for pcre2grep to scan only the
|
H A D | ManyConfigTests | 148 rm -f $srcdir/pcre2test $srcdir/pcre2grep $srcdir/pcre2_jit_test $srcdir/pcre2posix_test
|
/aosp_15_r20/external/pcre/vms/ |
H A D | openvms_readme.txt | 3 pcre2grep utility also.
|