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.cpp59 FX_SAFE_FILESIZE safe_end = offset; in ReadBlockAtOffset() local
60 safe_end += buffer.size(); in ReadBlockAtOffset()
63 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_PartSize) in ReadBlockAtOffset()
118 FX_SAFE_FILESIZE safe_end = read_pos; in ReadBlockAt() local
119 safe_end += read_size; in ReadBlockAt()
120 if (!safe_end.IsValid() || safe_end.ValueOrDie() > m_FileLen) in ReadBlockAt()
/external/zopfli/src/zopfli/
Dlz77.c300 const unsigned char* safe_end) { in GetMatch() argument
304 while (scan < safe_end && *((size_t*)scan) == *((size_t*)match)) { in GetMatch()
310 while (scan < safe_end in GetMatch()
317 while (scan < safe_end && *scan == *match && *++scan == *++match in GetMatch()