Lines Matching defs:binary
18 Redistribution and use in source and binary forms, with or without
24 * Redistributions in binary form must reproduce the above copyright
114 /* Binary file options */
332 { OP_NODATA, 'a', NULL, "text", "treat binary files as text" },
334 { OP_BINFILES, N_BINARY_FILES, NULL, "binary-files=word", "set treatment of binary files" },
349 { OP_NODATA, 'I', NULL, "", "treat binary files as not matching (ignore)" },
1075 line. We cannot use fgets() for this, because it does not stop at a binary
1077 because there may be binary zeros embedded in the data.
1378 that a binary zero does not terminate it.
1456 FWRITE(matchptr, 1, slen, stderr); /* In case binary zero included */
1514 BOOL binary = FALSE;
1564 /* Unless binary-files=text, see if we have a binary file. This uses the same
1565 rule as GNU grep, namely, a search for a binary zero byte near the start of the
1570 binary =
1572 if (binary && binary_files == BIN_NOMATCH) return 1;
1696 /* When handling a binary file and binary-files==binary, the "binary"
1700 else if (binary)
1702 fprintf(stdout, "Binary file %s matches\n", filename);
1808 each line's data using fwrite() in case there are binary zeroes. */
1888 /*** NOTE: Use only fwrite() to output the data line, so that binary
2905 if (strcmp(option_data, "binary") == 0)
2913 fprintf(stderr, "pcregrep: unknown value \"%s\" for binary-files\n",