Home
last modified time | relevance | path

Searched refs:bytesread (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dbz2module.c522 size_t bytesread, buffersize, chunksize; in BZ2File_read() local
563 bytesread = 0; in BZ2File_read()
568 BUF(ret)+bytesread, in BZ2File_read()
569 buffersize-bytesread, in BZ2File_read()
573 bytesread += chunksize; in BZ2File_read()
592 if (bytesread != buffersize) in BZ2File_read()
593 _PyString_Resize(&ret, bytesread); in BZ2File_read()
1031 Py_off_t bytesread = 0; in BZ2File_seek() local
1078 bytesread += chunksize; in BZ2File_seek()
1088 bytesread = 0; in BZ2File_seek()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dfileobject.c1055 size_t bytesread, buffersize, chunksize; in file_read() local
1081 bytesread = 0; in file_read()
1086 chunksize = Py_UniversalNewlineFread(BUF(v) + bytesread, in file_read()
1087 buffersize - bytesread, f->f_fp, (PyObject *)f); in file_read()
1107 if (bytesread > 0 && BLOCKED_ERRNO(errno)) in file_read()
1113 bytesread += chunksize; in file_read()
1114 if (bytesread < buffersize && !interrupted) { in file_read()
1127 if (bytesread != buffersize && _PyString_Resize(&v, bytesread)) in file_read()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dfileobject.c1052 size_t bytesread, buffersize, chunksize; in file_read() local
1078 bytesread = 0; in file_read()
1082 chunksize = Py_UniversalNewlineFread(BUF(v) + bytesread, in file_read()
1083 buffersize - bytesread, f->f_fp, (PyObject *)f); in file_read()
1093 if (bytesread > 0 && BLOCKED_ERRNO(errno)) in file_read()
1099 bytesread += chunksize; in file_read()
1100 if (bytesread < buffersize) { in file_read()
1113 if (bytesread != buffersize && _PyString_Resize(&v, bytesread)) in file_read()