Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dbz2module.c656 size_t nfilled = 0; in BZ2File_readlines() local
694 buffer+nfilled, in BZ2File_readlines()
695 buffersize-nfilled, self); in BZ2File_readlines()
714 p = memchr(buffer+nfilled, '\n', nread); in BZ2File_readlines()
717 nfilled += nread; in BZ2File_readlines()
731 memcpy(buffer, small_buffer, nfilled); in BZ2File_readlines()
741 end = buffer+nfilled+nread; in BZ2File_readlines()
757 nfilled = end-q; in BZ2File_readlines()
758 memmove(buffer, q, nfilled); in BZ2File_readlines()
767 if (nfilled != 0) { in BZ2File_readlines()
[all …]
/external/python/cpython2/Objects/
Dfileobject.c1690 size_t nfilled = 0; in file_readlines() local
1716 nread = Py_UniversalNewlineFread(buffer+nfilled, in file_readlines()
1717 buffersize-nfilled, f->f_fp, (PyObject *)f); in file_readlines()
1719 shortread = (nread < buffersize-nfilled); in file_readlines()
1738 p = (char *)memchr(buffer+nfilled, '\n', nread); in file_readlines()
1741 nfilled += nread; in file_readlines()
1755 memcpy(buffer, small_buffer, nfilled); in file_readlines()
1765 end = buffer+nfilled+nread; in file_readlines()
1781 nfilled = end-q; in file_readlines()
1782 memmove(buffer, q, nfilled); in file_readlines()
[all …]