Home
last modified time | relevance | path

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

/external/bsdiff/
Dbspatch.cc93 off_t lenread; in bspatch() local
183 lenread = BZ2_bzRead(&cbz2err, cpfbz2, buf, 8); in bspatch()
184 if ((lenread < 8) || ((cbz2err != BZ_OK) && (cbz2err != BZ_STREAM_END))) in bspatch()
198 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new_buf + newpos, ctrl[0]); in bspatch()
199 if ((lenread < ctrl[0]) || in bspatch()
240 lenread = BZ2_bzRead(&ebz2err, epfbz2, new_buf + newpos, ctrl[1]); in bspatch()
241 if ((lenread < ctrl[1]) || in bspatch()
/external/libxml2/python/
Dlibxml.c281 int lenread = -1; in xmlPythonFileReadRaw() local
294 lenread = PyBytes_Size(ret); in xmlPythonFileReadRaw()
305 lenread = (int) size; in xmlPythonFileReadRaw()
314 lenread = PyBytes_Size(b); in xmlPythonFileReadRaw()
324 if (lenread > len) in xmlPythonFileReadRaw()
327 memcpy(buffer, data, lenread); in xmlPythonFileReadRaw()
329 return(lenread); in xmlPythonFileReadRaw()
346 int lenread = -1; in xmlPythonFileRead() local
359 lenread = PyBytes_Size(ret); in xmlPythonFileRead()
370 lenread = (int) size; in xmlPythonFileRead()
[all …]