Searched refs:nfilled (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Modules/ |
D | bz2module.c | 656 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/ |
D | fileobject.c | 1669 size_t nfilled = 0; in file_readlines() local 1695 nread = Py_UniversalNewlineFread(buffer+nfilled, in file_readlines() 1696 buffersize-nfilled, f->f_fp, (PyObject *)f); in file_readlines() 1698 shortread = (nread < buffersize-nfilled); in file_readlines() 1717 p = (char *)memchr(buffer+nfilled, '\n', nread); in file_readlines() 1720 nfilled += nread; in file_readlines() 1734 memcpy(buffer, small_buffer, nfilled); in file_readlines() 1744 end = buffer+nfilled+nread; in file_readlines() 1760 nfilled = end-q; in file_readlines() 1761 memmove(buffer, q, nfilled); in file_readlines() [all …]
|