Home
last modified time | relevance | path

Searched refs:safe_end (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp52 FX_SAFE_FILESIZE safe_end = offset; in ReadBlockAtOffset() local
53 safe_end += size; in ReadBlockAtOffset()
56 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_PartSize) in ReadBlockAtOffset()
111 FX_SAFE_FILESIZE safe_end = read_pos; in ReadBlockAt() local
112 safe_end += read_size; in ReadBlockAt()
113 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_FileLen) in ReadBlockAt()
/external/zopfli/src/zopfli/
Dlz77.c122 const unsigned char* safe_end) { in GetMatch() argument
126 while (scan < safe_end && *((size_t*)scan) == *((size_t*)match)) { in GetMatch()
132 while (scan < safe_end in GetMatch()
139 while (scan < safe_end && *scan == *match && *++scan == *++match in GetMatch()