2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-09 01:44:16 +00:00
qpdf/libqpdf
James R. Barlow 3fc7c99d02 Replace memchr with manual memory search
On large files with predominantly \n line endings, memchr(..'\r'..)
seems to waste a considerable amount of time searching for a line
ending candidate that we don't need.

On the Adobe PDF Reference Manual 1.7, this commit is 8x faster at
QPDF::processMemoryFile().
2020-10-16 19:57:29 -04:00
..
qpdf Fix printf formatting for newer msvc 2020-10-16 07:02:23 -04:00
sph Fix integer type warnings for big-endian systems 2019-09-17 19:14:27 -04:00
AES_PDF_native.cc AES_PDF: move CBC logic from pipeline to AES_PDF implementation 2019-11-09 08:18:02 -05:00
bits.icc
BitStream.cc
BitWriter.cc
Buffer.cc
BufferInputSource.cc Replace memchr with manual memory search 2020-10-16 19:57:29 -04:00
build.mk Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
ClosedFileInputSource.cc
ContentNormalizer.cc
CryptoRandomDataProvider.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
FileInputSource.cc
InputSource.cc
InsecureRandomDataProvider.cc Remove QUtil::srandom 2020-04-06 09:49:02 -04:00
JSON.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
Makefile
MD5_native.cc MD5: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
MD5.cc MD5: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
OffsetInputSource.cc Fix fuzz issue 16172 (overflow checking in OffsetInputSource) 2019-08-27 13:08:07 -04:00
Pipeline.cc Performance: remove Members indirection for Pipeline 2020-04-03 12:17:57 -04:00
Pl_AES_PDF.cc AES_PDF: move CBC logic from pipeline to AES_PDF implementation 2019-11-09 08:18:02 -05:00
Pl_ASCII85Decoder.cc
Pl_ASCIIHexDecoder.cc
Pl_Buffer.cc
Pl_Concatenate.cc
Pl_Count.cc
Pl_DCT.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
Pl_Discard.cc
Pl_Flate.cc
Pl_LZWDecoder.cc Fix fuzz issue 15475 2019-08-25 22:52:25 -04:00
Pl_MD5.cc
Pl_PNGFilter.cc
Pl_QPDFTokenizer.cc
Pl_RC4.cc
Pl_RunLength.cc
Pl_SHA2.cc SHA2: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
Pl_StdioFile.cc
Pl_TIFFPredictor.cc
QPDF_Array.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
QPDF_Bool.cc
QPDF_Dictionary.cc
QPDF_encryption.cc Remove redundant check found by lgtm.com 2020-10-15 14:47:43 -04:00
QPDF_InlineImage.cc
QPDF_Integer.cc
QPDF_linearization.cc Write linearization errors to stderr (fixes #438) 2020-04-29 17:33:34 -04:00
QPDF_Name.cc
QPDF_Null.cc
QPDF_Operator.cc
QPDF_optimization.cc
QPDF_pages.cc Handle root /Pages pointing to other than page tree root (fixes #398) 2020-02-22 11:10:31 -05:00
QPDF_Real.cc
QPDF_Reserved.cc
QPDF_Stream.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
QPDF_String.cc
qpdf-c.cc C API: accept any non-zero value as TRUE 2020-04-03 17:33:44 -04:00
QPDF.cc Prepare 10.0.1 release 2020-04-09 11:48:26 -04:00
QPDFAcroFormDocumentHelper.cc
QPDFAnnotationObjectHelper.cc Fix typo in comment 2019-09-19 21:04:32 -04:00
QPDFCrypto_gnutls.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
QPDFCrypto_native.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
QPDFCrypto_openssl.cc Delegate random number generation to crypto provider (fixes #418) 2020-04-06 11:23:02 -04:00
QPDFCryptoProvider.cc Fix unnecessary copies in auto iter (fixes #426) 2020-04-08 20:45:26 -04:00
QPDFExc.cc
QPDFFormFieldObjectHelper.cc
QPDFMatrix.cc
QPDFNameTreeObjectHelper.cc
QPDFNumberTreeObjectHelper.cc
QPDFObject.cc Performance: remove indirection through Members for QPDFObject 2020-04-03 12:16:24 -04:00
QPDFObjectHandle.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
QPDFObjGen.cc
QPDFOutlineDocumentHelper.cc
QPDFOutlineObjectHelper.cc
QPDFPageDocumentHelper.cc
QPDFPageLabelDocumentHelper.cc
QPDFPageObjectHelper.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
QPDFSystemError.cc
QPDFTokenizer.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
QPDFWriter.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
QPDFXRefEntry.cc
QTC.cc
QUtil.cc Fix warnings reported by -Wshadow=local (fixes #431) 2020-04-16 12:41:43 -04:00
RC4_native.cc RC4: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
RC4.cc RC4: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
rijndael.cc
SecureRandomDataProvider.cc fix WindowsCryptProvider fixes #432 2020-10-16 19:56:33 -04:00
sha2.c
sha2big.c
SHA2_native.cc SHA2: switch to pluggable crypto 2019-11-09 08:18:02 -05:00
SparseOHArray.cc Use more references when iterating 2020-04-10 13:30:33 -04:00