/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | chunk.py | 65 self.chunksize = struct.unpack(strflag+'L', file.read(4))[0] 69 self.chunksize = self.chunksize - 8 # subtract header 84 return self.chunksize 109 pos = pos + self.chunksize 110 if pos < 0 or pos > self.chunksize: 128 if self.size_read >= self.chunksize: 131 size = self.chunksize - self.size_read 132 if size > self.chunksize - self.size_read: 133 size = self.chunksize - self.size_read 136 if self.size_read == self.chunksize and \ [all …]
|
D | wave.py | 149 self._nframes = chunk.chunksize // self._framesize 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
|
D | aifc.py | 448 if chunk.chunksize == 18: 451 chunk.chunksize = 23 459 chunk.chunksize = chunk.chunksize + length
|
D | platform.py | 143 chunksize=2048): argument 164 binary = f.read(chunksize) 169 binary = f.read(chunksize)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | bz2module.c | 425 int chunksize; in Util_ReadAhead() local 444 chunksize = Util_UnivNewlineRead(&bzerror, f->fp, f->f_buf, in Util_ReadAhead() local 447 f->pos += chunksize; in Util_ReadAhead() 457 f->f_bufend = f->f_buf + chunksize; in Util_ReadAhead() 522 size_t bytesread, buffersize, chunksize; in BZ2File_read() local 567 chunksize = Util_UnivNewlineRead(&bzerror, self->fp, in BZ2File_read() local 571 self->pos += chunksize; in BZ2File_read() 573 bytesread += chunksize; in BZ2File_read() 1033 int chunksize; in BZ2File_seek() local 1071 chunksize = Util_UnivNewlineRead( in BZ2File_seek() local [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_bigmem.py | 359 chunksize = int(size ** 0.5 + 2) 360 SUBSTR = 'a' + ' ' * chunksize 361 s = SUBSTR * chunksize 363 self.assertEqual(len(l), chunksize) 367 self.assertEqual(len(l), chunksize + 1) 368 self.assertEqual(set(l), set(['', ' ' * chunksize])) 391 chunksize = int(size ** 0.5 + 2) // 2 392 SUBSTR = ' ' * chunksize + '\n' + ' ' * chunksize + '\r\n' 393 s = SUBSTR * chunksize 395 self.assertEqual(len(l), chunksize * 2) [all …]
|
D | test_multiprocessing.py | 1045 self.assertEqual(pmap(sqr, range(100), chunksize=20), 1050 self.pool.map_async(sqr, [], chunksize=1).get(timeout=TIMEOUT1) 1075 it = self.pool.imap(sqr, range(1000), chunksize=100) 1084 it = self.pool.imap_unordered(sqr, range(1000), chunksize=53) 1104 time.sleep, [0.1 for i in range(10000)], chunksize=1
|
D | test_io.py | 1915 for chunksize in (1, 2, 3, 4, 5, 15, 16, 17, 31, 32, 33, 63, 64, 65): 1918 f._CHUNK_SIZE = chunksize 1922 f._CHUNK_SIZE = chunksize
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | fileobject.c | 1055 size_t bytesread, buffersize, chunksize; in file_read() local 1086 chunksize = Py_UniversalNewlineFread(BUF(v) + bytesread, in file_read() 1097 if (chunksize == 0) { in file_read() 1113 bytesread += chunksize; in file_read() 2241 Py_ssize_t chunksize; in readahead() local 2255 chunksize = Py_UniversalNewlineFread( in readahead() 2258 if (chunksize == 0) { in readahead() 2267 f->f_bufend = f->f_buf + chunksize; in readahead()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | fileobject.c | 1052 size_t bytesread, buffersize, chunksize; in file_read() local 1082 chunksize = Py_UniversalNewlineFread(BUF(v) + bytesread, in file_read() 1085 if (chunksize == 0) { in file_read() 1099 bytesread += chunksize; in file_read() 2173 Py_ssize_t chunksize; in readahead() local 2187 chunksize = Py_UniversalNewlineFread( in readahead() 2190 if (chunksize == 0) { in readahead() 2199 f->f_bufend = f->f_buf + chunksize; in readahead()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | platform.py | 143 chunksize=2048): argument 164 binary = f.read(chunksize) 169 binary = f.read(chunksize)
|